15 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
Sulka HaroandGitHub cb33193e08 Server-side localization fixes, better speech api use (#3724)
* Adds API to plugin manager that calls plugins to visualize alarms

* Refactoring how the translation object is managed after discovering every server-side plugin had it's own instance of the translations and the language code wasn't propagated to any code that generated alarms

* Add more missing translations

* Some more localization fixes
Update Finnish to 100% localized
Change Mongo connection to not stop retrying connecting

* Better scaling for mmol
Fix bug in detecting new BG values

* Delta calculation was the wrong way round :D

* add missing dutch translations

* Have tests bail early & tell Mocha to exit at the end of the run

* Try if Travis likes running tests one by one better

* Enable blocking IO for Travis
2018-07-27 16:04:07 +03:00
Jason Calabrese 59e5efa45c new notification groups for independent notifications/alarms from different plugins 2016-05-17 01:31:48 -07:00
Jason Calabrese 160bb8bac4 refactor server side data code 2015-12-25 01:31:55 -08:00
Jason Calabrese f6878883dc to maintain compatability codes 1-8 should be info level, fix bugs 2015-09-06 10:36:42 -07:00
Jason Calabrese 105fd19392 make errorcode to level mappings configurable 2015-09-06 10:00:46 -07:00
Jason Calabrese add721b5fe new announcement feature
allow notification to be created manually
support for routing these to special pushover and maker keys
support for multiple pushover and maker key
2015-07-25 03:17:59 -07:00
Jason Calabrese ca773ba7da split notification levels out for easier use 2015-07-12 23:46:21 -07:00
Jason Calabrese 67c3294f1b errorcodes clean up, more tests 2015-07-12 20:57:30 -07:00
Jason Calabrese 95d7b07eda move errorCodeToDisplay from client.js to errorcodes.js, chiping away at the monster 2015-07-12 17:50:34 -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 2eef14648b more errorcode tests 2015-06-14 19:38:05 -07:00
Jason Calabrese d361b1b999 plugin to trigger notifications based on cgm error codes 2015-06-14 19:16:30 -07:00