Commit Graph

393 Commits (jebba)

Author SHA1 Message Date
Connor Rigby 098a4f93bd
Update NervesHub `devices` endpoint
* This addresses the upcoming change to the NervesHub API
  * https://github.com/nerves-hub/nerves_hub_web/pull/499
* Update nerves_hub tests
2019-06-21 09:25:55 -07:00
Rick Carlino cc7402f9d6 Friendlier write_pin errors for CeleryScript(TM) invalidation. 2019-06-13 14:02:31 -05:00
Rick Carlino 4b8739c18e UNSTABLE: Factor down service runners. 2019-05-29 15:48:58 -05:00
Rick Carlino 2633643fb9 Remove unused file 2019-05-29 14:14:05 -05:00
Rick Carlino 5c854520d6 Possible fix 2019-05-29 11:55:27 -05:00
Rick Carlino 8b6c8fe004 (POSSIBLE NOISE) Re-enable resource worker for debugging. 2019-05-29 10:55:54 -05:00
Rick Carlino 19809e7388 Remove production logger 2019-04-18 18:58:04 -07:00
Rick Carlino 3681aeb33b Debug AMQP/connectivity issues 2019-04-17 15:42:50 -07:00
Rick Carlino 33d14bac2f Missing constants 2019-04-04 08:37:52 -05:00
Rick Carlino 40964cbc92 Legacy support removals, Part II 2019-03-11 19:35:53 -05:00
Rick Carlino 1b8b87b58b Legacy support removals, Part I 2019-03-11 17:54:39 -05:00
Rick Carlino 556f52a6f9 Test deploy; please ignore. 2019-03-08 12:15:26 -06:00
Rick Carlino 67c136db33 Possible refresh on deploy solution 2019-03-08 12:08:12 -06:00
Rick Carlino f60a56c894 Merge branch 'master' into global_messages 2019-03-08 09:38:14 -06:00
Rick Carlino cbeabeea2f NervesHub internal NPE hotfix 2019-03-08 08:21:47 -06:00
Rick Carlino f4100e32e5 Syntax cleanup 2019-03-07 13:01:16 -06:00
Rick Carlino 4a7d712696 Merge conflicts 2019-03-05 18:37:04 -06:00
Rick Carlino c5c5c0e53f Merge branch 'staging' into bug_fix_tues 2019-03-05 18:32:45 -06:00
Rick Carlino f091ad8c58 Tests for tag sanitizer 2019-03-05 17:21:50 -06:00
Rick Carlino 0f618b6977 Tags sanitizer CC: @connorRigby 2019-03-05 15:44:12 -06:00
Rick Carlino 4529b236be Test case that reproeduces Trello card #1943. 2019-03-05 13:45:16 -06:00
Rick Carlino 1e0e033caf Bug fix: CeleryScript errors were using non-human readable #inspect method instead of #name 2019-02-25 08:34:55 -06:00
Rick Carlino fe89ddb857 Add inline documentation to corpus 2019-02-22 11:37:39 -06:00
Rick Carlino 0e75ce9671 [STABLE] replace non-native enums 2019-02-21 16:51:04 -06:00
Rick Carlino f3c66adc15 [STABLE] Native enums work, begin replacing non-native enums 2019-02-21 16:39:21 -06:00
Rick Carlino 5664b877f8 Rename atom.value to atom.tag 2019-02-21 16:01:49 -06:00
Rick Carlino 9241c0a545 [STABLE] 🎉🎉 Ready to implement native enum types 2019-02-21 15:38:09 -06:00
Rick Carlino b1b6c6839d [UNSTABLE] Handle variable resolution in ASTNode class. 3 specs failing. 2019-02-21 15:09:49 -06:00
Rick Carlino acf9d2f396 [UNSTABLE] Clean up ASTNode#cross_check. NEXT: Get `enum` and friends working 2019-02-21 14:55:32 -06:00
Rick Carlino c360e1a0ea [UNSTABLE] Use duck typing for ASTLeaf/ASTNode checks. NEXT: Get `enum` and friends working 2019-02-21 14:27:35 -06:00
Rick Carlino 01b035b66a [UNSTABLE] Corpus-level `value` types work. NEXT: Get `enum` and friends working 2019-02-21 13:04:34 -06:00
Rick Carlino ba7525bbb7 [UNSTABLE] New corpus types implemented. NEXT: Update corpus validation logic. 2019-02-21 08:43:42 -06:00
Rick Carlino 3439ae6c9e VERY UNSTABLE. WIP 2019-02-20 17:13:23 -06:00
Rick Carlino 4176ba234b Merge `nightly` branch, remove duplicate `package` in corpus declaration 2019-02-20 10:36:41 -06:00
Rick Carlino b0df151ae9 Add `tags` option to definitions, corpus. NEXT: Investigate regimen issues noted. 2019-02-20 10:23:31 -06:00
Rick Carlino de6cdcdc8d Clean up legacy declaration issues. NEXT: Add `tags` option to definitions, corpus. 2019-02-20 08:40:13 -06:00
gabrielburnworth 2c80868f99 spellcheck 2019-02-19 18:10:08 -08:00
Rick Carlino 496e1501d4 Added `blk` option to initializer. NEXT: Add `tags` option to definitions, corpus. 2019-02-19 15:01:36 -06:00
Rick Carlino 71e4a1675a [STABLE] Use keyword args when defining corpus 2019-02-19 14:05:58 -06:00
Rick Carlino 1dc9cf0b62 Tidy corpus const declarations in preparation for tags addition. 2019-02-19 11:11:21 -06:00
Rick Carlino 3f2c02bd7d Corpus tracks values 2019-02-19 10:21:45 -06:00
Rick Carlino 3b7f9da9ae Corpus tracks enums 2019-02-19 10:02:10 -06:00
Rick Carlino 02775411a1 Change corpus key names/strucutre 2019-02-19 09:34:00 -06:00
Rick Carlino aba21f029e Begin adding enum/value types to corpus. 2019-02-19 09:13:09 -06:00
Rick Carlino 63bf7b08c7 Minor merge conflict in package.json while merging `staging` 2019-02-15 14:55:39 -06:00
Rick Carlino 287c411de8 Rake task pruning, add variable_declaration back 2019-02-15 14:52:08 -06:00
Rick Carlino 75c82d1dea WIP 2019-02-15 13:01:56 -06:00
Rick Carlino fff36ad73b Remove variable_declaration (for now) 2019-02-15 09:46:52 -06:00
Rick Carlino 52895adec5 Remove unreachable parameter validator (not needed) 2019-02-14 14:56:42 -06:00
Rick Carlino 04ae21ac73 Fix farm event create specs 2019-02-13 17:47:02 -06:00
Rick Carlino 86ce520cdd [FAILING] Remove `data_type`, add `default_value`. 2019-02-13 16:39:31 -06:00
Rick Carlino 0a37e4a65a Premptively set device.serial_number. Deprecate the `DeviceSerialNumber` table in favor of the column 2019-02-12 16:20:07 -06:00
Rick Carlino 6e36689b95 Less noisy MQTT/AMQP resource management 2019-02-08 18:14:44 -06:00
Rick Carlino 1cc7aa4d69 [STABLE] Dead code removal 2019-02-08 14:38:13 -06:00
Rick Carlino 2785563e21 [STABLE] Fix breakages. TODO: Continue hard/soft point limits 2019-02-08 14:20:40 -06:00
Rick Carlino e92b49d57d Friendlier messages for CS Arg pairing errors. 2019-01-20 12:44:41 -06:00
Rick Carlino 5e3017cc10 First draft of regimen level variables ✔️ 2019-01-10 11:45:26 -06:00
Rick Carlino f2704db2d8 Merge branch 'staging' of github.com:FarmBot/Farmbot-Web-App into friday 2019-01-08 09:29:07 -06:00
Rick Carlino 4248c8fe4a Resolve conflicts in strucutre.sql 2019-01-07 15:04:42 -06:00
Rick Carlino f57ac121c3 Minor changes (fixes `tag` related 500) 2019-01-03 16:48:57 -06:00
Rick Carlino e0efa1ee27 return rather than raise 2019-01-03 11:41:52 -06:00
Rick Carlino 14a28ae287 ✔️ 2019-01-02 14:46:10 -06:00
Rick Carlino 5686fbaf31 WIP: Strange serialization error? 2019-01-02 13:44:53 -06:00
Rick Carlino f1e1858623 Use eq() instead of be() in specs 2018-12-21 15:11:47 -06:00
Rick Carlino 02baafb222
Add fragment table + FarmEvent parameters. 2018-12-20 14:40:45 -06:00
Rick Carlino befbdc4f0a Finally fix the symbol vs. string issues in CeleryScript type checker 2018-12-07 09:33:33 -06:00
Rick Carlino d509d89db7 Remove in_use stuff from API 2018-11-17 11:07:45 -06:00
Rick Carlino 1e7c9c24c6 Ruby-side runtime error 2018-11-02 07:53:43 -05:00
Rick Carlino 3adbfc824f Use Redis as caching mechanism 2018-10-05 10:58:16 -05:00
Rick Carlino dbf065a095 One last dead code location 2018-10-04 19:54:13 -05:00
Rick Carlino 083a9fd020 More dead code. Add notes about RmqConfigWriter 2018-10-04 19:50:22 -05:00
Rick Carlino 83e5226218 Remove unreachable code (for now) 2018-10-04 19:40:50 -05:00
Rick Carlino 62b1e33758 Travis fix 2018-10-04 16:00:18 -05:00
Rick Carlino 23d5a3e7b7 ✔️ 2018-10-04 15:27:52 -05:00
Rick Carlino 7f23b68b3c ADMIN_PASSWORD related updates 2018-10-04 15:19:32 -05:00
Rick Carlino e7e61845ca ADMIN_PASSWORD related updates 2018-10-04 15:09:55 -05:00
Rick Carlino ef044af8b9 Clean up rabbitmq related configs. Needs manual VM QA ASAP TTYL 2018-10-04 10:57:54 -05:00
Rick Carlino b2c3bc1ff9 Shuffle files around better, remove more legacy references. Ready for one last QA round 2018-10-02 08:57:59 -05:00
Rick Carlino b27f52914f Tweak to Devise::Trackable 2018-09-28 10:35:12 -05:00
Connor Rigby 78837d5efd
Fix typos and update docs. 2018-09-27 12:14:37 -07:00
Rick Carlino 6cd8e50a15 Update tests for KeyGen 2018-09-27 11:13:37 -05:00
Rick Carlino 173deb15da Specs for DeviceCerts::Create 2018-09-26 15:18:14 -05:00
Rick Carlino 989d92c07f Add DeviceSerialNumber table 2018-09-26 11:53:49 -05:00
Rick Carlino 661def276a WIP 2018-09-26 11:08:50 -05:00
Rick Carlino 08738e70e7 WIP 2018-09-25 14:14:14 -05:00
Rick Carlino cf84348f4f Convert method calls to constants, remove empty parameter lists. 2018-09-25 09:24:04 -05:00
Rick Carlino 65d5603801 Remove unused changes 2018-09-24 14:48:13 -05:00
Connor Rigby a5bcec0bb1
Remove File IO from NervesHub module.
This prevents path traversal attacks probably
2018-09-24 12:24:19 -07:00
Connor Rigby e23512c16a
NervesHub Rabbit worker.
This stops http requests from blocking
2018-09-24 09:53:04 -07:00
Connor Rigby dff27ad8f2
Add temporary http endpoint 2018-09-20 13:28:29 -07:00
Connor Rigby f2b7054a16
Add NervesHub REST API implementation.
This is the all the code for the remote api calls
FarmBot API will need to make to NervesHub for
generating devices. No public access to this yet.
2018-09-20 12:53:21 -07:00
Rick Carlino 36b55ce1de Drop Dokku support 2018-08-23 15:03:10 -05:00
Rick Carlino 68e89d0d2d Drop Dokku support 2018-08-23 15:01:40 -05:00
Rick Carlino 303a3491f2
Variables phase II, part II (#958)
* re-enable type checker
* Update celery script `execute` node to accept nested variable declarations
* Disable test button on parameterized sequences
* Fix unnoticed NPE
* Add `deep-cover` for greater coverage accuracy
* Spec for bad variable assignment
* Fix tests to allow parameter_declarations
* Disale the X/Y/Z boxes for parameters
* [FAILING] Make the ::Checker context (device) aware.
* [STABLE] Better `point_id` leaf validation.
* Add Sequence.parameterized?(id) helper
* Disallow parameterized FEs/RIs on server side.
* Add tests for parameter prevention stuff
* Default movement_keep_active_* to `1`
* Enable encoders by default
* Clean up frontend de-parameterization logic in farmevent/regimen editors
* Update specs to reflect new defaults
* stop dangerous edits
* Tests for regimen updates
* Maybe fix blinky coverage issues?
* Test for getVariable()
* Tests for handleSelect
* <TileMoveAbsSelect/> tests
* Update FBOS version parser
* tests for executer in TileSendMessage
* Tests for catchErrors()
2018-08-15 09:50:21 -05:00
Rick Carlino 2caa1684d6
Variables phase II, part I (#954)
* re-enable type checker 4 realz
* Update celery script `execute` node to accept nested variable declarations
* Disable test button on parameterized sequences (for now)
* Fix unnoticed NPE
* Add `deep-cover` for greater coverage accuracy
* Spec for bad variable assignment
2018-08-09 18:31:22 -05:00
Rick Carlino 1e421f7e1d Cleanup 2018-08-02 10:07:28 -05:00
Rick Carlino 6117132e13 Batch creation done. Probably needs cleanup 2018-08-02 10:06:04 -05:00
Rick Carlino 6191dde789 Better handling of NOT_FOUND, more tests 2018-08-01 10:37:11 -05:00
Rick Carlino 99aeb625fc Write some specs 2018-07-31 14:48:53 -05:00
Rick Carlino edb1a65a7f Yay batch updates work! 🎉 2018-07-31 13:52:50 -05:00