Rick Carlino
881585f254
Remove unusued alias
2020-05-16 10:27:33 -05:00
Rick Carlino
aecb77b48a
Minor formatting issues.
2020-05-16 09:11:49 -05:00
Rick Carlino
02f16082b9
Begin debugging `clean_params`
2020-05-15 20:11:37 -05:00
Rick Carlino
229aa645c9
v10.0.0-rc18
2020-05-11 13:44:50 -05:00
Rick Carlino
6ffbbe93d5
🎉 It works!
2020-05-11 13:37:29 -05:00
Rick Carlino
285fb1a491
Still debugging update_resource issues
2020-05-11 09:40:35 -05:00
Rick Carlino
b820a40ac4
BUG FIX: Now possible to call MARK AS twice in the same sequence
2020-05-08 11:07:01 -05:00
Rick Carlino
bfb4f21f54
v9.2.2-rc20
2020-04-13 11:48:40 -05:00
Rick Carlino
626fb4e5a4
Perform reset AFTER flash, not before.
2020-04-12 16:07:13 -05:00
Rick Carlino
680f208e97
Inline an unused fn
2020-04-01 12:40:13 -05:00
Rick Carlino
f11e8fbc4b
v9.2.0-rc2
2020-02-29 13:58:49 -06:00
Rick Carlino
afec9d13bd
Change name of syscall to find_points_via_group
2020-02-28 16:30:02 -06:00
Rick Carlino
e06a53040f
Revert changes to asset.ex
2020-02-28 15:08:26 -06:00
Rick Carlino
5bab149008
Remove unused vars
2020-02-27 15:06:35 -06:00
Rick Carlino
22818d6c8f
Possibly ready for QA?
2020-02-27 15:00:35 -06:00
Rick Carlino
f0b0ff10b0
Remove diag dumps
2020-02-04 14:11:17 -06:00
connor rigby
2d52743068
Add check for farmware installation before execution
2019-12-16 08:35:58 -08:00
connor rigby
381be026d6
Update nerves_hub_client to check for hour before applying ota
2019-11-14 10:36:49 -08:00
Connor Rigby
c82619e470
Add referential integrity checker for point_groups
...
This will cause point_group updates to reindex any
running processes using those assets
2019-10-22 14:19:32 -07:00
Connor Rigby
2867fcce2a
Implement some storting algos for points and point_groups
2019-10-22 14:19:32 -07:00
connor rigby
f843f097d9
Update `all_points` loop node to ignore soft deleted points
2019-10-22 14:19:32 -07:00
Connor Rigby
1ff2a7d153
Implement `every_point` and `point_group` Celery nodes
2019-10-22 14:19:32 -07:00
Connor Rigby
96574f2033
Implement `resource_update` celery node
2019-09-24 12:47:08 -07:00
Connor Rigby
fcadeebe6e
Add `update_farmware` rpc back
2019-09-13 16:03:31 -07:00
Connor Rigby
cf433f62bc
Add aliased module for FirstPartyFarmware
2019-09-13 16:03:31 -07:00
connor rigby
df39a7c289
Make sure FarmwareEnv is updated in the API after an update
2019-09-13 16:03:31 -07:00
Connor Rigby
cdcfa62011
Add validations to PublicKey changeset
2019-09-13 16:03:30 -07:00
Connor Rigby
a6f365b4c0
Implement public_key worker
2019-09-13 16:03:30 -07:00
Connor Rigby
c35b81decb
Add new table public_keys
...
This will be to load new ssh keys onto a device to allow
remote console for debugging over a network
2019-09-13 16:03:30 -07:00
Connor Rigby
84901ea28d
Fix farm_event regimens not updating with changes
2019-09-13 16:03:28 -07:00
Connor Rigby
5d54795d11
Fix updating a regimen remotely not updating locally
...
If a user updated a regimen (started or not by a FarmEvent) it would
take two changes to actually dispatch the change since Regimens
update their own `updated_at` without `put`ing it to the API
2019-09-13 16:03:26 -07:00
Connor Rigby
a160d6a41b
Fix factory_resetting the arduino-firmware
...
* Adds `api_migrated` field to FirmwareConfig
* Changes `factory_reset()` syscall to be `factory_reset(package)`
2019-09-13 16:03:25 -07:00
Connor Rigby
60b075cf88
Normalize asset commans
...
Many clauses were not getting hit depending on if
`update/3` was called with a Module or a "String".
This normalizes everything early.
2019-09-13 16:03:23 -07:00
Connor Rigby
d02194f822
Restart downstream deps on asset updates
...
* update Sequence, restart FarmEvent, RegimenInstance
* update Regimen, restart RegimenInstance
2019-09-13 16:03:23 -07:00
Connor Rigby
e6b29ea559
Refactor CeleryScript execution
...
* FarmEvents now schedule all events up front
* Executions are stored in the database
* Regimens now schedule all items up front
* Executions are stored in the database
* fix Deleting a FarmEvent with a running RegimenInstance
* `execute`int and `schedule`ing a CeleryScript are not separate things
* Everywhere `scheduling` and `executing` CeleryScript updated to use
the new API
2019-09-13 16:03:23 -07:00
Connor Rigby
f1eb3fc49d
Begin implementing new farmevent worker
2019-09-13 16:03:23 -07:00
Connor Rigby
c7f509d7a3
Lookup pins before read_pin
...
This will create sensor_values even if `NamedPin`
is not used
2019-09-13 16:03:22 -07:00
Connor Rigby
890aac46db
Add asset commands for syncing SensorValues
...
* New Asset.Command for SensorValue
* new/update/delete for SensorValue
2019-09-13 16:03:22 -07:00
Connor Rigby
fc9f31cfa8
Update Asset commands for Sensors
2019-09-13 16:03:22 -07:00
Connor Rigby
946e4e07da
More fixes to Asset.Command
...
* Further argument reordering
* Get rid of over verbose Sequence lookups
* Add tests for `Asset.Command`
2019-09-13 16:03:22 -07:00
Connor Rigby
1483a3881f
Cleanup farmbot_ext auto_sync_channel
...
Also add some documentation for stubable
modules Query and Command
2019-09-13 16:03:21 -07:00
Rick Carlino
4248c93962
Add mox and excoveralls
...
* and tests for AutoSyncChannel
* add tests for auto sync preloader
2019-09-13 16:03:20 -07:00
Connor Rigby
f893611dd0
Consolidate NervesHub logic and implementation
2019-09-13 16:03:20 -07:00
Connor Rigby
80b57917f9
Fix _if using named_pin
2019-09-13 16:03:19 -07:00
Connor Rigby
4f74887990
Implement get_toolslot syscall and fix parameter typos
2019-09-13 16:03:19 -07:00
Connor Rigby
df4cb27945
Fix asset module returning `:ok` instead of the updated asset
2019-09-13 16:03:19 -07:00
Connor Rigby
33c0046fff
Update auto_sync_channel to cast updates to respective workers
2019-09-13 16:03:18 -07:00
Rick Carlino
399ddf50c8
PersistentRegimen => RegimenInstance
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
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