1c349527a1
Update webpack to v5 ( #6844 )
...
* upgrade webpack info
* cleanup eslint findings
* fix eslint formatter stylish error
* lazy is invalid option for webpack dev middleware
* upgrade webpack to 5.x
* remove unsupported terser option
* fix missing process polyfill dependency
* try alternate proces fix
* fix css image reference
* add statements to import missing css files to index.html
* TerserPlugin no longer required
* add missing css links
* remove terser
Co-authored-by: Jeremy Cunningham <jpcunningh@gmail.com >
Co-authored-by: Sulka Haro <sulka@sulka.net >
2021-02-07 17:25:19 +02:00
Sulka Haro and GitHub
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 and GitHub
8f25a6e7a4
Fix all issues from ESLint ( #4730 )
...
* Cherry picks the ES language changes from #4690
* Fix small issues found in linting
* * Fix all but one eslint complaint in the bundled code
* Add eslint and js-beautify rc files into the repo
2019-07-17 15:04:57 +03:00
MilosKozak
257371f43f
add fat,protein,energy to food editor
2017-10-16 21:25:08 +02:00
MilosKozak
3457de5b7e
use websockeets instead of rest api for food
2017-10-16 20:43:49 +02:00
Sulka Haro
7df05f0198
Removing Bower part 1
2017-08-15 22:24:23 +03:00
Pete Schwamb
f1f7a2375c
Add food type string to carb entry on graph, and show Absorption Time in tooltip
2017-06-29 11:41:20 -05:00
Jason Calabrese
370559e987
shuffle things around to get apisecret auth working in denied mode without storing
2016-10-01 01:35:07 -07:00
Jason Calabrese
b9fe32765d
hook up websocket api to new tokens; added headers to GETs; rework /api/v1/verifyauth; new status-only role so api-secret based login works
2016-08-06 01:25:31 -07:00
Jason Calabrese
9d7f957b66
admin ui now works for creating, editing, and deleting subjects; some refactoring
2016-08-03 23:30:53 -07:00
Mark Wilson
2232e9a075
Pass devicestatus to iob.calcTotal
2016-02-22 19:39:16 -08:00
MilosKozak
7467121bdd
codacy
2016-01-09 19:52:39 +01:00
MilosKozak
c4634a0670
optimize boluscalc calculations
2016-01-09 19:45:51 +01:00
Jason Calabrese
5438d12f56
use unmodified sgvs array and filter based on sbx.time with some new utility functions
2015-12-26 23:18:19 -08:00
Jason Calabrese
a85c489742
refactor all client data; tests pass, but bundle doesn't build, maybe codacy can help?
2015-12-26 01:30:39 -08:00
MilosKozak
936cf11b04
allow combo boluses and temp basal together
2015-12-04 22:58:04 +01:00
MilosKozak
4ff00c1ece
boluscalc: show othercorrection in confirm dialog
2015-11-15 12:17:03 +01:00
MilosKozak
447e4e0d4d
make profile history and multiple profiles optional
2015-11-09 21:21:36 +01:00
MilosKozak
c6710d9474
boluscalc projection fix
2015-11-07 10:35:39 +01:00
MilosKozak
694569e7d9
hide COB from boluscalc when cob not enabled, hide profile when there is only one
2015-11-06 12:41:06 +01:00
Milos Kozak
f240638f17
Merge pull request #1325 from MilosKozak/dev
...
Calculation is in range message
2015-11-03 20:46:07 +01:00
MilosKozak
3f038a422d
Calculation is in range message
2015-11-03 20:35:25 +01:00
Jason Calabrese
35fe512148
codacy;;;;
2015-11-02 18:26:24 -08:00
Jason Calabrese
26e3dc7cbb
codacy;;;
2015-11-02 17:37:07 -08:00
Jason Calabrese
293bfa861c
codacy;;
2015-11-02 17:32:56 -08:00
MilosKozak
d0cb934e1f
profiles & boluscalc integration
2015-10-30 23:12:06 +01:00
MilosKozak
19ead1d341
codacy
2015-10-30 18:07:30 +01:00
MilosKozak
fd7c1ac5e6
test fix pass 3
2015-10-28 14:30:51 +01:00
MilosKozak
4263c98efa
test fix pass 2
2015-10-28 12:38:58 +01:00
MilosKozak
aeafdbe6d1
test fix pass 1
2015-10-28 12:25:07 +01:00
MilosKozak
38a0d38595
fix showing basal, add 'T' if temp basal active
2015-10-28 12:05:09 +01:00
MilosKozak
66d6e5ef4c
missing semicolon
2015-10-28 12:05:07 +01:00
MilosKozak
8200c98e94
codacy
2015-10-28 12:04:21 +01:00
MilosKozak
8e91c14fcb
read and update cgm data from the past
2015-10-28 12:04:21 +01:00
MilosKozak
c6425505d3
;
2015-10-28 12:04:20 +01:00
MilosKozak
7e0b4de159
codacy
2015-10-28 12:04:18 +01:00
MilosKozak
99cea37e41
typo
2015-10-28 12:04:18 +01:00
MilosKozak
8adddec57e
codacy
2015-10-28 12:04:17 +01:00
MilosKozak
09d5b39008
fix callback on reload food database
2015-10-28 12:04:16 +01:00
MilosKozak
8f13d36a33
fix displaying basal rate
2015-10-28 12:04:15 +01:00
MilosKozak
c613a61b71
some improvements, BW option to treatments report
2015-10-28 12:04:12 +01:00
MilosKozak
c3df485c04
use iso for date
2015-10-28 12:04:11 +01:00
MilosKozak
bbc0b6b323
proper handling carbs from food
2015-10-28 12:04:10 +01:00
MilosKozak
8944eb27c8
replace new Option
2015-10-28 12:04:09 +01:00
MilosKozak
02511618e2
date not changed when now clicked
2015-10-28 12:04:09 +01:00
MilosKozak
5aa0346e74
wrong id
2015-10-28 12:04:08 +01:00
MilosKozak
71b0936186
boluscalc files merge
2015-10-28 12:04:07 +01:00