Commit Graph

5422 Commits

Author SHA1 Message Date
Thomas Citharel
5078f890ce
Add loading="lazy" to some images, except categories in viewport
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 16:47:24 +01:00
Thomas Citharel
a51b36fb75
Fix building CSP policy
You can't use 'none' as a CSP Policy if there's other things among

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 16:47:24 +01:00
Thomas Citharel
d8434ca3d3
Release 3.0.0-rc.3
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 14:43:10 +01:00
Thomas Citharel
1fe4baa6ba Merge branch 'cleanup-navbar' into 'main'
Cleanup navbar

See merge request framasoft/mobilizon!1320
2022-11-04 13:42:02 +00:00
Thomas Citharel
7489d60f7f
Cleanup navbar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 14:30:26 +01:00
Thomas Citharel
88256bddfe Merge branch 'add-csp-policy-for-pictures' into 'main'
Fix event integrations

See merge request framasoft/mobilizon!1319
2022-11-04 11:29:57 +00:00
Thomas Citharel
e31433cf83
Allow for resource providers to register a csp policy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:50:15 +01:00
Thomas Citharel
c1dff8caaa
Remove unused import
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:29:19 +01:00
Thomas Citharel
08ce9b6f84
Prevent loading authorized groups when current actor isn't loading in OrganizerPickerWrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:29:12 +01:00
Thomas Citharel
74639e7203
Fix event integrations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 11:28:56 +01:00
Thomas Citharel
b1cc1a9155 Merge branch 'add-csp-policy-for-pictures' into 'main'
Add CSP Policy for pictures

See merge request framasoft/mobilizon!1318
2022-11-04 10:24:21 +00:00
Thomas Citharel
57fac37347
Support CSP report_uri, report_to and the Report-To and Reporting-Endpoints headers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 10:55:26 +01:00
Thomas Citharel
e97206077c
Add CSP Policy for pictures
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 09:26:45 +01:00
Thomas Citharel
f5e81fab3f Merge branch 'fixes' into 'main'
Various fixes

Closes #1180 et #1182

See merge request framasoft/mobilizon!1317
2022-11-04 07:59:01 +00:00
Thomas Citharel
6058da0d44
Propertly handle other errors when receiving a comment
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 18:11:40 +01:00
Thomas Citharel
4bb90ebb3f
Properly handle replying to an event that has been deleted
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 18:02:32 +01:00
Thomas Citharel
770a518ad1
Properly handle un-needed background jobs
Cancel them if they're not needed

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 18:00:42 +01:00
Thomas Citharel
c68c0c2120
Add context to error when removing an upload file following actor suspension
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 17:56:45 +01:00
Thomas Citharel
f3ac1f7ce1
Discussions views improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 17:38:20 +01:00
Thomas Citharel
afd164a449
Resources view improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 17:38:20 +01:00
Thomas Citharel
d75a95cccd
Lower loglevel of resource insertion error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 16:54:04 +01:00
Thomas Citharel
7401fc8273
Truncate resource description preview after 350 characters
Closes #1182

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 16:54:04 +01:00
Thomas Citharel
e03ad73c7f
Fix multiselect of resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 16:26:50 +01:00
Thomas Citharel
29de9b346a
Fix moving resources
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 12:10:59 +01:00
Thomas Citharel
62dd1b85b7
Don't treat notification for a deleted event as an error
Just cancel the job

Closes #1180

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 09:50:33 +01:00
Thomas Citharel
34ecb1f3e4
Correct heading levels in CHANGELOG.md
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-03 09:00:29 +01:00
Thomas Citharel
84594459be Merge branch 'release-3.0.0-rc.2' into 'main'
Release 3.0.0-rc.2

See merge request framasoft/mobilizon!1316
2022-11-03 07:55:51 +00:00
Thomas Citharel
53fdf99628
Release 3.0.0-rc.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 19:42:33 +01:00
Thomas Citharel
4d1c551148 Merge branch 'deps' into 'main'
Upgrade deps

Closes #466 et #1086

See merge request framasoft/mobilizon!1315
2022-11-02 18:42:03 +00:00
Thomas Citharel
dbf27eee2b Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Weblate

See merge request framasoft/mobilizon!1312
2022-11-02 18:09:40 +00:00
Berto Te
58c13131df Translated using Weblate (Spanish)
Currently translated at 100.0% (1440 of 1440 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2022-11-02 18:47:52 +01:00
Berto Te
4bf29f167c Translated using Weblate (Spanish)
Currently translated at 100.0% (211 of 211 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/es/
2022-11-02 18:47:52 +01:00
Berto Te
f94119b643 Translated using Weblate (Spanish)
Currently translated at 99.0% (1427 of 1440 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2022-11-02 18:47:52 +01:00
Thomas Citharel
ce3fa41505 Merge branch 'fixes' into 'main'
Do not list drafts in upcoming / old events event if moderator

Closes #466 et #1086

See merge request framasoft/mobilizon!1314
2022-11-02 17:47:45 +00:00
Thomas Citharel
c009a5cf83
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:32:44 +01:00
Thomas Citharel
4dede63b83
Remove unused variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:32:30 +01:00
Thomas Citharel
84009a9530
Fix current format status of text not displayed in text editor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:15:19 +01:00
Thomas Citharel
e69e8a5044
Allow to configure editor heading levels and set level 2 as start for posts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:09:26 +01:00
Thomas Citharel
3ddf360e11
Add breadcrumb trail on Post view
And lint

Closes #466

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 18:02:20 +01:00
Thomas Citharel
30eb37e31b
Post view improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:45:58 +01:00
Thomas Citharel
7ee79a00e2
Fix post sharing URL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:45:49 +01:00
Thomas Citharel
dd3e99bc5e
Fix pagination number text color in dark theme
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:45:27 +01:00
Thomas Citharel
02381f2820
Fix deleting person detached from user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:14:26 +01:00
Thomas Citharel
4be5cc787e
Make sure group is refreshed after action
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:14:26 +01:00
Thomas Citharel
75296498c4
Do not list drafts in upcoming / old events event if moderator
Closes #1086

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 17:12:35 +01:00
Thomas Citharel
48da35ee41 Merge branch 'fix-csp' into 'main'
Add sha-256 hash for toggling dark theme code and remove inlined phoenix digest

Closes #993

See merge request framasoft/mobilizon!1313
2022-11-02 11:10:48 +00:00
Thomas Citharel
dcfe87116e
Allow to view more than 10 drafts events on my events view
Closes #993

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 11:38:14 +01:00
Thomas Citharel
a1726fc12e
Add sha-256 hash for toggling dark theme code and remove inlined phoenix digest
Follow-up to !1300

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-02 11:36:32 +01:00
Thomas Citharel
ae0e3fbdd1 Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Weblate

See merge request framasoft/mobilizon!1310
2022-10-31 18:26:14 +00:00
Weblate
6f9721f9bf Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/
2022-10-31 19:24:47 +01:00