Commit Graph

599 Commits

Author SHA1 Message Date
mmcwilliams 64389ab954 Add feature to list all frames and another to find others with a WHERE statement. 2017-11-23 09:34:24 -05:00
mmcwilliams cd3f79a3a0 Use an integer to track direction, boolean is not an sqlite3 datatype. 2017-11-23 09:29:44 -05:00
mmcwilliams e558b0387d State.frame.current, not state.current. 2017-11-23 09:23:05 -05:00
mmcwilliams 320d3fe02f Spell exposure right, ya dingus. 2017-11-23 09:21:56 -05:00
mmcwilliams bdac1aa50c Need node-gyp to build sqlite3. 2017-11-23 09:21:43 -05:00
mmcwilliams 73a65d9021 Add sqlite3 and table logging functionality. Track all frames all the time. 2017-11-23 09:19:43 -05:00
mmcwilliams 37326534ed Accidentally broke web while testing, add back. 2017-11-23 08:59:49 -05:00
mmcwilliams 9c5d429051 Use sequence module and begin fashioning requests around it. 2017-11-22 20:26:34 -05:00
mmcwilliams a79d13d382 Add sequence module and db module placeholder 2017-11-22 20:26:10 -05:00
mmcwilliams f428c72bdb Remove sequencer feature, too similar to the mcopy feature and not needed in a standalone intervalometer. 2017-11-22 20:05:19 -05:00
mmcwilliams e6b0329aa1 Add codemirror dependencies. 2017-11-22 19:49:06 -05:00
mmcwilliams 3aae58c5d9 Add mscript GUI. 2017-11-22 19:48:45 -05:00
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