Commit Graph

4195 Commits

Author SHA1 Message Date
paul121 378c27e062 Display message in place of graph is there is no data to display. 2020-08-27 08:01:43 -04:00
paul121 b5f996b53d Display graphs of sensor data in a form with options for filtering data. 2020-08-27 08:01:43 -04:00
paul121 6d66bb62dd Allow querying sensor data with no limit.
The query range() method does not support passing NULL. When NULL is
passed for both parameters the query is built with LIMIT 0 OFFSET 0.
When range() is called with no parameters, no LIMIT or OFFSET is set.

https://www.drupal.org/project/drupal/issues/1943754
https://api.drupal.org/comment/49938#comment-49938
2020-08-27 08:01:43 -04:00
Michael Stenta c2ef587ecd Update hook_farm_access_perms() doc to demonstrate how to add a permission to farmOS roles with config access. 2020-08-26 15:39:40 -04:00
Michael Stenta c0eca7ac95 Patch restws to fix Issue #3167072: Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in _restws_determine_router_item() 2020-08-24 20:55:17 -04:00
Michael Stenta c954a022ba Update modules: Feeds, Views Bulk Operations, XAutoload. 2020-08-24 20:43:46 -04:00
Michael Stenta 152f356cec Increment the farmOS API version to 1.4. 2020-08-21 11:40:22 -04:00
Michael Stenta cd59223f4c Include list of installed languages in /farm.json. 2020-08-21 11:40:15 -04:00
Michael Stenta 87d9a97c84 Increase the character limit of Notes and Description fields in Views to 280. 2020-08-21 11:00:56 -04:00
Michael Stenta d5891a5557 Issue #3166556: Add asset reference field to soil and water test logs 2020-08-21 10:43:14 -04:00
Michael Stenta e28dd5de25 Add language to farm.json. 2020-08-13 10:16:59 -04:00
pcambra 0537e305b0 Issue #3164999 by pcambra: Don't include 7.x prefix in build-farm.make tag version 2020-08-13 07:47:34 -04:00
Michael Stenta a4c89d6d0b Remove docker-compose.override.postgis.yml example. 2020-08-13 07:44:32 -04:00
Michael Stenta 8dc567145a Include sensor type column in sensor asset view #338 2020-08-11 09:02:23 -04:00
paul121 b80cc84104 Change column label from "Sensor Type" to "Sensor type" for consistency. 2020-08-11 09:02:05 -04:00
paul121 c31750031b Move Sensor type filter so it appears after Name and before Location.
Also remove the remember_roles property from the default view code.
2020-08-11 09:02:05 -04:00
paul121 2d52458c64 Remove remember_roles property. 2020-08-11 09:02:05 -04:00
paul121 fa4342d096 Make sensor type click sortable. 2020-08-11 09:02:05 -04:00
paul121 a36ffec752 Add sensor type to sensor asset view and expose sensor type as a filter. 2020-08-11 09:02:05 -04:00
Symbioquine 01e1f05c46 Enable the snapping grid controls when farmOS-map is used for editing #335 2020-08-11 08:51:56 -04:00
Michael Stenta fd6e45ad19 Update farmOS-map to v1.3.0. 2020-08-11 08:44:44 -04:00
Michael Stenta 791d1dd156 Add sponsors: OpenTEAM, Wolfe's Neck. 2020-08-11 08:44:29 -04:00
Michael Stenta 8e52d36315 Use http:// in drupal-org.make for consistency. 2020-08-02 11:29:27 -04:00
Michael Stenta 3b206382de Patch restws to fix Issue #3161965: Don't perform CSRF validation if Bearer token is provided. 2020-08-02 11:29:27 -04:00
Michael Stenta 207e45b659
Update year in COPYRIGHT.txt. 2020-07-31 08:59:53 -04:00
Michael Stenta 65190926a0 Add additional filters to livestock weight report #323 2020-07-30 14:57:09 -04:00
Michael Stenta 8d6ece7fa4 Add explicit dependencies on modules that we are using functions from. 2020-07-30 14:57:01 -04:00
Michael Stenta 2f333eca67 Use htmlspecialchars(entity_label()) to format entity names. 2020-07-30 14:57:01 -04:00
paul121 a0c9a7ecbc Display message in place of table if no assets match filter criteria. 2020-07-30 14:57:01 -04:00
paul121 6b52f0f771 Add optional date of birth range filters. 2020-07-30 14:57:01 -04:00
paul121 4f5a380a8f Allow filtering assets by flag(s). 2020-07-30 14:57:01 -04:00
paul121 7b59f6d84f Allow more selective filtering of archived assets. 2020-07-30 14:57:01 -04:00
paul121 62a8c5f230 Display archive date with asset names. 2020-07-30 14:57:01 -04:00
paul121 18b56e700d Make plotly graphs responsive to page size. 2020-07-30 14:48:38 -04:00
Michael Stenta 2d62bd9a83 Add "app://localhost" to the list of allowed origins, so that requests from Field Kit on iOS native (WKWebView) are accepted. 2020-07-29 21:29:39 -04:00
Michael Stenta 571ffbe733 Update mapbox layers to use 512x512 tile size. 2020-07-29 12:32:32 -04:00
paul121 52e369824e Update mapbox layers to use new studio style format. 2020-07-29 12:22:07 -04:00
Michael Stenta 76748f1e1a Update farmOS-map library to v1.2.0. 2020-07-29 12:20:18 -04:00
Michael Stenta 331a88fb6a Move CORS headers logic to a helper function and expand comments. 2020-07-28 17:22:50 -04:00
Michael Stenta 9f63c4f80b Expose sensor_type and sensor_settings fields to sensor assets REST API #329 2020-07-27 11:02:50 -04:00
paul121 1addc94cae Add sensor_type and sensor_settings fields to sensor asset properties. 2020-07-27 10:58:52 -04:00
paul121 214483c18f Patch restws to fix Issue #3161113: Support fields with unknown data type. 2020-07-27 10:58:52 -04:00
Michael Stenta 3ae4692e8e Use hook_sensor_view to add graphs to listener sensor asset views #328 2020-07-27 10:57:02 -04:00
paul121 233af6d2c7 Implement hook_farm_sensor_view instead of hook_entity_view_alter. 2020-07-27 10:56:45 -04:00
paul121 338f103444 Recursive merge the build arrays to avoid overriding the views index.
Because farm_sensor_listener_farm_sensor_view returns a build array with
the 'views' index set, this causes other views already in the build
array to be overwritten.
2020-07-27 10:44:14 -04:00
Michael Stenta d5e0d089d1 Issue #3156713: Improvements to quick form for livestock grazing moves 2020-07-24 11:05:48 -04:00
Michael Stenta cb879f94b7 Add measure behavior to the "current location" also. 2020-07-24 10:57:26 -04:00
Michael Stenta cc8105dfbe Declare log form element type as 'value' and use $form_state['values'] in submit. 2020-07-24 10:57:26 -04:00
Michael Stenta dad3d3560e Whitespace for coding standards. 2020-07-24 10:57:26 -04:00
paul121 48b292bfd4 Update default done value to match form state. 2020-07-24 10:57:26 -04:00