Commit Graph

272 Commits (jebba)

Author SHA1 Message Date
Rick Carlino 96be999c68 Shims for eventual `meta` field removal 2018-03-30 10:36:28 -05:00
Rick Carlino be7a9a6470 Move meta fields out of .meta for searchability 2018-03-30 09:39:09 -05:00
Rick Carlino ef3259f664 Token issuance table (DRAFT) 2018-03-28 16:28:21 -05:00
Rick Carlino 3bad3a29a1 Merge conflicts 2018-03-26 12:30:18 -05:00
Rick Carlino 6aa703ebec Remove SequenceDeps for good 👏 2018-03-26 11:13:57 -05:00
Rick Carlino f36ced499e Max speed <= 100 migration 2018-03-25 17:45:09 -05:00
Rick Carlino 6f76f7cf72 Make the default device name `Farmbot` 2018-03-25 17:11:17 -05:00
Rick Carlino 2b575f9914 Add `GlobalConfig` model 2018-03-23 14:29:41 -05:00
Rick Carlino 39f58ddfdc Change DB defaults 2018-03-15 16:15:10 -05:00
Rick Carlino 19a67056cf Change default of encoder_scaling_* 2018-03-10 16:20:41 -06:00
Rick Carlino fddd5683fb Move selectors into seperate files 2018-03-06 14:39:41 -06:00
Rick Carlino 661430298c Plant#plant_stage 2018-03-05 11:15:56 -06:00
Rick Carlino 189f8b291f Planted_at column 2018-03-01 16:39:45 -06:00
Rick Carlino 2316f9683e WIP 2018-03-01 16:24:29 -06:00
Rick Carlino 37a714f199 Begin pinbinding table work 2018-02-28 09:05:38 -06:00
Rick Carlino fd5aea8013 Add DeviceConfigs. NEXT: Tests, FE Integration 2018-02-27 13:15:02 -06:00
Rick Carlino 73bd6eece6 FarmwareInstallations#create 2018-02-26 11:20:38 -06:00
Rick Carlino bd2919e29a [UNSTABLE] Begin `sensor` resource implementation. 2018-02-17 11:43:46 -06:00
Rick Carlino 07398ffca1 it("sets the pin mode") 2018-02-16 15:16:33 -06:00
Rick Carlino abf8371aa5 Minor updates, fix CI 2018-02-15 17:28:36 -06:00
Rick Carlino aff7503eaa Add default to `mode` column (0) 2018-02-15 16:48:25 -06:00
Rick Carlino 34e74bf8f4 Add mode column back, add fbos_version to devices table + TS interfaces. 2018-02-15 15:43:08 -06:00
Rick Carlino 119689d8ef Create sensor_readings table / model 2018-02-15 11:26:31 -06:00
gabrielburnworth b55dc340d3 map photo filters 2018-02-15 02:51:38 -08:00
Rick Carlino a89b8fa87e Update read_peripheral block; Remove `mode` column. 2018-02-13 12:16:10 -06:00
gabrielburnworth 532aa38a59 add photos map legend toggle 2018-02-11 18:52:21 -08:00
Rick Carlino 3dadb77cc8
Introduce a "Flat IR" for sequence nodes (#655)
This is the first release of the Flat IR storage mechanism.
2018-02-11 13:33:46 -06:00
Rick Carlino 5d3bccbec8 Add api_migrated to firmware_configs table 2018-02-05 11:37:49 -06:00
gabrielburnworth 13c5cc1d8d read logs with speak channel aloud 2018-01-31 20:27:04 -08:00
Rick Carlino 6f1af5553c API: Move pullout_direction from `tools` to `tool_slot` 2018-01-24 15:18:45 -06:00
Rick Carlino 6a52c3c6b9 modify DB columns 2018-01-22 14:41:19 -06:00
Rick Carlino d97734dc8b New column on WebAppConfig table: show_first_party_farmware 2018-01-21 13:21:01 -06:00
Rick Carlino a4d07cf2ee Change names, remove names 2018-01-09 11:22:27 -06:00
Rick Carlino 9d41909632 Added weed_detector to WebAppConfigs table. 50% done converting `keyof`s 2018-01-09 01:24:59 -06:00
Rick Carlino d4357b778b Fix table name, add serializer, models 2018-01-05 15:13:19 -06:00
Rick Carlino 8ef545695c Update more configs 2018-01-05 14:44:11 -06:00
Rick Carlino f4fa0ec6f3 Moar defaults 2018-01-05 14:23:11 -06:00
Rick Carlino 85708414ba Lets do this in the DB Instead of in memory. 🤞 2018-01-05 13:51:45 -06:00
Rick Carlino 1d66978a0e Tests ready; Begin implementation 2018-01-04 16:16:16 -06:00
Rick Carlino 413cbcff10 Remove webcam_url column 2017-10-31 13:59:11 -05:00
Rick Carlino 60e6a916d2 Hmm... 2017-10-18 12:09:09 -05:00
Rick Carlino 04b78946c0 [UNSTABLE] Rename verification_token to confirmation_token; Add reconfirmable fields 2017-10-17 15:30:56 -05:00
Rick Carlino 40f8d69fc2 Merge conflicts 2017-10-03 10:04:14 -05:00
Rick Carlino 90f84058c6 [UNSTABLE] Add name column, add #index 2017-09-18 13:16:47 -05:00
Rick Carlino 065364a0ab Create webcam_feeds table 2017-08-18 11:52:40 -05:00
Rick Carlino c6776546a0 Migration compaction: Part I 2017-08-14 08:49:47 -05:00
Rick Carlino 916d200277 [UNSTABLE] First pass API implementation for `last_seen`. 2017-08-07 09:41:29 -05:00
Rick Carlino 3b9c8f33ab Limit string length on certain fields 2017-07-02 20:21:47 -05:00
Rick Carlino 17317e2465 API docs and default radius changes plus merging of feature_lock on FE 2017-06-29 13:45:36 -05:00
Rick Carlino 2ebf25dc69 🚀 2️⃣ ToolBay issue 2017-06-21 16:42:24 -05:00
Rick Carlino d714044d8d Add TZ column back to device table 😢 2017-06-14 16:43:25 -05:00
Rick Carlino d92ac6ac5b Add not null contraint to points.pointer_type and points.pointer_id 2017-06-05 12:08:48 -05:00
Rick Carlino 9dbc7f3223 Done? Needs tests. 2017-05-25 09:17:59 -05:00
Rick Carlino 55f64c8e11 Downgrade rspec to remove funny warning messages 2017-05-25 06:44:19 -05:00
Rick Carlino b4cb4cbfd2 Migration depreactions 2017-05-24 14:05:48 -05:00
Rick Carlino 44fe8937a5 Deprecated migrations 2017-05-24 13:57:42 -05:00
Rick Carlino 5798249045 Fix referential integrity checks on polymorphic points associations 2017-05-22 07:53:31 -05:00
Rick Carlino 01ab14f528 Update version on travis.yml 2017-05-18 13:31:18 -05:00
Rick Carlino 3b2a3cfdff Wrote migration to move sequence deps for tool slot to point. 2017-05-11 13:35:08 -05:00
Rick Carlino b67a707e1e Add fallbacks to columns with non-null constraints in migration 2017-05-09 10:42:05 -05:00
Rick Carlino 5bb1e7f035 Fix migration, seeds, factories 2017-05-09 09:20:30 -05:00
Rick Carlino 43132cf03f Add foreign key constraint to SeqDeps table. 2017-05-08 13:20:40 -05:00
Rick Carlino a863e979ee Non-null constraint for points.device_id 2017-05-08 12:00:53 -05:00
Rick Carlino 508a83b133 ==== 🎉!DONE!🎉 === 2017-05-05 16:36:29 -05:00
Rick Carlino 03d36e4c39 34 tests passing. 2017-05-03 18:22:56 -05:00
Rick Carlino 9a7afb22b9 New structure: `Device -> Point -> Pointer`. Remove useless columns 2017-05-03 15:21:01 -05:00
Rick Carlino 1e27604412 Add GenericPointer class, enforce presence of `pointer` on `point`. 2017-05-03 11:31:39 -05:00
Rick Carlino 4f05015d2e Tweaks to migrations 2017-05-03 10:33:27 -05:00
Rick Carlino 47dcf4975b Clean up migration to use polymorphic `pointer` field 2017-05-03 10:18:18 -05:00
Rick Carlino 50053647ef WIP 2017-05-02 21:19:35 -05:00
Rick Carlino 985de64d5f Huge migration to normalize points across three tables 2017-05-02 15:43:58 -05:00
Rick Carlino 80242de7f4 Remove legacy columns / tables 2017-05-01 15:17:25 -05:00
Rick Carlino d6c6ba246a Remove refs to broke legacy icon_url (natural-food.png), fix move_abs drop down, scale plants with radius of 50 to 25. 2017-03-11 19:45:09 -06:00
Rick Carlino a63cde7432 Possible fix for referential integrity issues in tool_slots table. 2017-03-09 07:50:45 -06:00
Rick Carlino 55f9dab459 Add timezone column to devices table 2017-03-08 17:15:01 -06:00
Rick Carlino 4a679f65b7 Add radius to plants, remove `#repeats` from farm_events 2017-02-13 09:33:39 -06:00
Rick Carlino 1f4db54e70 Wrote tests for Point#create 2017-02-07 10:03:24 -06:00
Rick Carlino c20aa2182d Add `agreed_to_terms` column to users table 2017-01-30 09:51:22 -06:00
Rick Carlino 7d3a11f1d2 Add timestamps to sequence table 2017-01-26 08:39:39 -06:00
Rick Carlino 83f1f283b9 Add plants#update endpoint, add docs 2017-01-24 08:59:34 -06:00
Rick Carlino a7477d1cff Migration hotfix 2017-01-19 11:26:47 -06:00
Rick Carlino 66b1323aff Migration hotfix 2017-01-19 11:21:17 -06:00
Rick Carlino c72003c5d9 Migration hotfix 2017-01-19 11:15:45 -06:00
Rick Carlino 4634812c89 Migration hotfix 2017-01-19 11:14:40 -06:00
Rick Carlino f790a6b0c5 Opps add uglifyjs to FE. 2017-01-19 11:04:03 -06:00
Rick Carlino 5235470980 Set max_attempts to 0 for image processor. Start adding MAX_IMAGES stuff. 2017-01-13 15:35:33 -06:00
Rick Carlino 399adb6427 Add missing database indexes. 2017-01-13 15:01:02 -06:00
Rick Carlino fa581c62b0 [STABLE] Add `meta` field to Images 2017-01-11 14:22:12 -06:00
Rick Carlino 57e86ecfef Write a test for image attachment method, disable DJ in test suite. 2017-01-11 10:07:34 -06:00
Rick Carlino 82a2841064 Add more fields, validations to image and start writing model tests. 2017-01-11 09:27:06 -06:00
Rick Carlino 93aeee43ec Add Image class and migrations and such 2017-01-10 22:31:05 -06:00
Rick Carlino a8bb242173 [UNSTABLE] Add verification_token 2016-12-07 14:47:57 -06:00
Rick Carlino 07d0ee8ff1 Add verified_at column 2016-12-07 14:01:26 -06:00
Rick Carlino 24734ae2c1 Whoops. 2016-12-07 09:48:20 -06:00
Rick Carlino 7463001c78 Flip tool <--> tool_slot relations 2016-12-06 15:52:58 -06:00
Rick Carlino 91ed65ec26 [UNSTABLE] Scaffold out most of the logs API endpoint 2016-12-06 12:58:46 -06:00
Rick Carlino 81a970481c [STABLE] Endpoints work again. 2016-12-05 17:54:36 -06:00
Rick Carlino 2e80097119 Fix erroneous migration 2016-12-05 09:17:51 -06:00
Rick Carlino 1d91f7f3de Fix failing user registration test 2016-12-01 14:19:00 -06:00
Rick Carlino 66e48770e0 Add Tool, ToolSlot and ToolBay models 2016-11-29 10:39:14 -06:00
Rick Carlino 94251cb5b5 Add sucker_punch as job worker 2016-11-28 13:45:42 -06:00
Rick Carlino 3dc5d520b6 Add peripheral.rb 2016-10-28 13:08:32 -05:00
Rick Carlino f79dd8e739 Added SequenceDependency model to database. NEXT: Improve parsing of AST nodes in preperation for static analysis. 2016-10-12 01:04:12 -05:00
Rick Carlino 384b73d0a1 Scaffold out the SequenceDep model 2016-10-11 17:24:42 -05:00
Rick Carlino 824c1ae18f Remove UUID 2016-10-11 15:15:36 -05:00
Rick Carlino e30cb914d2 Remove schedule_id from regimen_items 2016-10-10 10:09:40 -05:00
Rick Carlino e5317d9871 Add args, body, kind fields to Sequence 2016-10-06 14:35:24 -05:00
Rick Carlino 66ffafa827 Drop step and step_params table 2016-10-06 13:44:50 -05:00
Rick Carlino b46f0930d8 Remove useless "regimen" column from sequence table 2016-10-06 12:15:53 -05:00
Rick Carlino 44d188cfcc Remove 1-to-1 mapping between schedules and sequences 2016-10-06 12:01:19 -05:00
Rick Carlino 4894d9b514 Fix malformed migrations 2016-09-20 10:50:28 -05:00
Rick Carlino 29c67634e4 [UNSTABLE] Adding step_param migration and stuff. 2016-09-19 10:40:51 -05:00
Rick Carlino da1ed15769 Convert plants.planted_at to datetime, add better "unavailable" image for cams 2016-09-16 08:36:19 -05:00
Rick Carlino c46cca1ab3 Add webcam_url column 2016-09-14 16:14:12 -05:00
Rick Carlino 275c541c9f Numerous schema changes, bug fixes. 2016-09-05 14:36:53 -05:00
Rick Carlino 9ef0dc5715 Convert x/y to float, remove schedule_id from regimentItem, new gitignore entries, seeds.rb, remove mongoid serializer hacks. 2016-09-05 10:52:10 -05:00
Rick Carlino a76cb932e7 Fix blinky user spec 2016-09-02 10:15:54 -05:00
Rick Carlino 0dd38e5786 Passing the ball 2016-09-01 09:35:52 -05:00
Rick Carlino bcd8fbb2a7 TODO: Fix Steps::Update 2016-08-31 13:16:03 -05:00
Rick Carlino b61931e083 [WIP][UNSTABLE] Re-added Devise. Next: steps and commands 2016-08-28 16:03:44 -05:00
Rick Carlino 5727dec084 [WIP][UNSTABLE] Databaase changes 2016-08-24 05:57:06 -04:00
Rick Carlino 92823f9185 [UNSTABLE] Remove most mongoid stuff, not done. 2016-08-19 22:24:00 -07:00