Commit Graph

20 Commits

Author SHA1 Message Date
Massedil
66f3956d14 refactor: rename externalUrls to externalLinks 2025-09-12 21:46:48 +02:00
Massedil
960b2ca4f7 feat(front): add external links in the NavBar menu
Related to #1764
2025-09-12 21:36:58 +02:00
Laurent GAY
3e4899c8e4 [Adminitration] Allow registrations: 3 modes = "close", "allowed", "moderate" - #877 2025-09-03 21:07:49 +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
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
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
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
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
b357e6bee0 fix: ensure discussions and resources sections update on actor change
Solves #1792
2025-06-18 19:30:28 +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
f6c273f6f3 islongEvents -> isLongEvents 2024-11-29 19:19:07 +01:00
Massedil
3a3d77b698 Issue #1511: Remove useUserSettings() and always add user settings in useLoggedUser()
The user time zone setting is now available in the event display page
2024-11-07 13:29:10 +01:00
setop
79bd6a5d21 fix #1469 and # 1475 2024-07-08 21:44:22 +00:00
setop
7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
Thomas Citharel
6a482b0d97 fix(front): various cleanups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Thomas Citharel
ae466b879c fix(front-end): fix current actor not being set on first access when relogging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-12 11:39:27 +01:00
Thomas Citharel
f81472e081 fix(front): fix tag loading
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-05 08:28:11 +01:00
Thomas Citharel
2e72f6faf4 build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00