Commit Graph

6531 Commits

Author SHA1 Message Date
Massedil
b357e6bee0 fix: ensure discussions and resources sections update on actor change
Solves #1792
2025-06-18 19:30:28 +02:00
Massedil
5486b1fca2 Always fetch the latest posts from the server in the post list 2025-06-18 19:30:28 +02:00
Massedil
1f8dc18feb show the error to the user when deleting a post 2025-06-18 19:30:28 +02:00
Massedil
d4c28a113a show the error to the user when updating an event participant 2025-06-18 19:30:28 +02:00
Massedil
72ca4c3e26 show the error to the user when updating or creating a post 2025-06-18 19:30:27 +02:00
Massedil
a60608bd78 fix: update breadcrumbs-nav for posts to ensure consistency 2025-06-18 19:30:27 +02:00
Massedil
dcf9f82156 fix(backend): catch all remaining errors in the update_post function
Solves the case where a post is updated without a title

Fixes #1790
2025-06-18 19:30:27 +02:00
Massedil
bd43815fbf fix: subscribing to an event with a different profile correctly updates the UI
Fixes: #1789
2025-06-18 19:30:27 +02:00
Massedil
fbffd55bb3 fix(profile): translation for feeds info is working again 2025-06-18 19:30:27 +02:00
Massedil
b92646aaf7 feat: update profile button label based on isUpdate flag 2025-06-18 19:30:27 +02:00
Laurent GAY
a2af49cbab correct contrast (in light & dark mode) for EditView - Issue #1786 2025-06-18 17:14:45 +02:00
Laurent GAY
add4291e6f correct contrast (in light & dark mode) for DateCalendarIcon - Issue #1781 2025-06-18 15:20:47 +02:00
Laurent GAY
efc950ad91 Correction in EditIdentify for correct e2e test failed (issue #1771) 2025-06-17 20:08:15 +02:00
setop
52ef7fb9af feat(backend): add html hooks into the app main page
html snippets are injected in the main template.
they can be defined in the application config.
documentation to come.

closes #1719
2025-06-16 23:30:51 +02:00
setop
ddbba76887 fix(frontend): remove organizedEvents from LoggedUserMemberships
This piece of date is not user in the UI.

LoggedUserMemberships is referenced as LOGGED_USER_MEMBERSHIPS 
LOGGED_USER_MEMBERSHIPS  is used in views/Group/MyGroups.vue and components/Event/OrganizerPickerWrapper.vue which are not displaying events content nor  events count for a group.

closes #1778
2025-06-16 16:47:42 +00:00
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