Connor Rigby
5713d7bd60
Fix network supervisor to start epmd and distribution
2019-09-13 16:03:18 -07:00
Connor Rigby
98779ea000
Update sys_calls to return a string on error.
2019-09-13 16:03:18 -07:00
Connor Rigby
dc06987553
Update config entries to start tty_detector
2019-09-13 16:03:18 -07:00
Connor Rigby
4c611d3faa
Format farmbot_ext/mix.exs
2019-09-13 16:03:18 -07:00
Connor Rigby
392dd66c91
Update configurator router and network manager
2019-09-13 16:03:18 -07:00
Connor Rigby
966ad22f3e
Update networking/configurator deps
2019-09-13 16:03:18 -07:00
Connor Rigby
96b0c37a2b
Delete old pin_binding code
2019-09-13 16:03:18 -07:00
Connor Rigby
a228805caa
Update AMQP to 1.1.1
2019-09-13 16:03:18 -07:00
Connor Rigby
0689214e51
Remove firmware stuff from rebase
2019-09-13 16:03:18 -07:00
Connor Rigby
233b487ca2
Fix compiler warning in host configurator
2019-09-13 16:03:18 -07:00
Connor Rigby
4af6a098c5
Fix compiler warning
2019-09-13 16:03:17 -07:00
connor rigby
0a9c664d17
Update farmbot-arduino-firmware submodule to be built in
...
farmbot_firmware app
2019-09-13 16:03:17 -07:00
connor rigby
58e382268a
Remove firmware submodule
2019-09-13 16:03:17 -07:00
connor rigby
59c17cab4e
Update deps
2019-09-13 16:03:17 -07:00
Connor Rigby
4b4de1c2c4
quiet down tty detector
2019-09-13 16:03:17 -07:00
Connor Rigby
b3d4930dee
Update tzdata
2019-09-13 16:03:17 -07:00
Rick Carlino
8aeac940f6
Test case: Missing paramters and falling back to defaults- FE=>Regimen=>Sequence
2019-09-13 16:03:17 -07:00
Rick Carlino
fd2ab792dd
Test case: Sequence using default value when regimen does not provide value
2019-09-13 16:03:17 -07:00
Rick Carlino
b4c05d13e0
Test case: passing default value in a sequence
2019-09-13 16:03:17 -07:00
connor rigby
eaa4839405
Pass variables from FarmEvent -> Regimen -> Sequence
2019-09-13 16:03:17 -07:00
Rick Carlino
016ea36f34
🎉 FarmEvent variables ✔️
2019-09-13 16:03:17 -07:00
Rick Carlino
399ddf50c8
PersistentRegimen => RegimenInstance
2019-09-13 16:03:17 -07:00
Rick Carlino
295cb45d49
Transport => Channel
2019-09-13 16:03:17 -07:00
Rick Carlino
62173829e9
AutoSyncTransport => AutoSyncChannel
2019-09-13 16:03:17 -07:00
Rick Carlino
bca13f600b
LogTransport => LogChannel
2019-09-13 16:03:17 -07:00
connor rigby
d842c3a123
🎉 Implement Variables in Regimen
2019-09-13 16:03:17 -07:00
Rick Carlino
18731e295d
Add `body` attribute to Regimen asset
2019-09-13 16:03:17 -07:00
Connor Rigby
e80780aeb8
Remove EnigmaWorker in favor of db context hooks
...
* Add firmware_hardware setter on bot_state
* move firmware side effects to farmbot_core
* move firmware estop timer to farmbot_core
* change enigmas to be soft delete
2019-09-13 16:03:17 -07:00
Rick Carlino
673d8a834c
Add docs to modules that were missing them
2019-09-13 16:03:17 -07:00
Connor Rigby
0a55aa4cc3
Fix host only race condition causing token to delete itself
2019-09-13 16:03:17 -07:00
Connor Rigby
13ae06cf17
Backport elixir 1.8 + elixir_make 0.5 hacks from `staging`
2019-09-13 16:03:17 -07:00
connor rigby
16c9f8d62f
Fix test env config.exs
2019-09-13 16:03:17 -07:00
Connor Rigby
d4245cf2df
Fix/update dirty worker
2019-09-13 16:03:17 -07:00
Connor Rigby
b7f4ebba57
Fixes for bootstrapping firmware.
...
* TTYDetector no longer causes side effects
* add new RPC for `flash_firmware` that takes a `package` arg
2019-09-13 16:03:17 -07:00
Rick Carlino
aa9ad9523a
Update EnigmaWorker to not die causing supervisor restarts.
...
* Tests for enigma cleanup
2019-09-13 16:03:17 -07:00
Rick Carlino
0b5df60f67
Implement and test Enigmas for firmware_missing
...
* Test for create_or_update_enigma!() and clear_enigma()
2019-09-13 16:03:17 -07:00
Connor Rigby
2df816873f
Implement closing/reopening of Transports in farmbot_firmware
2019-09-13 16:03:16 -07:00
Rick Carlino
17d24bdc0e
Begin impl of firmware flasher RPC, add `clear_enigma` helper
2019-09-13 16:03:16 -07:00
Rick Carlino
3bc84a3d3e
Add `flash_firmware` to Celery compiler.
2019-09-13 16:03:16 -07:00
Connor Rigby
d2c5a1a72b
Add enigma_worker config to farmbot_ext and frambot_os
2019-09-13 16:03:16 -07:00
Connor Rigby
ee7c20c7fa
Expand enigma_worker_test to include lifecycle events
2019-09-13 16:03:16 -07:00
Rick Carlino
cfa86293a4
Refactor fbos_config_worker_test to be less prone to races
2019-09-13 16:03:16 -07:00
Rick Carlino
af7b9e3359
Add seeds, Add FarmbotFirmware back to core
2019-09-13 16:03:16 -07:00
Connor Rigby
981dee6fef
Update enigma schema to match other asset schema
...
This is because we need to hook the Enigma AssetWorker up to the
existing AssetWorker system. It expects some keys to exist including
`updated_at` and `created_at`
2019-09-13 16:03:16 -07:00
Connor Rigby
b9ff313750
Fix and expand enigma state tracking tests
2019-09-13 16:03:16 -07:00
Rick Carlino
b15a9a0129
Tests for BotState and BotStateNG WRT Enigma resources.
2019-09-13 16:03:16 -07:00
Rick Carlino
acf4de0671
Add enigmas table / private asset
2019-09-13 16:03:16 -07:00
Connor Rigby
b25f8526bc
Small doc update to bot_state_ng
2019-09-13 16:03:16 -07:00
Connor Rigby
092985cfc2
Rename `farmware_manifest_version`
2019-09-13 16:03:16 -07:00
connor rigby
2124c19fcd
Change how FarmwareManifests are built
2019-09-13 16:03:16 -07:00