Commit Graph

584 Commits

Author SHA1 Message Date
mmcwilliams b30c13bad9 Last boneheaded error of the night triple promise 2019-10-31 02:21:21 -04:00
mmcwilliams 8e34fb41ce List npm version, too. Just in case. 2019-10-31 02:00:22 -04:00
mmcwilliams db51a8841c Cleanup text output from commands used in info() function 2019-10-31 01:48:41 -04:00
mmcwilliams b6d7e48d26 Add an info feature to get app version and runtime data. No one asked for it but I need it for debugging. Oh well it's 1:41AM 2019-10-31 01:41:57 -04:00
mmcwilliams 911ee8637c All changes warrant a minor version upgrade 2019-10-31 01:20:50 -04:00
mmcwilliams 839ff97f5a Properly escape passwords and ssids 2019-10-31 01:16:01 -04:00
mmcwilliams 69ccdc58c1 Use fs-extra in index. 2019-10-31 00:57:54 -04:00
mmcwilliams 5611ea338a Prevent frame from running if _state.frame.active is true. 2019-10-31 00:43:44 -04:00
mmcwilliams 7ac2e7ed67 Complete the frame request 2019-10-31 00:16:25 -04:00
mmcwilliams bdee0c1431 Use correct method name in log statement 2019-10-30 23:58:52 -04:00
mmcwilliams 6ac19c2dd8 Make a new public sequence.stop method to prevent double logging 2019-10-30 23:58:06 -04:00
mmcwilliams 074d70510f No. I was wrong. Too much of a rewrite 2019-10-30 23:53:11 -04:00
mmcwilliams 3667c8dd36 Pull delay setting out of the _state.frame object into the _state object. Ugh this is such a mess. 2019-10-30 23:47:34 -04:00
mmcwilliams d566c2160b Properly use delay from intval object. 2019-10-30 23:36:04 -04:00
mmcwilliams eed8905f29 Need to bind intval this to callback within promise. 2019-10-30 23:29:32 -04:00
mmcwilliams 5b0d120275 Frame must return a promise for sequence to work. For any of it, really. 2019-10-30 23:27:09 -04:00
mmcwilliams 0f57c1c630 When I said I had made the last boneheaded error or the night I was lying. Need to set sequence.active = true at beginning of the sequence 2019-10-30 23:19:50 -04:00
mmcwilliams 92172e19b1 Build logging changes 2019-10-30 23:16:34 -04:00
mmcwilliams 09431a6a05 Sequence is not running on prototype 2019-10-30 23:15:40 -04:00
mmcwilliams 037eb0f352 Caught the last boneheaded error I will make tonight 2019-10-30 23:10:25 -04:00
mmcwilliams 93e399536c Add new optiosn to resolve issue #14 and issue #13. Also resolves #10, #11, and #12. 2019-10-30 23:04:43 -04:00
mmcwilliams 4d41dcb7b5 Did not complete previous commit 2019-10-30 22:50:41 -04:00
mmcwilliams a205f07bab State object was re-structured. Watch() callbacks need to be bound to current object 2019-10-30 22:49:15 -04:00
mmcwilliams 6ae25134a2 Use correct require method for node-persist (blegh) 2019-10-30 22:43:18 -04:00
mmcwilliams ef807ea69c Dum dum error in the require statements of index.js 2019-10-30 22:37:55 -04:00
mmcwilliams 26116303cc Ready to try re-write in prototype 2019-10-30 22:32:52 -04:00
mmcwilliams ac986e874f Merge remote-tracking branch 'origin/master' 2019-10-16 10:58:54 -04:00
mmcwilliams 26655ea0a7 re-write progress, changing platforms 2019-10-16 10:58:46 -04:00
litter fb5b67c04d Update app and remove appcenter modules (breaking the build) 2019-10-11 19:07:50 -04:00
Matthew McWilliams af5e493980 Install on raspian 2019-10-11 23:58:08 +01:00
mmcwilliams 8974c8ddcc Properly export and require delay module in sequencer 2019-10-11 18:24:41 -04:00
mmcwilliams d90dfc4a6c Sequencer converted into a singleton class. 2019-10-11 18:15:32 -04:00
mmcwilliams 076444f2fe npm update lodash --depth 3
Wraps up #15. Cannot fix squel warning without a rewrite.
2019-10-11 18:02:47 -04:00
mmcwilliams 3634b580bc Change 630 default/min to 530ms in core app. 2019-10-11 17:57:29 -04:00
mmcwilliams f953a79080 Backup intval module, in case this whole thing goes awry. 2019-10-11 17:57:07 -04:00
mmcwilliams 70ca24c62f Intval default should be 530, not 630 as it is right now. 2019-10-11 17:56:10 -04:00
mmcwilliams 67ed6c7d0b Ignore tsbuildinfo 2019-10-11 17:55:25 -04:00
mmcwilliams 70f5834934 Add a tsconfig that works (from mcopy). 2019-10-11 17:55:11 -04:00
mmcwilliams f99290d6ce Install delay module and compile from Typescript source. 2019-10-11 17:54:29 -04:00
mmcwilliams 7cc03a2e8d ncu -u && npm i 2019-10-11 17:54:04 -04:00
mmcwilliams 591641774a Compile sequence module as is. 2019-10-11 17:53:41 -04:00
mmcwilliams f1ab4ca1af Backup sequence and create typescript source for it 2019-10-11 17:36:49 -04:00
mmcwilliams 3e8382a000 Add a favicon before deploying. 2019-06-19 19:32:36 -04:00
mmcwilliams 6f6dabca5b Created a PWA frontend. This marks a major milestone in the project, as I will be dropping support of the cordova mobile app and rely entirely on the PWA for bluetooth connectivity going forward. Can't afford an Apple dev license I'll never use and don't want the trouble of maintaining mobile apps on the stores that maybe a handful of people will use. Check intval.sixteenmillimeter.com for this site deployed as an app. 2019-06-19 19:23:20 -04:00
mmcwilliams 7f6f05ef70 Add list of raspi-config commands 2019-03-27 18:46:33 -04:00
mmcwilliams adfadc8008 Bug in wifiRes was writing to constant variable on error state 2019-03-27 18:36:39 -04:00
mmcwilliams 46c497bd54 Use ip instead of ifconfig, which is deprecated and breaks on the latest stretch, for me 2019-03-27 18:26:33 -04:00
mmcwilliams 52a5038b1a I was wrong. Reinstall sqlite3 and db lib. 2019-03-27 17:08:50 -04:00
mmcwilliams 6976d2089a Remove sqlite3 from dependencies (unused) and remove lib/db (unused). Originally this was intended to be used for analytics, but that isn't on the roadmap right now. 2019-03-27 12:52:43 -04:00
mmcwilliams 3a4c076d82 Limit list to 20 wifi APs, not 5. 2019-03-26 16:08:16 -04:00