Fabrice Mouhartem
66a2815993
#1171 : Alignment of the description content
2023-11-02 11:45:01 +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
6b7eedde22
#1171 : Use the ical.js implementation for foldline
...
According to [RFC5545](https://www.rfc-editor.org/rfc/rfc5545#section-3.1 ):
```
Note: It is possible for very simple implementations to generate
improperly folded lines in the middle of a UTF-8 multi-octet
sequence. For this reason, implementations need to unfold lines
in such a way to properly restore the original sequence.
```
It actually happens when an emoji takes the 75th and 76th bit.
2023-11-02 11:35:29 +01:00
Fabrice Mouhartem
b9e698ef14
#1171 : Cleaning code
2023-11-02 11:35:29 +01:00
Fabrice Mouhartem
00c1323f07
#1171 : ICS line wrapping for descriptions in export
...
Descriptions can be long and RFC5545 states that a line shouldn't be
more than 75 bytes long.
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
d61b8376cc
#1171 : fix no scroll in long descriptions
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
398df9d58f
#1171 : Calendar ICS import and export handle the description
field
2023-11-02 11:29:07 +01:00
Fabrice Mouhartem
bbb4a46e0f
#1171 : Fix nowrap in textareas
2023-11-02 11:29:00 +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
yflory
e9bc3f1f8b
Fix calendar reminder #1279
2023-10-09 16:28:59 +02: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
DianaXWiki
3f6c72ff67
Fix layout reminders v2 #1094
2023-10-02 10:27:31 +03:00
yflory
d68dde07a9
Remove translation XXX
2023-09-28 18:33:03 +02:00
yflory
5f3acfb81d
Merge branch 'mobile-fixes' into staging
2023-09-28 18:01:02 +02:00
yflory
fd90827da9
Merge branch 'accessibility' into staging
2023-09-28 17:55:34 +02:00
DianaXWiki
6b7dfa2451
More robust solution #1094
2023-09-26 13:59:55 +03:00
DianaXWiki
5dde8f1a53
Revert "Fix edit event panel cut off on small screen #1094 "
2023-09-26 10:26:01 +03: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
yflory
4c83721c28
Re-apply tui-calendar fix from fe404cc
2023-09-19 15:50:04 +02:00
yflory
51cb51a710
Revert "made confirmation button responsive according to the text #1211 "
...
This reverts commit fe404ccde6
.
2023-09-19 15:43:42 +02:00
DianaXWiki
5a1f95da38
Fix edit event panel cut off on small screen #1094
2023-09-18 14:10:10 +03:00
DianaXWiki
7e24f0cc8b
Make event edit menu visible on mobile #1094
2023-09-12 14:52:16 +03:00
DianaXWiki
c68d317f2b
Make calendar menu visible on mobile #971
2023-09-12 14:12:51 +03:00
Diana Voineag
1fba93d664
Fix calendar and modal avatar consistnecy #1188
2023-08-29 12:23:17 +03:00
daria
56f3a8e0ea
spaced out evenly reminder buttons (calendar popup) #1217
2023-08-28 15:25:03 +03:00
daria
fe404ccde6
made confirmation button responsive according to the text #1211
2023-08-28 14:49:31 +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
daria
6e3b761e9e
added aria-label to calendar settings button for accessibility
...
fixed #1150
2023-07-20 15:23:40 +03:00