Commit Graph

55 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 87c0eb90ba
Optimise the fetch-data query 2019-06-20 22:12:33 +01:00
Starbeamrainbowlabs 009e2e4b72
Bugfix new device-recent-data action 2019-06-13 22:10:14 +01:00
Starbeamrainbowlabs dba984340d
Implement new device-data-recent, but it's not working right. 2019-06-13 22:02:04 +01:00
Starbeamrainbowlabs 7710331f1e
Add is_min & is_max to validator 2019-06-13 21:53:26 +01:00
Starbeamrainbowlabs bbf3d02b5d
Document the Validator class to make Serenata happy 2019-06-13 21:46:30 +01:00
Starbeamrainbowlabs 58ae39a731
Bugfix: Correct name of index action class 2019-06-13 20:58:36 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs 530876ab5f
[server/fetch-data] Omit send device location information 2019-04-16 17:40:32 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs dcdec686a4
Add device_type_id output as type_id 2019-03-14 12:50:43 +00:00
Starbeamrainbowlabs ac4ecd1751
API: Return altitude information 2019-03-14 12:42:17 +00:00
Starbeamrainbowlabs 527738fa00
Add version action. 2019-03-01 17:46:12 +00:00
Starbeamrainbowlabs aa3abc39eb
API/fetch-data: Don't send a cache-control header with datetime=now 2019-02-24 18:07:11 +00:00
Starbeamrainbowlabs 6ec021de36
Only log sql qierues in development mode 2019-02-24 17:18:36 +00:00
Starbeamrainbowlabs 47bc5874cc
API: Add format parameter to fetch-data action. 2019-02-24 17:17:11 +00:00
Starbeamrainbowlabs e29f7f4569
API: Add format parameter to list-devices action 2019-02-24 17:11:36 +00:00
Starbeamrainbowlabs 09ab6f38d5
API: Add format parameter to list-reading-types action 2019-02-24 17:07:09 +00:00
Starbeamrainbowlabs 263658d735
API: Add csv format to device-data action 2019-02-24 16:55:33 +00:00
Starbeamrainbowlabs 0d3f55fc6a
Enhance error device data no data error message.
Fixes #13.
2019-02-23 20:28:45 +00:00
Starbeamrainbowlabs 519e85b66a
[server] Bugfix: Updatee device-data action t use DB structure 2019-02-20 17:39:45 +00:00
Starbeamrainbowlabs 3c2605dcb9
Port the data repeository over to the new structure 2019-02-18 20:44:37 +00:00
Starbeamrainbowlabs 828e7ad999
Bugfix: Update a significant portion of the backend to the new database structure 2019-02-18 20:39:35 +00:00
Starbeamrainbowlabs 3a2b2571f6
[API] Add device-id GET parameter to list-reading-types action.. 2019-02-07 19:15:38 +00:00
Starbeamrainbowlabs dc7427c18b
[server] Add changelog action 2019-01-26 21:46:33 +00:00
Starbeamrainbowlabs ee6cf4a86e
[server] Bugfix: Filter result of device-data action by reading type 2019-01-20 22:03:06 +00:00
Starbeamrainbowlabs b34ba0dc0b
[server/device-data] Add start/end datetime checking 2019-01-20 18:12:00 +00:00
Starbeamrainbowlabs 39869afea0
[server] Add device-data API action 2019-01-19 21:12:11 +00:00
Starbeamrainbowlabs 0cefd047f4
[server] Add device-data-bounds API call 2019-01-19 16:08:47 +00:00
Starbeamrainbowlabs 408e0d4cec
[server] Add list-reading-types API action 2019-01-18 23:39:56 +00:00
Starbeamrainbowlabs 73cd2a77dc
[server/device-info] Actually use the device-id parameter 2019-01-18 23:02:24 +00:00
Starbeamrainbowlabs 575a6b1dd6
[server] Add device-info api call 2019-01-18 21:49:14 +00:00
Starbeamrainbowlabs aa88da0617
[server] Tweak measurement data properties 2019-01-17 17:02:22 +00:00
Starbeamrainbowlabs 3a62ef08d9
[server/fetch-data] Dedupe records & add property to indicate the # of records 2019-01-17 16:51:37 +00:00
Starbeamrainbowlabs a3cc45a44c
[client] Display device markers. Hooray! 2019-01-17 16:13:27 +00:00
Starbeamrainbowlabs 4a2b8fc3c6
[server/list-devices] Tweak prorperty names 2019-01-17 15:52:42 +00:00
Starbeamrainbowlabs f0781948f3
[server] Add list-devices API action 2019-01-17 15:39:50 +00:00
Starbeamrainbowlabs d9420b82c4
[fetch-data] Send content-length header 2019-01-17 15:33:10 +00:00
Starbeamrainbowlabs a13f813771
Add cache-control header sending in production mode 2019-01-17 14:51:19 +00:00
Starbeamrainbowlabs 0a5588a905
Add todo 2019-01-15 23:03:53 +00:00
Starbeamrainbowlabs edf52fe3df
Correct perfdata ms calculation 2019-01-15 19:06:49 +00:00
Starbeamrainbowlabs 6123e2c679
Use timediff -> time_to_sec -> abs to make datetime fuzzy 2019-01-15 17:27:35 +00:00
Starbeamrainbowlabs 102bd13864
Fix measurement data query (I think) 2019-01-15 17:05:21 +00:00
Starbeamrainbowlabs 9f6bea64d4
Fix measurement data query, but it's not quite right yet 2019-01-15 17:02:24 +00:00
Starbeamrainbowlabs f66083575a
Fix database connection 2019-01-15 16:37:46 +00:00
Starbeamrainbowlabs 57ec980b7d
Fix meaurement type repo 2019-01-15 16:16:00 +00:00
Starbeamrainbowlabs f31989b7eb
Fix repo interface definition 2019-01-15 15:58:23 +00:00
Starbeamrainbowlabs dea95716ed
Fill out mesurement type repo methods 2019-01-15 15:57:39 +00:00
Starbeamrainbowlabs cef578d7eb
Implement a bunch of stuff.
Things are coming along fast!
2019-01-15 15:46:24 +00:00
Starbeamrainbowlabs 66eeb9010d
FetchData: Add time taken logging to response header 2019-01-14 22:18:30 +00:00
Starbeamrainbowlabs bbd08b439e
Create a apir of interfaces for the repositories 2019-01-14 21:43:45 +00:00