Commit Graph

4673 Commits

Author SHA1 Message Date
Thomas Citharel
cf7744ab51
Add sanitize-html on front-end when pasting into a comment field
So that only allowed tags are inputted into a comment, when copying from
elsewhere

Closes #836

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 19:57:12 +01:00
Thomas Citharel
3d2fea6bb8 Merge branch 'bugs' into 'main'
Various bugs

Closes #873 et #862

See merge request framasoft/mobilizon!1108
2021-11-13 15:12:25 +00:00
Thomas Citharel
0e98010906
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel
3dc8663c3e
Improve report modal accessibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel
4a8284fa6d
Improve comment tree
Closes #862

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 14:38:59 +01:00
Thomas Citharel
b1a9c28a97
Add closeButtonAriaLabel to everymodal
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 12:33:14 +01:00
Thomas Citharel
e6b186026d
Fix a couple of Apollo cache issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 11:47:56 +01:00
Thomas Citharel
18cd7c11f1
Fix error when determining audience for Discussion
Closes #873

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-13 11:46:25 +01:00
Thomas Citharel
b4bfa0856f
Merge remote-tracking branch 'weblate/main' 2021-11-13 10:50:44 +01:00
Berto Te
c284c78034 Translated using Weblate (Spanish)
Currently translated at 100.0% (200 of 200 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/es/
2021-11-13 10:48:36 +01:00
Berto Te
08e782860d Translated using Weblate (Spanish)
Currently translated at 100.0% (287 of 287 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/es/
2021-11-13 10:48:35 +01:00
Thomas Citharel
fbb167983d Merge branch 'bugs' into 'main'
Allow group admins to moderate new members and other things

Closes #881 et #886

See merge request framasoft/mobilizon!1107
2021-11-12 16:47:01 +00:00
Thomas Citharel
d653b038c5
Also send ARM links in releases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:20:27 +01:00
Thomas Citharel
bd2f5f8c1b
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:17:06 +01:00
Thomas Citharel
b940f3c49e
Set same version in docker-compose.test.yml
Closes #886

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:17:06 +01:00
Thomas Citharel
f287b9126e
Improve the AP representation and move endpoints to property
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:17:05 +01:00
Thomas Citharel
6eba531c89
Allow group admins to moderate new members
Closes #881

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:17:05 +01:00
Thomas Citharel
ae24fa17d5
Refactor Mobilizon.Service.Activity.Member
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-12 17:16:55 +01:00
Thomas Citharel
e484728c3d Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Weblate

See merge request framasoft/mobilizon!1105
2021-11-11 16:26:10 +00:00
GunChleoc
38468e06d9 Translated using Weblate (Gaelic)
Currently translated at 100.0% (52 of 52 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/gd/
2021-11-11 17:22:06 +01:00
GunChleoc
34ba8bd298 Translated using Weblate (Gaelic)
Currently translated at 99.7% (1232 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-11 17:22:06 +01:00
Berto Te
97bddd70ec Translated using Weblate (Spanish)
Currently translated at 100.0% (1235 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-11 17:22:06 +01:00
GunChleoc
c571d8336e Added translation using Weblate (Gaelic) 2021-11-11 17:22:06 +01:00
GunChleoc
c68a7e8c0c Translated using Weblate (Gaelic)
Currently translated at 97.5% (1205 of 1235 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-11-11 17:22:06 +01:00
Thomas Citharel
012dbe6419 Merge branch 'notify-followers' into 'main'
Send notification emails to followers and members when a group publishes a new event

See merge request framasoft/mobilizon!1106
2021-11-11 16:05:36 +00:00
Thomas Citharel
4a2805d43e
Extract translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-11 16:29:39 +01:00
Berto Te
a04ffcd6ce
Translated using Weblate (Spanish)
Currently translated at 100.0% (1234 of 1234 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-11-11 16:29:39 +01:00
Thomas Citharel
9583804890
Only show datetime tz toggle if offset is different
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-11 16:29:38 +01:00
Thomas Citharel
38a3ffc19f
Send event creation and event update notifications in a background task
The event update notification is made unique so that repeated changes
only trigger one notificate every 30 minutes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-11 16:29:38 +01:00
Thomas Citharel
8250d34597
Debug log the output of an Create Event error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:52 +01:00
Thomas Citharel
c15123e5ea
Add tests for Gancio compatibility
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:51 +01:00
Thomas Citharel
afff01d6d2
Set an event UUID if default is nil
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:51 +01:00
Thomas Citharel
aaf9c2c931
Refactor fetching medias from event attachements
Use first attachement Document if none has the Banner name

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:51 +01:00
Thomas Citharel
6822cfabf1
Add a default name for media if none is specified in AP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:51 +01:00
Thomas Citharel
41bddebda2
Add ru and ar to dev locales
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel
ccce64d6cb
Update arm/arm64 packages as well
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel
89bbafb44c
Don't digest release files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel
5c7067b22b
Send notification emails to followers and members when a group publishes
a new event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 16:36:32 +01:00
Thomas Citharel
800060a926 Merge branch 'bugs' into 'main'
Include organizer actor in icalendar export

Closes #907 et #913

See merge request framasoft/mobilizon!1104
2021-11-09 13:33:52 +00:00
Thomas Citharel
cf69c8b375
Break line after notification settings in emails
Closes #913

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 12:59:53 +01:00
Thomas Citharel
2401abedb5
Include organizer actor in icalendar export
Closes #907

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 11:50:35 +01:00
Thomas Citharel
6d9fe639d6
Add option to yarn in CI to avoid network timeouts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 10:39:04 +01:00
Thomas Citharel
e4a64e8ad6
Rename changelog entry
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:50:29 +01:00
Thomas Citharel
16925ebf77 Merge branch '2.0-beta.1' into 'main'
2.0-beta.1

Closes #892

See merge request framasoft/mobilizon!1102
2021-11-09 08:46:42 +00:00
Thomas Citharel
0bc78ad26e
Mention the main branch name change in the changelog
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:17:38 +01:00
Thomas Citharel
184b1cbdd2
Bump version to 2.0.0-beta.1
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel
cd8a5552bb
Improve converting to username from non-latin characters
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel
a54607a57d
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel
90665f0294
Fix some new eslint rules
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:33 +01:00
Thomas Citharel
6a03e49b63
Remove obsolete configuration
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:32 +01:00