12 Commits
Author SHA1 Message Date
Sulka HaroandGitHub d7e011d8f5 Refactoring organisation, bundling and security improvements (#6765)
* * Simplified bundling to just one bundle
* Removed cache invalidation token from bundling
* Generate strong persistent random string on deploy to use for JWT signing
* WIP: moving api-secret and JWT signing to a separate centralized security component
* Moved some server components away from project root
* Fix issues reported by linter

* Ignore detect-object-injection everywhere but the client

* Make admin message button red

* Remove alarms for some security alerts on code

* api_secret is now fully contained in the enclave
2021-02-02 19:53:30 +02:00
Sulka Haro a0738414f2 Oops, push the unit test changes as well 2020-12-14 22:08:53 +02:00
MilosKozak c28b9b4d1a simplealarms.test.js test fix 2016-10-21 22:50:44 +02:00
Jason Calabrese ba08f6452b use bgnow buckets in place of old delta; fix tests 2016-09-01 00:00:03 -07:00
Jason Calabrese 160bb8bac4 refactor server side data code 2015-12-25 01:31:55 -08:00
Jason Calabrese ca773ba7da split notification levels out for easier use 2015-07-12 23:46:21 -07:00
Jason Calabrese 0541282067 step 1: rename the y field to mgdl everywhere 2015-07-10 17:43:04 -07:00
Jason Calabrese b3f41dd137 convert x and date fields to mills and get rid of some conversion 2015-07-07 18:35:35 -07:00
Jason Calabrese 6dce8e1c23 only use raw for ar2 if an alarms wasn't triggered for the sgvs; more message and test improvements 2015-06-26 23:25:25 -07:00
Jason Calabrese e495bdc94d use node-cache to keep track of recently sent pushovers; prevent some more dupe and false alarms 2015-06-16 22:32:43 -07:00
Jason Calabrese 719dfdfc1f use the ugly y field instead of sgv for now 2015-06-14 19:21:05 -07:00
Jason Calabrese 5f611f2ccd tests for simplealarms plugin 2015-06-13 10:33:45 -07:00