Commit Graph

23 Commits

Author SHA1 Message Date
Fabrice Mouhartem
bc2b51b878
Fix calendar export: bug when exporting a calendar containing a modified recurring event in the future 2026-01-22 14:48:26 +01:00
Fabrice Mouhartem
b2201dba5a
Fix edge case: export empty calendars 2026-01-22 14:48:20 +01:00
Fabrice Mouhartem
786a16b1b6
Properly format UNTIL field in ics export
- Before that, the end date of recurring event was formatted as
  timestamp and made ICS export bogus
2025-06-06 11:25:41 +02:00
yflory
c2a3fbd60c Remove duplicated files 2025-04-17 13:34:32 +02:00
yflory
c64644568b Merge branch 'REUSE-license-info' into staging 2023-11-22 17:21:09 +01:00
Fabrice Mouhartem
ccf0b108de calendar export: duplicate import of ical.js
The module ical.js is now imported for the whole file and not just the
import part (as it it used in the export as well).
2023-11-10 16:27:26 +01:00
Fabrice Mouhartem
937c41aa49 Lint compliance
ICAL.js is not a require.js module and doesn't export anything, should
be anonyme.
2023-11-10 16:25:25 +01:00
Fabrice Mouhartem
4c80de725f #1171: Use of ical.js for line formatting while exporting 2023-11-02 11:58:55 +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
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
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
David Benque
1a79fc9146 Tests on www/admin and www/calendar 2023-10-19 15:40:19 +01:00
yflory
c3b501b431 Fix incorrect recurrence with monthly events on day 31 2022-09-15 16:34:31 +02:00
yflory
65b00736bc Support recurrence rules when importing or exporting ICS calendars 2022-09-15 13:15:27 +02:00
yflory
b4bb28ef19 Fix type error in calendar import 2021-11-08 12:46:02 +01:00
yflory
904e06091d Fix calendar .ics import (#784) 2021-08-20 11:29:20 +02:00
yflory
2a12b5f6ed Fix timezone errors on import 2021-04-20 16:50:47 +02:00
yflory
c7a284efe7 Accept other methods in calendar import 2021-04-20 16:20:17 +02:00
yflory
b45ab9c323 lint compliance 2021-04-19 13:08:38 +02:00
yflory
0a984d31f7 Convert email notifications 2021-04-15 18:09:11 +02:00
yflory
6ced731600 Calendar import 2021-04-15 17:45:38 +02:00
yflory
8a7f5556c4 Calendar export 2021-04-15 11:10:11 +02:00