1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2025-01-02 21:35:16 +00:00
Commit graph

6338 commits

Author SHA1 Message Date
setop
70ae23b82c chore(build): remove sentry step ; remove e2e tests stop from packages 2024-11-29 18:26:51 +01:00
setop
2a1f620121 fix(test): fix some tests 2024-11-23 21:36:35 +01:00
setop
abeeef6aa3 fix(tests): prepare for next version 2024-11-23 15:57:01 +01:00
Mark Andrew Jaroski
1265b3f533 Added an index to make geo-based event search faster 2024-11-22 20:13:11 +01:00
Massedil
e7a42f08a0 Issue #1579 : The event menu is now fully clickable 2024-11-08 18:49:51 +01:00
Massedil
800a4e0d1e Issue #1573 : Update French translation 2024-11-08 16:56:51 +01:00
Massedil
dc5c3f6a52 Update French translation to always use "e-mail" 2024-11-08 16:45:52 +01:00
Massedil
68240c7476 Issue #1580 Update French translation 2024-11-08 16:34:42 +01:00
Tim Zöller
a23d8eeaf8 Prevent the user menu from extending the screen
The user menu always opened to the right. This made the menu extend over
the boundary of the screen, add a horizontal scrollbar and cut off the
menu. This fix opens the menu to the left, preventing such behavior
2024-11-08 15:55:54 +01:00
Massedil
7c68c9c0c1 Issue #1308: remove MATCH_DESC, MEMBER_COUNT_ASC and CREATED_AT_ASC options for sorting groups
Remove MATCH_DESC for events for consistency.

Options stays available in backend and GraphQL.
2024-11-07 14:47:49 +01:00
Massedil
67393ba2f0 Issue #1569 : New event times and participants are hidden by default 2024-11-07 14:22:48 +01:00
Massedil
63a237b05f Update French translation 2024-11-07 13:29:21 +01:00
Massedil
29c9ded5b7 Issue #1511: Date display problem :
If an event do not have a time zone, use the user's setting time zone for display or the browser time zone otherwise
2024-11-07 13:29:21 +01:00
Massedil
3c0db7877c Issue #1511: Date display problem :
- the time zone is used to calculate the date
- use the offset to know if beginsOn and endsOn are the same day
- refactor the <o-switch>

Solves, for example, this display problem :

The date range "2024-12-31 17:45 to 2025-01-01 01:00" in the Asia/Shanghai time zone (spanning different years and days) is equivalent to "2024-12-31 at 10:45 to 2024-12-31 at 18:00" in the Europe/Paris time zone (same year and same day).
2024-11-07 13:29:21 +01:00
Massedil
0fa7a20414 Issue #1511: Date display problem : handle case where event start time is hidden but event end time is displayed 2024-11-07 13:29:21 +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
Laurent GAY
0c56267795 test elixir correction 2024-11-06 18:43:24 +01:00
Laurent GAY
3885c8e62f #1492: address distance correction 2024-11-06 17:44:54 +01:00
Laurent GAY
ea6d1ba83d #1492: search page correction + refactoring 2024-11-06 17:36:35 +01:00
Laurent GAY
f2d7da7af7 #1492: add distance value in selector + add with filter in search page 2024-11-06 12:58:02 +01:00
Massedil
5e201dd28c Issue #1571: Fix dark mode for <event-date-picker> 2024-11-04 23:28:40 +01:00
Massedil
42c98be036 Issue #1571: Fix null check before use 2024-11-04 22:59:09 +01:00
Massedil
3d7ffbf5ca Issue #1571: Design adjustments for mobile 2024-11-04 22:49:54 +01:00
Massedil
19ba095e07 Issue #1571: Fixes the switches for displaying hours not working. 2024-11-04 22:35:01 +01:00
Massedil
7f43169fae Issue #1571 Hide the time when the user chooses to not display it 2024-11-04 22:23:58 +01:00
Massedil
9992286e7e Issue #1571 Handle the case where the date is invalid 2024-11-04 20:47:19 +01:00
Massedil
f236ec3a2d Issue #1571 Refactor to a new date component <event-date-picker> 2024-11-04 20:24:58 +01:00
Massedil
841cc4e0b6 Issue #1571 Replace <o-datetimepicker> by <input type="datetime-local">
Solves the "date is not updated issue" on iOS 17
2024-11-04 17:11:04 +01:00
Massedil
edac95ef4a Issue #1546 Small CSS tweaks for mobile view 2024-11-02 16:17:44 +01:00
Massedil
02687e68bb Issue #1546 Change block order 2024-11-02 16:06:17 +01:00
Massedil
ae02e28129 Issue #1511: Date components no longer change their value when the timezone is updated 2024-11-02 15:32:54 +01:00
Massedil
c0e906023c Issue #1511 : Use the user account timezone setting by default for the timezone of the event 2024-11-01 19:17:05 +01:00
Massedil
b440e129a9 Issue #1511 : Harmonization to use UTC functions for all dates
"The above approach attempts to manipulate the Date object's time zone by shifting the Unix timestamp by some other time zone offset. However, since the Date object only tracks time in UTC, it actually just makes the Date object represent a different point in time. [...] When doing so, any access to non-UTC properties must be avoided. "

