80 Commits (8ccc578e7bb8003c6c3748d2df83659a2fe6b27f)

Author SHA1 Message Date
Starbeamrainbowlabs 8ccc578e7b
api/list-reading-types: optimise 1 year ago
Starbeamrainbowlabs 712e0602ed
api/index: update URL 2 years ago
Starbeamrainbowlabs 552a640600
Bugfix: Correct SQL. Fixes #63 2 years ago
Starbeamrainbowlabs cdb656b4b3
Bugfix: Fix duplicated items in list-devices-near. 2 years ago
Starbeamrainbowlabs 0b19464678
Don't show devices that have visible set to 0 2 years ago
Starbeamrainbowlabs 4c61f662cc
Bugfix: Fix error in list-devices-near error 2 years ago
Starbeamrainbowlabs 35c65f4b81
Improve device last seen time performance via new DB column. 3 years ago
Starbeamrainbowlabs e52c136406
Fix bugs in performance improvement 3 years ago
Starbeamrainbowlabs 7398260a57
Improve SQL statements for getting device reading types 3 years ago
Starbeamrainbowlabs 209fcd7926
Add short-term caching header to list-devices and list-devices-near. 3 years ago
Starbeamrainbowlabs a678a89b95
Add last_seen to list_devices_near 3 years ago
Starbeamrainbowlabs 7a489706bd
Bugfix new device sensor list 3 years ago
Starbeamrainbowlabs a325940322
Implement new ISensorRepository. 3 years ago
Starbeamrainbowlabs d5df81eed1
Add last_seen to device-info. For 36 3 years ago
Starbeamrainbowlabs 5efaab3f67
Add last-seen to list-devices. 3 years ago
Starbeamrainbowlabs 74b1b212fe
Log SQL warnings to the error log, but only in development 3 years ago
Starbeamrainbowlabs e86b0b4f97
Upgrade ST_DISTANCE() to ST_DISTANCE_SPHERE(), but there's a permissions issue. 3 years ago
Starbeamrainbowlabs 2d07af950a
Use new column name 3 years ago
Starbeamrainbowlabs 030d0cb9be
Revert "Don't use the new datetime computed column until the issues are worked out" 3 years ago
Starbeamrainbowlabs 97e234b920
Don't use the new datetime computed column until the issues are worked out 3 years ago
Starbeamrainbowlabs 336b7624fa
Fully comment database class 3 years ago
Starbeamrainbowlabs 913786ec0b
Drastically optimise the queries behind fetch-data and device-data. 3 years ago
Starbeamrainbowlabs b4ae0b457b
Optimise some queries using the new datetime computed column, but there's more work to do. 3 years ago
Starbeamrainbowlabs 51c76ccd58
Add list-devices-near action with appropriate API documentation 3 years ago
Starbeamrainbowlabs 0006c2a921
Add performance counter system. 3 years ago
Starbeamrainbowlabs 87c0eb90ba
Optimise the fetch-data query 3 years ago
Starbeamrainbowlabs 009e2e4b72
Bugfix new device-recent-data action 3 years ago
Starbeamrainbowlabs dba984340d
Implement new device-data-recent, but it's not working right. 3 years ago
Starbeamrainbowlabs 7710331f1e
Add is_min & is_max to validator 3 years ago
Starbeamrainbowlabs bbf3d02b5d
Document the Validator class to make Serenata happy 3 years ago
Starbeamrainbowlabs 58ae39a731
Bugfix: Correct name of index action class 3 years ago
Starbeamrainbowlabs 233d780123
Add link to production api.php in API docs, and change default action to a helpful message 3 years ago
Starbeamrainbowlabs 530876ab5f
[server/fetch-data] Omit send device location information 3 years ago
Starbeamrainbowlabs 8ebb6539bc
[server/list-reading-types] Don't return an error if a device hasn't submitted any data yet 3 years ago
Starbeamrainbowlabs dcdec686a4
Add device_type_id output as type_id 3 years ago
Starbeamrainbowlabs ac4ecd1751
API: Return altitude information 3 years ago
Starbeamrainbowlabs 527738fa00
Add version action. 3 years ago
Starbeamrainbowlabs aa3abc39eb
API/fetch-data: Don't send a cache-control header with datetime=now 3 years ago
Starbeamrainbowlabs 6ec021de36
Only log sql qierues in development mode 3 years ago
Starbeamrainbowlabs 47bc5874cc
API: Add format parameter to fetch-data action. 3 years ago
Starbeamrainbowlabs e29f7f4569
API: Add format parameter to list-devices action 3 years ago
Starbeamrainbowlabs 09ab6f38d5
API: Add format parameter to list-reading-types action 3 years ago
Starbeamrainbowlabs 263658d735
API: Add csv format to device-data action 3 years ago
Starbeamrainbowlabs 0d3f55fc6a
Enhance error device data no data error message. 3 years ago
Starbeamrainbowlabs 519e85b66a
[server] Bugfix: Updatee device-data action t use DB structure 3 years ago
Starbeamrainbowlabs 3c2605dcb9
Port the data repeository over to the new structure 3 years ago
Starbeamrainbowlabs 828e7ad999
Bugfix: Update a significant portion of the backend to the new database structure 3 years ago
Starbeamrainbowlabs 3a2b2571f6
[API] Add device-id GET parameter to list-reading-types action.. 3 years ago
Starbeamrainbowlabs dc7427c18b
[server] Add changelog action 3 years ago
Starbeamrainbowlabs ee6cf4a86e
[server] Bugfix: Filter result of device-data action by reading type 3 years ago