Commit Graph

160 Commits

Author SHA1 Message Date
mmcwilliams 3abd68f5f3 Dump exif data after taking picture 2018-02-02 15:36:50 -05:00
mmcwilliams 4760c1e491 Sync camera settings between multiple inputs and write to settings 2018-02-02 15:36:28 -05:00
mmcwilliams 286c0eec4c Pull mscript features for now 2018-02-02 13:02:15 -05:00
mmcwilliams fc4b180aa8 Fix logging in delayed state retreival for ble connections. 2018-01-17 17:20:48 -05:00
mmcwilliams b8787c0fac If exposure if over 5000ms, call back from ble service immediately and block UI until frame is done. 2018-01-17 15:58:55 -05:00
mmcwilliams 71cfaff6c8 Install camera with exif plugin 2018-01-09 00:15:30 -05:00
mmcwilliams 62769db3bf Add a state for the mobile app to trigger the camera and set Bolex camera values. 2018-01-09 00:06:17 -05:00
mmcwilliams e55154e46e Install "camera with exif" for capturing exif data with the mobile camera. This will eventually allow the user to take a photograph with their mobile camera and the Exposure time, ISO and f-stop can be used to establish an exposure value, that can be used to automatically set an exposure time for the Bolex to match the mobile camera's exposure setting. 2018-01-09 00:03:20 -05:00
mmcwilliams b114ef8b0e Hide spinner after 5 seconds, show message if not connected. 2018-01-08 20:14:08 -05:00
mmcw-dev 0d251b212e Add path module to db to better format url? Why is database no longer writing?
Move ip above list of wifi.

