Commit Graph

158 Commits

Author SHA1 Message Date
Massedil
3a3c452e92 Validate external_links on both server and client sides.
Display errors from SaveAdminSettings to the user.
2025-09-12 21:46:48 +02:00
Massedil
66f3956d14 refactor: rename externalUrls to externalLinks 2025-09-12 21:46:48 +02:00
Massedil
ca304d6333 feat: Add a section in admin SettingsView to manage external links
Related to #1764
2025-09-12 21:46:48 +02:00
Massedil
56facb204a refactor: Improve admin settings design
Adding sections permit to be more clear and will help if we add a new "External links" section (#1764)
2025-09-12 21:46:40 +02:00
Massedil
407f5b881e fix: solves some TypeScript errors 2025-09-12 21:36:58 +02:00
Laurent GAY
04cf4efee4 manage user pending of moderation - #877 2025-09-11 20:07:20 +02:00
Laurent GAY
fbf22a83b2 Manage error about register - #877 2025-09-11 16:46:40 +02:00
Laurent GAY
d5f3d515a8 Add reason for registration mode = "moderate" - #877 2025-09-10 16:57:23 +02:00
Laurent GAY
3e4899c8e4 [Adminitration] Allow registrations: 3 modes = "close", "allowed", "moderate" - #877 2025-09-03 21:07:49 +02:00
Massedil
8f8aa0ffbe Improve notification settings handling
- Reduce backend calls: only one request is made per parameter change, using the mutation response
- Use `watch` with `immediate: true` instead of a separate `setNotificationSettings` function
- Update notifications individually instead of via an `updatedSettings` group (like originally)

Solves #1585
2025-09-03 17:59:52 +02:00
Andreas Michaelides (Hochschule Stralsund)
bcbc5acf67 Fix saving of notification settings 2025-09-03 17:32:08 +02:00
Laurent GAY
8cb078f643 remove demo.mobilizon.org link (#1702) 2025-08-06 12:08:54 +02:00
Laurent GAY
9845b3a82d atom/ics link copy to clipboard: correct URL copied for notificationsview + correct events list (participated + owned) (Issuer #1496) 2025-08-05 16:16:26 +02:00
Laurent GAY
40339a8f5b replace joinmobilizon.org by mobilizon.org (#1702) 2025-08-01 18:15:14 +02:00
Laurent GAY
35b73eb20c atom/ics link copy to clipboard: using in "GroupView" + "EditIdentity" + "NotificationsView" + "AboutInstanceView" - refactoring to use same mecanizem (Issue #1496) 2025-08-01 18:15:14 +02:00
Laurent GAY
07707f645b correction Accessibility about tab & focus - Issue #1788 2025-07-07 17:01:47 +02:00
Massedil
fc2ee69505 fix(tests): Tries to login with valid credentials, confirmed account but no profile
article.o-notification is not enouth specific
2025-07-04 21:37:34 +02:00
Massedil
257456fa38 fix(login): do not redirect to home if there is no profile
Solves #1817
2025-07-04 20:59:56 +02:00
Massedil
1cf1077bb0 fix(login): call resetStore() at login
To ensure that queries which identify the user via HTTP headers (instead of GraphQL variables) are properly refetched.
2025-07-04 19:47:09 +02:00
Massedil
1e4103acfa fix(admin): refetch config after a change
Fixes #1812
2025-07-04 16:24:53 +02:00
Massedil
57c2f9718e fix: solve a case where fields stays empty in EditIdentity 2025-06-29 15:56:51 +02:00
Massedil
26186e96fc refactor(login/identites): identities improvements
- only one GraphQL call to Identities
- LoginView is no more responsible for identities : App.vue is now reactively monitoring identities changes to initializeCurrentActor
- Remove useLazyCurrentUserIdentities we now use useCurrentUserIdentities everywhere
- Change identities to be possibly undefined instead of null to remove a useless trigger to watch in App.vue

Related to #1806
2025-06-29 14:47:47 +02:00
Massedil
992d00f067 fix(login): remove the redirect to CREATE_IDENTITY in Navbar
This redirect is triggered when identities changes during the login process and interrupt it. Identity redirect is already checked inside the login process.

Related to #1806
2025-06-28 19:55:31 +02:00
Massedil
0de5d1e4e3 fix: show the GraphQL error if it exists in GroupEvents
For example, the error can be "Group not found".
2025-06-27 14:14:19 +02:00
Laurent GAY
94594c14d4 add aria-label in search fields on "MyEventsView" page - Issue #1784 2025-06-26 15:27:14 +02:00
Laurent GAY
b8b9d529b0 add visible focus on select "online" in search page - Issue #1788 2025-06-26 15:09:54 +02:00
Laurent GAY
d2104401e3 add aria-label from EditView of event - Issue #1787 2025-06-26 12:09:47 +02:00
Massedil
7ceb631518 fix: significantly reduce unnecessary GraphQL HTTP calls for config information
Also stops calling the heavy ABOUT GraphQL query on HomeView, which does not require the longDescription field.

Fixes #1598
2025-06-20 23:58:41 +02:00
Massedil
1c467099f0 fix: remove the handleScroll function that tries to automatically optain next discussion
Problem is that the function increase wrongly the page.value

Partially solves #1688
2025-06-20 19:51:21 +02:00
Massedil
70fdb11d18 Always fetch the latest events from the server in the events list 2025-06-20 19:44:43 +02:00
Massedil
4e0af78a36 fix: update breadcrumbs-nav for ressources to ensure consistency 2025-06-20 18:45:01 +02:00
Massedil
3447bdc864 fix: fetch discussion and ressources info when accepting a group invitation
Also ensure that the actor is included in PERSON_STATUS_GROUP, to stay consistent with LOGGED_USER_MEMBERSHIPS as used in MyGroups.vue.

The accept-invitation and refuse-invitation events needed to be emitted before refetching PERSON_STATUS_GROUP, so they can be caught by GroupView.vue before <InvitationsList> is destroyed due to the v-if becoming false.

Fixes #1800
2025-06-20 18:36:28 +02:00
Massedil
c87f884d0a fix: interface is well updated after rejecting and accepting invitation in /groups/me page
InvitationList.vue now emit accept-invitation and reject-invitation as expected by MyGroups.vue

MyGroups.vue refetch data after receiving the events.

Fixes #1797
2025-06-19 18:35:39 +02:00
Massedil
bfd08493d8 fix: group member list data are always updated
Solves one case in #1688
2025-06-19 18:28:58 +02:00
Massedil
63758a444f fix: invitations to groups are immediately shown
Solves one case in #1688
2025-06-19 16:41:27 +02:00
Massedil
e606c104c0 fix(identity): reset person when identityName is undefined
Solves #1794
2025-06-19 16:17:05 +02:00
Massedil
71e692385b fix: update group page UI on logout to hide member and admin content
Solves #1793
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
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
efc950ad91 Correction in EditIdentify for correct e2e test failed (issue #1771) 2025-06-17 20:08:15 +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
54844133cd fix: There is a uuid on IMedia now
Fixes #1767
2025-06-10 15:30:01 +02:00
Massedil
9adbde944f Fix (again) link to users in admin dashboard
Fixes #1745
2025-06-10 05:38:49 +02:00