Commit Graph

3619 Commits

Author SHA1 Message Date
Thomas Citharel
6066a44ae8
Change can_be_managed_by/2 to can_be_managed_by?/2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:20 +02:00
Thomas Citharel
505b16611b
Fix event local detection
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:20 +02:00
Thomas Citharel
8b2ddbda2b
Fix whether group draft events should federate or not
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:20 +02:00
Thomas Citharel
20ff0a7f6c
Refactor Mobilizon.Federation.ActivityPub.Permission to handle
permissions

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel
1ceb976f4e
Add StructAccess for easy struct access
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel
a3181fd68b
[Front-end] Allow group events to be edited by group moderators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:19 +02:00
Thomas Citharel
961f08e27f
[Front-end] Allow remote moderators to edit group events
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
53dc3f470b
Allow post edition by remote moderator
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
8d23fca9a0
Add short format for datetimes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
c394f2cc5a
Use Permission module to check if user can have access to resource
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:18 +02:00
Thomas Citharel
0995043d04
Add the :role_needed_to_access permission check and refactor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:17 +02:00
Thomas Citharel
867e88481d
Fix getting visibility from AP Post
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-01 10:51:17 +02:00
Thomas Citharel
c066cf8181 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1006
2021-08-01 08:32:15 +00:00
TA
f2356a6ca9 Translated using Weblate (Indonesian)
Currently translated at 3.8% (2 of 52 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/id/
2021-07-31 05:15:39 +02:00
TA
4f045a6035 Translated using Weblate (Indonesian)
Currently translated at 33.8% (83 of 245 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/id/
2021-07-31 05:15:39 +02:00
TA
b96ecc0bf3 Translated using Weblate (Indonesian)
Currently translated at 58.3% (624 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-31 05:15:38 +02:00
Enfong Cao
664abc3faf Translated using Weblate (Chinese (Traditional))
Currently translated at 1.0% (11 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/zh_Hant/
2021-07-31 05:15:38 +02:00
TA
7c0227b466 Translated using Weblate (Indonesian)
Currently translated at 58.1% (622 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-31 03:13:12 +02:00
TA
d514d27c6b Added translation using Weblate (Indonesian) 2021-07-30 04:36:26 +02:00
Thomas Citharel
bbaf752ab6 Merge branch 'fix-language-issues' into 'master'
Fix and improve language handling

See merge request framasoft/mobilizon!1004
2021-07-27 18:45:53 +00:00
Thomas Citharel
a670a7d7a7
Fix and improve language handling
- Refactor plugs to detect and set language
- Translate ecto validation errors
- Use Gettext directly, not Mobilizon.Web.Gettext
- Set the language in the <html> attribute according to the one loaded
  on front-end

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-27 20:11:56 +02:00
Thomas Citharel
5b05e4c457 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1002
2021-07-27 16:18:02 +00:00
TA
fb58e26003 Translated using Weblate (Indonesian)
Currently translated at 2.4% (6 of 245 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/id/
2021-07-24 20:15:45 +02:00
TA
f66ace0ce8 Translated using Weblate (Indonesian)
Currently translated at 36.5% (391 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/id/
2021-07-24 20:15:45 +02:00
Kira Sinn
ef3563c125 Translated using Weblate (German)
Currently translated at 57.6% (30 of 52 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/de/
2021-07-24 20:15:34 +02:00
TA
1035c44f98 Added translation using Weblate (Indonesian) 2021-07-24 01:41:23 +02:00
TA
fbc71aad63 Added translation using Weblate (Indonesian) 2021-07-24 00:36:09 +02:00
Thomas Citharel
7c943dc09a Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!1001
2021-07-23 17:50:30 +00:00
Kira Sinn
5b989b231a Translated using Weblate (German)
Currently translated at 25.0% (13 of 52 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/de/
2021-07-23 19:15:43 +02:00
josé m
10c71b6635 Translated using Weblate (Galician)
Currently translated at 99.8% (1067 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-07-23 19:15:43 +02:00
--
72185daed0 Translated using Weblate (Finnish)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-23 19:15:42 +02:00
deadmorose
9441be22d8 Translated using Weblate (Russian)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ru/
2021-07-23 19:15:42 +02:00
Berto Te
d3166e1b53 Translated using Weblate (Spanish)
Currently translated at 100.0% (1069 of 1069 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2021-07-23 19:15:41 +02:00
Thomas Citharel
95b1d0f48e Merge branch 'fix-default-locale' into 'master'
Use correct default language when no Accept-Language is set

Closes #792

See merge request framasoft/mobilizon!994
2021-07-22 15:38:00 +00:00
Thomas Citharel
ae25cba97a
Use correct default language when no Accept-Language is set
Closes #792

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-22 17:01:34 +02:00
Thomas Citharel
cc33ee7ada Merge branch 'fix-unattached-media-cleanup' into 'master'
Refactor the query to detect unattached media

See merge request framasoft/mobilizon!996
2021-07-22 14:40:03 +00:00
Thomas Citharel
7eaf98b5b2 Merge branch 'revert-f30d74f2' into 'master'
Revert "Merge branch 'setop-patch-dockerbuild' into 'master'"

See merge request framasoft/mobilizon!999
2021-07-22 14:33:42 +00:00
Thomas Citharel
b46378d408 Merge branch 'create-users-with-provider' into 'master'
Add possibility to create users with provider (such as LDAP)

See merge request framasoft/mobilizon!998
2021-07-22 14:02:10 +00:00
Thomas Citharel
c5005ccdae Revert "Merge branch 'setop-patch-dockerbuild' into 'master'"
This reverts merge request !978
2021-07-22 15:57:31 +02:00
Thomas Citharel
fa8cae681f
Add possibility to create users with provider (such as LDAP)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-22 15:09:12 +02:00
Thomas Citharel
395675ce6a Merge branch 'gitlab-ci-optimization' into 'master'
Don't save artifacts from packaged releases, we have them on packages.jmz.org

See merge request framasoft/mobilizon!997
2021-07-21 19:37:23 +00:00
Thomas Citharel
51f7916fa0
Don't save artifacts from packaged releases, we have them on
packages.jmz.org

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 20:53:43 +02:00
Thomas Citharel
db1649ded8
Refactor the query to detect unattached media
The previous one was going 💥 in production

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 19:44:13 +02:00
Thomas Citharel
71f50b35b6 Merge branch 'fix-profile-edition' into 'master'
Fix profile edition

Closes #763

See merge request framasoft/mobilizon!993
2021-07-21 14:55:50 +00:00
Thomas Citharel
539af1ceed Merge branch 'fix-feed-token-refreshment' into 'master'
Fix FeedToken recreation

Closes #769

See merge request framasoft/mobilizon!995
2021-07-21 14:52:45 +00:00
Thomas Citharel
69bc6f0390
Fix FeedToken recreation
Closes #769

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-07-21 16:05:31 +02:00
Thomas Citharel
03455376d9 Merge branch 'weblate-mobilizon-frontend' into 'master'
Translations update from Weblate

See merge request framasoft/mobilizon!992
2021-07-21 11:51:06 +00:00
josé m
b6547d77f5 Translated using Weblate (Galician)
Currently translated at 99.9% (1064 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2021-07-21 12:55:55 +02:00
Jimi Viita-aho
6dce01e818 Translated using Weblate (Finnish)
Currently translated at 100.0% (1065 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2021-07-21 12:55:55 +02:00
fadelkon
84bbcac9d8 Translated using Weblate (Catalan)
Currently translated at 99.7% (1062 of 1065 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/ca/
2021-07-21 12:55:55 +02:00