Commit Graph

6516 Commits

Author SHA1 Message Date
Massedil
af7fb2bc15 fix: components not updating correctly when changing language /2
Fixes :
- lacking i18n.global.locale.value in datetime.ts
- remove a test in i18n.ts that was always false in past versions of the code because i18n.global.locale is an object and lang is a string
- correctly type createI18n with <false> for legacy to solve wrong TypeScript error (see https://github.com/intlify/vue-i18n/issues/785, https://github.com/intlify/vue-i18n/issues/889#issuecomment-1017250573)

Fixes: #1597, #1772, and possibly other related issues.
2025-06-16 16:44:23 +02:00
Irodion
f9f31f9f53 Greek language added 2025-06-15 19:07:00 +02:00
Sandro Santilli
9f11a58fd9 Update link to source code 2025-06-15 14:48:03 +00:00
Laurent GAY
533ecbdbba correct and complete unit tests in Front-End 2025-06-11 18:49:57 +02:00
Massedil
2fa54e8282 fix: components not updating correctly when changing language
The issue was caused by incorrect handling of the `i18n.global.locale` value in the Composition API.

When using `createI18n` with `legacy: false`, `i18n.global.locale` is a reactive ref.
Assigning directly with `i18n.global.locale = lang;` breaks reactivity.

The correct usage is : `i18n.global.locale.value = lang;`.

However, this assignment was unnecessary because the value is already updated automatically when the language changes.

All scripts using `const { locale } = useI18n({ useScope: "global" });` are updated to use `locale.value` instead of just `locale`, to ensure correct reactive behavior.

Fixes: #1597, #1772, and possibly other related issues.
2025-06-10 22:45:53 +02:00
Massedil
52a6115866 fix: Update Apollo cache after updating admin settings
Fixes #1770
2025-06-10 16:05:10 +02:00
Massedil
569d27f0b9 fix: Allow updating media in admin_settings_medias by UUID
Fixes #1769
2025-06-10 15:30:31 +02:00
Massedil
54844133cd fix: There is a uuid on IMedia now
Fixes #1767
2025-06-10 15:30:01 +02:00
Laurent GAY
3d80ebadde CI for vitest 2025-06-10 05:38:49 +02:00
Laurent GAY
740e346469 CI for test frontend 2025-06-10 05:38:49 +02:00
Laurent GAY
f1cbfe4a17 CI with vitest report 2025-06-10 05:38:49 +02:00
Massedil
9adbde944f Fix (again) link to users in admin dashboard
Fixes #1745
2025-06-10 05:38:49 +02:00
Sosthène Guédon
15ca17274f Fix link to users in admin dashboard 2025-06-10 05:38:49 +02:00
Massedil
73165a0216 Call refresh_instance_actor when an external instance asks to follow us
Fixes #1638
2025-06-10 05:38:49 +02:00
Massedil
62a54d42fe remove refresh_instance_actor 2025-06-10 05:38:49 +02:00
Massedil
0af4745c98 Add relayAddress in the get_instances() reply
Solves #1694
2025-06-10 05:38:49 +02:00
Massedil
ef2e3ba5c4 Ensure InstanceFollowStatus is checked with equals and improve CSS.
Improves #1690
2025-06-10 05:38:49 +02:00
Massedil
933ee9f959 Return :none instead of nil for follower_status and followed_status
Solves #1690
2025-06-10 05:38:49 +02:00
setop
b82b270811 chore: prepare for release 2025-06-05 20:52:09 +02:00
setop
3dce1db6ea fix(frontend): simple user must not try to fetch feed tokens ; fix #1759 2025-06-05 20:48:17 +02:00
setop
265803cb26 fix(backend): admin cant access profile page 2025-05-28 15:10:44 +02:00
setop
1ad8b268ed fix(backend): Conversations that include any user who has commented on an event are exposed 2025-05-28 10:28:42 +02:00
Massedil
8bb6b0b97c refactor: Remove the registerPerson GraphQL query
- The first profile is now created after the user email validation
- NavBar is correctly updated when a user is connected but without any profile
- Always fetch identities from the server at login (no cache)
- NoIdentitiesException is thrown again
- Refactor EditIdentity to create the first profile
- Translations updated
- Tests updated

Fixes #1762
2025-05-27 11:18:21 +02:00
Massedil
a9cfcd9e9d Revert "Merge branch 'make_e2e_tests_work_again' into 'main'"
This reverts commit d84b7e3d14, reversing
changes made to 394e66683a.
2025-05-27 11:18:21 +02:00
Massedil
a50681c9ac refactor(media): use UUID instead of ID for media retrieval in GraphQL
Fixes #1760
2025-05-27 11:18:21 +02:00
Massedil
1b2c55508e Prevent access to confirmation_token and reset_password_token via GraphQL API
Those tokens do not need to be exposed to authenticated users, not even admin users.

Fixes #1761
2025-05-27 11:18:21 +02:00
setop
5f92ff3ede Merge branch 'weblate-mobilizon-frontend' into 'main'
Translations update from Framasoft Weblate

See merge request kaihuri/mobilizon!1600
2025-05-09 10:41:48 +00:00
setop
93345aebe3 Merge branch 'Nanonej-quick-patch-23459' into 'main'
🚏 Fixed contribution doc deadlink in README.md

See merge request kaihuri/mobilizon!1614
2025-05-09 10:37:30 +00:00
setop
d84b7e3d14 Merge branch 'make_e2e_tests_work_again' into 'main'
A fix for the e2e issue which restores the use of a catch block

See merge request kaihuri/mobilizon!1611
2025-05-09 10:17:03 +00:00
Mark J
bfd6d0ada1 A fix for the e2e issue which restores the use of a catch block 2025-05-09 10:17:03 +00:00
setop
394e66683a Merge branch 'fix-chunked-encoding' into 'main'
fix(proxy): chunked encoding mustn't set content-length header

See merge request kaihuri/mobilizon!1604
2025-05-09 09:55:56 +00:00
setop
f773872818 Merge branch 'main' into 'main'
Set correct URL for oruga-ui

See merge request kaihuri/mobilizon!1605
2025-05-09 09:52:53 +00:00
Nano
e362d792b3 Fixed contribution doc deadlink in README.md 2025-05-06 06:42:55 +00:00
setop
afe418b211 chore: edit CONTRIBUTING 2025-05-04 21:46:56 +02:00
josé m
d8e910547f Translated using Weblate (Galician)
Currently translated at 99.9% (1665 of 1666 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/gl/
2025-05-04 17:38:22 +02:00
Daniel Armando Rodriguez
8b21405cb9 Translated using Weblate (Spanish)
Currently translated at 100.0% (1666 of 1666 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2025-04-29 04:11:49 +02:00
Daniel Armando Rodriguez
8de145d90d Translated using Weblate (Spanish)
Currently translated at 90.6% (1510 of 1666 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2025-04-28 17:38:21 +02:00
Daniel Armando Rodriguez
0eb12ec0b0 Translated using Weblate (Spanish)
Currently translated at 90.5% (1509 of 1666 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2025-04-28 16:37:32 +02:00
PierreMary
39265d879e Translated using Weblate (French)
Currently translated at 97.8% (89 of 91 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/fr/
2025-04-18 11:36:38 +02:00
Weblate
8bd077fbf4 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/
2025-04-18 11:36:38 +02:00
Túlio Simões Martins Padilha
a0aee8dd63 Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.5% (342 of 358 strings)

Translation: Mobilizon/Backend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend/pt_BR/
2025-04-18 11:36:38 +02:00
Túlio Simões Martins Padilha
98cac375a0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.9% (1658 of 1659 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/pt_BR/
2025-04-18 11:36:38 +02:00
Vaclovas Intas
30975af747 Translated using Weblate (Lithuanian)
Currently translated at 89.0% (81 of 91 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/lt/
2025-04-18 11:36:38 +02:00
Vaclovas Intas
26a887c673 Translated using Weblate (Lithuanian)
Currently translated at 50.5% (46 of 91 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/lt/
2025-04-18 11:36:38 +02:00
anaRtemis
fdc0861e8b Translated using Weblate (French (France) (fr_FR))
Currently translated at 99.6% (1654 of 1659 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fr_FR/
2025-04-18 11:36:37 +02:00
Ville Ranki
c06bb3444c Translated using Weblate (Finnish)
Currently translated at 66.5% (177 of 266 strings)

Translation: Mobilizon/Backend errors
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/backend-errors/fi/
2025-04-18 11:36:37 +02:00
Ville Ranki
868b383024 Translated using Weblate (Finnish)
Currently translated at 71.1% (1181 of 1659 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/fi/
2025-04-18 11:36:37 +02:00
Jiří Podhorecký
7c5c55e43f Translated using Weblate (Czech)
Currently translated at 100.0% (1659 of 1659 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/cs/
2025-04-18 11:36:36 +02:00
sarrablo
55b5764c06 Translated using Weblate (Spanish)
Currently translated at 86.9% (1443 of 1659 strings)

Translation: Mobilizon/Frontend
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/frontend/es/
2025-04-18 11:36:36 +02:00
Vaclovas Intas
7489fa38cc Translated using Weblate (Lithuanian)
Currently translated at 49.4% (45 of 91 strings)

Translation: Mobilizon/Activity
Translate-URL: https://weblate.framasoft.org/projects/mobilizon/activity/lt/
2025-04-18 11:36:36 +02:00