Commit graph

3851 commits

Author SHA1 Message Date
Thomas Citharel 0cb43515bc
Fix language and redirection issues when connecting from 3rd-party
Closes #626

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 19:29:15 +02:00
Thomas Citharel c46d8eac3a Merge branch 'add-pagination-to-featured-events' into 'master'
Add pagination to featured events

Closes #811

See merge request framasoft/mobilizon!1018
2021-08-09 16:08:42 +00:00
Thomas Citharel bbc5ba323d
Add pagination to featured events
Closes #811

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 18:08:23 +02:00
Thomas Citharel 887ac38b96 Merge branch 'event-metadata' into 'master'
Allow to add metadata to an event

Closes #410

See merge request framasoft/mobilizon!1017
2021-08-09 14:51:34 +00:00
Thomas Citharel 5f3d1f89df
Allow to add metadata to an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 16:16:14 +02:00
Thomas Citharel 33bf8334fe
Allow all rel values for event & post links in descriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:26:19 +02:00
Thomas Citharel 9243be2448
Fix apollo cache merge issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel bfc9dd7ea3
Redirect from Login page to Homepage if already logged-in
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 14:25:36 +02:00
Thomas Citharel 16f90254a0
Revert "Try to add --cache to kaniko"
This reverts commit 3eb56b57aa.
2021-08-09 08:42:15 +02:00
Thomas Citharel e8bc44525a
Merge remote-tracking branch 'weblate/master'
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-09 08:41:42 +02:00
fadelkon 067c79b6ba Translated using Weblate (Catalan)
Currently translated at 94.3% (233 of 247 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/ca/
2021-08-08 20:55:58 +02:00
Thomas Citharel 682da46fda Merge branch 'add-email-deny-list' into 'master'
Support denying registration based on email or domain

See merge request framasoft/mobilizon!1016
2021-08-08 18:55:50 +00:00
Thomas Citharel f52ec29522 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1015
2021-08-08 18:00:08 +00:00
Thomas Citharel 783486a366
Support denying registration based on email or domain
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-08 19:56:33 +02:00
GunChleoc 2d2cb556da Translated using Weblate (Gaelic)
Currently translated at 100.0% (1074 of 1074 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gd/
2021-08-08 14:15:44 +02:00
Berto Te 00ecc181eb Translated using Weblate (Spanish)
Currently translated at 100.0% (1074 of 1074 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-08-07 10:15:41 +02:00
Thomas Citharel 90d1232e41 Merge branch 'deps' into 'master'
various fixes

Closes #762, #810 et #798

See merge request framasoft/mobilizon!1014
2021-08-05 15:04:00 +00:00
Thomas Citharel 5bcf8a2305
Fix apollo cache bugs with identity creation/edition/deletion
Closes #798

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:04 +02:00
Thomas Citharel 51cd066a14
Add resizing filter to make sure pictures are not too big
Closes #810

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:03 +02:00
Thomas Citharel f3a05929d9
Allow members-restricted posts to be viewable by instance moderators
But add a warning message on top of the post

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 16:10:03 +02:00
Thomas Citharel c4bd26c120
Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 11:04:20 +02:00
Thomas Citharel 3f6863fdd1
Move web_push_encryption to a ref instead of a branch
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-05 11:04:20 +02:00
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