Michael Stenta
|
ad4725c12f
|
Change all relevant links from farmOS.org to v1.farmOS.org.
|
2021-12-21 19:18:39 -05: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 |
paul121
|
233af6d2c7
|
Implement hook_farm_sensor_view instead of hook_entity_view_alter.
|
2020-07-27 10:56:45 -04:00 |
Michael Stenta
|
327894095f
|
Escape special characters in entity_label() usages.
|
2020-04-23 11:29:19 -04:00 |
Michael Stenta
|
0115db0586
|
Issue #3011770: Add a setting that allows sensor data to be made public
|
2018-11-07 15:33:41 -05:00 |
Michael Stenta
|
c522dd6485
|
Issue #2493511: Graph sensor data
|
2018-11-07 15:33:35 -05:00 |
Michael Stenta
|
3e10078bb0
|
Link to farmOS.org sensor documentation.
|
2018-11-07 15:33:02 -05:00 |
Michael Stenta
|
05d3a82383
|
Update listener callback docblock.
|
2018-11-07 15:33:02 -05:00 |
Michael Stenta
|
04f6d03d34
|
Access-Control-Allow-Origin' header to allow pulling this data into other domains.
|
2018-11-07 15:33:02 -05:00 |
Michael Stenta
|
591d07b09b
|
Add start and end timestamp parameters.
|
2018-11-07 15:33:02 -05:00 |
Michael Stenta
|
b10267e6f7
|
Add limit and offset parameters.
|
2018-11-03 12:41:41 -04:00 |
Michael Stenta
|
1b7c5fb635
|
Allow filtering by value name via query parameter.
|
2018-11-03 12:28:11 -04:00 |
Michael Stenta
|
9ae5bb5f6b
|
Simplify sensor data query - only pull a single latest value.
|
2018-11-03 12:22:48 -04:00 |
Michael Stenta
|
13b43bd9e6
|
Explicitly check the request type in listener callback.
|
2018-11-03 12:05:00 -04:00 |
Michael Stenta
|
410e387bdc
|
Move logic for loading sensor data to helper function.
|
2018-11-03 11:43:49 -04:00 |
Michael Stenta
|
9d43bd15f0
|
Make Farm Sensor: Listener module into a Feature for diff tracking purposes.
|
2017-10-16 08:36:14 -04:00 |
Michael Stenta
|
0ac1cbfbdd
|
Issue #2912810: Notice: Undefined offset: 0 in farm_sensor_listener_process_data() (line 182 of .../farm_sensor_listener.module)
|
2017-09-29 11:52:04 -04:00 |
Michael Stenta
|
33099b9526
|
Whitespace.
|
2017-09-29 10:21:45 -04:00 |
Michael Stenta
|
6e957d14b6
|
Issue #2912780: Add a hook that fires when sensor data is POSTed
|
2017-09-29 10:21:41 -04:00 |
Michael Stenta
|
002e74ed35
|
Issue #2912480: Automatically convert date string to Unix timestamp in POSTed data
|
2017-09-29 10:17:49 -04:00 |
Michael Stenta
|
ed829a3ae5
|
Add sensor data entity View group to ensure it is above other Views. Always show listener data View.
|
2017-06-28 14:54:49 -04:00 |
Michael Stenta
|
3f16718b4a
|
Merge hook_farm_ui_asset_views() and hook_farm_ui_taxonomy_views().
|
2017-06-27 15:39:31 -04:00 |
Michael Stenta
|
0fb73ffcad
|
Move hooks for adding Views to asset and term pages to farm_ui module.
|
2017-06-27 15:39:31 -04:00 |
Michael Stenta
|
7a3b3c4fd2
|
Move to modules/farm/farm_sensor in preparation for #2876992.
|
2017-05-26 10:02:48 -04:00 |