13 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 a4734f38a5 send announcements over websockets and display in title; some renaming 2015-07-25 19:14:08 -07:00
Jason Calabrese f60ccc1c32 clean and more tests 2015-07-25 10:03:43 -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 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 556091bf17 don't let future data block the current 2015-07-05 19:47:32 -07:00
Jason Calabrese 2696d8d984 treatmentnotify tests 2015-06-13 22:53:48 -07:00