Commit Graph

2637 Commits (jebba)

Author SHA1 Message Date
Rick Carlino eada674e50 Folders#destroy 2019-12-03 16:22:47 -06:00
Rick Carlino 1f84001e6e Folders#update action 2019-12-03 14:09:00 -06:00
Rick Carlino dc86f82795 Folders#create action 2019-12-03 13:36:41 -06:00
Rick Carlino 3030344426 Verbiage changes in FoldersController 2019-12-03 12:20:40 -06:00
Rick Carlino 4f1c767f2c Add Folders table, update sequences to reference folders 2019-12-03 11:30:22 -06:00
gabrielburnworth 97a9ee8d57 add saved gardens panel 2019-11-27 12:11:45 -08:00
Gabriel Burnworth a003beb8f7
remove extra peripherals from express seeder 2019-11-27 11:00:16 -08:00
Gabriel Burnworth 2de8e737eb
Update plant_fixtures.yml 2019-11-27 09:34:37 -08:00
Rick Carlino f13bead10e Opps 2019-11-26 07:41:27 -06:00
Rick Carlino 982956ca91 Prevent background workers from crashing when logs are deleted. 2019-11-26 07:22:29 -06:00
Rick Carlino 63cb166444 Add debug point for inactivity mailer 2019-11-25 15:23:25 -06:00
Rick Carlino 76b3f9692e Account for non-activiated accounts 2019-11-25 15:05:18 -06:00
Rick Carlino 7be0569a89 Updates for better DataDog visibility. 2019-11-25 14:42:41 -06:00
Rick Carlino 38a63981eb Debug deploy 2019-11-25 13:47:42 -06:00
Rick Carlino 21fe23b5a4
Merge branch 'staging' into trim_logs 2019-11-24 09:01:40 -06:00
Rick Carlino 1559ee0f0f Clean up excess logs via sampling 2019-11-24 08:58:38 -06:00
Rick Carlino 71a5c5c122 Minor verbiage updates 2019-11-23 10:03:04 -06:00
Rick Carlino 18cb99f1f3 Verbiages updates, part I 2019-11-22 11:51:36 -06:00
Rick Carlino 84a18ffde6 Remove deprecation warnings, rename api:deprecate to api:tidy 2019-11-21 13:57:19 -06:00
Rick Carlino e8bf8e3587 Verbiage updates 2019-11-21 11:44:47 -06:00
Rick Carlino e70695536a Account deactivation ✔️ 2019-11-21 11:25:46 -06:00
Rick Carlino a0e69bdb4a Automatically delete old accounts after 14 days. TODO: Tests 2019-11-20 17:49:39 -06:00
Rick Carlino 55ed669de7 preview and clear works (grid planting) 2019-11-14 15:36:04 -06:00
Rick Carlino 6bc9ca53ff Merge branch 'master' of https://git.heroku.com/farmbot-production into staging 2019-11-11 09:53:35 -06:00
Rick Carlino 4c406dfab7 [HOTFIX] Explain to user why MQTT broker kicked you off 2019-11-08 11:53:00 -06:00
Rick Carlino 079149af3b Use `nil` to signify "immediate OTA update" on ota_hour column 2019-11-08 07:45:00 -06:00
Rick Carlino 8d6eae6a4d Add ota_hour to devices table 2019-11-07 13:35:10 -06:00
Rick Carlino d5f8c00eef Rescue from JSON::ParserError 2019-11-04 07:39:04 -06:00
Rick Carlino 87e271ce89 Reduce some limits slightly 2019-11-01 14:17:40 -05:00
Rick Carlino 8555acfbed Set TTL _after_ calling `incr()`. 2019-11-01 10:58:24 -05:00
Rick Carlino 33ebb628f5 Tests for new throttle policy 2019-10-31 15:53:09 -05:00
Rick Carlino fa6c6196bb QA Ready 2019-10-31 15:42:45 -05:00
Rick Carlino 98251fbb02 ThrottlePolicy re-write 2019-10-31 11:38:55 -05:00
Rick Carlino 71545c6e94 [UNSTABLE] Rework throttler 2019-10-31 10:13:52 -05:00
Rick Carlino 6e57d80bdf Dead code removal. 2019-10-30 17:19:47 -05:00
Rick Carlino 4e9fe4ae7a Cache debugging: #find_or_create_by => #find_or_create_by! 2019-10-30 16:55:16 -05:00
Rick Carlino e41fbca364 Remove caching from LogService (for now) 2019-10-30 16:28:59 -05:00
Rick Carlino 3c5771e4bf Debug deploy 2019-10-30 15:07:52 -05:00
Rick Carlino 5072ad0175 Possible partial fix for `point_id` reconcilation. 2019-10-29 11:33:47 -05:00
Rick Carlino c418e4b263 Fix seeds.rb 2019-10-29 10:07:51 -05:00
Rick Carlino e7af24d3e4 Redis integration complete. TODO: Integration test 2019-10-28 14:14:01 -05:00
Rick Carlino de09cad3b4 Begin use of `cache_key`s when tracking throttles. NEXT: Remove @entries in favor of Redis 2019-10-28 13:39:02 -05:00
Rick Carlino c2688aab0a Add @namespace to TimePeriod 2019-10-28 13:05:46 -05:00
Rick Carlino 4e3aa00030 Ready to add Redis support ✔️ 2019-10-28 12:40:50 -05:00
Rick Carlino 7ff6a499e0 Remove ::TimePeriod references from ::ThrottlePolicy 2019-10-28 12:23:49 -05:00
Rick Carlino 2a621e2f00 ? Add runtime typecheck to ::TimePeriod constructor 2019-10-28 11:54:30 -05:00
Rick Carlino cb2e97cbb2 Remove TimePeriod references from ThrottlePolicy 2019-10-28 11:25:37 -05:00
Rick Carlino a501decb1c Merge branch 'staging' of github.com:FarmBot/Farmbot-Web-App into telemetry3 2019-10-28 11:02:17 -05:00
Rick Carlino 5d81693e5a
Merge branch 'staging' into rails_upgrade 2019-10-28 09:30:05 -05:00
Rick Carlino f16014bfd1 ✔️ Rails v6 Upgrade 2019-10-28 09:23:12 -05:00
Rick Carlino e0620d40d8 Module#parent => Module#module_parent 2019-10-28 08:48:18 -05:00
Rick Carlino bd87b5b198 Merge conflict 2019-10-28 08:12:34 -05:00
Rick Carlino 8801d7eaa0 Update error message 2019-10-28 07:50:04 -05:00
Rick Carlino 4cad4e39c2 Fix: Dont save `debug`, `fun`, nil logs 2019-10-25 14:35:28 -05:00
Rick Carlino 7410ac6504 Instantiate TimePeriod from within ThrottlePolicy 2019-10-25 11:51:28 -05:00
Rick Carlino 0096adf9ee Add namespace to throttle policy (for Redis) 2019-10-25 11:29:21 -05:00
Rick Carlino 3797242dfe Update tests, deprecate v6 log checks 2019-10-25 10:11:09 -05:00
Rick Carlino dec4f8ffb1 Add throttle policy to Telemetry channel 2019-10-24 15:51:40 -05:00
Rick Carlino d825ec5540 Fix tests related to sync object timestamps 2019-10-24 14:32:27 -05:00
Rick Carlino bf418ead32 WIP. TODO: Fix sync objects to look like Rails 5 timestamps, maybe. 2019-10-24 14:12:11 -05:00
Rick Carlino 504ea18bcc Fix const auto-loader problems, change belongs_to behavior to allow `nil` by default (sorry). 2019-10-24 12:44:11 -05:00
Rick Carlino d27117216b Handle malformed telemetry 2019-10-24 09:01:51 -05:00
Rick Carlino 39d461296e Test case: LogService throttle 2019-10-24 08:18:56 -05:00
Rick Carlino b66731a1f4 Temporarily add `message` field 2019-10-23 15:03:09 -05:00
Rick Carlino 0bbcc8c786 Possible fix for NPE noted on staging in LogService 2019-10-23 14:56:54 -05:00
Rick Carlino e21676afc2 First implementation of telemetry channel 2019-10-23 13:44:07 -05:00
Rick Carlino 493c439ebc [WIP, UNSTABLE] Phase out `update_attributes`, :on hooks 2019-10-23 11:33:30 -05:00
Rick Carlino bfa2f2fd38 Test coverage increases 2019-10-21 14:37:16 -05:00
Rick Carlino 75cabbf90a Final updates (Ruby version) 2019-10-13 15:14:58 -05:00
Rick Carlino 3c09d0bb1a Updates, part III (Bundler) 2019-10-13 14:50:40 -05:00
Rick Carlino 86497b5187 Debug removal 2019-10-08 10:08:52 -05:00
Rick Carlino fe52fedaf5 Fix failing tests related to point group auto_sync 2019-10-07 16:09:36 -05:00
Rick Carlino 961d47dbd6 Fix PointGroup auto sync message problems on FE. 2019-10-07 15:26:09 -05:00
Rick Carlino 4e677792c1 Clean up auto_sync code 2019-10-07 14:14:59 -05:00
Rick Carlino 9697498b04 Handle auto-sync delegation in Points::Destroy 2019-10-07 13:35:15 -05:00
Rick Carlino 6a314d11e4 Possible fix for blinky rspec sepc 2019-10-04 15:09:22 -05:00
Rick Carlino 8dc1be228b QUick fix- more investigation needed 2019-10-04 11:26:55 -05:00
Rick Carlino fad467530c Caching / race issue fix, part I 2019-10-04 10:21:21 -05:00
Rick Carlino b432163b25 [UNSTABLE WIP] Protect in-use (by regimen, farmevent) deletion of point groups 2019-10-03 17:20:21 -05:00
Rick Carlino 91283ca628 [UNSTABLE WIP] Protect in-use (by sequence) deletion of point groups 2019-10-03 16:29:43 -05:00
Rick Carlino 42d931ad3e Delete PointGroupItems before deleting points CC: @connorRigby 2019-10-03 13:52:00 -05:00
Rick Carlino 7f55338e54 Trigger an auto_sync message when point_group_items are destroyed 2019-10-02 12:14:13 -05:00
Rick Carlino a466a2997f Fix PointGroup referential integrity issues 2019-10-02 09:24:57 -05:00
Rick Carlino bbb9dcdfcc Possible fix for refernetial integrity issues with Point <=> PointGroup after Point#destroy 2019-10-01 16:23:30 -05:00
Rick Carlino 0d67345d8d BUG: PointGroup#update does not accept sort_type, part II 2019-10-01 15:26:12 -05:00
Rick Carlino e52e7c8169 BUG: PointGroup#update does not accept sort_type 2019-10-01 15:16:38 -05:00
Rick Carlino e03dc38160 Remove every_point and associated corpus entries 2019-10-01 09:50:17 -05:00
Rick Carlino 2ef6480816 Add `sort_type` (API-side only) 2019-09-30 17:09:00 -05:00
gabrielburnworth a8cf0b455b add new fbos details 2019-09-24 14:50:55 -07:00
Rick Carlino b11e5a0e15 Upgrade FBJS (every_point, point_group celery node additions). 2019-09-24 10:31:57 -05:00
Rick Carlino fa5f9ed1ff PointGroup related additions 2019-09-23 18:34:37 -05:00
Rick Carlino af29d10a82 Prevent deletion of boot sequences that are in_use 2019-09-20 16:13:42 -05:00
Rick Carlino a0337e0ae3 Fix foreign key in migration. 2019-09-19 15:51:54 -05:00
Rick Carlino 79d5974dde Merge branch 'staging' of github.com:FarmBot/Farmbot-Web-App into turnkey 2019-09-19 15:16:30 -05:00
gabrielburnworth 549c97deb3 fix device throttle update bug 2019-09-19 12:15:22 -07:00
Rick Carlino fc2c42161f WIP 2019-09-19 08:37:05 -05:00
Rick Carlino 7843a1e93c Remove legacy shims (v6 support ended 4 months ago) 2019-09-18 13:40:32 -05:00
Rick Carlino 69ff481f91 [UNSTABLE] Pull out more legacy junk. V. unstable. 2019-09-17 14:26:19 -05:00
gabrielburnworth d2ae4ff300 update pi GPIO pin restrictions 2019-09-16 14:21:55 -07:00
Rick Carlino 91b1110733 Add debounce to FarmEvent#create 2019-09-12 16:50:44 -05:00