Commit Graph

91 Commits (a98ce79c43e3ec55a1ace361e2cb1916b7880d8d)

Author SHA1 Message Date
Erik Andresen c815168bda sched/calendar interface: fix null timezone 2023-12-10 19:49:37 +01:00
Gordon Williams fcebbf3ef4 Added Utils.readStorageJSON and relaxed JSON parser, and swap all interface.html over
to using it.

This allows Bangle.js 2v20 (or cutting edge) and later to store a relaxed
'JSON' on internal storage which (while still normal JS) is smaller and faster
(and preserves unicode better)

See https://github.com/espruino/Espruino/issues/2429
2023-11-23 12:52:48 +00:00
Erik Andresen 2d7fdd88c2 sched/calendar: Fix timezone handling on ical 2023-08-18 20:40:24 +02:00
Rob Pilling d763f63a19 sched: fix `for` reference in interface 2023-07-21 17:51:31 +01:00
Gordon Williams e61eb4e88c
Merge pull request #2781 from bobrippling/oneshot-alarms
multitimer: allow one-shot alarms (delete after)
2023-07-03 10:45:45 +01:00
Rob Pilling b2e74d91e3 multitimer: readme update, remove dead code, restore sched 2023-06-30 21:13:31 +01:00
Rob Pilling 27bf21466a multitimer: revert triggercheck, tailcall sched after hardmode alarms 2023-06-30 21:05:42 +01:00
Rob Pilling c930936b39 sched: drop alarm index guard 2023-06-30 18:09:11 +01:00
Rob Pilling 8a63039b46 multitimer/sched: version bump 2023-06-11 22:17:42 +01:00
Rob Pilling b56865a136 multitimer/sched: use triggercheck for pre-alarm code 2023-06-11 22:17:42 +01:00
Rob Pilling c1d7a4ed73 sched: kick off timers on upload 2023-06-10 21:30:45 +01:00
Rob Pilling 508808cc3d sched: only splice out alarm, if it's present in alarms 2023-06-07 17:57:00 +01:00
Rob Pilling 4a48511fe9 sched: reload after uploading sched.json 2023-06-07 10:10:23 +01:00
Rob Pilling aa8ecc7e2c sched: fix enabling an alarm that's sounded today 2023-06-07 10:10:23 +01:00
Rob Pilling 4616d533b4 sched: don't force reload on alarm save 2023-06-05 21:03:50 +01:00
Rob Pilling 1749b4c2f1 sched: superscript asterisk (for space) 2023-06-05 11:03:37 +01:00
Rob Pilling bbd93f530c sched: rename dated-alarms to events 2023-06-05 11:03:35 +01:00
Rob Pilling b6829b65cc sched: default timers to on 2023-06-05 11:03:33 +01:00
Rob Pilling 4fdef7bd8c sched: add th for active 2023-06-05 11:03:30 +01:00
Rob Pilling f8d1de16ce sched: wait before reloading to avoid `load()` output 2023-06-05 11:03:28 +01:00
Rob Pilling 81e810bcd7 sched: separate on/off button from delete 2023-06-05 11:03:26 +01:00
Rob Pilling 4d01587c10 sched: interface.html can turn alarms on/off 2023-06-05 11:03:24 +01:00
Rob Pilling 64a8f50b76 sched: interface.html reloads watch to apply alarms 2023-06-05 11:03:22 +01:00
Rob Pilling bd416eb0df sched: interface.html can create timers & daily alarms 2023-06-05 11:03:20 +01:00
Rob Pilling 138a607a1b sched: interface.html, sort by type, then time 2023-06-05 11:03:17 +01:00
Rob Pilling ed9d4d47c5 sched: interface.html, show timers & non-date alarms too 2023-06-05 11:03:15 +01:00
Erik Andresen 2d752832b7 sched/interface: fix date format 2023-05-02 22:31:21 +02:00
Gordon Williams 4b2061e899 Update app metadata to make clockinfo apps easier to find 2023-04-28 09:59:11 +01:00
Gordon Williams 82efd6b29e correction based on https://github.com/espruino/BangleApps/pull/2529#discussion_r1130158703 2023-03-09 09:44:34 +00:00
Gordon Williams e87e3f137b
Added handling for 'rp:true' and also debug message in case of invalid repeat type 2023-03-07 11:41:21 +00:00
Gordon Williams 00980611e0
Merge branch 'master' into event_date_repeat 2023-03-07 11:23:13 +00:00
Erik Andresen c3f11f90d5 sched: add interface.html
- Edit or delete existing events, add new
- Add events from iCalendar file
2023-02-02 18:39:08 +01:00
lauzonhomeschool a1097a3eea [sched, alarm] allow dated Event repeat 2023-01-24 22:10:31 -05:00
Marco H ba9d615e06 Fix crash in clock_info 2023-01-19 20:22:59 +01:00
Kedlub 1839f7d52d Alarm snooze and dismiss events 2023-01-18 14:11:35 +01:00
Gabriele Monaco d768d0fe9c sched: update clock_info to refresh periodically on active alarms/timers 2023-01-07 15:37:22 +01:00
Gordon Williams 8425f0b50a Update clock_info to avoid a redraw/general tidyups 2022-12-16 15:40:58 +00:00
lauzonhomeschool 1a7f37ee8e
Update metadata.json 2022-12-15 19:58:36 -05:00
lauzonhomeschool 68fa1253a5
ChangeLog 0.17 midnight in local timezone 2022-12-15 19:58:20 -05:00
lauzonhomeschool 533d669395
boot.js - fix midnight in local timezone 2022-12-15 18:57:48 -05:00
lauzonhomeschool e0495a1b85
Update metadata.json 2022-12-09 12:02:42 -05:00
lauzonhomeschool 0502e90489
Update ChangeLog 2022-12-09 12:02:15 -05:00
lauzonhomeschool a9f0b83e11
boot.js toLocalISOString 2022-12-08 17:50:46 -05:00
lauzonhomeschool c483cbc067
lib.js support timezone - toLocalISOString
Test scenario:
E.setTimeZone(-8);
date = new Date("2022-12-05T23:00");
date.toLocalISOString(); // -> "2022-12-05T23:00:00.000-0800"
getActiveAlarms([{on: true, t: 0, dow: 0b1111111, date: "2022-12-05"}], date); //should be marked as active, but isn't
getActiveAlarms([{on: true, t: 0, dow: 0b1111111, date: "2022-12-06"}], date); //should not be marked as active, but it is because it is already "tomorrow" in UTC
2022-12-08 17:48:56 -05:00
Gordon Williams 3e5c0538a9 Support for provides_widgets entry in metadata, and try and tag existing widgets
Support for 'default' tag and add it to apps that we expect would be used by default with the Bangle
split widalarm out of alarm

fixes https://github.com/espruino/BangleApps/issues/2353
2022-12-06 10:25:32 +00:00
thyttan 481ddb6a22 add more /*LANG*/ to some of the most installed apps 2022-12-01 21:03:15 +01:00
Gabriele Monaco 18d91bf5f9 Added short field and general clkinfo improvements 2022-11-25 18:50:38 +01:00
Gabriele Monaco 4ff8e9a52c Fixed sched clkinfo icons and sorting 2022-11-25 18:35:10 +01:00
Gabriele Monaco c8ee05a4b6 clkinfo: added sched and ranges in weather 2022-11-25 18:35:10 +01:00
Gordon Williams b2bb45d878 improve sched readme 2022-09-09 09:37:10 +01:00