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