Commit graph

4320 commits

Author SHA1 Message Date
Thomas Citharel 1df9f84c20
Fix jest tests by adding tz to mocks
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:49:41 +02:00
Thomas Citharel f24ec89408
Fix event notification tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:14:46 +02:00
Thomas Citharel f31454c692
Add json_ld info to more emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:14:46 +02:00
Thomas Citharel f9ddeb80fb
Add offer_unsupscription parameter to emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:14:45 +02:00
Thomas Citharel ea76805a90
Update translation files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:14:43 +02:00
Thomas Citharel bd4fad3c58
Improve emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:37 +02:00
Thomas Citharel aca2ed612e
Add datetime_to_date_string/3 and is_same_day?/2 to Mobilizon.Service.DateTime
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:37 +02:00
Thomas Citharel 7ecf2e1da0
Add isOnline event option to mark event as fully online
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:37 +02:00
Thomas Citharel d2ccc21f91
Add tz_world.update to release scripts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:36 +02:00
Thomas Citharel 88e9ae8214
Rollback eblurhash to 1.2.0
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:36 +02:00
Thomas Citharel 8a1dfb0612
Extract vue-announcer and vue-skip-to styles (so that they're nt inline)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:36 +02:00
Thomas Citharel 676fab7871
Embed json-ld metadata on events in emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:36 +02:00
Thomas Citharel 555ae867ea
Add code to participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:35 +02:00
Thomas Citharel 4de78f58e0
Allow anonymous participants to have timezone metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:35 +02:00
Thomas Citharel 44f90c7b0b
Fix focustarget in some cases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:35 +02:00
Thomas Citharel a9e36aaacb
Show correct timezone in event-related emails
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:13:33 +02:00
Thomas Citharel cd89efa1e3
Export timezone in ICS files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:12:18 +02:00
Thomas Citharel 4ca831a5b3
Federate timezone
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-18 11:12:18 +02:00
Thomas Citharel 38cb9d3c9f Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1080
2021-10-14 09:08:41 +00:00
Jurij Podgoršek 46feb40908 Translated using Weblate (Slovenian)
Currently translated at 81.7% (984 of 1204 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/sl/
2021-10-14 06:21:55 +02:00
Berto Te 348af2ab7f Translated using Weblate (Spanish)
Currently translated at 100.0% (192 of 192 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/es/
2021-10-14 06:21:55 +02:00
Berto Te 779851d7af Translated using Weblate (Spanish)
Currently translated at 100.0% (264 of 264 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/es/
2021-10-14 06:21:54 +02:00
Berto Te 895728e4b0 Translated using Weblate (Spanish)
Currently translated at 100.0% (1204 of 1204 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-10-14 06:21:54 +02:00
Thomas Citharel 358dd63b92 Merge branch 'deps' into 'master'
Update deps

See merge request framasoft/mobilizon!1079
2021-10-12 08:36:15 +00:00
Thomas Citharel 6925420e97
Update deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-12 09:48:39 +02:00
Thomas Citharel 76aeac2989 Merge branch 'timezone' into 'master'
Timezones !

See merge request framasoft/mobilizon!1077
2021-10-12 07:30:52 +00:00
Thomas Citharel b383d11f51
Fix backend tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-12 08:49:12 +02:00
Thomas Citharel 9621caf661
Bump required version to Elixir 1.12 and remove legacy tests
Drops support for OTP < 22

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:46:16 +02:00
Thomas Citharel e280820e9c
Fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:29:01 +02:00
Thomas Citharel e606090f17
Fix legacy tests missing the python deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:28:42 +02:00
Thomas Citharel 6e136ff8b5
Update tz_world before running tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 18:28:28 +02:00
Thomas Citharel d4b6fb2b49
Update translations
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:56:23 +02:00
Thomas Citharel 62af1e72d6
Some fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:56:23 +02:00
Thomas Citharel d58ca5743d
Add timezone handling
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:37:17 +02:00
Thomas Citharel eba3c70c9b
Various accessibility improvements
* Add announcement element with `aria-live`
* Add skip to main content element

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 17:37:16 +02:00
Thomas Citharel 6113836e29 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1076
2021-10-11 15:25:38 +00:00
z4m 034b9ad9f0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 67.3% (781 of 1160 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/pt_BR/
2021-10-11 16:36:34 +02:00
Eivind Ødegård f958d291a0 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (188 of 188 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/nn/
2021-10-11 16:36:34 +02:00
Eivind Ødegård 463d8bf86e Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (264 of 264 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/nn/
2021-10-11 16:36:34 +02:00
Eivind Ødegård cdfef60414 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 99.8% (1158 of 1160 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/nn/
2021-10-11 16:36:34 +02:00
Berto Te a8cbb0386c Translated using Weblate (Spanish)
Currently translated at 100.0% (188 of 188 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/es/
2021-10-11 16:36:34 +02:00
Berto Te 8580281fb4 Translated using Weblate (Spanish)
Currently translated at 100.0% (264 of 264 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/es/
2021-10-11 16:36:34 +02:00
Thomas Citharel db55859855 Merge branch 'usage-restrictions' into 'master'
add "only platform admin can create groups" and "only groups can create events" restrictions

See merge request framasoft/mobilizon!1078
2021-10-11 14:36:24 +00:00
setop 7940d69d5a
add "only platform admin can create groups" and "only groups can create events" restrictions 2021-10-11 15:59:59 +02:00
Thomas Citharel 7885151220 Merge branch 'unused' into 'master'
Improvements

See merge request framasoft/mobilizon!1074
2021-10-11 13:51:37 +00:00
Thomas Citharel dee7c58449
Spec fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 15:14:54 +02:00
Thomas Citharel 76bc409f68
Remove mix_unused
It slows down compiling too much, and most of the cleaning has been done

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-11 14:30:24 +02:00
Thomas Citharel ba61880e50 Merge branch 'unused' into 'master'
Remove unused functions

See merge request framasoft/mobilizon!1073
2021-10-05 14:37:59 +00:00
Thomas Citharel 98449b9cfd
Spec fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 16:05:52 +02:00
Thomas Citharel f4284e1d3a
Remove unused functions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-10-05 16:05:51 +02:00