Commit graph

42 commits

Author SHA1 Message Date
8ccc578e7b
api/list-reading-types: optimise
This uses the new sensor_reading_value_types table that was recently 
added, and also REMOVES the "count" property on returned objects from 
this API action.
2021-01-30 18:26:50 +00:00
712e0602ed
api/index: update URL 2020-12-12 13:58:54 +00:00
e52c136406
Fix bugs in performance improvement 2019-11-07 19:04:05 +00:00
7398260a57
Improve SQL statements for getting device reading types 2019-11-07 18:43:28 +00:00
209fcd7926
Add short-term caching header to list-devices and list-devices-near. 2019-10-10 21:25:40 +01:00
7a489706bd
Bugfix new device sensor list 2019-07-18 22:18:30 +01:00
51c76ccd58
Add list-devices-near action with appropriate API documentation 2019-06-21 22:05:13 +01:00
0006c2a921
Add performance counter system. 2019-06-21 00:02:26 +01:00
dba984340d
Implement new device-data-recent, but it's not working right. 2019-06-13 22:02:04 +01:00
58ae39a731
Bugfix: Correct name of index action class 2019-06-13 20:58:36 +01:00
233d780123
Add link to production api.php in API docs, and change default action to a helpful message
Also bump version
2019-05-16 17:31:35 +01:00
8ebb6539bc
[server/list-reading-types] Don't return an error if a device hasn't submitted any data yet 2019-04-16 17:15:11 +01:00
527738fa00
Add version action. 2019-03-01 17:46:12 +00:00
aa3abc39eb
API/fetch-data: Don't send a cache-control header with datetime=now 2019-02-24 18:07:11 +00:00
47bc5874cc
API: Add format parameter to fetch-data action. 2019-02-24 17:17:11 +00:00
e29f7f4569
API: Add format parameter to list-devices action 2019-02-24 17:11:36 +00:00
09ab6f38d5
API: Add format parameter to list-reading-types action 2019-02-24 17:07:09 +00:00
263658d735
API: Add csv format to device-data action 2019-02-24 16:55:33 +00:00
0d3f55fc6a
Enhance error device data no data error message.
Fixes #13.
2019-02-23 20:28:45 +00:00
519e85b66a
[server] Bugfix: Updatee device-data action t use DB structure 2019-02-20 17:39:45 +00:00
3c2605dcb9
Port the data repeository over to the new structure 2019-02-18 20:44:37 +00:00
828e7ad999
Bugfix: Update a significant portion of the backend to the new database structure 2019-02-18 20:39:35 +00:00
3a2b2571f6
[API] Add device-id GET parameter to list-reading-types action.. 2019-02-07 19:15:38 +00:00
dc7427c18b
[server] Add changelog action 2019-01-26 21:46:33 +00:00
b34ba0dc0b
[server/device-data] Add start/end datetime checking 2019-01-20 18:12:00 +00:00
39869afea0
[server] Add device-data API action 2019-01-19 21:12:11 +00:00
0cefd047f4
[server] Add device-data-bounds API call 2019-01-19 16:08:47 +00:00
408e0d4cec
[server] Add list-reading-types API action 2019-01-18 23:39:56 +00:00
575a6b1dd6
[server] Add device-info api call 2019-01-18 21:49:14 +00:00
a3cc45a44c
[client] Display device markers. Hooray! 2019-01-17 16:13:27 +00:00
f0781948f3
[server] Add list-devices API action 2019-01-17 15:39:50 +00:00
d9420b82c4
[fetch-data] Send content-length header 2019-01-17 15:33:10 +00:00
a13f813771
Add cache-control header sending in production mode 2019-01-17 14:51:19 +00:00
0a5588a905
Add todo 2019-01-15 23:03:53 +00:00
9f6bea64d4
Fix measurement data query, but it's not quite right yet 2019-01-15 17:02:24 +00:00
cef578d7eb
Implement a bunch of stuff.
Things are coming along fast!
2019-01-15 15:46:24 +00:00
66eeb9010d
FetchData: Add time taken logging to response header 2019-01-14 22:18:30 +00:00
ec8e3363d1
Don't access the database connection directly in the action - that's bad! 2019-01-14 21:33:30 +00:00
4ea28cdbff
Setup database connection. Phew, that took longer than expected! 2019-01-14 21:32:55 +00:00
fc0307a5e0
FetchData: Validate params 2019-01-14 20:41:25 +00:00
4939238861
[server] Fix router 2019-01-14 20:17:36 +00:00
c4f226e1ef
Import a basic structure for the PHP code from another project. 2019-01-13 13:06:32 +00:00