1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-21 23:44:30 +00:00
Commit graph

6361 commits

Author SHA1 Message Date
setop
255c8fda67 fix(back): event.ends_on can be nil 2024-12-06 15:57:53 +01:00
Laurent GAY
4489743853 issue #1574 - home page & search page : 3 buttons for search 2024-11-29 23:23:33 +01:00
Laurent GAY
71cc09dd7a #1587 : remove categories card in home page 2024-11-29 19:21:09 +01:00
Massedil
15850cc72c Issue #1066 : The "Update group" button indicates that a background update is in progress 2024-11-29 19:19:19 +01:00
Massedil
f67bd900f7 Issue #1567 : use ends_on for comparaisons to get future and ongoing events 2024-11-29 19:19:19 +01:00
Massedil
04fe44f72b Issue #1567 : distinction between activities (long_event) and normal events on group page 2024-11-29 19:19:19 +01:00
Massedil
9bfbc09f3f update French translation 2024-11-29 19:19:18 +01:00
Massedil
f6c273f6f3 islongEvents -> isLongEvents 2024-11-29 19:19:07 +01:00
Massedil
71c0ce37a9 case harmonization with other fields
- longevents -> long_events (back-end)
- longevents -> longEvents (front-end)
2024-11-29 19:15:35 +01:00
Massedil
91b0e7d265 remove an obsolete comment 2024-11-29 19:15:35 +01:00
Massedil
752da9e641 Issue #1567 : Add a long_event computed field to an event
The actual long_event implementation is only done for search and long_event is a parameter of the search request.

This change is needed for the the front-end to know if an event is a long_event everywhere an event is received.

The computed field (Ecto virtual field) is set after the Ecto request with the function with_virtual_fields().

with_virtual_fields() handles cases where there is an event, a list of events and a paginated list of events returned.
2024-11-29 19:15:35 +01:00
Laurent Gay
9796304a9a correct if no place find 2024-11-29 19:15:35 +01:00
Laurent Gay
368cdb9592 add debug log for testing 2024-11-29 19:15:35 +01:00
Laurent Gay
844642aff5 #1564 : correct homepage default filtering + add debug log for testing 2024-11-29 19:15:35 +01:00
Massedil
227c9034ae Issue #1066 Add a loading text when "my events" are loading
Instead of showing the no event found text
2024-11-29 19:15:35 +01:00
Massedil
fba0eb7cc8 fix small errors 2024-11-29 19:15:35 +01:00
Massedil
27da46829d Issue #1571 Replace <o-datepicker> by <event-date-picker> 2024-11-29 19:15:35 +01:00
Massedil
b96c476eaa Issue #1066 Add a loading state on <o-button> in the create group page 2024-11-29 19:15:35 +01:00
Massedil
539c0f2216 Issue #1066 Add a loading state on <o-button> in the create and edit event page 2024-11-29 19:15:35 +01:00
Massedil
2dfb5a5bdf Add the border-primary color to <o-radio> for consistency with the <o-checkbox> design 2024-11-29 19:15:35 +01:00
Massedil
4545a8c8e3 Remove confusing background color for unchecked <o-checkbox> 2024-11-29 19:15:35 +01:00
Laurent GAY
eb60da8ec9 #1574 - home page & search page : 3 buttons for search 2024-11-29 19:15:35 +01:00
Laurent GAY
0911902618 #1574 - homepage : remove text search + add buttons for each content type 2024-11-29 19:15:35 +01:00
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