Commit graph

4029 commits

Author SHA1 Message Date
Thomas Citharel 3ca4c178bc
Add ca-certificates to the Docker production image
Closes #762

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 11:04:13 +02:00
Thomas Citharel 6e5dd8a617 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1012
2021-08-04 10:25:46 +00:00
TA df4778659e Translated using Weblate (Indonesian)
Currently translated at 46.1% (24 of 52 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/id/
2021-08-04 12:25:27 +02:00
TA 532e38ef5f Translated using Weblate (Indonesian)
Currently translated at 61.6% (659 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-08-04 12:25:27 +02:00
josé m 05921d518f Translated using Weblate (Galician)
Currently translated at 100.0% (171 of 171 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/gl/
2021-08-04 12:25:27 +02:00
josé m 995c372a26 Translated using Weblate (Galician)
Currently translated at 100.0% (247 of 247 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/gl/
2021-08-04 12:25:27 +02:00
Berto Te b74f077052 Translated using Weblate (Spanish)
Currently translated at 100.0% (171 of 171 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/es/
2021-08-04 12:25:27 +02:00
Berto Te 1928813f7f Translated using Weblate (Spanish)
Currently translated at 100.0% (247 of 247 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/es/
2021-08-04 12:25:27 +02:00
Thomas Citharel cc9f52f459 Merge branch 'update-docker-makefile' into 'master'
Update Makefile for Docker dev env

See merge request framasoft/mobilizon!1013
2021-08-04 10:25:22 +00:00
Thomas Citharel 64c0e3c729
Update Makefile for Docker dev env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 12:24:53 +02:00
Thomas Citharel 637bc1ec3f Merge branch 'add-wheel' into 'master'
add loading wheel to some slow views

See merge request framasoft/mobilizon!1011
2021-08-04 09:56:58 +00:00
Thomas Citharel b45d407cc1 Merge branch 'docker' into 'master'
Restore Docker development

See merge request framasoft/mobilizon!977
2021-08-04 09:26:18 +00:00
setop 7d40a75650
add loading wheel to some slow views
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 11:23:37 +02:00
Thomas Citharel 93ba408671
Improve group profile metadata
* Add canonical link
* Add link alternate to application/activity+json representation
* add robots noindex on remote profiles

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 10:49:02 +02:00
Thomas Citharel ac9587b9d1
Don't assert file size in upload factory
Since it can be tested in different environments (obsolete systems,
docker, different ImageMagick versions…), file optimization
might get different results depending on system

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-04 10:49:02 +02:00
Thomas Citharel d0ff547417
Fix a typo in a with clause in Upload module
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:47:28 +02:00
Thomas Citharel 3eb56b57aa
Try to add --cache to kaniko
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:22 +02:00
Thomas Citharel 72226ae27d
Make Docker config listen by default only on ipv4 localhost (in docker.exs)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:22 +02:00
Thomas Citharel a34e253fb8
Remove all commands from dev docker-compose, only run the server
All preparation commands can be run by hand

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel d45bcae400
Add missing settings using ENV parameters in dev.exs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel 50092bc92c
Add .env to .gitignore
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel 8310ae46cd
Restore Docker development
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel d0ac3de354 Merge branch 'refactor-refreshing-token' into 'master'
Refactor refreshing token

See merge request framasoft/mobilizon!1005
2021-08-03 14:25:51 +00:00
Thomas Citharel 549b82c94a
Remove unused getter
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:13:30 +02:00
Thomas Citharel 0110124b32
Add an await before a router push when login
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 15:01:22 +02:00
Thomas Citharel b53d8d54ef
Fix apollo cache issue when registrering first profile
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:58:42 +02:00
Thomas Citharel bd71dd6cf1
Handle SSL being already started in LDAP connection
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:58:06 +02:00
Thomas Citharel a7753e6a5c
Refactor refreshing token
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 14:57:44 +02:00
Thomas Citharel cb42c3fd51 Merge branch 'refactor-error-reporting' into 'master'
Improve error reporting and add test

See merge request framasoft/mobilizon!1010
2021-08-03 12:56:54 +00:00
Thomas Citharel 5b1f3f1821 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1009
2021-08-03 10:16:42 +00:00
Thomas Citharel cceb083ad7
Improve error reporting and add test
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 12:15:54 +02:00
TA 7d74b6c283 Translated using Weblate (Indonesian)
Currently translated at 61.2% (655 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-08-02 20:45:37 +02:00
Thomas Citharel ec745b3e80 Merge branch 'remove-home-filter' into 'master'
Remove home filter

See merge request framasoft/mobilizon!1008
2021-08-02 18:45:27 +00:00
Thomas Citharel e512db684a Merge branch 'upgrade-deps' into 'master'
Upgrade deps

Closes #761

See merge request framasoft/mobilizon!1007
2021-08-02 18:12:59 +00:00
Thomas Citharel 1c9513c073
Remove unused CSS filter on homepage picture
It was ugly on Safari/Webkit

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 20:09:14 +02:00
Thomas Citharel 691f7ab141
Translate reset password error message title
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:37:27 +02:00
Thomas Citharel 056146a566
Translate two backend errors from password change
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:31:16 +02:00
Thomas Citharel 383b3b6a78
Remove use of String.replaceAll for unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:26:44 +02:00
Thomas Citharel 0c749742ab
Fix JS unit tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 19:26:23 +02:00
Thomas Citharel 8c480af4bd
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 18:11:22 +02:00
Thomas Citharel a5a0c8c18a Merge branch 'allow-group-event-edition' into 'master'
Allow events & posts to be edited by group moderators

Closes #807 et #517

See merge request framasoft/mobilizon!1003
2021-08-02 10:20:59 +00:00
Thomas Citharel 41f54ef2f3
Fix empty domain tag showing up for remote event from local actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel e26c431350
Fix only part of username showing up in OrganizerPickerWrapper
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:51 +02:00
Thomas Citharel 68d3315999
Fix event editing joinMode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel a5822d179c
Fix editing event from original instance on a group event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel 25789f8f6d
Add more events tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:50 +02:00
Thomas Citharel 630de6fee9
Add Actors.get_single_group_moderator_actor/1 and refactor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:49 +02:00
Thomas Citharel c788c020db
Fix updating event organizer actor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:49 +02:00
Thomas Citharel 4b864ba423
Allow to use inline "Join" when processing an Accept
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-02 11:45:48 +02:00
Thomas Citharel 099b85e9a9
Refactor audience to introduce maybe_add_followers/2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:23 +02:00