Commit Graph

39 Commits

Author SHA1 Message Date
Massedil
39b4356ea6 fix(home): ensure event hour displays correctly with timezone
Timezone parameter is now mandatory for <start-time-icon>.

Solves #1618
2024-12-15 21:48:13 +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
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
67393ba2f0 Issue #1569 : New event times and participants are hidden by default 2024-11-07 14:22:48 +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
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
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
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
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
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
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
setop
e41ecd377f fix(frontend): my events page, handle start date correctly 2024-06-26 10:32:57 +00:00
setop
a70bad568b fix(front): don't load leaflet in the background 2024-06-16 23:37:27 +02:00
setop
7030d56864 all developments of milestone 1 2024-04-10 12:36:21 +00:00
Thomas Citharel
cba2075431 fix(front): correctly show error message when a tag is too short
Closes #1382

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-08 17:23:23 +01:00
Jonathan Reinbrecht
137a8ed69c remove unneeded import 2024-01-19 15:11:40 +01:00
Jonathan Reinbrecht
9670b77bc3 [IMP] move filtering of past events in related events section to backend 2024-01-19 13:59:01 +01:00
Thomas Citharel
a9676d6481 feat(front): upgrade to Oruga 0.8.x
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-14 11:30:54 +01:00
potsda.mn-Kollektiv
1af8e37e9b fix(front-end): add more security fixes for formatted lists and notifier
- introduce html escape function
- escape message content in notifier plugin
- escape user name in ConversationListItem
- escape user name in the Event EditView contacts section
- display user summary as plain text in ActorCard

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-07 14:29:20 +01:00
Thomas Citharel
41227d994c style: linting front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 11:18:36 +01:00
Thomas Citharel
2c12fbfd09 fix(front): anonymous participant text is plain text, avoid using v-html
It was using v-html when opening to "view more"

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-06 11:18:05 +01:00
Thomas Citharel
f81472e081 fix(front): fix tag loading
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-05 08:28:11 +01:00
Thomas Citharel
d831dff9fc feat(front): add dedicated page and route for event announcements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-12-01 11:29:56 +01:00
summersamara
8a1b122711 remove unnecessary function 2023-11-22 16:45:43 +01:00
summersamara
69e4a5c532 fix: don't show passed/finished events in related events section 2023-11-21 22:55:35 +01:00
Thomas Citharel
5602164c62 build: replace @vueuse/head with @unhead/vue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-21 16:40:32 +01:00
Thomas Citharel
b635937091 fix: various fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-20 09:35:21 +01:00
Thomas Citharel
2e72f6faf4 build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00