1
0
Fork 0
Commit Graph

327 Commits

Author SHA1 Message Date
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
Ryan Mwangi 9a0a62675c fix:add ical.js and ical.timezones.js files in lib 2024-11-14 03:02:54 +03:00
xeruf 0a863a4eb2 test(calendarUtil): failing ical test 2024-11-13 17:43:13 +01:00
Ryan Mwangi a94727df56 build:install luxon to handle timezone parsing 2024-11-13 15:45:53 +03:00
Ryan Mwangi 7e2b846029 build:install date-fns and date-fns-tz to handle timezones 2024-11-13 15:18:25 +03:00
Ryan Mwangi cbdfdf6c97 test:update test forhandling timezones 2024-11-13 15:17:17 +03:00
Ryan Mwangi 2e9de0749d fix:handle timebased events 2024-11-13 02:54:42 +03:00
Ryan Mwangi d08d87f47c test:get date based calendar test to run 2024-11-12 23:23:59 +03:00
Ryan Mwangi 0114c94caa fix: get DTSTAMP to get parsed correctly and remain the same as the original 2024-11-12 23:13:56 +03:00
Ryan Mwangi e8582cd411 test:add logging to ensure DTSTAMP is correctly added to the new event 2024-11-12 22:53:25 +03:00
Ryan Mwangi 665c134597 test(in-progress): run tests for date based calendar 2024-11-12 22:40:28 +03:00
ryanmwangi 0b0ecaa0c2 Merge pull request 'test: preserve date-based calendar' (#4) from janek/CalMerger:master into master
Reviewed-on: ryanmwangi/CalMerger#4
2024-11-12 15:38:31 +00:00
xeruf 4032e2c49d test: preserve date-based calendar 2024-11-12 16:20:53 +01:00
Ryan Mwangi 441f4d2fb3 test:set up initial structure for unit tests for fetchCalendarData function 2024-11-11 22:32:12 +03:00
Ryan Mwangi 8c0de14d5f refactor: move server.js and app.js into src directory 2024-11-11 20:14:49 +03:00