List package.version in app server creation.
2018-01-05 17:31:00 -05:00
mmcwilliams 6c28e729e1 Only add padding to top of app if in mobile version 2018-01-04 16:32:59 -05:00
mmcw-dev 34eefbd067 Hide and show IP address based on availability 2018-01-04 16:25:22 -05:00
mmcwilliams 7d5f6c6601 Mobile app now allows user to interact with wifi settings. Also (mostly) properly displays the state of a sequence. 2018-01-02 00:35:20 -05:00
mmcwilliams 17ad081607 Use an anyany screen for all ios devices 2017-12-29 23:59:27 -05:00
mmcwilliams 635f6aee0b ignore problem files 2017-12-29 23:43:12 -05:00
mmcwilliams c324910a1d Consistent naming, new icon, building for more testers 2017-12-29 23:42:05 -05:00
mmcw-dev 16c8c3461b Snafuu with the icons script, fixed the path names to deploy new icons on command 2017-12-29 23:21:00 -05:00
mmcw-dev 2398285006 Re-created and optimized all images. 2017-12-29 23:09:07 -05:00
mmcw-dev c599e3480b optimize images after resizing 2017-12-29 23:08:39 -05:00
mmcwilliams a26d73bece Fix intval button text changes 2017-12-29 22:42:49 -05:00
mmcw-dev b02035ea16 Add a universal splash screen for ios 2017-12-29 22:41:28 -05:00
mmcwilliams f9f98ebc02 Fix direction label in mobile app (light up selected) 2017-12-29 22:05:00 -05:00
mmcwilliams e6ce3cd977 Script the creation of icons and splash screens from a single source. Splash screens still not working 2017-12-29 21:44:31 -05:00
mmcwilliams 01a4f17bf6 Fix build and add splash screen.
Use a build.json file to manage certs in ios
2017-12-29 21:43:54 -05:00
mmcwilliams f899c2e120 Add alpha icons to build 2017-12-29 20:08:15 -05:00
mmcw-dev 727ec7cae0 Set innerHTML of non-input elements, not value. This is why labels are not changing. 2017-12-23 22:30:17 -05:00
mmcw-dev f044c0eee3 Highlight camera directon when selected 2017-12-23 22:23:09 -05:00
mmcw-dev 7ac6f89af9 Only set ble active flag if on ble 2017-12-23 22:22:36 -05:00
mmcw-dev 72b127f134 Change innerHTML, not innerText 2017-12-22 16:34:06 -05:00
mmcw-dev 58c01c4108 Change message on sequence button if running 2017-12-22 15:28:09 -05:00
mmcw-dev 30e1c52ab0 Remove extraneous DOM manipulation from the sequenceSuccess function 2017-12-21 00:17:19 -05:00
mmcw-dev fdc43fdc37 Get state after finishing sequence, to update UI 2017-12-21 00:15:55 -05:00
mmcw-dev 9e13e0fb96 Log state to see why there are false positives 2017-12-21 00:03:32 -05:00
mmcw-dev 782bf04714 Start and stop worked in web lib, but GUI didn't. This is a fix that shuts off the "sequence" button when sequence is stopped. 2017-12-20 23:59:36 -05:00
mmcw-dev 2545df2c38 Add events to the html and respective libraries, web, mobile and core 2017-12-20 23:49:51 -05:00
mmcw-dev e880e44a5c Control sequence with GUIs 2017-12-20 23:47:37 -05:00
mmcwilliams 22d497b464 BLE features are working, minus the wifi feature. Good work today. 2017-12-13 18:40:14 -05:00
mmcwilliams e5207a8474 App supports controlling intval with bluetooth 2017-12-13 17:52:25 -05:00
mmcwilliams 37326534ed Accidentally broke web while testing, add back. 2017-11-23 08:59:49 -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 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 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 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 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 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
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 31ee3e1ca1 Update app to not use text blobs 2017-11-21 13:50:13 -05:00
mmcw-dev d841f29006 Restore state gracefully. 2017-10-24 09:56:59 -04:00
mmcw-dev 621464973a Reduce padding top from 20px to 5px 2017-10-23 20:54:03 -04:00
mmcw-dev 39e89b4b33 setCounter not defined. 2017-10-23 20:44:35 -04:00
mmcw-dev 2ea975e480 counter not count. 2017-10-23 20:43:16 -04:00
mmcw-dev 05da1f280f Add setCounter feature. 2017-10-23 20:41:28 -04:00
mmcw-dev b307567a51 Persist device state with node-persist. This allows multiple controllers to share state, and for device to maintain settings between shutdowns. 2017-10-23 12:58:37 -04:00
mmcw-dev d0e1026c7a Don't set expsure to null. 2017-10-23 01:24:22 -04:00
mmcw-dev 0fcd6d0970 use setExposureScale to properly calculate time after autoscaling. 2017-10-23 01:20:20 -04:00
mmcw-dev 6801f30881 Change order again to prevent bad scaling. 2017-10-23 01:17:05 -04:00
mmcw-dev 4e819c84f9 Was accidentally writing object to number input. Was failing. Now writing the STATE.exposure integer and then changing the scale. 2017-10-23 01:13:31 -04:00
mmcw-dev 1689fb510f Events were being triggered in wrong order. 2017-10-23 01:11:46 -04:00
mmcw-dev 7ca9ade4ea Autoscale exposure on getState 2017-10-23 01:08:18 -04:00
mmcw-dev 24c5331cf2 Simplify shutter() logic. 2017-10-23 00:33:02 -04:00
mmcw-dev c508c6e693 Caught nagging bug, will calculate timing if default time is set. 2017-10-23 00:30:08 -04:00
mmcw-dev 29800a7b45 What a fatheaded typo. Was checking if exposure was in response, not if it is < BOLEX.expected 2017-10-23 00:26:53 -04:00
mmcw-dev 3bf6939549 Log exposure being set from state 2017-10-23 00:22:27 -04:00
mmcw-dev 325f2bbf84 ScaleAuto, not autoScale 2017-10-23 00:19:48 -04:00
mmcw-dev 796d1604f0 Set exposure and autoscale when restoring state 2017-10-23 00:17:02 -04:00
mmcw-dev 6368ece015 Set exposure, scale and parse time at different scales. 2017-10-23 00:03:12 -04:00
mmcw-dev 4a32fe3d60 Use 0 as default exposure in app. 2017-10-22 20:04:12 -04:00
mmcw-dev c92e4ec3d3 Need to parseInt of counter value to increment properly 2017-10-22 20:01:43 -04:00
mmcw-dev a9e13ac2a6 Restore device state in app, set counter in webapp, 2017-10-22 19:59:38 -04:00
mmcw-dev 253c8c2a54 Get state at startup (to maintain state on the device and report to the client on reload). Also, settings UI in place, need mscript UI as well. 2017-10-22 15:35:56 -04:00
mmcw-dev 99a5cbfc26 Data, not body, you dolt. 2017-10-21 22:53:35 -04:00
mmcw-dev d7a64c07f9 Try without charset 2017-10-21 22:50:56 -04:00
mmcw-dev 7e057bc924 Need to declare content type for app to recognize body as JSON 2017-10-21 22:47:12 -04:00
mmcw-dev d2d5458a70 use dataType json for ajax posts 2017-10-21 22:44:01 -04:00
mmcw-dev a8b62ea392 Styles for setDir ready to test on device. 2017-10-21 22:41:58 -04:00