Commit Graph

6563 Commits

Author SHA1 Message Date
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
Massedil
77a05ac862 fix: solves 3 compilation warnings in feed_token.ex 2025-06-19 15:42:42 +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
b357e6bee0 fix: ensure discussions and resources sections update on actor change
Solves #1792
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
dcf9f82156 fix(backend): catch all remaining errors in the update_post function
Solves the case where a post is updated without a title

Fixes #1790
2025-06-18 19:30:27 +02:00
Massedil
bd43815fbf fix: subscribing to an event with a different profile correctly updates the UI
Fixes: #1789
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
add4291e6f correct contrast (in light & dark mode) for DateCalendarIcon - Issue #1781 2025-06-18 15:20:47 +02:00
Laurent GAY
efc950ad91 Correction in EditIdentify for correct e2e test failed (issue #1771) 2025-06-17 20:08:15 +02:00
setop
52ef7fb9af feat(backend): add html hooks into the app main page
html snippets are injected in the main template.
they can be defined in the application config.
documentation to come.

closes #1719
2025-06-16 23:30:51 +02:00
setop
ddbba76887 fix(frontend): remove organizedEvents from LoggedUserMemberships
This piece of date is not user in the UI.

LoggedUserMemberships is referenced as LOGGED_USER_MEMBERSHIPS 
LOGGED_USER_MEMBERSHIPS  is used in views/Group/MyGroups.vue and components/Event/OrganizerPickerWrapper.vue which are not displaying events content nor  events count for a group.

closes #1778
2025-06-16 16:47:42 +00:00
Massedil
af7fb2bc15 fix: components not updating correctly when changing language /2
Fixes :
- lacking i18n.global.locale.value in datetime.ts
- remove a test in i18n.ts that was always false in past versions of the code because i18n.global.locale is an object and lang is a string
- correctly type createI18n with <false> for legacy to solve wrong TypeScript error (see https://github.com/intlify/vue-i18n/issues/785, https://github.com/intlify/vue-i18n/issues/889#issuecomment-1017250573)

Fixes: #1597, #1772, and possibly other related issues.
2025-06-16 16:44:23 +02:00
Irodion
f9f31f9f53 Greek language added 2025-06-15 19:07:00 +02:00
Sandro Santilli
9f11a58fd9 Update link to source code 2025-06-15 14:48:03 +00:00