Commit Graph

146 Commits

Author SHA1 Message Date
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
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
Massedil
57c2f9718e fix: solve a case where fields stays empty in EditIdentity 2025-06-29 15:56:51 +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
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
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
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
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
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
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
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
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
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
efc950ad91 Correction in EditIdentify for correct e2e test failed (issue #1771) 2025-06-17 20:08:15 +02:00
Massedil
2fa54e8282 fix: components not updating correctly when changing language
The issue was caused by incorrect handling of the `i18n.global.locale` value in the Composition API.

When using `createI18n` with `legacy: false`, `i18n.global.locale` is a reactive ref.
Assigning directly with `i18n.global.locale = lang;` breaks reactivity.

The correct usage is : `i18n.global.locale.value = lang;`.

However, this assignment was unnecessary because the value is already updated automatically when the language changes.

All scripts using `const { locale } = useI18n({ useScope: "global" });` are updated to use `locale.value` instead of just `locale`, to ensure correct reactive behavior.

Fixes: #1597, #1772, and possibly other related issues.
2025-06-10 22:45:53 +02:00
Massedil
52a6115866 fix: Update Apollo cache after updating admin settings
Fixes #1770
2025-06-10 16:05:10 +02:00
Massedil
54844133cd fix: There is a uuid on IMedia now
Fixes #1767
2025-06-10 15:30:01 +02:00
Massedil
9adbde944f Fix (again) link to users in admin dashboard
Fixes #1745
2025-06-10 05:38:49 +02:00
Sosthène Guédon
15ca17274f Fix link to users in admin dashboard 2025-06-10 05:38:49 +02:00
Massedil
ef2e3ba5c4 Ensure InstanceFollowStatus is checked with equals and improve CSS.
Improves #1690
2025-06-10 05:38:49 +02:00
setop
3dce1db6ea fix(frontend): simple user must not try to fetch feed tokens ; fix #1759 2025-06-05 20:48:17 +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
a9cfcd9e9d Revert "Merge branch 'make_e2e_tests_work_again' into 'main'"
This reverts commit d84b7e3d14, reversing
changes made to 394e66683a.
2025-05-27 11:18:21 +02:00
Mark J
bfd6d0ada1 A fix for the e2e issue which restores the use of a catch block 2025-05-09 10:17:03 +00:00
setop
6ecab1df1b fix: sanatize FeedToken 2025-04-05 23:45:33 +02:00
Massedil
57d0812be9 #1684 Mentions the activity in the title of the event created 2025-02-14 17:58:25 +01:00
Massedil
c808708911 Improves the displaying of the search zone in /search page and home page
Solves #1679
2025-02-13 20:01:49 +01:00
Laurent GAY
def786b99e #1637: add search text area in home page 2025-02-12 16:34:27 +01:00
Laurent GAY
7d95392f2d #1636: add number of elements for each buttons 2025-02-12 16:01:59 +01:00
Laurent GAY
6332a9e2ee #1589 : add quick button in home page to publish 2025-02-12 11:13:33 +01:00