Commit graph

94 commits

Author SHA1 Message Date
connor rigby d372c5d1d9 Update deps 2018-02-26 13:17:35 -08:00
connor rigby a8add14415 Move fallback code 2018-02-15 09:54:53 -08:00
connor rigby b6d8c77f93 Pull staging, fix merge conflicts 2018-02-15 07:57:39 -08:00
connor rigby 1ff4d61dd4 Merge branch 'staging' of github.com:Farmbot/farmbot_os into 6.3.0/staging_next 2018-02-15 07:52:36 -08:00
connor rigby dfb0afbd78 Finish up dl fw settings 2018-02-15 07:51:40 -08:00
connor rigby 1c3907a4c5 [WIP] Everything is broken 2018-02-15 07:51:40 -08:00
connor rigby 45a7ce57c4 Use api for fw storage. 2018-02-15 07:51:40 -08:00
connor rigby fe6563c488 Make sure to reset if settings fail to sync 2018-02-13 09:26:51 -08:00
connor rigby 1875a1bcb5 Add special setting to ignore settings updates. 2018-02-13 09:25:29 -08:00
Connor Rigby 144ea2daba More auth/ownership stuff 2018-02-09 08:28:09 -08:00
connor rigby c0dfab41b3 Heavily test settings syncing 2018-01-31 08:31:29 -08:00
connor rigby 8d938a0754 Fix skipped input log setting 2018-01-30 12:46:36 -08:00
connor rigby 00894d10a9 ✔️ 2018-01-30 12:37:11 -08:00
connor rigby 6f44797a64 Add log for updated settings. 2018-01-30 12:27:35 -08:00
connor rigby fe0a480e0a Make test moar bettar. nosleep 2018-01-30 10:19:24 -08:00
connor rigby 6de2fae14d Add global registry system, refresh token when internet is back up 2018-01-30 09:53:38 -08:00
Connor Rigby b68a28da47 Fix updating from amqp 2018-01-26 18:48:11 -08:00
connor rigby 724ded3e5c Merge staging 2018-01-25 08:21:03 -08:00
connor rigby 77b511c9c9 Move estop timer around so the timer starts on _every_ estop 2018-01-24 09:27:19 -08:00
connor rigby 8b23690cc4 Merge staging into feature/api_settings 2018-01-23 12:29:47 -08:00
connor rigby a1faf4a2ca Send E-Stop message if the bot has been locked for 10 minutes. 2018-01-23 12:16:48 -08:00
connor rigby be1d0150ef Write/Fix tests 2018-01-22 11:00:25 -08:00
connor rigby 168d90c6f9 Download/Upload settings from API.
* `config_update` for the os is depricated.
* Add new bootstrap task to download or upload settings.
* Factory reset will `delete` settings from the API. (Or at least try
too)
* Add `DELETE` and `PUT` methods to HTTP adapter.
* Download settings on `sync`
2018-01-22 10:12:43 -08:00
connor rigby 5bf711302d Allow flashing firmware from runtime. 2018-01-10 09:04:59 -08:00
connor rigby 084fce51a6 Don't raise if email is blank. Maybe secret migration? 2018-01-09 14:31:58 -08:00
connor rigby 3e845cdae8 Make sure api public_key path gets checked properly 2018-01-05 12:04:43 -08:00
connor rigby cea71b2305 Fix firmware command queuing. (needs log cleanup) 2018-01-02 11:32:11 -08:00
Connor Rigby 99fbfd4256 Squash ugly logs 2018-01-01 22:11:54 -08:00
Connor Rigby 85532cf946 Fix runaway open connections on token refresh 2017-12-28 21:23:31 -08:00
Connor Rigby 3a35ec345a Fix credo 2017-12-28 21:23:31 -08:00
Connor Rigby 74b6bcb292 Add log for bot being connected 2017-12-28 21:23:31 -08:00
Connor Rigby 44b9196e56 :eyeroll: 2017-12-28 21:23:31 -08:00
connor rigby f2f3a3f91a Cleanup authorization. 2017-12-19 13:44:48 -08:00
connor rigby de2dc45b4c Clean up auth_task 2017-12-19 12:30:13 -08:00
connor rigby d3b5d0dbac Cleanup bootstrap supervisor. 2017-12-19 11:41:24 -08:00
connor rigby dea2ada125 More configurator tweaks 2017-12-14 12:29:34 -08:00
connor rigby ba4a4f9969 Add mix project configs. 2017-12-13 09:59:50 -08:00
Connor Rigby 8792faeb65 Fix token refresh not resetting sync timer. 2017-12-12 09:52:31 -08:00
Connor Rigby e66bce633b Refresh token more often if disconnected 2017-12-11 19:15:02 -08:00
Connor Rigby 64f4b269a1 Make farmware install logs verbosity 2 2017-12-11 16:13:06 -08:00
Connor Rigby 16fc6ef17a Make auth task keep trying to refresh 2017-12-11 12:45:22 -08:00
Connor Rigby b89253e509 Use HTTPoison instead of 2017-12-10 10:24:50 -08:00
Connor Rigby 64b531ab0c Add version to bootstrap http client 2017-12-10 09:07:52 -08:00
Connor Rigby 3682a80ff7 Get rid of old/ugly logs 2017-12-07 17:47:15 -08:00
Connor Rigby 9773404a62 fix whitespace. 2017-12-07 12:36:42 -08:00
Connor Rigby 238d4a56f5 Add led debuggers, clean up stub fw impl, add default network configurator 2017-12-06 20:02:49 -08:00
Connor Rigby e0f246dcc6 Remove old db call 2017-11-29 20:26:33 -08:00
Connor Rigby 5dd6ed956a Move helpers into their own module, implement factory_reset option. 2017-11-29 20:26:33 -08:00
Connor Rigby cadeab70fe Migrate a v5 bot to v6. 2017-11-28 13:59:04 -08:00
connor rigby 31ea283015 amqp-mqtt swap now enabled 2017-11-27 13:48:07 -08:00