Commit Graph

4182 Commits

Author SHA1 Message Date
Michael Stenta 92f854b9be Update Date module to 7.x-2.11-rc1. 2020-10-02 12:54:31 -04:00
paul121 a38c1133df Add farm_crop_family_crops function to help load Farm Crop terms
associated with specific crop families.
2020-09-29 20:26:46 -04:00
paul121 7cfb2ae78c Add farm_crop_families function to help load Crop Family terms. 2020-09-29 20:26:46 -04:00
paul121 4840b0a088 Issue #3172818: Alias oauth2/* endpoints to oauth/*. 2020-09-29 20:23:47 -04:00
Michael Stenta 39ff4d1529 Combine some of the Dockerfile RUN tasks to reduce build steps. 2020-09-17 06:32:38 -04:00
Michael Stenta 86dde3f829 Fix Uploadprogress is breaking farmos/farmos:7.x-1.x Docker image build #350 2020-09-17 06:31:41 -04:00
Michael Stenta 99ae3a621e Remove a2enmod rewrite from Dockerfile. It is already enabled in drupal:7 image. 2020-09-17 06:22:37 -04:00
Michael Stenta 6f85c888a9 Update Drupal core to 7.73. 2020-09-16 15:21:04 -04:00
Michael Stenta 6439b89979 Update GeoPHP module to 7.x-1.8. 2020-09-16 08:10:16 -04:00
Michael Stenta 49f937eaae Update Log module to 7.x-1.14. 2020-09-16 08:04:13 -04:00
pcambra 82874abdee Issue #3167408 by pcambra: field_attach_validate not called for some farmOS entities 2020-09-16 07:54:50 -04:00
pcambra e093c5863b Issue #3169481 by pcambra: Allow to disable views on the asset pages 2020-09-16 07:45:09 -04:00
Michael Stenta e81c62716e Fix Notice: Trying to access array offset on value of type null in farm_api_restws_request_alter() 2020-09-16 07:27:40 -04:00
Michael Stenta 7cb84aba77 Fix Notice: Undefined index: end_time in farm_plan_consideration_form_submit() #349 2020-09-15 09:14:12 -04:00
Michael Stenta da504a1be7 Issue #3169515: Warning: Declaration of entityValidate($entity) should be compatible with FeedsProcessor::entityValidate($entity, ?FeedsSource $source = NULL) 2020-09-07 10:35:34 -04:00
Michael Stenta 7528350717 Revert "farmOS 7.x-1.5."
This reverts commit 3c624e775a.
2020-08-28 10:45:56 -04:00
Michael Stenta 3c624e775a farmOS 7.x-1.5. 2020-08-28 10:44:01 -04:00
Michael Stenta 62e9c36690 Prepare for release of farmOS 7.x-1.5. 2020-08-28 10:42:57 -04:00
pcambra 722a4188e2 Issue #3167756 by pcambra: Don't require farm_fields_autocomplete from farm_fields module 2020-08-28 08:54:56 -04:00
Michael Stenta 8f110e58c6 Filter listener sensor graphs by value and date range. #337 2020-08-27 08:01:57 -04:00
Michael Stenta ac67a1f239 Add a count to sensor summary info. 2020-08-27 08:01:43 -04:00
Michael Stenta f0bc6a8e6f Limit the maximum number of data points to 100k via API. 2020-08-27 08:01:43 -04:00
Michael Stenta d6e7a3deb4 Use isset() for all param and arg checks. 2020-08-27 08:01:43 -04:00
paul121 fcf006adf2 Use is_null to check if a limit query parameter is set. 2020-08-27 08:01:43 -04:00
paul121 f810938f08 Include hours minutes and seconds in date range so timestamps are not truncated to 12am each day. 2020-08-27 08:01:43 -04:00
paul121 cb57c29a93 Only display the graph fieldset if the sensor has data. 2020-08-27 08:01:43 -04:00
Michael Stenta 4a2eee85ec Show value summary if /summary is included at the end of the URL, instead of a ?summary=1 GET parameter. 2020-08-27 08:01:43 -04:00
Michael Stenta c6790e6886 Remove farm/sensor/listener/values/% menu item and page callback. 2020-08-27 08:01:43 -04:00
Michael Stenta 59301f948f If "summary" GET parameter is set, return sensor value summary information instead of values. 2020-08-27 08:01:43 -04:00
Michael Stenta 0f0cd5f023 Rename farm_sensor_listener_values() to farm_sensor_listener_values_info(). 2020-08-27 08:01:43 -04:00
Michael Stenta 34679aa475 Add missing return value and improve docblock. 2020-08-27 08:01:43 -04:00
Michael Stenta 8656d1a5d5 Only check if $limit is empty, not $offset. 2020-08-27 08:01:43 -04:00
paul121 0241b06c40 Add farm/sensor/listener/values page returning sensor value info. 2020-08-27 08:01:43 -04:00
paul121 a2e32c8638 Only capitalize first word in Sensor Graphs. 2020-08-27 08:01:43 -04:00
paul121 edeb7a53e0 Remove bootstrap styles from warning message. 2020-08-27 08:01:43 -04:00
paul121 72f15d3541 Display the most recent week of data by default. 2020-08-27 08:01:43 -04:00
paul121 2dcc0e861f Create farm_sensor_listener_values helper function. 2020-08-27 08:01:43 -04:00
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