Commit Graph

325 Commits

Author SHA1 Message Date
Michael Teeuw c49386bb58 Merge branch 'develop' into issue-2022_catch-ical-parsing-errors 2020-12-08 15:13:34 +01:00
Johan Alvinger 1e34764588 coloredEvents should also color the symbol if that is displayed 2020-11-26 17:14:59 +01:00
Johan Alvinger 3c5d50bce9 Include all past events (if broadcastPastEvents set) and up to maximumEntries of current or upcoming events 2020-11-25 23:29:10 +01:00
Johan Alvinger b735cb96a0 Fetch maximumEntries of current events (and all past events if
broadcastPastEvents is true)
2020-11-25 21:59:58 +01:00
Johan Alvinger d00c25e107 Fetch maximumEntries of current events (and all past events if broadcastPastEvents is true) 2020-11-25 21:53:34 +01:00
Johan Alvinger 8a5e87b116 All events from the beginning of today were fetched but we only want
the ones that are ongoing or upcoming.
2020-11-24 23:17:26 +01:00
Johan Alvinger 2779d19d5c All events from the beginning of today were fetched but we only want the ones that are ongoing or upcoming. 2020-11-24 23:06:41 +01:00
rejas ccf98c0c22 Surround ical parsing with try/catch to catch unknown bugs 2020-11-24 21:32:16 +01:00
Johan Alvinger 056f3a6ccb limitDays and coloredEvents are now only module-wide options, not per calendar. 2020-11-24 15:41:28 +01:00
Johan Alvinger 21284e7795 Reverted change in calendarfetcher so events are limited to maximumEntries 2020-11-24 14:52:08 +01:00
Johan Alvinger d8f19e631c Fixed variable declarations to pass Travic CI check 2020-11-24 01:20:19 +01:00
Johan Alvinger ce5c0ed5ba Fixed typo in condition 2020-11-24 00:37:21 +01:00
Johan Alvinger 839ca9ecfb Lines that were commented out has been removed 2020-11-24 00:23:55 +01:00
Johan Alvinger 1ba845fb06 Make calendarfetcher return all events, not just a slice 2020-11-23 21:53:20 +01:00
Johan Alvinger e86fa9d24a Revised handling of timeFormat "absolute" and "relative".
Added new option "coloredEvents" which contain an array with keyword and color for coloring events matching keyword
2020-11-23 21:48:34 +01:00
Johan Alvinger a19c3a43d8 New option "limitDays" that will limit the number of days displayed. 2020-11-21 18:03:34 +01:00
Sam Detweiler 12405b66d0 fix full date start time and duration, east of UTC, make getCorrection more understandable with variable name changes 2020-11-16 13:49:44 -06:00
rejas 0a58767563 Use Log.debug where applicable 2020-11-07 11:59:01 +01:00
Sam Detweiler 5d2f706c32 fix time offset calcs for any timezone 2020-11-01 09:05:33 -06:00
Sam Detweiler 844a59d880 one more offset only test 2020-10-28 13:10:24 -05:00
Sam Detweiler 82c742f964 fix prettier problems, was run on commit before 2020-10-28 16:55:53 +01:00
Sam Detweiler b73cfd8a60 fix time adjustment routine 2020-10-28 16:42:20 +01:00
Sam Detweiler 8466ff0c1a change debug logging from console. to Log. 2020-10-28 09:42:00 -05:00
Sam Detweiler a735275864 fix full day recurring events east of UTC for RRULE/Luxon confusion, also update windows zones to include old offset based strings (UTC+05:00) US Eastern and Canada 2020-10-28 09:31:05 -05:00
Sam Detweiler 8a1d46deb4 fix fullday event compare operator 2020-10-26 12:52:32 -05:00
Sam Detweiler b624aeec45 fix the fullDayEvent checker function 2020-10-26 12:41:03 -05:00
Sam Detweiler e83b4d7d42 fix calendar when event has no DTEND record 2020-10-26 09:55:35 -05:00
Sam Detweiler 485f662d75 revert fetcher filtering results 2020-10-12 10:12:47 -05:00
Sam Detweiler 26caeec0c1 Merge branch 'fixfetch' of https://github.com/sdetweil/MagicMirror into fixfetch 2020-10-12 09:02:15 -05:00
Sam Detweiler 4a7cb88a3e typo, remove dead code, comments, fix recurring refresh, let fetcher handle it 2020-10-12 09:01:50 -05:00
sam detweiler 6f3239d514 Merge branch 'develop' into fixfetch 2020-10-11 22:46:31 -05:00
Sam Detweiler a3bad8aec4 fix subsequent calendar fetcher timing 2020-10-11 22:39:42 -05:00
Sam Detweiler 2e981987f2 resolve conflict 2020-10-05 11:06:21 -05:00
Sam Detweiler 04dae52a6c correct daylight/standard adjustments, windows timezones and east of london rrule bug 2020-10-04 12:10:19 -05:00
Sam Detweiler 74887a58f6 remove regression on event duration 2020-09-29 10:33:51 -05:00
sam detweiler e8fd906aa1 move calendar to node-ical for ms timezones and timezones in general 2020-09-22 07:25:48 -05:00
Sam Detweiler f09b89f975 fix , prettier not run 2020-09-01 15:13:42 -05:00
sam detweiler 7bec84f767 fix formatting, prettier did not run 2020-09-01 21:00:14 +01:00
sam detweiler 8f4cbcf817 Merge branch 'develop' of https://github.com/sdetweil/MagicMirror into develop 2020-09-01 14:41:09 +01:00
sam detweiler c3382274a2 remove old master branch code 2020-09-01 14:40:07 +01:00
sam detweiler 493055f861 Merge branch 'develop' into develop 2020-09-01 08:15:24 -05:00
sam detweiler 8ce37d53cd fix recurring full date events 2020-09-01 14:04:35 +01:00
rejas 1d4d5cc4e7 Cleanup calendar jsdoc 2020-08-03 11:19:54 +02:00
rejas 8ce1e2c956 Cleanup calendar jsdoc 2020-07-30 12:54:39 +02:00
rejas 43bcf4ab98 Run eslint over files, see what gets fixed automatically and clean up 2020-07-27 14:25:43 +02:00
rejas 8b1d1671f7 Add test for changing the calendar symbol 2020-07-18 21:10:36 +02:00
rejas 73aa35ea2c Pass maximumEntries for each calender to fetcher
Fixes failing test
2020-07-18 17:51:21 +02:00
rejas a391445e5f Add test setup for custom calendar configuration 2020-07-18 13:58:05 +02:00
rejas ec2fedd797 Make sure default symbol is first from right-to-left 2020-07-17 18:00:27 +02:00
rejas 7489d19784 Merge calendar symbols 2020-07-17 18:00:27 +02:00