Commit Graph

404 Commits

Author SHA1 Message Date
Laurent GAY
726a5e1d78 user list for moderation of pending users - #877 2025-09-13 19:57:53 +02:00
Laurent GAY
e78ff057c2 i18n corrections (frontend) about #1764 2025-09-12 23:19:37 +02:00
Laurent GAY
e3f3ccd148 Administration of users with pending - #877 2025-09-12 23:05:07 +02:00
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
48ae930b64 Show only enabled links in the navbar menu 2025-09-12 21:46:48 +02:00
Massedil
fd3e3010fc Improve the navbar menu
- The center `mobile-menu-2` can now contain an unlimited number of elements
- Components remain fixed at the top of the screen on small displays when the menu is expanded
- Menu items are always directly to the right of the logo (even when logged out)

Solves #1604
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
Massedil
960b2ca4f7 feat(front): add external links in the NavBar menu
Related to #1764
2025-09-12 21:36:58 +02:00
Massedil
5b77cc17d2 feat(front): Remove __typename from variables
When reusing data from a query as an argument to another GraphQL operation, __typename fields can cause errors. To avoid this, you can use the removeTypenameFromVariables link to automatically remove __typename fields from variables in operations.

https://www.apollographql.com/docs/react/api/link/apollo-link-remove-typename
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
Oliver Geer
fe6fc7345b fix(i18n): Make interpolation parameters match up in the English and translated strings.
closes #1539
2025-08-29 09:25:41 +00:00
Laurent GAY
8cb078f643 remove demo.mobilizon.org link (#1702) 2025-08-06 12:08:54 +02:00
Laurent GAY
357a842180 Correct search by location: bad radus distance sended (Issue #1821) 2025-08-05 18:26:02 +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
aeeb52aced event icon: text contrast in light mode and add year in footer (#1822 & #1823) 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
Laurent GAY
3432645e74 correct front-end lint 2025-07-01 17:42:40 +02:00
Laurent GAY
9edf44beb9 add job to check if i18n en_US is completed - issue 1776 2025-07-01 16:31:30 +02:00
Massedil
cd07c81bc7 fix(translation): Sync en_US and fr_FR translations
Related to #1801
2025-06-29 17:09:53 +02:00
Massedil
80524100aa fix(translation): Sort fr_FR and en_US translation to better compare them
Related to #1801
2025-06-29 17:01:07 +02:00
Massedil
7f7911aea9 fix(translation): Restore deleted French translation
Add them to the reference file : en_US.json to avoid a new deletion by Weblate in future

Fixes #1801
2025-06-29 16:38:57 +02:00
Massedil
50537bace7 fix: We can remove fetchPolicy: "network-only" for GraphQL IDENTITIES query to keep the answer in Apollo cache
The work to update identities or reload them when a user is changed or identity is added/deleted/updated has been done.

Related to #1806
2025-06-29 15:59:06 +02:00
Massedil
57c2f9718e fix: solve a case where fields stays empty in EditIdentity 2025-06-29 15:56:51 +02:00
Massedil
5a65d3d549 fix: Do not give a wrong currentActor if there is no identities
Related to #1806
2025-06-29 15:15:17 +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
6020ad26af fix: Better inform the user that a profile is required
Solves #1806
2025-06-28 19:55:31 +02:00
Massedil
3be29baa3c fix: A user without profile cannot access all requiredAuth routes
Redirect to CREATE_IDENTITY if a user without a selected profile try to access a requiredAuth route not in SettingsRouteName

Solves #1806
2025-06-28 19:55:31 +02:00
Massedil
6fb00b3777 fix(login): IDENTITIES GraphQL queries are refetched when the user is changed
Related to #1806
2025-06-28 19:55:31 +02:00
Massedil
d8d699e0ac fix(login): identities should be null after a user disconnection
Related to #1806
2025-06-28 19:55:31 +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
Laurent GAY
7f849d116b correct screen "participation without account" and adapt test - issue 1776 2025-06-27 19:19:12 +02:00
Massedil
cf932a378f fix: Hide the number of participant in GroupView
Fixes #1747
2025-06-27 19:12:39 +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
2306cb12ab add bypass link to the main block - Issue #1779 2025-06-26 16:01:29 +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