Commit graph

287 commits

Author SHA1 Message Date
Milos Kozak 253601980d :database:entities 2022-11-09 23:28:48 +01:00
Milos Kozak f870a74796 :database:impl 2022-11-09 16:49:36 +01:00
Milos Kozak 6cc67e52a4 core -> core-main 2022-11-09 13:30:48 +01:00
Milos Kozak 774ed51e1b
NSClient v3 initial work, NS v1 improvements
* NSCv3 initial work

* Allow only 1 NSC

* read sgv

* NSv3: Read Bolus, Carbs

* NSCv3: more work

* fix build

* loading working

* work on TT

* TT working

* TBR processing

* EPS working

* PS Sync

* Process entries at once. Share code v1,v3

* BolusCalculatorWizard working

* TherapyEvent working

* process bg at once

* improve sync

* sdk -> ns-sdk

* handle status per version

* OffileEvents working

* EB working

* RemoteDeviceStatus

* fix build

* cleanup
2022-11-08 09:23:46 +01:00
Milos Kozak b0c755968e Merge branch 'dev' into eopatch2 2022-11-03 14:07:45 +01:00
Milos Kozak bf14292b98 remove database -> shared dependency 2022-11-02 21:49:44 +01:00
Milos Kozak 1438f6ecaf Cleanup database mantenance option 2022-10-20 11:37:27 +02:00
Milos Kozak 437bb0d65d AndroidAPS - AAPS, NSClient -> AAPSClient 2022-10-13 15:26:49 +02:00
Milos Kozak d6e3fa9a75 fix resetting cached TDDs 2022-10-12 11:53:02 +02:00
Milos Kozak 21f53e40af
Merge branch 'dev' into eopatch2 2022-09-28 11:09:08 +02:00
Milos Kozak 8fb5c5a984 fix loading last value 2022-09-22 20:24:27 +02:00
Milos Kozak 3c2d4cc126
Merge pull request #2022 from nightscout/notes
notes for carbs
2022-09-19 15:54:59 +02:00
Milos Kozak 353fd727f6 allow DB 22 -> 21 downgrade 2022-08-08 22:36:27 +02:00
christina 45bb7997d1 intelligo 2022-07-31 19:34:22 +03:00
Milos Kozak 763f54ec6f
Merge branch 'dev' into eopatch2 2022-07-19 11:27:58 +02:00
Sergey Zorchenko e0e55968b1 fix for comparator copy-paste 2022-06-23 17:33:56 +03:00
Sergey Zorchenko 34a3b1146c indices must be dropped on every migration? that's weird :( 2022-06-23 17:33:56 +03:00
Sergey Zorchenko 126c90024b same notes for boluses 2022-06-23 17:33:56 +03:00
Sergey Zorchenko 1e55890ff7 old schema mod reverted, new added 2022-06-23 17:33:56 +03:00
Sergey Zorchenko a0f4361e72 db version up and migration 2022-06-23 17:33:55 +03:00
Sergey Zorchenko 1588df7ffe fix carbs entry notes field 2022-06-23 17:33:55 +03:00
Milos Kozak 845879d916 Cache TDD calculations 2022-06-09 15:22:02 +02:00
Milos Kozak 46a5680903 gradle update 2022-06-06 10:25:08 +02:00
Milos Kozak b0736b5246 upgrade libs 2022-05-25 15:46:06 +02:00
Milos Kozak e68c127129 Improve TBR logging 2022-05-16 13:45:52 +02:00
Milos Kozak 8e44ddcd43 relocate gradle files 2022-05-11 10:18:14 +02:00
Philoul a12e1079b1 Merge remote-tracking branch 'Nightscout/dev' into Autotune/AutotuneClean 2022-05-06 00:27:30 +02:00
Milos Kozak d131ceb4bd log updated TBR records 2022-05-05 15:54:41 +02:00
Philoul d8762bec0f Add Autotune in UserEntry 2022-05-05 10:41:43 +02:00
Milos Kozak abd10aa746
Merge branch 'dev' into wear 2022-05-04 22:08:45 +02:00
Milos Kozak 2d653c67ef Better log TBR 2022-04-29 19:07:36 +02:00
Milos Kozak 0dd72922d2 gradle cleaup 2022-04-23 14:09:37 +02:00
Milos Kozak 6076191515
Merge branch 'dev' into wear 2022-04-22 22:44:27 +02:00
Milos Kozak 84a3bd470e
Merge branch 'dev' into aidex_support_v2 2022-04-19 22:40:42 +02:00
Mark Breen 0262e7f88e
Merge branch 'andyrozman:aidex_support_v2' into aidex_support_v2 2022-04-19 01:38:35 +01:00
Milos Kozak 1684b88270 fix cutting TBR & EB 2022-04-13 13:40:50 +02:00
Andy Rozman e82c6976fd Merge branch 'dev' into aidex_support_v2 2022-04-12 22:47:09 +01:00
Milos Kozak 2dba081176 Wear refactor 2022-04-11 14:25:00 +02:00
Mark Breen 8318202755
Add Aidex 2022-03-29 23:30:30 +01:00
Milos Kozak 9b7c6d83bb StatsActivity formatting 2022-03-21 19:23:37 +01:00
Andy Rozman 7502824a1b - added Aidex implementation (doesn't work yet) 2022-03-05 22:27:16 +00:00
Milos Kozak e27bb2d04c Merge branch 'dev' into rxjava3 2022-02-17 21:45:20 +01:00
dependabot[bot] 2d7f72d024
Bump gson from 2.8.9 to 2.9.0
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:08:33 +00:00
Milos Kozak febe64b3c6
Merge branch 'dev' into eopatch2 2022-02-11 09:30:41 +01:00
jungsomyeong cfaf9f228e EOPatch2 support 2022-02-11 13:58:07 +09:00
Milos Kozak 0a39388f81 rxjava2 -> 3 2022-02-10 19:11:58 +01:00
Milos Kozak 668a5bbdb9 unify version naming 2022-02-10 17:13:42 +01:00
Milos Kozak 900c5db0dc G6: calibration fix 2022-01-27 21:35:12 +01:00
Milos Kozak fb799d8da6 BolusWizard: show icons based on checkbox selection in simple mode 2022-01-09 18:00:16 +01:00
Milos Kozak 3a30f73aa1 Prevent Failed requirement 2022-01-06 12:11:53 +01:00
Milos Kozak aad1e08c46 ECarbs: Allow remove carbs in the future 2021-12-14 12:03:28 +01:00
Milos Kozak be07867502 rollback compileSdkVersion 2021-12-11 11:37:22 +01:00
Milos Kozak 21818546e7
Merge pull request #1010
Fix user entry units convertion
2021-11-30 21:33:06 +01:00
Philoul 98ef5768be Fix Calibration value in uel.log 2021-11-30 20:25:48 +01:00
Milos Kozak ac62217984 allow bolus update in NSC mode 2021-11-29 19:06:04 +01:00
Milos Kozak 3739db489f Fix EB sync 2021-11-29 08:29:13 +01:00
Milos Kozak d0e9761e70 fix ending EB 2021-11-15 23:00:04 +01:00
Milos Kozak 3891fb70c2
Merge pull request #891 from nightscout/glunovo
Glunovo support
2021-11-12 10:30:34 +01:00
Milos Kozak 85178ee19f End TBR before connectNewPump 2021-11-11 11:04:24 +01:00
Dominik Dzienia c2c6bb810a Fixes #882 by aggregating DAO query for temporary basals and moving it outside loop 2021-11-09 19:51:22 +01:00
Milos Kozak 25c048640d Glunovo plugin 2021-11-09 15:26:09 +01:00
dependabot[bot] 9231a3246d
Bump gson from 2.8.8 to 2.8.9
Bumps [gson](https://github.com/google/gson) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.8...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 07:57:04 +00:00
Philoul c0f12d3203 Less default colors in UserEntries 2021-11-01 12:55:35 +01:00
Milos Kozak 345a57da09 fix time range for carbs 2021-10-30 14:27:25 +02:00
Milos Kozak a56bdcc7c8 AUTO: user actions & new layout 2021-10-28 20:22:13 +02:00
Milos Kozak 4c4122c6a6 preserve invalidated status for cgm data 2021-10-25 15:50:27 +02:00
Milos Kozak 60c14cda21 NS: Sync BolusCalculatorResult 2021-10-25 14:17:06 +02:00
Milos Kozak d520c45aba fix interval cutting during pump sync 2021-10-21 16:00:26 +02:00
Philoul 58a6cd3c02 Avoid Crash in csv Export
Fix Translator if null objects sent
Add again @SerializedName removed in Temporaytarget and TherapyEvent
2021-10-16 12:35:47 +02:00
Milos Kozak d5892a81f9 Optimize NSClient sync 2021-10-12 23:54:04 +02:00
Milos Kozak bdffe22803 fix duration sync to NSClient 2021-10-07 22:53:46 +02:00
Milos Kozak 8050fedaf6 Merge branch 'dev' of https://github.com/nightscout/AndroidAPS into dev 2021-10-01 16:55:40 +02:00
Milos Kozak defdb28f93 code cleanup 2021-10-01 11:07:16 +02:00
Milos Kozak 8d07a697c3 EffectiveProfileSwitch sync 2021-09-24 14:58:17 +02:00
Milos Kozak b40428c986
Merge pull request #607 from Philoul/NewUelLog
New UserEntries
2021-09-22 18:20:06 +02:00
Milos Kozak d33f62b23d remove PowerMockRunner where possible 2021-09-21 21:57:56 +02:00
Milos Kozak d43393e2af unify trend arrow AAPS <-> watch 2021-09-21 16:46:12 +02:00
Milos Kozak 374e251801 remove @Jvm directives where possible 2021-09-20 17:20:09 +02:00
Milos Kozak fb9f5220d3 Ignore future events for status lights 2021-09-18 18:06:11 +02:00
Milos Kozak c9897da78d
Merge pull request #641 from nightscout/openhumans_v2
Update Open Humans uploader for new database
2021-09-06 13:54:16 +02:00
dependabot[bot] 55f1b5fa0a
Bump gson from 2.8.7 to 2.8.8
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.7...gson-parent-2.8.8)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:07:53 +00:00
TebbeUbben 3aadb92250 Update Open Humans uploader for new database 2021-08-20 19:37:38 +02:00
Philoul 4e00389622 Add DanaI and add UserEntry.Sources in Pumptype to simplify code 2021-07-15 00:30:57 +02:00
Philoul 7c9ea0b528 Add DiaconnG8 in userEntry sources 2021-07-14 17:31:35 +02:00
Milos Kozak cf006790b9 make automation profile switch based on last profile switch instead of profile store 2021-06-26 22:57:40 +02:00
Milos Kozak e08af1e7e4 fix NS sync issue 2021-06-26 22:15:02 +02:00
Milos Kozak 7bb03c4c13
Merge pull request #580 from nightscout/diaconn
Diaconn
2021-06-24 19:34:22 +02:00
Milos Kozak 740c009471 gradle:7.1.0-alpha02 2021-06-16 08:23:55 +02:00
Andrei Vereha 25c44f4206 add invalidateTemporaryBasalWithPumpId 2021-06-12 23:32:34 +02:00
Milos Kozak 8e466be92c Diaconn support 2021-06-08 23:27:14 +02:00
Milos Kozak c0dba456d7 fix lst bolus query and smb pocessing 2021-06-02 22:40:30 +02:00
Milos Kozak fedba23405 code cleanup 2021-06-01 22:51:16 +02:00
Milos Kozak 6735d22934 OfflineEvent -> room 2021-05-28 16:06:44 +02:00
Milos Kozak 82cce81d0b update duration requirement 2021-05-28 08:59:52 +02:00
dependabot[bot] 464cdd7a91
Bump gson from 2.8.6 to 2.8.7
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.7.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 06:08:55 +00:00
Milos Kozak 92f0487db8 fix displayed BG 2021-05-23 21:05:21 +02:00
Milos Kozak 2251a20094 rename 2021-05-18 22:06:52 +02:00
Milos Kozak d766bc6635 gradle:4.2.1 2021-05-18 21:37:03 +02:00
Milos Kozak a1c1355ce6 MVVM like for overview 2021-05-17 21:05:24 +02:00
Milos Kozak 1af0cc5aeb NSClient sync improvement 2021-05-14 08:54:11 +02:00