Commit graph

6613 commits

Author SHA1 Message Date
Laurent GAY f2d7da7af7 : add distance value in selector + add with filter in search page 2024-11-06 12:58:02 +01:00
Massedil 5e201dd28c Issue : Fix dark mode for <event-date-picker> 2024-11-04 23:28:40 +01:00
Massedil 42c98be036 Issue : Fix null check before use 2024-11-04 22:59:09 +01:00
Massedil 3d7ffbf5ca Issue : Design adjustments for mobile 2024-11-04 22:49:54 +01:00
Massedil 19ba095e07 Issue : Fixes the switches for displaying hours not working. 2024-11-04 22:35:01 +01:00
Massedil 7f43169fae Issue Hide the time when the user chooses to not display it 2024-11-04 22:23:58 +01:00
Massedil 9992286e7e Issue Handle the case where the date is invalid 2024-11-04 20:47:19 +01:00
Massedil f236ec3a2d Issue Refactor to a new date component <event-date-picker> 2024-11-04 20:24:58 +01:00
Massedil 841cc4e0b6 Issue 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 Small CSS tweaks for mobile view 2024-11-02 16:17:44 +01:00
Massedil 02687e68bb Issue Change block order 2024-11-02 16:06:17 +01:00
Massedil ae02e28129 Issue : Date components no longer change their value when the timezone is updated 2024-11-02 15:32:54 +01:00
Massedil c0e906023c Issue : 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 : 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 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 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 & : small corrections about those issues 2024-10-31 10:52:47 +01:00
Massedil 861c445b63 Harmonization between public and private view + improved CSS 2024-10-30 20:01:13 +01:00
Massedil 906985478d Remove private section mbz-purple color 2024-10-30 20:01:13 +01:00
Laurent GAY 65ad3d855b : 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 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 Display when results are loading 2024-10-25 17:23:01 +02:00
Massedil 057f0a3744 Remove SearchTargets.GLOBAL from the front-end 2024-10-25 16:43:37 +02:00
Massedil 6ff3525764 Fix group sorting and add new criteria (creation date, last event activity) 2024-10-24 19:09:28 +02:00
Massedil 41aa81097d 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 : Fix location on homepage and location clearing 2024-10-23 16:13:17 +02:00
Laurent GAY 3ed4105879 Issue "Location is lost when navigating" : propagation of query for each route 2024-10-16 18:36:10 +02:00
Massedil 5b5f295dc3 Update translation to correctly pluralize the available places for an event 2024-10-15 17:35:27 +02:00
Massedil d1ce24cb69 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
Massedil c859d32cd1 Changing organizer pop-up is now usable in mobile view 2024-10-11 17:53:24 +02:00
Massedil 37e977404f Shorter fr_FR "Add new..." translation to remove a scroll in edit event in mobile view 2024-10-11 17:53:24 +02:00
Massedil 3401a7dd85 The validation button area no longer causes the event page to scroll in mobile view 2024-10-11 17:53:23 +02:00
Massedil 4d9d6b02b6 The status choice area no longer causes the event page to scroll in mobile view 2024-10-11 17:53:23 +02:00
Massedil 78b7fae91b Move time display settings near the related datetimepicker 2024-10-07 13:06:32 +02:00
778a69cd 473881136a mix deps.update dataloader 2024-09-18 17:54:56 +02:00
778a69cd 317d628792 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c3aa7b8938b17aebd2deecf7be0636000d62a2b9' (2024-08-14)
  → 'github:NixOS/nixpkgs/99dc8785f6a0adac95f5e2ab05cc2e1bf666d172' (2024-09-16)
2024-09-18 17:22:43 +02:00
778a69cd 6df05308f6 Merge remote-tracking branch 'origin/main' 2024-09-12 23:00:29 +02:00
setop b48ab8201f feat(front): change horizontal scroll to grid view. closes 2024-09-09 23:02:49 +02:00
setop 18c78b81cb feat(front): remove popular groups and online events from homepage. closes 2024-09-09 16:21:17 +02:00
778a69cd 7a67cd5301 Merge remote-tracking branch 'origin/main' 2024-08-26 13:23:34 +02:00
setop 815bd8e2f9 Merge branch 'fixtests' into 'main'
Fix tests

See merge request 
2024-08-21 17:25:43 +00:00
setop 563e7be0ed test(backent): workaround test gat_actor_by_name, assertion about pictures are failing 2024-08-21 09:00:26 +02:00
setop f789fcd2ee test(backent): fix ActivityPub client mock 2024-08-20 21:59:40 +02:00
778a69cd d1a2b4acb3 nix: remove some unneeded dependencies, polishing 2024-08-19 12:29:41 +02:00
778a69cd 435cbd0d6b format all nix code by using nix fmt 2024-08-19 12:19:14 +02:00
778a69cd 656bbd46c0 build nix package by using deps_nix instead of mix2nix 2024-08-19 12:19:14 +02:00
778a69cd 375ff82076 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
  → 'github:NixOS/nixpkgs/c3aa7b8938b17aebd2deecf7be0636000d62a2b9' (2024-08-14)
2024-08-19 12:00:21 +02:00
778a69cd 191d17b42e show the browsers timezone by default, not the alleged creators timezone
Addresses 

(cherry picked from commit 56fc90e965)
2024-08-18 14:37:35 +02:00