Commit Graph

4396 Commits

Author SHA1 Message Date
Thomas Citharel
34a6144c3a
Handle service worker registration with Firefox « forget all site data »
When the Firefox setting « Delete cookies and site data when Firefox is
closed », we can't register the service worker and then webpush
notification can't work

Closes #819

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-11 11:31:50 +02:00
Thomas Citharel
5c90fa9659 Merge branch 'fix-receving-tombstones' into 'master'
Fix checking origin from a tombstone

See merge request framasoft/mobilizon!1021
2021-08-10 19:26:52 +00:00
Thomas Citharel
cfffe5b248
Better handle deleted comments
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-10 20:49:46 +02:00
Thomas Citharel
6f9db37ca3
Fix checking origin from a tombstone
When comparing an activity with their origin, only compare the ID
directly, as Tombstones don't have actors anymore

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-10 20:49:45 +02:00
Thomas Citharel
cb148e29d7 Merge branch 'federate-metadata' into 'master'
Federate metadata

See merge request framasoft/mobilizon!1020
2021-08-10 11:23:46 +00:00
Thomas Citharel
56861d6483
Fix audience for comments under a remote event from group
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-10 12:46:44 +02:00
Thomas Citharel
d3a05b5568
Federate metadata
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-10 12:46:44 +02:00
Thomas Citharel
d2cdde2d42 Merge branch 'fix-language-issues-from-3rdparty-auth' into 'master'
Fix language and redirection issues when connecting from 3rd-party

Closes #626

See merge request framasoft/mobilizon!1019
2021-08-09 18:03:27 +00:00
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