Commit graph

6248 commits

Author SHA1 Message Date
setop 162d4f5fb1 Merge branch 'v5.0-WIP' into 'main'
all developments of milestone 1

Closes #1419 and #1414

See merge request framasoft/mobilizon!1548
2024-04-10 12:36:22 +00:00
setop 7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
Thomas a78dc261e5 Merge branch 'fix-follow-request-email' into 'main'
fix wrong link in instance follow request text email

See merge request framasoft/mobilizon!1537
2024-02-19 08:29:33 +00:00
778a69cd a0a873d234 fix wrong link in instance follow request text email 2024-02-17 14:04:01 +01:00
Thomas Citharel ddbf5a258b Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Framasoft Weblate

See merge request framasoft/mobilizon!1535
2024-02-12 11:57:35 +00:00
Balázs Meskó 6e23f7c55a Translated using Weblate (Hungarian)
Currently translated at 100.0% (91 of 91 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/hu/
2024-02-10 14:29:58 +01:00
Balázs Meskó ab0643ba3d Translated using Weblate (Hungarian)
Currently translated at 86.0% (308 of 358 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/hu/
2024-02-10 14:29:57 +01:00
Ferdi Scholten 5cc4e6d0b6 Translated using Weblate (Dutch)
Currently translated at 73.8% (1216 of 1646 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nl/
2024-02-09 18:17:08 +01:00
Thomas Citharel 831a2deb87
Release 4.1.0-alpha.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 16:10:19 +01:00
Thomas Citharel 077929318a Merge branch 'fix-tests' into 'main'
test: deactivate assert_email_sending with timeout in LegacyNotifierBuilderTest for now

Closes #1322 et #1355

See merge request framasoft/mobilizon!1534
2024-02-09 15:00:55 +00:00
Thomas Citharel f00d2babc0
chore(deps): update front-end deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-09 15:39:17 +01:00
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