Thomas Citharel
f90865ffb4
refactor(deps): replace cowboy HTTP server with bandit
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:38:52 +01:00
Thomas Citharel
3f73b2f856
refactor(front): cleanup unused lines
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:24:53 +01:00
Thomas Citharel
98230a56bb
fix(front): use functions to generate classnames dynamically
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:00:45 +01:00
Thomas Citharel
baa11c18b0
feat(http): allow to provide self-signed certificates
...
Allow for the MOBILIZON_CA_CERT_PATH to be used to provide your own root certificates. The CAStore
and certify certificates stores should be always already be used as fallback instead of the system
store.
Closes #1355
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
9d99684402
feat: allow to filter events by local-only
...
In addition to internal (self + federated) and global (global external search engine), introduce the
self possibility
Closes #1322
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 13:51:59 +01:00
Thomas Citharel
d1b1979ee5
test: deactivate assert_email_sending with timeout in LegacyNotifierBuilderTest for now
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 09:51:12 +01:00
Thomas Citharel
06cdb1cb43
Merge branch 'fixes' into 'main'
...
fix(activitypub): handle issue with AP Fetcher not catching some changeset errors
Closes #1409
See merge request framasoft/mobilizon!1531
2024-02-09 08:12:32 +00:00
Thomas Citharel
57b6bc604c
Merge branch 'vite-manifest-fix' into 'main'
...
Provide new location for vite manifest, as that changed in vite 5
See merge request framasoft/mobilizon!1532
2024-02-09 08:11:59 +00:00
Thomas Citharel
c919b992e5
Merge branch 'weblate-mobilizon-frontend' into 'main'
...
Translations update from Framasoft Weblate
See merge request framasoft/mobilizon!1533
2024-02-09 08:10:41 +00:00
drkfrd
445ee92f28
Translated using Weblate (Swedish)
...
Currently translated at 94.5% (86 of 91 strings)
Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/sv/
2024-02-08 20:29:48 +01:00
Balázs Meskó
f6435e621a
Translated using Weblate (Hungarian)
...
Currently translated at 92.2% (1518 of 1646 strings)
Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/hu/
2024-02-08 20:29:48 +01:00
778a69cd
80e3095b4c
provide new location for vite manifest, as that changed in vite 5
2024-02-08 20:01:23 +01:00
Thomas Citharel
e3b36434cb
fix(activitypub): handle issue with AP Fetcher not catching some changeset errors
...
Closes #1409
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:56:50 +01:00
Thomas Citharel
5429afba21
Merge branch 'fixes' into 'main'
...
Various fixes
Closes #1384 , #1382 et #1413
See merge request framasoft/mobilizon!1523
2024-02-08 16:52:15 +00:00
Thomas Citharel
4dc2f489e7
fix(activitypub): also handle as:Public and Public values for public addressing
...
Closes #1413
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
67314928e0
test(backend): fix legacy notifier test assert
...
We can't refute something right after asserting it before, unfortunately
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
28430d6d57
feat(docker): add new environment variables for Docker config
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
ab3f5dfd27
feat(config): enable instance feeds by default
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:52:03 +01:00
Thomas Citharel
1f4a7c253b
fix(front): patch vue-i18n-extract because of mjs incompatibility
...
Make sure it loads the config file in commonjs mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:24 +01:00
Thomas Citharel
cba2075431
fix(front): correctly show error message when a tag is too short
...
Closes #1382
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
6a482b0d97
fix(front): various cleanups
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
34c0dd6498
fix(front): only update identity username from name if it's a new identity
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
f6bcb02b98
fix(front): tagInput fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
b1ecf4b36f
fix(front): vite fixes after upgrade (everything is esm)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
1acf931ac5
fix(back): sitemapper fix after upgrade
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
04edc4fef0
fix(front): husky fixes after upgrade
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
8e9f7a81b4
chore(deps): upgrade deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
8a2e262474
test(graphql): fix getting event conversations test
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
77308a9477
test(notifications): fix testing email notifications
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
a6a1ab71c2
fix(front): various UI improvements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
3b7124a57b
fix(front): fix focusing text editor
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
ba66874cc3
fix(front): add a required attribute to the text editor and show error message if text empty on blur
...
Also improve text editor borders
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
ef20585f8c
fix(announcements): error message not showing when an event announcement is created with empty text
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:22 +01:00
Thomas Citharel
9207d76712
chore(deps): upgrade deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
0bd00de501
fix(backend): only send announcement event emails when the comment author has the right to do so
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
aa388a7a47
test(backend): private announcement notification jobs sends emails
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
43c6143ddf
test(graphql): having several anonymous participants for an announcement adds anonymous actor once
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
95379885c8
fix(backend): fix sending N notifications to a single conversation participant
...
Because of the conversation participant ID being necessary in the email, we launch N jobs to send
notifications, so we need to send the email straight away.
Anonymous participants are always only a single conversation actor
participant, so we're fine
Closes #1384
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
681f8dcd04
test(graphql): add tests for sending private event announcements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
5bc0593ed6
fix(graphql): fix checking actor identity when publishing event announcements
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:21 +01:00
Thomas Citharel
10c4038b85
fix(backend): hide non-public replies to comments in event comment threads
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
c9a1c35aa7
fix(announcements): make sure only valid announcements are shown to the user
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
dcbb8eae01
feat(graphql): increase max_complexity to 300
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
6a4123f385
fix(front): fix TagInput width properly
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
01eecbf1d4
fix(event announcements): only show comments from event organizers in event announcement list
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
387d3b1c30
fix(activitypub): consider PM as private conversations even if attributed_to_id is defined
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
456dc36f64
fix(frontend): various fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:20 +01:00
Thomas Citharel
c12df03b5d
refactor(backend): simplify the build_begins_on function in Metadata event impl
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel
5de22f91e2
fix(backend): avoid duplicating locality and region if they are the same
...
An example is Paris where both locality and region are named "Paris"
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00
Thomas Citharel
1441d35e0b
feat(activitpub): add summary of metadata to events
...
Currently only expressed as plain text even though it should be HTML because of Mastodon
compatibility
Ref: https://framagit.org/les/gancio/-/issues/321
Ref: https://github.com/mastodon/mastodon/issues/28455
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:19 +01:00