Commit Graph

2213 Commits

Author SHA1 Message Date
Michael Stenta 059e0af8d9 Merge branch '2.x-fieldkit' into 2.x 2021-12-20 17:34:22 -05:00
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 72b485e5e2 Issue #3215938 by paul121: Data stream email notifications 2021-12-20 17:33:02 -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
Michael Stenta 6041692dd3 Fix bugs after *_field_allowed_values changes #465 2021-12-15 08:29:22 -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
Michael Stenta 1f8941aff9 Document how to configure private filesystem in hosting docs. 2021-12-14 16:06:26 -05: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
Michael Stenta 03137afdd4 Issue #3253430 by paul121: Define all callback_allowed_values_function parameters 2021-12-14 06:58:17 -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 c8f971ca48 Patch drupal/core issue #3253568: Error when checkbox 'Use field template' is checked.
Issue #3253967 by paul121: Page view displays are broken when rendering a farm entity that has a flag value
2021-12-14 06:50:27 -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
Michael Stenta ae9288d332 Issue #3253841 by paul121: Asset parent base field allows circular and duplicate references 2021-12-13 10:20:57 -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 e00c9c7800 Do not override WWW_DATA_ID build argument in run-tests.yml.
This is no longer necessary since #441 was merged.
2021-12-10 10:31:33 -05:00