Commit graph

5449 commits

Author SHA1 Message Date
Thomas Citharel d58adb692a Merge branch 'ecto-dev-logger' into 'main'
Add Ecto.DevLogger in dev mode

See merge request framasoft/mobilizon!1328
2022-11-06 16:26:18 +00:00
Thomas Citharel e7e4ed2ac9
Add Ecto.DevLogger in dev mode
See https://github.com/fuelen/ecto_dev_logger

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 16:56:04 +01:00
Thomas Citharel 84860ca2bf
Release 3.0.0-rc.4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 16:02:56 +01:00
Thomas Citharel 394428cda7 Merge branch 'fixes' into 'main'
Add GraphQL query name to other queries

See merge request framasoft/mobilizon!1327
2022-11-06 15:01:57 +00:00
Thomas Citharel 96ba48cdb0
Handle error when fetching object from tombstone
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 15:29:34 +01:00
Thomas Citharel 994797c475
Fix front-end analytics csp config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 15:14:04 +01:00
Thomas Citharel f593867d8e
Add GraphQL query name to other queries
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 15:13:52 +01:00
Thomas Citharel da78410039 Merge branch 'graphql-operation-name-logs' into 'main'
Add GraphQL operation name, user ID and actor name in logs

See merge request framasoft/mobilizon!1326
2022-11-06 13:47:59 +00:00
Thomas Citharel b860dadbfb
Front-end fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel e812b4291b
Add GraphQL query name where it was missing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel 30b0d3ca08
Add GraphQL operation name, user ID and actor name in logs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel dffa8d4197 Merge branch 'deps' into 'main'
Upgrade deps

See merge request framasoft/mobilizon!1325
2022-11-06 10:54:41 +00:00
Thomas Citharel de8433cdbb
Add error details in error logging in Activity Update handler
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 11:33:09 +01:00
Thomas Citharel 83755c4746
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 11:28:54 +01:00
Thomas Citharel 40c68bde7f Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Weblate

See merge request framasoft/mobilizon!1324
2022-11-06 09:04:21 +00:00
Eivind Ødegård 3b552497b4 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 90.8% (1316 of 1448 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2022-11-05 22:38:55 +01:00
Eivind Ødegård bb9c0b4753 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (77 of 77 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/nn/
2022-11-05 19:06:05 +01:00
Eivind Ødegård 13ee4fd781 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 90.2% (1307 of 1448 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2022-11-05 19:06:05 +01:00
Thomas Citharel 8d3e9f3b4f Merge branch 'upgrade-docker-dind' into 'main'
Upgrade Docker dind

See merge request framasoft/mobilizon!1323
2022-11-04 19:17:05 +00:00
Thomas Citharel 44863096c1
Upgrade Docker dind
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 20:16:45 +01:00
Thomas Citharel dbb19a5e01 Merge branch 'sentry-ci' into 'main'
Send sourcemaps to our sentry instance

See merge request framasoft/mobilizon!1322
2022-11-04 18:30:50 +00:00
Thomas Citharel ef7841a041
Update language files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:29:59 +01:00
Thomas Citharel a2ef3901f4
Linting Text editor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:29:59 +01:00
Thomas Citharel b745f34356
Fix event map view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:29:59 +01:00
Thomas Citharel ad9d9d33bc
Send sourcemaps to our sentry instance
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 18:17:14 +01:00
Thomas Citharel 8e0f6bd173 Merge branch 'homepage-webperf' into 'main'
Fix building CSP policy

See merge request framasoft/mobilizon!1321
2022-11-04 16:18:29 +00:00
Thomas Citharel bc81b1830d
Add empty alt attribute to uploaded pictures (for now)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 16:47:24 +01:00
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