Commit Graph

416 Commits

Author SHA1 Message Date
Massedil
353cebb54e fix: refresh the user data after a change
Fixes #1843
2025-10-08 13:44:26 +02:00
Laurent GAY
fe817a8d41 The change of location did not trigger new research - #1821 2025-10-07 17:12:24 +02:00
Laurent GAY
c4323a04ea The change of location did not trigger new research - #1850 2025-10-07 17:10:45 +02:00
Laurent GAY
9886931f97 conserve radius of location between Home page & Search page - #1850 2025-10-07 16:50:38 +02:00
Laurent GAY
c2dff26afa Accessibility: correction after return of HAN - #1785 + #1853 2025-10-07 15:45:52 +02:00
Laurent GAY
7219e25360 Accessibility: correction after return of HAN - #1784/#1824 + #1853 2025-10-07 14:53:58 +02:00
Laurent GAY
1d0ad20c91 Accessibility: correction after return of HAN - #1783 + #1853 2025-10-07 14:20:14 +02:00
Laurent GAY
9b708e1c80 In users list, change option "Users pending for moderation" to false by default - #877 2025-10-03 16:50:44 +02:00
Laurent GAY
65f07a37b2 i18n FR for register - #877 2025-10-03 12:31:29 +02:00
Laurent GAY
17046c4552 send email to change role pending -> user + i18n - #877 2025-10-01 16:08:44 +02:00
Massedil
9d4a558c1a Possibility to unban a user
#1843
2025-09-27 17:54:59 +02:00
Massedil
6d42c700bf refactor: Rename "suspend" into "ban" for account deletion 2025-09-27 16:51:53 +02:00
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