Commit Graph

1630 Commits

Author SHA1 Message Date
Michael Stenta 4eee1f586d Add https://farmos.app as a CORS allowed origin for Field Kit. 2021-12-20 17:34:13 -05:00
Michael Stenta a35865724a Rename "client modules" to "field modules". 2021-12-20 17:34:13 -05:00
Michael Stenta 0a8dca4bf1 Rename the Field Kit OAuth2 client to fieldkit. 2021-12-20 17:34:13 -05:00
Michael Stenta 52e409a125 Rename farm_client module to farm_fieldkit. 2021-12-20 17:34:13 -05:00
Michael Stenta 02f95e4d7a Merge data_stream_notification_email module into data_stream_notification. 2021-12-20 17:16:04 -05:00
Michael Stenta 14ee6bf559 Move data_stream_notification module into "modules" subdirectory. 2021-12-20 10:08:55 -05:00
paul121 6648f2ba98 Migrate existing sensor listener notifications. 2021-12-20 10:08:55 -05:00
paul121 f87d89b30d Allow the notification state to be reset on save. 2021-12-17 14:29:11 -05:00
paul121 ca0908281a Display the notification state in the list view. 2021-12-17 14:29:11 -05:00
paul121 cdb168d3cd Reset notification state when enabling/disabling. 2021-12-17 14:29:11 -05:00
paul121 0ca67170fb Add notification activation and deactivation thresholds and delivery interval configuration. 2021-12-17 14:29:11 -05:00
paul121 900e8d8ccb Create postTestData helper function. 2021-12-17 14:29:11 -05:00
paul121 2ddfd3e493 Add notification delivery email plugin. 2021-12-17 14:29:11 -05:00
paul121 2b8779f989 Include the data stream notification and condition summaries in the event context.
Add these all to the error condition plugin to make sure they are available.
2021-12-17 14:29:11 -05:00
paul121 6216ee6f43 Test complete execution of notifications. 2021-12-17 14:29:11 -05:00
paul121 9d046355f9 Implement a numeric notification condition. 2021-12-17 14:29:11 -05:00
paul121 3a9342e3a3 Require at least one condition and notification. 2021-12-17 14:29:11 -05:00
paul121 d60df2b4ba Allow plugins to validate and submit the subform. 2021-12-17 14:29:11 -05:00
paul121 12f58e80e2 Implement a DataStreamEventSubscriber to trigger notifications. 2021-12-17 14:29:11 -05:00
paul121 691c0053b4 Allow the enable/disable operation to be set with an ajax callback. 2021-12-17 14:29:11 -05:00
paul121 4ebfea8ef4 Display enabled and disabled notifications in separate tables. 2021-12-17 14:29:11 -05:00
paul121 c4b312a1b9 Add a data stream notification list builder. 2021-12-17 14:29:11 -05:00
paul121 56b24b27ac Add a data stream notification entity form. 2021-12-17 14:29:11 -05:00
paul121 adf329d79e Create the DataStreamNotification entity. 2021-12-17 14:29:11 -05:00
paul121 a73a4ff86d Implement the DataStreamEventDispatcherInterface for the basic data stream. 2021-12-17 14:29:11 -05:00
paul121 517b7f82f9 Create a DataStreamEventDispatcherInterface. 2021-12-17 14:29:11 -05:00
paul121 11f3948c8f Create a data stream event. 2021-12-17 14:29:11 -05:00
paul121 73c5a4f134 Create notification condition and delivery plugins. 2021-12-17 14:29:11 -05:00
paul121 b20bf4cf76 Init data stream notification module. 2021-12-17 14:29:11 -05:00
Paul Weidner 8c03b835f6 Specify file extensions as a comma separated string in an array. #466 2021-12-17 06:52:11 -05:00
Paul Weidner 67c476d5bd Use the correct field_storage_definitions variable. 2021-12-14 16:26:48 -08:00
Paul Weidner c46f852c1a Provide a field storage definition to farm_land_type_field_allowed_values. 2021-12-14 16:26:44 -08:00
Paul Weidner 7af4618ba1 Issue #3253430 by paul121: Define all callback_allowed_values_function parameters
Accidentally merged the wrong commit earlier.
2021-12-14 09:13:10 -05:00
Paul Weidner 90338a68eb Patch simple_oauth issue #3193609: invalid_credentials error does not conform to OAuth2 spec.
Issue #3254051 by paul121: Return correct status code for OAuth invalid_credentials error
2021-12-14 07:00:04 -05:00
Paul Weidner 94cd242abd Standardise quantity measure allowed_values_function name. 2021-12-14 06:58:07 -05:00
Paul Weidner d15bdc5e37 Define all callback_allowed_values_function parameters. 2021-12-14 06:58:07 -05:00
Paul Weidner ddb0666311 Issue #3254253 by paul121: Grant the issue subrequests permission to users with a managed role. 2021-12-14 06:47:07 -05:00
Paul Weidner cb9c772962 Allow specifying a units_id to skip loading an existing term. #464 2021-12-13 12:48:45 -05:00
Paul Weidner 4b29c7ba6d Issue #3253426 by paul121: Correct farm_flag_field_allowed_values to accept a FieldStorageDefinitionInterface. 2021-12-13 12:00:59 -05:00
Paul Weidner e65cc87a02 Add test for parent field constraints. 2021-12-10 15:40:09 -08:00
Paul Weidner ca3b6b6513 Test entity fields in a loop. 2021-12-10 15:29:55 -08:00
Paul Weidner e8bab25d24 Remove third_party_settings option from FarmFieldFactory. 2021-12-10 15:20:54 -08:00
Michael Stenta 08af0f1d94 Issue #3242473: Validation fails when migrating records that reference inactive users 2021-12-10 06:12:16 -05:00
Michael Stenta 9c06862461 Don't need a protected $roleStorage property in FarmMigrationSubscriber. 2021-12-10 06:12:10 -05:00
Michael Stenta 8939f3058d Use farm.info.yml version in farm_api EntryPointTest. 2021-12-09 09:18:39 -05:00
Michael Stenta 91c61c6f40 Add comments to JavaScript to make it more readable. 2021-12-08 13:52:28 -05:00
Michael Stenta 662f7801e0 Perform location hierarchy changes in form submit instead of AJAX. 2021-12-08 13:52:28 -05:00
Michael Stenta 3fd2f9c893 Convert location hierarchy controller to a form. 2021-12-08 13:52:28 -05:00
Michael Stenta bc10ba32c8 Remove spinner from location drag and drop save button.
This is just a separate commit to keep the next one cleaner.
2021-12-08 13:16:00 -05:00
Paul Weidner 6984812ac4 Make dropbutton items align to the left. 2021-12-08 13:06:36 -05:00