Commit Graph

237 Commits

Author SHA1 Message Date
mmcwilliams e1e272b92c Sorted out web/mobile startup. Working on ble features. 2017-11-22 14:32:13 -05:00
mmcwilliams 57aa86d419 Install sqlite and squel for storing data embedded. 2017-11-22 14:31:03 -05:00
mmcwilliams a7411644c6 Move svg icons into css file. 2017-11-22 14:26:43 -05:00
mmcwilliams 0c267fa9fb Attach functions to the window option so that cordova does not break. 2017-11-22 12:45:52 -05:00
mmcwilliams 87473cd403 Install cordova plugins 2017-11-22 12:45:13 -05:00
mmcwilliams f2b2291825 Use version 3.0.0 for starting point of hardware project. 2017-11-22 12:44:25 -05:00
mmcwilliams 4ccab7e933 Establish cordova app in /app directory. Will do development with testflight and using an adhoc profile for beta testers. 2017-11-22 12:25:06 -05:00
mmcwilliams e7c3cb6d47 Web and mobile have their own files now. Determine presence of cordova when in mobile app. 2017-11-22 12:10:33 -05:00
mmcwilliams 176fd37995 /app/www not /www 2017-11-22 12:05:02 -05:00
mmcwilliams 26ea43cc79 Separate intval.web.js into its own file. 2017-11-22 12:04:45 -05:00
mmcwilliams 2593d803ef Use a static file server config that will work on web and mobile. 2017-11-22 11:58:02 -05:00
mmcwilliams 6ce4241346 Update scripts to match recent tests. 2017-11-22 11:57:40 -05:00
mmcwilliams 86930bb9c2 Use static files but dont use gzip (for now). 2017-11-22 11:50:51 -05:00
mmcwilliams f82c487416 Use nginx as the web server, frontending node. 2017-11-22 11:45:27 -05:00
mmcwilliams 3d9985a372 Set counter UI element. Make re-usable for app. 2017-11-22 11:38:05 -05:00
mmcwilliams fe492eca6f Fetch uses body, not data. 2017-11-22 11:34:51 -05:00
mmcwilliams fdc0f41725 Fetch body is empty, see why. 2017-11-22 11:33:20 -05:00
mmcwilliams dd74ba7218 Res.send not req.send you absolute knucklehead. 2017-11-22 11:31:08 -05:00
mmcwilliams cc509a7b57 Opts, not "opt". 2017-11-22 11:26:25 -05:00
mmcwilliams d19caed973 Use classes over ids. Only allow promp value to change counter. 2017-11-22 11:25:04 -05:00
mmcw-dev c827f64510 Update intval module documentation 2017-11-22 09:58:57 -05:00
mmcw-dev 7109e6c52e Add general purpose characteristic for intval3 2017-11-22 09:58:45 -05:00
mmcw-dev e2b3d86f31 Run node index.js, not the deleted bluetooth service. 2017-11-22 09:31:03 -05:00
mmcw-dev 0272ca21f6 Add bleno to main process by adding a module that gets incorporated into the same process running express. 2017-11-22 09:30:08 -05:00
mmcw-dev b9ceb506c7 Motor cap to print. 2017-11-21 19:36:39 -05:00
mmcwilliams 0cde3b7864 Log completed frame with direction and timing. 2017-11-21 18:15:46 -05:00
mmcwilliams 2543a24b32 Exposure, not "eposure" you jackass. 2017-11-21 18:12:21 -05:00
mmcwilliams f706926f26 Set counter, exposure and delay all with fetch() and vanilla js dom manipulation. 2017-11-21 18:09:59 -05:00
mmcwilliams ab609c4f31 Remove post body from frame, reverse frames are not happening. 2017-11-21 17:54:56 -05:00
mmcwilliams a1d193fc56 Fix typo within setExposureScale 2017-11-21 17:52:26 -05:00
mmcwilliams 01dddcbb4b Remove all jquery from getState roundtrip. 2017-11-21 17:48:30 -05:00
mmcwilliams ae9fd34445 Provide options for fetch to get state. 2017-11-21 17:15:13 -05:00
mmcwilliams 134afb8e05 Log all json responses. 2017-11-21 17:13:07 -05:00
mmcwilliams cf3e4ca69b Trigger a frame and increment the counter. 2017-11-21 17:08:54 -05:00
mmcwilliams a99f364fb9 Set a content-type header for json posts 2017-11-21 16:59:22 -05:00
mmcwilliams 5ea31a7050 FormData is choking the server 2017-11-21 16:55:44 -05:00
mmcwilliams 58d173da75 Use form data constructor 2017-11-21 16:52:59 -05:00
mmcwilliams 550dad4c91 Parse response with .json() within fetch callback. 2017-11-21 16:49:02 -05:00
mmcwilliams c402e6e87d Remove jquery from setDirLabel. 2017-11-21 16:43:56 -05:00
mmcwilliams 722d3701ac POST not /POST and invert checkbox state before submitting. 2017-11-21 16:38:11 -05:00
mmcwilliams 42aa573698 Begin removing jquery, use vanilla js 2017-11-21 16:34:07 -05:00
mmcwilliams 4e76274e83 Turn off wireless power management 2017-11-21 16:33:51 -05:00
mmcwilliams 31ee3e1ca1 Update app to not use text blobs 2017-11-21 13:50:13 -05:00
mmcwilliams ed3e9c13c5 Configuration file used to enable wlan0 in network interfaces 2017-11-21 13:50:13 -05:00
mmcwilliams 5a94f52b79 Update to larger dc jack for intval case. 2017-11-20 17:16:00 -05:00
M McWilliams c7bbe4a592 Merge branch 'dev' of https://github.com/sixteenmillimeter/intval3 into dev 2017-11-10 04:58:17 -05:00
M McWilliams d17e871ba9 Add pads file for creating a compact board 2017-11-09 09:41:19 -05:00
mmcwilliams d939eeb847 flipped text 2017-11-08 12:45:35 -05:00
M McWilliams 8fd1ae63ec V4 prototype of the board. This one goes to production. 2017-11-08 07:47:04 -05:00
mmcw-dev 2d0c8f0755 Update PCB design to use raspberry pi 3 headers. Use 5mm terminal blocks. 2017-11-03 14:29:50 -04:00