Commit Graph

6583 Commits

Author SHA1 Message Date
Massedil
5690243f07 update apollo/client from version 3.3.16 to latest 3.13.8
For tests related to #1818
2025-07-04 21:01:41 +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
1c9f1880f9 Add unit-test for Event - issue 1776 2025-07-04 13:24:31 +02:00
Laurent GAY
3432645e74 correct front-end lint 2025-07-01 17:42:40 +02:00
Laurent GAY
db728fa913 extract coverage value in CI - issue 1776 2025-07-01 17:04:33 +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
Laurent GAY
98b2b23dcb correct CI for front-end unit-test - issue 1776 2025-06-30 18:28:29 +02:00
Laurent GAY
888d4ed401 correct CI for front-end unit-test - issue 1776 2025-06-30 17:52:27 +02:00
Laurent GAY
ade63c8f8e correct CI for front-end unit-test - issue 1776 2025-06-30 17:46:23 +02:00
Laurent GAY
7f9bcbcb13 Correct elixir tests back-end link to actor refresh for new federation - issue #1776 2025-06-30 16:36:50 +02:00
Laurent GAY
9223f00004 corrects tests (snapshot obsolet) - issue #1776 2025-06-30 15:20:05 +02:00
Laurent GAY
539bf0e4d6 corrects tests (snapshot obsolet) - issue #1776 2025-06-30 15:12:32 +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
3cdba15b3a update dependancy components & config tests - Issue #1776 2025-06-27 12:06:04 +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
Laurent GAY
d2104401e3 add aria-label from EditView of event - Issue #1787 2025-06-26 12:09:47 +02:00
Laurent GAY
01bf398056 correct focus order for nav header - issue #1782 2025-06-26 11:52:44 +02:00
Laurent GAY
c67fdae892 correct aria-controls to remove - issue #1783 2025-06-26 11:36:04 +02:00
Laurent GAY
ef1adecc12 correct assessible name for link - issue #1780 2025-06-26 11:16:47 +02:00
Laurent GAY
469f43f417 correct unittest front-end #1776 2025-06-25 12:00:26 +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
108d34305e fix: Ensure "show existing user" test passes reliably
Make the output of mix "mobilizon.users.show" deterministic by sorting actors before displaying them.

Fixes #1799
2025-06-20 17:04:59 +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
7b657c2ac6 fix(backend): catch all remaining errors in the accept_invitation and reject_invitation function
Solves the error when accepting an already refused invitation

Solves #1796
2025-06-19 17:15:27 +02:00
Massedil
a0d56b5083 fix: Precise the profile actor name linked to the invitation
Permit to know which profile to use when your got the error :
"You can't accept this invitation with this profile"

Solves #1795
2025-06-19 17:02:53 +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