Thomas Citharel
|
87214b038f
|
Add appropriate timeouts for Repo.transactions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-04 08:21:15 +02:00 |
|
Luca Eichler
|
75502e2a4b
|
Add option to link an external registration provider for events
|
2022-05-03 15:33:32 +02:00 |
|
Thomas Citharel
|
63a23748ac
|
Improve test coverage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-03 12:58:07 +02:00 |
|
Thomas Citharel
|
999a33c7c3
|
Typespec fixes and refactoring
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-03 12:23:09 +02:00 |
|
Thomas Citharel
|
f6a17d8b3a
|
Improve a guard
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-03 11:41:17 +02:00 |
|
Thomas Citharel
|
a18c4daf4c
|
Avoid using actor id from config cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-03 11:40:16 +02:00 |
|
Thomas Citharel
|
1299b3baf1
|
CAS Auth Fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-02 14:40:17 +02:00 |
|
Thomas Citharel
|
bf7ebfd989
|
Test refreshing instances does not update self relay actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-02 13:15:14 +02:00 |
|
Thomas Citharel
|
a4cc566ee7
|
Fix some typespecs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-02 12:08:00 +02:00 |
|
Thomas Citharel
|
926dd01272
|
Send push notification into own task
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-02 12:07:21 +02:00 |
|
Thomas Citharel
|
d87261a6fb
|
Fix lint after merge
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-05-02 09:04:57 +02:00 |
|
Thomas Citharel
|
93805dca11
|
Merge branch 'setop-main-patch-92671' into 'main'
include ongoing events in search
Closes #729
See merge request framasoft/mobilizon!1171
|
2022-05-02 06:48:16 +00:00 |
|
setop
|
f071f70d1f
|
include ongoing events in search
|
2022-05-02 06:48:15 +00:00 |
|
Thomas Citharel
|
c91e8f6bf3
|
Fix being an administrator when using 3rd-party auth provider
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-28 11:59:24 +02:00 |
|
Thomas Citharel
|
f997f573ba
|
Use a session for state parameter in Ueberauth callback controller
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-28 11:59:24 +02:00 |
|
Thomas Citharel
|
ce6a25048c
|
Add missing "relay@" part of federated address to follow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-24 17:52:46 +02:00 |
|
Thomas Citharel
|
030a149a61
|
Merge branch 'fixes' into 'main'
Improve actor cards integration
See merge request framasoft/mobilizon!1216
|
2022-04-22 10:38:42 +00:00 |
|
Thomas Citharel
|
e4a22bdb83
|
Fix latest group not refreshing in admin section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-22 12:04:05 +02:00 |
|
Thomas Citharel
|
279badb2bf
|
Refactor Mobilizon.Federation.ActivityPub.Types.Events tags handling
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-21 17:31:47 +02:00 |
|
Thomas Citharel
|
7b3ce8d812
|
Avoid duplicate tags with different casing
Closes #562
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-21 17:13:21 +02:00 |
|
Thomas Citharel
|
ca860273a0
|
Exclude tags with more than 40 characters from being extracted.
They are still in the HTML produced
Closes #562
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-21 17:13:20 +02:00 |
|
Thomas Citharel
|
0c49ddc65b
|
Add "Accept-Language" header to sentry request metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-21 10:33:42 +02:00 |
|
Thomas Citharel
|
74cece5796
|
Preload user.activity_settings to as it's being used after
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-21 10:21:05 +02:00 |
|
Thomas Citharel
|
b79f918d51
|
Correct a @moduledoc
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 19:15:33 +02:00 |
|
Thomas Citharel
|
3f32b3409f
|
Increase task timeout in Refresher to 60 seconds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 18:47:31 +02:00 |
|
Thomas Citharel
|
74eeaccdc6
|
Allow webfinger to be fetched over http (not https) in dev mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 18:38:03 +02:00 |
|
Thomas Citharel
|
7c8de2b87f
|
Fix rejecting instance follow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 18:35:38 +02:00 |
|
Thomas Citharel
|
f6ac72f08d
|
Allow instance to have non-standard ports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 18:35:18 +02:00 |
|
Thomas Citharel
|
409439a916
|
Make sure we can't refresh the local instance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:11 +02:00 |
|
Thomas Citharel
|
28f5cdd03a
|
Handle webfinger JSON data being invalid format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:10 +02:00 |
|
Thomas Citharel
|
0ebb797740
|
Directly delete an object if the actor is itself
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:10 +02:00 |
|
Thomas Citharel
|
00f4c0b02c
|
Make sure remote Update activities can't affect local actors other than
Groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:10 +02:00 |
|
Thomas Citharel
|
4b869a6015
|
Make some functions private in Mobilizon.Federation.ActivityPub.Utils
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:09 +02:00 |
|
Thomas Citharel
|
df8721670a
|
Add a comment about why we don't sign object fetches when refetching actor keys
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:09 +02:00 |
|
Thomas Citharel
|
852be15a3e
|
Eventually fetch actors in mentions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:08 +02:00 |
|
Thomas Citharel
|
14545fd983
|
Add proper fallback for when a TZ isn't registered
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 16:18:08 +02:00 |
|
Thomas Citharel
|
f5791d1413
|
Debug log mentions in text to be processed
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 09:03:15 +02:00 |
|
Thomas Citharel
|
48d17c122d
|
Fix an issue with no default timezone
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 09:03:14 +02:00 |
|
Thomas Citharel
|
d7aa432cca
|
Fix receiving Flag activities on federated events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-20 09:03:14 +02:00 |
|
Thomas Citharel
|
0b04980332
|
Remove Koena Connect button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-18 15:01:32 +02:00 |
|
Thomas Citharel
|
83f2880dd9
|
Fix some typespecs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-18 14:47:44 +02:00 |
|
Thomas Citharel
|
7a18d0b2bb
|
Fix ex_docs warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-07 18:51:10 +02:00 |
|
setop
|
38579d9dc2
|
add search box to filter addresses quickly
|
2022-04-07 10:51:30 +02:00 |
|
Thomas Citharel
|
4f92add78d
|
Format LiveView templates after adding the LiveView formatter plugin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-07 10:33:11 +02:00 |
|
Thomas Citharel
|
e3adc0684f
|
Make FrontEndAnalytics provide CSP configuration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-06 19:56:09 +02:00 |
|
Thomas Citharel
|
da2254089c
|
Make sure suspended actors are not in the AP cache anymore
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-06 16:54:00 +02:00 |
|
Thomas Citharel
|
501e0d12e4
|
Properly fallback to MEETING category if category is not in the
allowlist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-06 14:42:01 +02:00 |
|
Thomas Citharel
|
709d26735b
|
Provide analytics on Front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-06 12:31:46 +02:00 |
|
Thomas Citharel
|
cb1e41d90d
|
Remove unused variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-05 14:10:21 +02:00 |
|
Thomas Citharel
|
4b9a38b2a7
|
Merge branch 'email-spam' into 'main'
Move mailer from Bamboo to Swoosh
Closes #491
See merge request framasoft/mobilizon!1203
|
2022-04-05 11:21:24 +00:00 |
|
Thomas Citharel
|
e49a8e3905
|
Fix issue in function signature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-05 12:38:03 +02:00 |
|
Thomas Citharel
|
e841fb6fbb
|
Move mailer from Bamboo to Swoosh
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-05 12:38:02 +02:00 |
|
Thomas Citharel
|
e5ccdccbc7
|
Allow to get a group by it's ID
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-04 15:42:17 +02:00 |
|
Thomas Citharel
|
7fcaa4a151
|
[GraphQL] Allow to get group by ID in person memberships
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-04 15:42:16 +02:00 |
|
Thomas Citharel
|
d2864a22d9
|
Allow to exclude stale actors from group search (one week without refreshment)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-04 15:42:16 +02:00 |
|
Thomas Citharel
|
2bdce8b2fc
|
Handle address is invalid while rendering event preview
Closes #996
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-01 15:01:57 +02:00 |
|
Thomas Citharel
|
a99d66b68f
|
Fix group deletion caused by foreign keys issue with comments &
discussions
Closes #1016
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-01 12:09:23 +02:00 |
|
Thomas Citharel
|
b1ac997f8a
|
Make sure every relation of actor is loaded when operating on it
Closes #1049
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-04-01 10:03:43 +02:00 |
|
Thomas Citharel
|
de5a5345b6
|
Don't return error 500 when issue with media proxy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 11:24:22 +02:00 |
|
Thomas Citharel
|
a49bda5e4c
|
Handle error from converting from AP to note when having error with
actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 11:24:22 +02:00 |
|
Thomas Citharel
|
c56b898379
|
Fix incoming Accept activities from participations we don't already have
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 11:24:22 +02:00 |
|
Thomas Citharel
|
4c9065ce68
|
Resource fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 11:24:22 +02:00 |
|
Thomas Citharel
|
9ab95efb08
|
Fix an email template and rename a translated string
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 10:49:15 +02:00 |
|
Thomas Citharel
|
dd97565dd5
|
Give extra content to Sentry when creating a signature
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 10:49:15 +02:00 |
|
Thomas Citharel
|
4a8064f24f
|
Move Sentry request context to new module and load it everytime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 10:49:15 +02:00 |
|
Thomas Citharel
|
3c8a2a1313
|
Add details of object in exception when AP object as no
actor/attributedTo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-31 10:49:15 +02:00 |
|
Thomas Citharel
|
bd64e19af4
|
Move a logging warning for HTTP issue to an info
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-29 11:51:07 +02:00 |
|
Thomas Citharel
|
9ddcd6dff6
|
Make sure timezone as an UTC fallback in case it's nil
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-29 11:51:07 +02:00 |
|
Thomas Citharel
|
368911b58e
|
Allow to register custom categories
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-28 20:02:43 +02:00 |
|
Thomas Citharel
|
f5bdedf789
|
Introduce event categories
Closes #1056
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-28 17:42:59 +02:00 |
|
Thomas Citharel
|
cd3c316881
|
Return a proper error directly when a group name conflicts
And translate the error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-24 16:39:44 +01:00 |
|
Thomas Citharel
|
93425108c5
|
Allow GraphQL Error handler return custom Mobilizon.GraphQL.Error
directly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-24 16:39:44 +01:00 |
|
Thomas Citharel
|
3c294b33a8
|
Provide group creation changeset errors as well to absinthe
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-24 16:39:44 +01:00 |
|
Thomas Citharel
|
a71c51a174
|
Expose member count in AP data
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-24 14:19:24 +01:00 |
|
Thomas Citharel
|
019d694d2a
|
Clear all ics/feed caches when modifying events/posts/actors
Closes #1059
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-24 12:51:23 +01:00 |
|
Thomas Citharel
|
e7ce24966b
|
Fix loading list of languages after ex_cldr update
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-23 12:35:27 +01:00 |
|
Thomas Citharel
|
7067173a5a
|
Refactor to avoid calling Mobilizon.Cldr.known_locale_name with a string
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-21 17:50:38 +01:00 |
|
Thomas Citharel
|
3dd0b60606
|
Fix duplicate field in schema
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-21 16:55:01 +01:00 |
|
Thomas Citharel
|
f043ec32d1
|
Thunderbird 91+ seems to send Accept: XML when doing any query
We only accept ICS, so it didn't work.
Closes #1019
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-03-21 12:46:56 +01:00 |
|
Thomas Citharel
|
11ac2dcceb
|
Expose remainingAttendeeCapacity and participantCount through AP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-02-08 15:41:42 +01:00 |
|
Thomas Citharel
|
87b37a4153
|
Expose isOnline through AP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-02-08 15:27:17 +01:00 |
|
Thomas Citharel
|
2134e7b152
|
Improve rich media parsers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-18 12:52:45 +01:00 |
|
Thomas Citharel
|
a66f19cc5d
|
Fix fetching details from Twitter
Due to 429 error. Details: e6dc2ca5f2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-18 12:52:01 +01:00 |
|
Thomas Citharel
|
fbe5a8d0c4
|
Detect and convert html body in the correct charset before parsing it
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-18 12:47:45 +01:00 |
|
Thomas Citharel
|
c8735e5837
|
Fix parsing links with hashtag characters
Closes #1008
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-18 12:46:33 +01:00 |
|
Thomas Citharel
|
bda18a2150
|
Disable follow of non-instances for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 17:50:00 +01:00 |
|
Thomas Citharel
|
2a629759fa
|
Fix link on instance follow email
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 17:45:12 +01:00 |
|
Thomas Citharel
|
6e5061250c
|
Improve admin views (2)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 15:53:24 +01:00 |
|
Thomas Citharel
|
ca6ef9b06b
|
Improve admin views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:49:48 +01:00 |
|
Thomas Citharel
|
2ac3755120
|
Fix ical export for undefined datetimes
Closes #973
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:49:46 +01:00 |
|
Thomas Citharel
|
193fcde123
|
Allow to filter reports by domain
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:49:46 +01:00 |
|
Thomas Citharel
|
26b1ea401a
|
Fix various issues reported by Dializer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:49:46 +01:00 |
|
Thomas Citharel
|
1319985047
|
Rename Mobilizon.Actors.is_following/2 to check_follow/2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:41:03 +01:00 |
|
Thomas Citharel
|
bc6cec45fa
|
Improve logging in module and handle more Webfinger errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:41:03 +01:00 |
|
Thomas Citharel
|
e717312de7
|
Introduce instances admin page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:41:03 +01:00 |
|
Thomas Citharel
|
7f665daaf3
|
Handle actor refreshment being impossible
If we can't refresh the actor, just return the stale actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2022-01-17 14:41:03 +01:00 |
|
Thomas Citharel
|
ba097c736e
|
Improve handling of media file deletion
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2021-12-15 12:59:56 +01:00 |
|
Thomas Citharel
|
c174e18b39
|
Improve compilation dependency in endpoint and context
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2021-12-15 12:59:56 +01:00 |
|
Thomas Citharel
|
b484629010
|
Fix test to know whether we should perform unused accounts cleanup
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2021-12-15 12:59:55 +01:00 |
|
Thomas Citharel
|
3ad5f8977e
|
Simplify response for user not found
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
|
2021-12-15 12:59:55 +01:00 |
|