Commit Graph

313 Commits (b2c3bc1ff9fbe176f94c11de69f2299161f977f1)

Author SHA1 Message Date
Rick Carlino 989d92c07f Add DeviceSerialNumber table 2018-09-26 11:53:49 -05:00
Rick Carlino 626cdbf717 typo (use "if" not "unless") 2018-09-21 12:34:41 -05:00
Rick Carlino cd0aaae986 Done 2018-09-21 12:30:43 -05:00
Rick Carlino 9a4a792636 Stuff to try on other machines - crash if DB is wrong 2018-09-21 11:03:58 -05:00
gabrielburnworth 0679c318bc historic points toggle 2018-09-20 12:59:13 -07:00
Rick Carlino 2c6b3d5372 Add device#mounted_tool_id 2018-09-10 09:46:47 -05:00
Rick Carlino ac278d5cbd Ready 2018-09-06 15:50:48 -05:00
gabrielburnworth d6b7d09653 add motor plot 2018-08-29 17:55:25 -07:00
Rick Carlino 971b711e4e
Rename `device_configs` to `farmware_envs` (#960) 2018-08-15 13:44:04 -05:00
Rick Carlino 92d8f7fc18
Update some default values (#956)
* Default movement_keep_active_* to `1`
* Enable encoders by default
2018-08-13 15:34:19 -05:00
Rick Carlino 043a16f5fb Add indexes for logs#Search endpoint 2018-07-27 10:38:44 -05:00
Rick Carlino 467fbf5ba1 Add `safety_assured` to old migrations so CI will still pass 2018-07-26 15:55:20 -05:00
Rick Carlino 6e275f649c Minor tweak to todays migrations 2018-07-26 15:34:27 -05:00
Rick Carlino c80d82aaa9 CREATE INDEX index_logs_on_device_id_and_created_at ON public.logs USING btree (device_id, created_at); 2018-07-26 11:59:10 -05:00
Rick Carlino 92a30b9a4a Remove `puts` debug stuff 2018-07-26 10:16:42 -05:00
Rick Carlino d03d9bbbb9 Add indexes for updated_at, sent_at 2018-07-26 10:12:28 -05:00
Rick Carlino d991fb383d 2nd attempt 2018-07-25 16:29:00 -05:00
Rick Carlino 99752c14df Push up missing table updates 2018-07-19 21:42:00 -05:00
Rick Carlino 57c9293982 Updates to DB - PinBinding stuff. 2018-07-19 09:54:42 -05:00
Rick Carlino 1ae0ef9e66 Change remaining xyz => float 2018-07-16 11:41:06 -05:00
Rick Carlino c194621667 Enforce mutual exclusivity 2018-07-13 15:19:31 -05:00
Rick Carlino 6194416237 FIrst draft of auth endpoint for RabbitMQ 2018-06-21 16:05:07 -05:00
Rick Carlino 5f4e15f1bf Add User.admin_user, remove deprecated ENV vars 2018-06-21 10:27:24 -05:00
Rick Carlino 110d7acd87
Diagnostic Dumps - RC 1 (#889)
Add API side diagnostic reporting.
2018-06-18 16:12:00 -05:00
Rick Carlino 984d47762b
Bug Fixes, Docs, Refactorings (#881)
* README updates
* Get rid of LogDispatch table
* More transactions.
* Prevent Log::RateLimitError errors after migration
2018-06-09 11:58:01 -05:00
Rick Carlino 3cd9fb4ea5 Comment length 80 => 240 2018-06-06 08:23:31 -05:00
Rick Carlino d35b0c0e4c Double send e-stop email fix 2018-05-24 12:16:16 -05:00
Rick Carlino eb6a528a1c Bring back `throttled_at` along with `throttled_until` 2018-05-21 15:06:51 -05:00
Rick Carlino 9f78fc11f2 Changes to accomodate new throttle message 2018-05-21 09:30:25 -05:00
Rick Carlino 6add1455c9 NEXT: Tests, better calls to device#tell 2018-05-20 18:50:54 -05:00
Rick Carlino 5982532e38 Seperate parsing / validation concerns out of `LogService` 2018-05-20 17:17:59 -05:00
Rick Carlino 06174e00c7 New DB indexes, update Rails. 2018-05-18 08:30:36 -05:00
Rick Carlino 13e98bb247 Minor updates 2018-05-08 09:26:34 -05:00
gabrielburnworth 6069fadf78 home btn options and refactoring 2018-05-01 22:50:39 -07:00
Harry Brundage 1d01c63906 Make db/seeds work again after f56aa55843
Bootstrapping a new clone broke because there were still a couple
references to this column which now doesn't exist. 🔥

Error was:

```
ActiveModel::UnknownAttributeError: unknown attribute 'pointer_id' for Plant.
/Users/airhorns/Code/Farmbot-Web-App/db/seeds.rb:58:in `block in <top (required)>'
/Users/airhorns/Code/Farmbot-Web-App/db/seeds.rb:57:in `times'
/Users/airhorns/Code/Farmbot-Web-App/db/seeds.rb:57:in `<top (required)>'
/Users/airhorns/.rbenv/versions/2.5.1/bin/bundle:23:in `load'
/Users/airhorns/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>'
```
2018-05-01 11:18:30 -04:00
Rick Carlino f56aa55843 Remove old pointer_id=0 refs 2018-05-01 08:11:09 -05:00
Rick Carlino 12b1d17d02 Conflicts 2018-05-01 07:41:05 -05:00
Rick Carlino df8ffd59fa Remove legacy point artifacts 2018-05-01 07:39:36 -05:00
Rick Carlino c178ae9592 Change defaults to 0 2018-04-30 11:28:41 -05:00
Rick Carlino a5c959c270 Change defaults to 0 2018-04-30 11:27:20 -05:00
Rick Carlino 59b15e155a Merge branch 'staging' of https://github.com/FarmBot/Farmbot-Web-App into new_parameters 2018-04-30 11:19:06 -05:00
Rick Carlino 8b0b21deb9 Add new params 2018-04-30 11:18:53 -05:00
Rick Carlino 7169ee78a4 Merge conflict, schema.rb 2018-04-28 08:54:37 -05:00
Rick Carlino d40f6678cd use up/down for irreversible migrations just to be safe. 2018-04-27 11:58:29 -05:00
Rick Carlino 5718714202 Merge conflict, schema.rb 2018-04-26 10:10:53 -05:00
Rick Carlino 9f11b5243c Typo in NoInfinity migration 2018-04-23 21:04:20 -05:00
Rick Carlino 92adda34fb max size validations for x/y/z 2018-04-23 15:59:32 -05:00
Rick Carlino 6a536b2cb4 Possible fix CC: @connorRigby 2018-04-23 14:37:51 -05:00
Rick Carlino aa2d6f05f2 WIP- need to finish `::Apply#in_use_plants` and actually validate that no plants are in use 2018-04-23 12:42:50 -05:00
Rick Carlino 6f83cf7c61 WIP- sequence syncing works, Device.current is missing 2018-04-23 08:33:26 -05:00