Jon Ziebell
8c82cc7e54
Updated example settings to set generally unused things to null for #391
2023-04-01 08:32:31 -04:00
Jon Ziebell
1c94dc8f09
Fixed #341 - Beestat Stays Signed-In to Previous Account
2023-01-24 19:20:21 -05:00
Jon Ziebell
65f88a6624
Removed extra closing brace in settings example
2023-01-21 23:15:23 -05:00
Jon Ziebell
5ed2424b59
Minor changes for PHP8
2023-01-21 22:53:55 -05:00
Jon Ziebell
d7146e23ab
Minor changes for PHP8
2023-01-21 22:01:08 -05:00
Jon Ziebell
357ec5b35a
Updated settings example
2023-01-18 06:37:57 -05:00
Jon Ziebell
8eac5140bb
PHP 7.4 and more verbose logging for external authorizations
2022-12-24 11:32:13 -05:00
Jon Ziebell
3bfb9f9ef5
Fixed address sometimes not being set correctly
2022-09-01 21:47:50 -04:00
Jon Ziebell
f84665ddd6
Fixed #362 - Sensor temperature shows -17.8°C when battery dies.
2022-08-12 21:28:28 -04:00
Jon Ziebell
14bed9c570
Fixed a couple of spots where random values were not using cryptographically-secure methods.
2022-01-08 15:48:32 -05:00
Jon Ziebell
06073bfc25
Added settings page and all the things that go along with it.
2021-12-14 20:23:56 -05:00
Jon Ziebell
635bb2242b
Added more debug info to responses when in dev mode
2021-03-03 20:46:34 -05:00
Jon Ziebell
159670e08c
Fixed ecobee tokens not always deleting when they are revoked.
2021-03-01 22:30:31 -05:00
Jon Ziebell
99bed767b3
Fixed API log no longer logging due to previous commit
...
089cbb69e3c96e12da04f8db724e70116373ad6d
2021-02-26 18:48:09 -05:00
Jon Ziebell
089cbb69e3
Optimized away a slow query into a transaction.
2021-02-26 14:51:59 -05:00
Jon Ziebell
6d7b4ff3f5
Metrics
...
There's no description for a commit with changes to 65 files.
2021-01-27 20:49:27 -05:00
Jon Ziebell
7012c34fd7
Fixed database error handling for #286
2020-06-23 21:48:33 -04:00
Jon Ziebell
474f4476fc
Cleaned up Sentry reporting a bit.
...
Sometimes it would get called twice and some variables were being set too late.
2020-06-23 07:48:22 -04:00
Jon Ziebell
2e2de518e5
Turning Sentry back on for the API
2020-06-23 06:58:32 -04:00
Jon Ziebell
d0ce15606b
Fixed #266 - Migrate from MailChimp to MailGun
2020-06-21 22:10:38 -04:00
Jon Ziebell
930fbe1c28
Simplified debug_backtrace
...
This removed arguments (which could contain sensitive data) and also eliminated resources from the trace which failed to json_encode.
2020-03-16 21:15:04 -04:00
Jon Ziebell
6ea48160e9
Renamed api_log2 to api_log
2020-03-15 21:09:46 -04:00
Jon Ziebell
e0f901e968
Fixed API log time
2020-03-15 21:06:19 -04:00
Jon Ziebell
997dd6976e
Storing seconds instead of milliseconds in new API log
2020-03-15 20:48:18 -04:00
Jon Ziebell
790aaf354e
Fixed #265 - Change logging from push to pull
...
Deceptively simple commit message. This is a massive change that completely reworks the most fundamental part of the API. Not only does it remove the push logging, it also restructures logging to give better insight into what happens during an API call.
2020-03-15 08:12:28 -04:00
Jon Ziebell
c6c4b66083
Added extra info to Sentry API reporting
2020-03-06 20:51:38 -05:00
Jon Ziebell
b740d75760
Stop sending errors to Sentry for anything except for the regular app API user
2020-03-06 07:56:33 -05:00
Jon Ziebell
64c12e6da1
Fixed null values in tinyint(1) fields returning false
2020-02-08 14:07:14 -05:00
Jon Ziebell
73139b47a8
Condition Sentry reporting on whether or not the configuration is present.
...
Better for people forking the project.
2020-02-08 14:06:34 -05:00
Jon Ziebell
846eb9bb93
Fixed first sync producing errors due to settings overwriting each other.
2020-02-03 22:16:29 -05:00
Jon Ziebell
a6564305b0
Fixed #229 and #90 .
...
Loading now doesn't break if the sync fails, and as a bonus that made it trivial to display whether or not ecobee is down.
2020-01-29 22:39:05 -05:00
Jon Ziebell
8054a10329
Only report exceptions on live
2020-01-28 18:38:08 -05:00
Jon Ziebell
dcb15e5ff0
Switched Sentry logging to set api_user_id as a tag for better indexing.
2020-01-20 20:43:09 -05:00
Jon Ziebell
279d97d72f
Fixes API-E. Fixes API-K. Fixes API-J.
...
Cleaned up some logic related to how tokens and refreshing works. Lots of stuff was broken.
2020-01-20 20:36:28 -05:00
Jon Ziebell
c019fddce6
Moved user to it's own section of Sentry logging
2020-01-18 21:54:35 -05:00
Jon Ziebell
c50d64b0d8
Removed hardcoded 'foo' from Sentry API call
2020-01-18 21:38:30 -05:00
Jon Ziebell
64d0a72252
Added logging of API errors to Sentry.
2020-01-18 21:34:32 -05:00
Jon Ziebell
e5b1f5538f
Fixed #212 - Server running out of memory when doing global/all comparisons
...
Added chunking to the thermostat group select to reduce memory usage.
2020-01-08 20:43:05 -05:00
Jon Ziebell
d0ff64098a
Fixed data download API calls not logging for #180
...
Forgot about the set_headers function in Cora.
2019-11-07 20:28:19 -05:00
Jon Ziebell
fc2755db87
Fixing case-sensitivity issue with information_schema query
2019-10-28 22:35:36 -04:00
Jon Ziebell
eaee95736d
Fixed #157 - Re-evaluate converged columns
...
Removed "json_" prefixes from all columns and converted columns to actual JSON types. Also removed all converged columns and converted contents to regular columns.
2019-10-28 21:18:43 -04:00
Jon Ziebell
55f9aae26f
Subdomains!
...
beestat.io, app.beestat.io, api.beestat.io, demo.beestat.io They all now work and the cookies should behave better. Fixes #134 among other things.
2019-10-17 21:20:25 -04:00
Jon Ziebell
47bcf5d45b
Most of the changes for 1.4
2019-10-16 20:46:41 -04:00
Jon Ziebell
2773fd7184
Made setting->get() a bit clearer.
2019-07-06 14:28:42 -04:00
Jon Ziebell
fd724fd3db
Fixed bug in setting->get().
2019-07-06 14:28:42 -04:00
Jon Ziebell
af69ce9131
Fixed settings not loading properly if set to null
2019-07-06 14:01:05 -04:00
Jon Ziebell
1c79d3a773
Beestat is now open source
2019-05-22 21:22:24 -04:00