1
0
Fork 0
Commit Graph

341 Commits

Author SHA1 Message Date
Ryan Mwangi 92c6fffe64 test(calendar): run tests for different calendar instances 2024-11-26 01:50:55 +03:00
Ryan Mwangi 51c4f5c31f test(calendar): make tests for merged date based calendars pass 2024-11-25 20:59:07 +03:00
Ryan Mwangi 5ec6341680 feat(calendar): Set the summary using prefix and override logic 2024-11-25 20:57:32 +03:00
Ryan Mwangi d6022eeb62 chore: Merge branch 'master' of forge.ftt.gmbh:janek/CalMerger 2024-11-25 20:09:02 +03:00
Ryan Mwangi 5ec42d07bb Clean up the merged calendars directory before tests 2024-11-25 20:00:36 +03:00
xeruf ff595a9f70 refactor(calendarUtil): addEventsToCalendar variable naming 2024-11-25 13:41:28 +01:00
xeruf 1706b9cad3 feat(calendarUtil): simplify event property copying 2024-11-25 13:32:47 +01:00
xeruf 2bd5c967af test(calendar): remove line ending normalization 2024-11-25 13:03:51 +01:00
xeruf c8f3771717 test(calendar): use correct subdirectory to run server 2024-11-25 13:03:47 +01:00
Ryan Mwangi 5b40bf5d75 test: add test for date based events 2024-11-25 14:35:55 +03:00
Ryan Mwangi 227ec8a211 fix(calendar): handle date events appropriately 2024-11-22 17:03:07 +03:00
Ryan Mwangi 5769c9ce5b test: update imports and add ESM-compatible __dirname handling 2024-11-21 19:56:48 +03:00
Ryan Mwangi 6a428c55e0 build(tests): ensure compatibility with ESM in Jest by updating test script - Updated test script in package.json to use with Jest. 2024-11-21 19:52:19 +03:00
Ryan Mwangi 56e5f69cbb docs: add instructions on how to build and run the server with docker 2024-11-21 15:35:48 +03:00
Ryan Mwangi e45c433797 build(docker): edit CMD to reference app.js to run the application 2024-11-21 14:53:09 +03:00
Ryan Mwangi c4c723d60a build(docker): create dockerfile and .dockerignore files 2024-11-20 19:05:39 +03:00
Ryan Mwangi 29208d8b4d build(babel): install babel/core, babel/plugin-transform-modules-commonjs, and babel-jest 2024-11-20 15:21:11 +03:00
Ryan Mwangi c1c6ae47de test: create jest.config,js file 2024-11-20 15:19:13 +03:00
Ryan Mwangi 174a845c78 fix(import): enable compatibility between ES modules and CommonJS for ical.jsRenamed ical.js to ical.cjs to explicitly mark it as a CommonJS module and used `createRequire` to import it into the ES module project. This resolves module system conflicts and ensures seamless integration without modifying ical.js content. 2024-11-20 13:58:35 +03:00
Ryan Mwangi ad3ec6f7a6 build: update start script to correctly point to src/app.js 2024-11-20 13:25:05 +03:00
Ryan Mwangi fab6753c5a fix: ensure accurate TZID inclusion in DTSTART/DTEND- Preserve TZID only when explicitly included in source calendar. - Added a helper function `hasTZID` to check for explicit TZID in raw properties.- Adjusted datetime processing logic in `processDateTimeProperty` to streamline handling of various cases. 2024-11-20 01:49:40 +03:00
Ryan Mwangi 379a79617b fix(lineendings): normalize calendar line endings to CRLF 2024-11-19 19:06:22 +03:00
Ryan Mwangi d15d0be707 feat(calendar): extract and include X-WR-TIMEZONE if available 2024-11-19 19:03:06 +03:00
Ryan Mwangi 5e3e8eab5b feat(calendar): add METHOD property to calendar component if provided 2024-11-19 15:59:23 +03:00
Ryan Mwangi 2283b82ba7 test: add google-calendar.ics test calendar 2024-11-19 15:27:07 +03:00
Ryan Mwangi 2f3b791e5d test: reorder calendar components in nextcloud-minimal test calendar 2024-11-19 15:26:06 +03:00
Ryan Mwangi ac26afe778 feat(calendars): reorder calendar components 2024-11-19 15:24:16 +03:00
Ryan Mwangi e5e9dbb680 test: add test calendar for google-calendar-minimal 2024-11-19 15:22:43 +03:00
Ryan Mwangi 8881361a1f text: create and run test for google-calendar-mininal 2024-11-19 15:21:19 +03:00
Ryan Mwangi 8965eaa319 fix(line-endings): normalize line endings to LF for cross-platform consistency- Normalized line endings in generated calendar content to LF.- Updated test assertions to handle line-ending discrepancies.- Ensured compatibility across Windows and UNIX-like systems. 2024-11-19 14:17:42 +03:00
Ryan Mwangi ca52065f66 feat(calendar): include CALSCALE and SEQUENCE details 2024-11-19 14:03:42 +03:00
Ryan Mwangi 8ab685dec0 test: run tests for nextcloud minimal alone first 2024-11-19 13:35:14 +03:00
Ryan Mwangi 585b83b03c test: run tests for nextcloud minimal alone first 2024-11-19 13:34:35 +03:00
Ryan Mwangi 73e46d7f99 feat(prodid): introduce custom PRODID for merged calendars 2024-11-19 13:32:55 +03:00
Ryan Mwangi d2b0234b4b feat(location): conditionally handle VEVENT location based on override flag 2024-11-19 13:21:22 +03:00
Ryan Mwangi 2b7002303c fix(calendar): align VEVENT property order and include time zone details 2024-11-19 01:29:32 +03:00
Ryan Mwangi 6cf5b8420e feat(calendar): copy summary, timestamps, and recurrence details for VEVENTs 2024-11-18 23:49:50 +03:00
Ryan Mwangi ddcfedbbdf feat(calendar): support extracting and writing VTIMEZONE subcomponents 2024-11-18 23:40:41 +03:00
xeruf bed3e47f8e test: add nextcloud tests 2024-11-18 13:34:14 +01:00
xeruf 1f19d8cf1f build(gitattributes): ics line feeds 2024-11-18 13:01:47 +01:00
xeruf 77e6963118 test: fix calendar paths 2024-11-18 13:00:24 +01:00
Ryan Mwangi 782e62d56d refactor:remove logging for ICAL and ICAL.component as it works now 2024-11-18 14:07:22 +03:00
Ryan Mwangi 9468e58132 test: validate fetchCalendarData reads and parses files accurately 2024-11-18 14:04:51 +03:00
Ryan Mwangi d4498cd0d8 fix: export ICAL in ical.timezones.js 2024-11-18 13:55:44 +03:00
Ryan Mwangi 3edc551031 test:add logging to confirm import and structure of ICAL 2024-11-16 02:53:06 +03:00
Ryan Mwangi 859d3f3db5 fix:pull changes from contrib 2024-11-15 13:14:53 +03:00
xeruf 00e152f08c chore(package.json): remove unused libraries 2024-11-14 13:49:01 +01:00
xeruf 864a3739b3 fix: adjust ical.js to fix import
https://github.com/kewisch/ical.js/issues/329
2024-11-14 13:45:23 +01:00
Ryan Mwangi 495fb57675 refactor:create gitattributes file 2024-11-14 15:12:43 +03:00
Ryan Mwangi ff32bb430d Merge remote-tracking branch 'contrib/master' 2024-11-14 14:04:47 +03:00