Commit Graph
59 Commits
Author SHA1 Message Date
Sulka HaroandGitHub 3a0629578e Refactor moment to be loaded from ctx (#7331)
* Experimental branch that replaces momentjs with dayjs in the client

* Revert unintentional change

* feat

* Turns out dayjs is a no-go, but this has some good restructuring so submitting that
2023-01-01 19:14:59 +02:00
Sulka Haro 0653c1ec23 Remove broken header definition 2021-02-09 16:28:20 +02:00
Sulka Haro 4d4b7b844d Fix form parsing 2021-02-08 22:08:20 +02:00
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
85aea0fec5 Added sensor code transmitter ID fields (#6780)
* Copied #5442 - Duplicated @c-robertson's work

* Added tx id and sensor code to tooltip

* Added swagger docs for the new fields

* Added missing language keys

* Added new fields to sage plugin display

Co-authored-by: Sulka Haro <sulka@sulka.net>
2021-01-26 21:33:10 +02:00
Sulka Haro 0c7e9bf456 * Require created_at for Treatments on insert
* Refactoring the cache: moved to another file and support flushing from bus events
2020-09-19 18:17:20 +03:00
Sulka Haro b8e69d90ae Fix temporary target cancellation 2020-08-18 11:20:11 +03:00
josep1972andGitHub 5698ae28c1 Add remote bolus/carbs + otp entry for loop (#5598)
Add a remote bolus entry field for users on Loop, along with support for an OTP field
2020-06-12 17:33:17 +03:00
Sulka HaroandGitHub 9236771b29 Sanitize data from manual careportal entries so only fields with actual data are sent to the server (#5619) 2020-05-05 22:18:42 +03:00
JakobandSulka Haro 3170345731 Handle mmol to mgdl conversions with a constant reference (#5274) 2019-12-06 11:42:16 +02:00
Pete SchwambandSulka Haro d729b0eb00 Remote Loop overrides (#5043)
* skeleton code

* publishing

* Activating remote override

* Fix event types refresh, and fix custom duration

* Don't create treatment record; loop will

* Additional override details for treatment tooltip

* Pass client from careportal

* attempt at moving endpoint to api/v2

* Add bodyParser to v2/notifications

* Remove notifications api from v1

* Remove unused var

* Better error handling and reporting

* Add documentation for new loop plugin vars

* Handle indefinite duration overrides

* Move label of indeterminate duration override to now line when start is offscreen

* test

* Use separate representation for indefinite duration treatments

* fix display for finite duration treatments

* Fix re-use of elements when treatment ordering changes

* Handle more rect transition() updates

* Add check for LOOP_DEVELOPER_TEAM_ID

* Support configuration of aps-environment via environment variable.

* Fix expiration date math; was essentially preventing retries
2019-10-16 12:35:22 +03:00
p5nbTgip0randSulka Haro 7e36580174 Parse target top and bottom as integers (#5019) 2019-10-09 23:08:41 +03:00
Erin879 cf89f37d50 fixed issue with incorrect target validation 2019-08-06 23:28:29 +01:00
Sulka HaroandGitHub fcca5125d6 feat: validate temp target in Careportal (#4812)
* Adds data validation function to the careportal
* Validate temporary targets define both low and high target and sanitize the values for obvious issues
* Removes unused logging from openaps pill
* Fixes a bug with undefined setting
2019-07-27 17:27:36 +03:00
Sulka HaroandGitHub ad338bfdb7 Protein and Fat logging support (#3830)
* Add protein and fat logging to CarePortal, simple sums to day to day reporting, grams in graphs

* Add fat and protein to swagger

* Fix aggregate report sometimes considering logged carbs, protein and fat as a string. Add editing of protein and fat to reports. Show protein and carbs on daily reports
2019-03-03 12:20:05 +02:00
Sulka HaroandGitHub b579a58333 Add mmol support to OpenAPS temp targets (#3670)
* Fixes issue https://github.com/nightscout/cgm-remote-monitor/issues/3660

* Fix OpenAPS temporary targets using mg/dl on mmol users

* Fixes a bug with saving

* Fix changed entry data order in API

* Clean formatting

* Fix mmol conversion on treatment save
2018-07-08 12:30:59 +03:00
Sulka Haro 7df05f0198 Removing Bower part 1 2017-08-15 22:24:23 +03: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 714ebd1540 check permissions on client to hide/show careportal and boluscalc 2016-08-04 23:15:34 -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
Jason Calabrese f50e36dbaf connect an access token from the query string to a authorized token for the careportal 2016-07-31 22:56:02 -07:00
Jason Calabrese 7b985abfd4 fix treatment confirmation text and pushover message when canceling a temp targret 2016-06-09 09:20:15 -07:00
Jason Calabrese 15b8e12806 add reason and target top/bottom to treatment message if available 2016-05-28 13:29:48 -07:00
Jason Calabrese c795606410 fix some bugs with the entry of temp basals 2016-05-28 11:43:35 -07:00
Jason Calabrese 3a293dccf1 add support for canceling a temp target 2016-04-26 23:33:50 -07:00
Jason Calabrese f76882a9cf fix some codacy issues 2016-04-16 19:19:02 -07:00
Jason Calabrese e25850664d add Temporary Targets and reasons with defaults to provide request/hints to OpenAPS 2016-04-16 20:56:21 -04:00
Jason Calabrese bbb1ec5890 moved eventType definition to the plugins and setup alerts and tests for the opeanaps plugin 2015-12-06 02:42:55 -08:00
MilosKozak 936cf11b04 allow combo boluses and temp basal together 2015-12-04 22:58:04 +01:00
MilosKozak db8a65c524 ; 2015-12-03 00:12:27 +01:00
MilosKozak 5df5f95d26 Combo Boluses initial release 2015-12-02 23:50:49 +01:00
MilosKozak 4ee1a49147 better handling 0 basal values 2015-11-02 18:37:30 +01:00
Jason Calabrese 54041825cf merge dev into dev-0.9 and fix conflicts 2015-10-31 14:18:00 -07:00
Jason Calabrese a1ef18d3a1 adjust inputMatrix 2015-10-30 00:18:26 -07:00
MilosKozak 6e45674a79 #1286 merge 2015-10-29 11:35:30 +01:00
Jason Calabrese d7042a9efd remove debug 2015-10-28 23:55:37 -07:00
Jason Calabrese 0a4c662949 support for temping to absolute 0 2015-10-28 23:49:59 -07:00
MilosKozak 71b0936186 boluscalc files merge 2015-10-28 12:04:07 +01:00
MilosKozak ebc5cbadf6 final work, fixed found bugs 2015-10-28 10:11:12 +01:00
MilosKozak 56a77f3d29 allow enter/edit event Profile Switch 2015-10-28 10:11:10 +01:00
MilosKozak 9dfb32d7f0 allow more number formating in duration 2015-10-26 09:13:00 +01:00
MilosKozak 0b834470ea @jasoncalabrese careportal matrix change 2015-10-17 22:26:14 +02:00
MilosKozak 13ebc66042 Basal & Temp Basal handling and visualisation 2015-10-17 18:34:29 +02:00
MilosKozak 48e7ca65b9 <none> option to eventType 2015-10-17 18:34:26 +02:00
MilosKozak c0697d0a98 duration in careportal 2015-10-17 18:34:22 +02:00
Milos Kozak b66d60185e codacy 2015-09-14 12:59:20 +02:00
MilosKozak d3721fa2da show glucoseType in confirm dialog only when glucose entered 2015-09-13 21:34:58 +02:00
MilosKozak 87be449bd9 remove unneeded refrence 2015-09-13 21:31:05 +02:00
MilosKozak 74f675c254 fix translation in careportal 2015-09-13 21:27:55 +02:00
Jason Calabrese cd3f273fe2 merge in dev, update icon for report page 2015-09-07 00:59:27 -07:00