Commit Graph

159 Commits

Author SHA1 Message Date
zuzanna-maria 3efb3f6773 fixes datepicker not opening after date is selected 2024-01-24 14:53:57 +00:00
zuzanna-maria 95497ebe02 lint compliance 2024-01-08 12:36:08 +01:00
zuzanna-maria 8c32493a01 calendar datepicker on mobile now easily toggled #1084 2024-01-08 12:27:40 +01:00
David Benque 1c77d0699f Remove hard-coded translation strings 2023-12-14 10:44:23 +00:00
yflory d51bd92aa6 Merge branch 'feature-calendar-description' into staging 2023-12-13 15:38:47 +01:00
yflory 3da0eec8a7 Merge branch 'fixTimeZone' into staging 2023-12-13 15:13:14 +01:00
Fabrice Mouhartem c11f946379 Code cleanup
Remove `XXX` comments related to PRs #1308 and #1312
2023-12-12 10:58:18 +01:00
Fabrice Mouhartem a24bc397a6 Lint compliance 2023-12-07 18:10:59 +01:00
Fabrice Mouhartem 4163bd8b30 Replace “Location:” with an icon and remove the “Description:” text in the popup
Related to #1299 + #1171
2023-12-06 17:22:11 +01:00
yflory 37debdb866 Merge branch 'staging' into toolbar-prototype 2023-12-05 15:40:16 +01:00
yflory 31c3148580 Apply accessibility changes to all dropdowns 2023-11-23 16:48:39 +01:00
yflory c64644568b Merge branch 'REUSE-license-info' into staging 2023-11-22 17:21:09 +01:00
yflory 0fc74d2367 Merge branch 'staging' into fixTimeZone 2023-11-10 17:20:40 +01:00
yflory e24703e4e6 Fix wrong event start/end time in calendar on Daylight Saving Time days 2023-11-10 11:17:20 -05:00
yflory 7b86af5ac4 Fix calendar not loading after latest commit 2023-11-09 17:56:53 +01:00
yflory 0a1ac01a45 Fix date parser on Daylight Saving time day with 12h format #1011 2023-11-09 16:58:53 +01:00
Fabrice Mouhartem 039cb9d598 #1171: Don't send changes in description everytime 2023-11-02 13:39:17 +01:00
Fabrice Mouhartem df1b59513b #1171: Fix a change in the variable names 2023-11-02 13:32:57 +01:00
Fabrice Mouhartem a6c01f5b7c #1171: Integration with #1275 2023-11-02 11:42:45 +01:00
Fabrice Mouhartem a56b3ace7a #1171: Use CodeMirror in the description edition 2023-11-02 11:37:26 +01:00
Fabrice Mouhartem a2d0aad4a2 #1171: Bug with recurring events
An issue when getting back the content of an edited only recurring event
2023-11-02 11:37:25 +01:00
Fabrice Mouhartem 9b2f565c19 #1171: rename badly named variable
body was a wrong choice of name
2023-11-02 11:37:24 +01:00
Fabrice Mouhartem b9e698ef14 #1171: Cleaning code 2023-11-02 11:35:29 +01:00
Fabrice Mouhartem 087f786f9f #1171: Add translation keys
* Inlined at the beginning of `www/calendar/inner.js` for future
  integration in weblate on release.
2023-11-02 11:35:25 +01:00
Fabrice Mouhartem fba0ccd032 Lint compliance
Lint compliance for the calendar description field (#1171)
2023-11-02 11:34:52 +01:00
Fabrice Mouhartem 8c3c3d8d51 #1171: Render markdown with diffMK for details popup
* Sanitized markdown raises a warning:
```
marked(): sanitize and sanitizer parameters are deprecated since version
          0.7.0, should not be used and will be removed in the future.
            Read more here:
          https://marked.js.org/#/USING_ADVANCED.md#options
          marked.min.js:6:44783
```
2023-11-02 11:34:52 +01:00
Fabrice Mouhartem 7ceca7d4af #1171: Rename description with body
* Rename description in the schedule object
  -> Use the body property of [tui-calendar](https://github.com/nhn/tui.calendar/)
  for to show the description in the details popup :
  <https://github.com/nhn/tui.calendar/blob/main/docs/en/apis/template.md#popupdetailbody>
2023-11-02 11:34:50 +01:00
Fabrice Mouhartem 53ad4f5a25 #1171: The `textarea` is showing and is working as intended for the purpose of
creating and updating the calendar event.

BUG: carriage returns don't seem to work
WIP: the text is hardcoded as of now, have to use Messages library for
translations.
2023-11-02 11:28:46 +01:00
yflory c354abb1e2 Fix calendar single event treated as recurrent 2023-10-31 16:01:37 +01:00
Fabrice Mouhartem dc522517c7 calendar: avoid warning disappearance
#1275: forgot to handle the case where a user changes its option, which
made the warning disappear…
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 4184a15d2d #1275: typo 2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 31cb79548b calendar: Improve warnings when changing recurring events' calendar
Related to issue #1275's changes.
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 76101cc74c calendar: Use variables instead of inline test for readability
WIP for #1275
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem ec6e1a030f calendar: confirmation dialog changes in case of changing calendar for recurring events
#1275: given the current implementation of recurring event, it is not
possible to move a group of events from a calendar to another.

- Disabling « Future event » if the user tries to move a recurring event
  from a calendar to another.
- Show a warning upon moving the first event to another calendar
  explaining why the user can only move the all events.
- Add a translation key for the above.
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 39371deb4d Moving the original event
#1275: handle simple cases when moving the first element of a recurring
event to a new calendar.
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 918fd3f908 calendar: apply changes on the moved event
#1275: from previous implementation, the changes were applied to the
original recurrent event and not the one in which has been moved
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem b7842cc01b Linter compliance 2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 41be1b39f4 calendar: copy-and-delete when moving an event one time from calendars
#1275: Copy a calendar item then remove it.

WIP: does not work with the first recurring event (the origin).
2023-10-26 09:40:27 +02:00
Fabrice Mouhartem 382230d4e8 calendar: Change newEvent behaviour
In preparation for #1275:

- Change `newEvent` to take an event directly
  - It would be used to add a new event in the target calendar
2023-10-26 09:40:27 +02:00
David Benque 1a79fc9146 Tests on www/admin and www/calendar 2023-10-19 15:40:19 +01:00
yflory 4dfbf1175e Merge branch '1094-calendar-event-edit-panel-cuts-off' into staging 2023-10-02 15:15:18 +02:00
yflory e8513a2d1d Fix calendar reminders 2023-10-02 15:14:28 +02:00
yflory d68dde07a9 Remove translation XXX 2023-09-28 18:33:03 +02:00
yflory fd90827da9 Merge branch 'accessibility' into staging 2023-09-28 17:55:34 +02:00
yflory b78ec996ec Deduplicate code for iframe title 2023-09-19 16:40:22 +02:00
yflory b977b759b4 Fix syntax inconsistencies 2023-09-19 16:07:17 +02:00
Diana Voineag 1fba93d664 Fix calendar and modal avatar consistnecy #1188 2023-08-29 12:23:17 +03:00
daria 25cb24be0f added title to Calendar inner page #1159 2023-08-17 12:59:35 +03:00
daria 5c1d67f244 added temporary label for calendar settings button 2023-08-09 15:20:09 +03:00
daria 5a944a075f added temporary label for calendar buttons 2023-08-09 15:04:30 +03:00