rustra
8a24c6127f
Split GraphQL as separate context
2020-01-26 20:34:25 +01:00
rustra
5a439e493b
Improve Federation boundaries
2020-01-24 22:02:10 +01:00
rustra
a239d1e0b0
Separate Web modules related to Federation
2020-01-23 01:03:33 +01:00
rustra
47d32d2b18
Put HTTPSignatures, WebFinger and ActivityStream alongside with ActivityPub
2020-01-22 22:40:40 +01:00
rustra
9726b91b12
Split Federation as separate context
2020-01-22 02:14:42 +01:00
Thomas Citharel
ca6ba4d084
Restrict follows to approved actors/instances
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-19 13:41:25 +01:00
Thomas Citharel
cece3c89e9
Fix comments URLs
...
Also remote comments were marked as local
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 18:25:40 +01:00
Thomas Citharel
6d50da12fe
Add a mix mobilizon.actors task to list actors tasks
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 15:57:15 +01:00
Thomas Citharel
7ec15d56bf
Use mix.exs version instead of config one
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 14:32:20 +01:00
Thomas Citharel
dc3353c608
Move from Schema.org Place to AS Place with Schema.org properties
...
See https://socialhub.activitypub.rocks/t/how-to-represent-places-in-an-event/413
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 11:03:04 +01:00
Thomas Citharel
8b27c729be
Fix event html representation with no Accept header
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-18 10:15:58 +01:00
Thomas Citharel
32c1af35df
Handle actor or object being AP Public string
...
Mastodon uses "https://www.w3.org/ns/activitystreams#Public " as object
when sending a `Follow` activity to a relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 13:36:45 +01:00
Thomas Citharel
153a4315ef
Fix signatures for relay
...
The plugs were missing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 13:36:25 +01:00
Thomas Citharel
69048089a5
Add a config option to whitelist users registration
...
Through whole email or domain email
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 12:09:24 +01:00
Thomas Citharel
4f9dc5f8c2
Fix comment visibility and local status
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 09:49:08 +01:00
Thomas Citharel
68af824fb7
Update demo warning message
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 09:20:40 +01:00
Thomas Citharel
205427007a
Improve JSON-LD representation for Address and add it to the docs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 11:47:57 +01:00
Thomas Citharel
8f6877c06d
Clear AP cache when content is updated or deleted
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 11:47:31 +01:00
Thomas Citharel
56182343b8
Support pt:CommentsEnabled in addition to mz:repliesModeration
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-16 11:46:19 +01:00
Thomas Citharel
ce6f78b054
Add admin interface to manage instances subscriptions
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-15 21:56:16 +01:00
Thomas Citharel
c91f3c618b
Introduce comments below events
...
Also add tomstones
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-28 12:33:58 +01:00
Thomas Citharel
00f8322e8b
Merge branch 'master' into 'feature/add-a-demo-mode'
...
# Conflicts:
# CHANGELOG.md
2019-11-21 16:28:53 +01:00
Thomas Citharel
1abdbce7b6
Added a demo mode to show or hide instance warnings that data is deleted
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-21 16:07:43 +01:00
Thomas Citharel
6cff9f46ce
Added mix commands to manage users and view actors
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-21 15:51:13 +01:00
Thomas Citharel
19cb670cec
Disable address autocomplete where required (nominatim)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-20 13:49:57 +01:00
Thomas Citharel
12d5d73361
Merge branch 'feature/add-pelias-geocoder' into 'master'
...
Feature/add pelias geocoder
See merge request framasoft/mobilizon!324
2019-11-19 20:19:02 +01:00
Thomas Citharel
eb28d5da45
Update docs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 20:01:31 +01:00
Thomas Citharel
45439b7f78
Introduce support for Pelias geocoder
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 17:59:04 +01:00
Thomas Citharel
e2e2e157dd
Fix duplicate tags when editing an event with tags in description
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 15:36:25 +01:00
Thomas Citharel
1a82a64411
Include sender mail in from: emails
...
Closes #277
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 11:12:59 +01:00
Thomas Citharel
b5e872a670
Handle missing geolix database
...
Close #313
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-19 10:47:48 +01:00
Thomas Citharel
c810468783
Validate ends_on being after begins_on
...
Closes #315
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:36 +01:00
Thomas Citharel
dffd70ec96
Validate username on backend side and refactor actor changeset
...
Closes #316
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:28 +01:00
Thomas Citharel
19c7756465
Fix #232 and #230
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-18 18:56:28 +01:00
Thomas Citharel
b876baa556
Introduce Mimirsbrunn geocoder and improve addresses & maps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-12 14:10:18 +01:00
Thomas Citharel
f41cf86fe9
Remove floor
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-08 19:39:02 +01:00
Thomas Citharel
56b804f64b
Fixes with addresses and iCalendar
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 10:04:17 +01:00
Thomas Citharel
0fc79d1219
Fix for adding addresses
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:01 +01:00
Thomas Citharel
5bf50057f5
Fix issue when updating event and introduce background jobs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-04 16:40:36 +01:00
Thomas Citharel
b3b41ad777
Refactor Core things, including Ecto handling, ActivityPub & Transmogrifier modules
...
* Data doesn't need anymore to be converted to ActivityStream format to
be saved (this was taken from Pleroma and not at all a good idea here)
* Everything saved when creating an event is inserted into PostgreSQL in
a single transaction
2019-10-31 10:06:11 +01:00
Thomas Citharel
567d8ba555
Make inserting data into search table an async operation
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 16:33:56 +02:00
Thomas Citharel
c6ce7f6795
Fix unrelated warning
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
75ec6afffc
Implement search engine & service in backend
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel
25e25d5537
Allow WebP and Gif pics
...
svg stays forbidden until we can be sure it's fine security-wise
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:43:06 +02:00
Thomas Citharel
74c12d6736
Add the optimize filter for uploaded pics
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-21 13:42:45 +02:00
Thomas Citharel
0f43a71eb0
Limit multipart upload to 10MB
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 14:10:39 +02:00
Thomas Citharel
60b9fa235b
Add some backend changes and validation for field length
...
Closes #225 and #226
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-18 11:31:11 +02:00
Thomas Citharel
5d64299e42
Upgrade vue-cli to v4, change the way server params injection is made
...
and serve es6 modules
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-17 14:20:22 +02:00
Thomas Citharel
9901a26eb1
Merge branch 'bug/fix-XSS-on-event-title' into 'master'
...
Make sure title is properly sanitized
Closes #247
See merge request framasoft/mobilizon!281
2019-10-16 19:17:27 +02:00
Thomas Citharel
32b04755a8
Make sure title is properly sanitized
...
Close #247
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 19:03:31 +02:00