Rick Carlino
4b719c15e4
Add more tests, remove unreachable code
2018-02-25 09:06:47 -06:00
Rick Carlino
68d3ac6113
✔️
2018-02-23 15:03:53 -06:00
Rick Carlino
93514b56b4
Fix blinky peripheral tests. NEXT: Sensors
2018-02-23 14:53:53 -06:00
Rick Carlino
5ef02e186f
Specs for Sensor mutations
2018-02-19 08:59:11 -06:00
Rick Carlino
fa3bd1e22f
Better `mode` validation errors + tests
2018-02-19 08:26:24 -06:00
Rick Carlino
eb23987c38
✔️ Remove SequenceDependency table from application
2018-02-12 08:47:46 -06:00
Rick Carlino
d691119542
Fix failures in spec/mutations/sequences/delete_spec.rb
2018-02-11 14:48:11 -06:00
Rick Carlino
7b4d211ec8
[V. UNSTABLE] WIP removing SequenceDependency table.
2018-02-11 12:48:19 -06:00
Rick Carlino
e1dac95356
Tests for CSHeap and HeapAddress
2018-02-09 11:29:11 -06:00
Rick Carlino
73a2d1b735
Re-implement comment fields on sequence steps
2018-02-09 08:26:12 -06:00
Rick Carlino
b46a1deeba
Update documentation
2018-02-09 07:33:20 -06:00
Rick Carlino
c4d12e681b
first_pass_spec is good
2018-02-08 18:11:10 -06:00
Rick Carlino
f4a909f1a5
Remove irrelevant tests
2018-02-08 16:56:18 -06:00
Rick Carlino
5a83caf401
Add centipede sequence
2018-02-08 10:58:53 -06:00
Rick Carlino
5132a52d2e
Add test to identify `body` linkage bug.
2018-02-08 07:52:23 -06:00
Rick Carlino
66127fc685
tests for next, parent, bod attrs.
2018-02-08 06:37:59 -06:00
Rick Carlino
0b148478fa
Clean out SecondPass
2018-02-07 10:27:57 -06:00
connor rigby
f195e2519a
Move CS Constants into CSHeap from Slicer.
2018-02-06 10:06:22 -08:00
Rick Carlino
285c0c2d01
Fix some bugs using `.reload` and `HashWithIndifferentAccess`.
2018-02-06 08:03:32 -06:00
Rick Carlino
69a0e2b614
[STABLE] Possible fis for body linkage issue.
2018-02-05 11:19:57 -06:00
Rick Carlino
c917953337
See logger in spec/mutations/flat_ir_stuff/fetch_celery_spec.rb
2018-02-05 10:26:08 -06:00
Rick Carlino
f2167735c3
[UNSTABLE] SecondPass#attach_body_parent_and_next_node is most likely cause. Need to reimplement
2018-02-05 08:56:36 -06:00
Rick Carlino
722649abeb
WIP
2018-02-05 08:11:58 -06:00
Rick Carlino
821b2ba885
Some `next` nodes have a `parent_arg_name`, but they shouldnt
2018-02-04 11:57:57 -06:00
Rick Carlino
ea8283ca8b
Fix arg resolution. `next_element.parent_arg_name == "next_body_item"`. WHY?
2018-02-03 10:05:02 -06:00
Rick Carlino
1ba3e16034
[UNSTABLE] - ? Start from scratch. Too many changes
2018-02-02 14:16:42 -06:00
Rick Carlino
bbbb583c73
[UNSTABLE] - Update FetchCelery to use next_id (not child_id)
2018-02-02 14:08:42 -06:00
Rick Carlino
08bd406c03
[UNSTABLE] - Update FetchCelery spec to fail (as expected)
2018-02-02 13:27:28 -06:00
Rick Carlino
a97163d6d4
[UNSTABLE] - SecondPass appears to work. NEXT: FetchCelery
2018-02-02 11:50:52 -06:00
Rick Carlino
fab5008ba0
[UNSTABLE] - First round of fixes for `SecondPass`.
2018-02-02 11:33:52 -06:00
Rick Carlino
8b54ed7c61
[UNSTABLE] - `Slicer` and `FirstPass` good; NEXT: `SecondPass`
2018-02-02 10:35:51 -06:00
Rick Carlino
897555e615
[UNSTABLE] - Investigate `Slicer` class as possible cause.
2018-02-02 07:26:32 -06:00
Rick Carlino
91aaf2adc2
[UNSTABLE] - Body nodes are not correctly formed.
2018-02-01 12:13:24 -06:00
Rick Carlino
7f4ef8eb5e
[UNSTABLE]
2018-02-01 12:09:25 -06:00
Rick Carlino
473696118c
[STABLE] Seems to be migrating. Further QA required
2018-02-01 10:14:58 -06:00
Rick Carlino
6eb79fa488
Change file/module names to conform to Rails standards
2018-02-01 08:28:08 -06:00
Rick Carlino
dd3d68afc9
[STABLE-ish] Update docs and some edge cases
2018-01-31 15:04:46 -06:00
Rick Carlino
ade5b59c28
[WIP] re-serialization almost works, needs tweaks
2018-01-31 10:07:51 -06:00
Rick Carlino
8d41088853
[STABLE] Remove extraneous save() calls. More tests
2018-01-30 14:20:04 -06:00
Rick Carlino
2babda6f58
[STABLE-ish] ActiveRecord did not like recursive relations.
2018-01-30 13:51:31 -06:00
Rick Carlino
263e6762ef
[UNSTABLE] Parent/Child linkage is not right :thinking_face:
2018-01-30 12:16:22 -06:00
Rick Carlino
3ccc872a8b
[UNSTABLE] Add helpers, begin testing of `SecondPass`.
2018-01-30 09:17:49 -06:00
Rick Carlino
82a702e5da
[UNSTABLE] Add helpers, begin testing of `SecondPass`.
2018-01-30 09:14:02 -06:00
Rick Carlino
f95ac71234
[UNSTABLE] Add tests for FirstPass
2018-01-30 08:53:19 -06:00
Rick Carlino
b296a8b67a
WIP- need to deploy app
2018-01-29 15:22:17 -06:00
Rick Carlino
22dd403fe2
Base implentation for `FetchCelery.run!`. FirstPass and SecondPass need tests
2018-01-29 14:13:48 -06:00
Rick Carlino
e510568563
WIP
2018-01-29 13:48:05 -06:00
Rick Carlino
e5469a8af2
Move upgrade path calculation into its own class
2018-01-14 08:01:37 -06:00
Rick Carlino
a8edf3c7cc
Extra tests for FBOS conditional update URL
2017-12-10 11:29:21 -06:00
Rick Carlino
1bc9cf98e5
Add fbos_version as a param to token creation
2017-12-05 16:17:22 -06:00
Rick Carlino
44283e020c
Sequence tool updates ( #545 )
...
interim_email JWT claim due to FBOS v6 upgrade (temporary)
Stop users from removing tools from slots when in use
Stop users from deleting slots in use by tools in use by sequences
Remove inactive tools from sequence selection list in the editor.
2017-11-29 13:50:17 -06:00
Rick Carlino
518ffca00e
👏 Remove old sequence migrations
2017-11-22 21:15:35 -06:00
Rick Carlino
3c3f711a1d
BUG FIX: Dont send re-conf email if email is unchanged
2017-11-09 15:29:10 -06:00
Rick Carlino
413cbcff10
Remove webcam_url column
2017-10-31 13:59:11 -05:00
Rick Carlino
94f216a540
Upgrade to latest FactoryBot
2017-10-22 08:19:50 -05:00
Rick Carlino
80ab11dbe6
Better handling of legacy tokens with email in `sub` claim
2017-10-16 07:12:46 -05:00
Rick Carlino
84d21cd160
Upgrade skylight agent, add tests for Auth::CreateTokenFromCredentials
2017-10-09 10:17:14 -05:00
Rick Carlino
e12a0b361c
Ability to update `last_saw_mq`
2017-10-03 10:23:02 -05:00
Rick Carlino
a3c1134724
Moar hound fixes, I guess.
2017-09-25 10:04:12 -05:00
Rick Carlino
bf27cd8d0e
Hound started working again?
2017-09-25 09:56:54 -05:00
Rick Carlino
5aed94718d
Remove fw_update_server; add tests for new JWT stuff
2017-09-25 09:39:01 -05:00
Rick Carlino
3c6b87790d
Validate start_time and end_time of farm events on the server side
2017-08-18 08:21:08 -05:00
gabrielburnworth
717ec518b1
add farm event download grace period tests
2017-08-08 12:21:24 -07:00
gabrielburnworth
fefe430ac7
add start_time-related calendar tests
2017-08-04 16:43:37 -07:00
Rick Carlino
793df48049
Refactor GenerateCalendar
2017-07-31 12:14:01 -05:00
Rick Carlino
f1263b1b03
Refactored calendar calculator.
2017-07-31 10:26:27 -05:00
Rick Carlino
6adf2377b5
Validates pin number, event start time
2017-06-13 15:38:45 -05:00
Rick Carlino
e0ef3badea
CreateTokenFromCredentials test
2017-06-06 09:36:38 -05:00
Rick Carlino
774ef986db
Looks like `never` FarmEvents work. Deploying first draft.
2017-05-26 15:10:04 -05:00
Rick Carlino
2456ab4707
Reimplement one off events now that things are stable
2017-05-26 14:32:34 -05:00
Rick Carlino
9296f019cc
undo EmailNotification idea.
2017-05-24 14:47:01 -05:00
Rick Carlino
6cc5522664
Stub model test
2017-05-24 14:02:49 -05:00
Rick Carlino
10c32ffcf3
Deprecated migrations
2017-05-24 13:58:06 -05:00
Rick Carlino
44fe8937a5
Deprecated migrations
2017-05-24 13:57:42 -05:00
Rick Carlino
80242de7f4
Remove legacy columns / tables
2017-05-01 15:17:25 -05:00
Rick Carlino
07745950ac
Test for BACKWARDS_END_TIME bugs
2017-04-19 15:24:32 -05:00
Rick Carlino
f1f3a39f6d
Possible fix for empty calendar. Need to write test for backwards start/end times
2017-04-19 15:16:21 -05:00
Rick Carlino
3e3e63f61d
First draft of calendar generation via `montrose` gem
2017-04-19 10:50:36 -05:00
Rick Carlino
4a7740fb1c
Fix failing calendar generator tests
2017-04-17 09:58:13 -05:00
Rick Carlino
ec63dd5be2
Modify tests / ImageController to support non-GCS users (self hosted)
2017-04-14 08:30:24 -05:00
Rick Carlino
980709c242
Doing another staging deploy to test things out
2017-04-10 15:58:28 -05:00
Rick Carlino
35a0f02910
API level log filtering
2017-04-08 00:34:45 -05:00
Rick Carlino
f08d361512
Failing test demonstrating calendar bug
2017-04-07 14:54:51 -05:00
Rick Carlino
65598199cc
Guard against SQL exceptions when users try to update email to one thats in use.
2017-04-07 08:47:07 -05:00
Rick Carlino
383e6c9586
Fix syntax error in seq/reg deletion
2017-04-04 13:55:19 -05:00
Rick Carlino
b979f5b321
Fix failing tests
2017-04-04 11:21:31 -05:00
gabrielburnworth
d59a181d00
fix invalid pin mode message
2017-03-14 21:08:26 -07:00
Rick Carlino
bcc66bd631
Unbreak the build (sorry)
2017-03-08 14:17:03 -06:00
Rick Carlino
d85bf62a86
Remove warnings from test suite
2017-03-08 08:41:51 -06:00
Rick Carlino
1f15f389e5
Prevent deletion of slotted tools
2017-03-08 08:20:11 -06:00
Rick Carlino
bb58c963d9
Fix calendar generation
2017-03-01 10:58:34 -06:00
Rick Carlino
73422c7873
Remove ice_cube
2017-02-28 16:28:54 -06:00
Rick Carlino
19e2967f74
Upgrade ice_cube
2017-02-24 14:35:23 -06:00
Rick Carlino
4905a23cae
FIxed the freezing issue, but .first(100) is not correct.
2017-02-24 08:43:56 -06:00
Rick Carlino
83511480cc
Remove old code / dead code from /farm_events. Fix failing tests.
2017-02-06 16:39:23 -06:00
Rick Carlino
ddd8145cf8
Check consent if ENV["TOS_URL"] is set
2017-01-30 15:20:01 -06:00
Rick Carlino
96ea9d1da1
Fix bug where missing version numbers caused unintentional migrations.
2017-01-26 08:23:45 -06:00
Rick Carlino
a6209b2740
[STABLE] Getting closer to isolating the source of the CeleryScript bug
2017-01-25 15:41:02 -06:00
Rick Carlino
a73de15825
Fix the build
2017-01-24 06:43:06 -06:00
Rick Carlino
c97f47408d
[STABLE] Stub out FarmEvent tests until the upgrade.
2017-01-19 13:28:52 -06:00
Rick Carlino
f790a6b0c5
Opps add uglifyjs to FE.
2017-01-19 11:04:03 -06:00
Rick Carlino
690061e666
[STABLE] Done with migrations, tests passing
2017-01-05 16:04:15 -06:00
Rick Carlino
074cec8676
[STABLE] Looks like if_statements are done?
2016-12-20 18:29:23 -06:00
Rick Carlino
7ad65d4095
[STABLE] All tests passing! 🎉
2016-12-20 09:16:59 -06:00
Rick Carlino
c704f03567
[UNSTABLE] More fixes for failing tests after move_absolute changes
2016-12-20 08:11:41 -06:00
Rick Carlino
4cb4f03455
[UNSTABLE] Stopping here for now. Almost done migrating to new move_absolute structure.
2016-12-19 18:05:18 -06:00
Rick Carlino
388899e07e
[UNSTABLE] First changes to the corpus in prep for new logging features
2016-12-15 12:55:26 -06:00
Rick Carlino
523abaf9a1
Bug fix and tests for sequence migration plus @Chris FE changes
2016-12-14 17:23:28 -06:00
Rick Carlino
312d31e177
First pass at sequence migration. Running tests on staging now.
2016-12-14 16:52:49 -06:00
Rick Carlino
49277bda44
Base scaffolding for migrations.
2016-12-14 16:02:55 -06:00
Rick Carlino
606a5a8b57
Fix failing test
2016-11-23 12:28:11 -06:00
Rick Carlino
b7bdb042e9
Add channel to CeleryScript
2016-11-18 14:27:11 -06:00
Rick Carlino
350d7bd40f
Fix Travis build errors
2016-11-16 13:03:15 -06:00
Rick Carlino
473742fa3f
Factor down HOST and PORT constants. Add lets encrypt acme verification endpoint.
2016-11-16 10:03:19 -06:00
Rick Carlino
04ec6a428f
Fix `rake db:seed`
2016-11-15 15:40:17 -06:00
Rick Carlino
c80e90bc4e
Dont enforce dependencies if they are recursive.
2016-10-18 09:26:18 -05:00
Rick Carlino
de3dbe5527
Serialization of corpus for sharing with bot / client
2016-10-17 16:01:02 -05:00
Rick Carlino
461872ef87
Test more args
2016-10-17 14:48:50 -05:00
Rick Carlino
8aa433259b
Add custom validations for sub_sequence_id, pin_mode, lhs, and op
2016-10-17 14:37:55 -05:00
Rick Carlino
fca4e0364b
[STABLE] 96.74%: Prevent deletion of sequences that are still in use.
2016-10-14 16:57:54 -05:00
Rick Carlino
6a69db4f7b
Ensure sub_sequence_id is valid on sequence AST.
2016-10-14 14:08:30 -05:00
Rick Carlino
33f8d75eca
Move CS validators into mixin
2016-10-14 13:14:52 -05:00
Rick Carlino
bf66cba722
Move fixtures
2016-10-14 09:22:05 -05:00
Rick Carlino
64ff42cb56
Fix failing tree climber specs.
2016-10-14 08:58:22 -05:00
Rick Carlino
f0f3328b91
Custom validators work!!!
2016-10-13 17:03:46 -05:00
Rick Carlino
3de3e4f7ee
Save point
2016-10-13 15:44:32 -05:00
Rick Carlino
dc9520430e
[STABLE] better tests
2016-10-12 11:04:05 -05:00
Rick Carlino
9fce5432a3
Test recursiveness of AST traversal
2016-10-12 03:27:23 -05:00
Rick Carlino
c3e285c9bd
Working AstNode class
2016-10-12 02:36:39 -05:00
Rick Carlino
824c1ae18f
Remove UUID
2016-10-11 15:15:36 -05:00
Rick Carlino
68601e9c99
Fix null error with sequence.body[].comments
2016-10-11 12:50:09 -05:00
Rick Carlino
089dab3e87
Fix Sequences#create
2016-10-07 12:39:22 -05:00
Rick Carlino
dfc040b281
AST parser complete (for now)
2016-10-07 10:31:58 -05:00
Rick Carlino
9219fd9956
AST parser complete (for now)
2016-10-07 10:31:09 -05:00
Rick Carlino
8a47e40625
Implement integer variables
2016-10-07 10:24:11 -05:00
Rick Carlino
8d684f6137
Add tests / implementation for data_type AST node param
2016-10-07 10:01:26 -05:00
Rick Carlino
0600635b59
Rename AstValidator to AstSyntaxChecker since thats what it is.
2016-10-06 17:32:40 -05:00
Rick Carlino
bc82743b08
Syntax checker
2016-10-06 17:28:52 -05:00
Rick Carlino
6a32458972
First test for tree nodes
2016-10-06 16:28:22 -05:00
Rick Carlino
c168244789
WIP: Writing AstValidation service. Tests are half-finished.
2016-10-06 15:00:54 -05:00
Rick Carlino
b7e48c4c96
Fix broken controller test, auth based on device, not user
2016-10-06 14:02:25 -05:00
Rick Carlino
9ba91ccd37
Remove steps from application
2016-10-06 13:41:08 -05:00
Rick Carlino
270153611f
pin_write --> write_pin
2016-10-03 09:11:34 -05:00
Connor Rigby
1ea3d8d0f2
Test for jwt
2016-09-26 08:31:51 -07:00
Rick Carlino
d87d12e640
[UNSTABLE] Fix broken tests from adding StepParams table.
2016-09-20 10:10:52 -05:00
Rick Carlino
c324be9fd5
Change Device#update to deal with webcam_url
2016-09-14 21:16:03 -05:00
Connor Rigby
b1d3a7a6b0
Test for updating Sequences passes. 👍
2016-09-09 14:08:07 -07:00
Connor Rigby
bdc35fa6e9
Updating a Sequence appears to work. Will write test
2016-09-09 13:33:20 -07:00
Rick Carlino
2be1c1e865
Prevent deletion of sequence if a regimen requires it.
2016-09-06 14:31:20 -05:00
Connor Rigby
18482b4855
passback @RickCarlino
2016-09-06 11:59:30 -07:00