See: https://stackoverflow.com/a/15171030
2024-11-01 19:09:38 +01:00
Massedil
3f65781d27 Issue #1511 tzOffset need to use browserTimeZone and not userActualTimezone
Javascript Date() objects are based on "the host environment (user's device)".

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2024-11-01 19:04:39 +01:00
Massedil
0073a77167 Update French translation 2024-11-01 14:10:45 +01:00
Massedil
6c189b2d6c Issue #1511 Restore timezone consideration
- tz-offset is not a valid parameter for <o-datetimepicker> so the offset was ignored.
- also remove invalid horizontal-time-picker and first-day-of-week parameters from <o-datetimepicker>
2024-11-01 14:09:02 +01:00
Laurent GAY
8044dbde86 #1492 & #1556 : small corrections about those issues 2024-10-31 10:52:47 +01:00
Massedil
861c445b63 #1546 Harmonization between public and private view + improved CSS 2024-10-30 20:01:13 +01:00
Massedil
906985478d #1546 Remove private section mbz-purple color 2024-10-30 20:01:13 +01:00
Laurent GAY
65ad3d855b #1492 : add frame to select distance from searching events 2024-10-30 17:29:24 +01:00
Massedil
9a04041694 Update French translation 2024-10-28 19:42:41 +01:00
Massedil
042b0f097f Fix #1476 by updating the search interface
- Removed "Everything" choice for search, default to "Events"
- Add radio button for search type selection (events, activities, groups)
- Label now have a cursor pointer
- Remove the confusing concept of EVENTS, SHORTEVENTS and LONGEVENTS. There is only EVENTS and LONGEVENTS.
2024-10-28 19:41:30 +01:00
Massedil
ce2d4f44cb #1572 Display when results are loading 2024-10-25 17:23:01 +02:00
Massedil
057f0a3744 #1545 Remove SearchTargets.GLOBAL from the front-end 2024-10-25 16:43:37 +02:00
Massedil
6ff3525764 #1308 Fix group sorting and add new criteria (creation date, last event activity) 2024-10-24 19:09:28 +02:00
Massedil
41aa81097d #1308 update build_page() to permit query with group_by()
Using Repo.aggregate() to count the total of elements is incompatible with group_by().

Changing this to a subquery with a count(*) of results permit to use group_by().
2024-10-24 19:09:28 +02:00
Laurent GAY
9403a9d60a correction about issue #1556 : Fix location on homepage and location clearing 2024-10-23 16:13:17 +02:00
Laurent GAY
3ed4105879 Issue #1560 "Location is lost when navigating" : propagation of query for each route 2024-10-16 18:36:10 +02:00
Massedil
5b5f295dc3 #1459 Update translation to correctly pluralize the available places for an event 2024-10-15 17:35:27 +02:00
Massedil
d1ce24cb69 #1511 format <start-time-icon> with the timezone and the formatTimeString() function already used for that in Mobilizon 2024-10-14 16:18:25 +02:00