Commit Graph

380 Commits

Author SHA1 Message Date
Johan Degraeve 622fcb30f1 Danish : folders added. Still need translation 2022-04-12 20:18:25 +02:00
Paul Plant 5f2f5fc7d9 improvement to micro-bolus triangles
- extra class added to add a drop-down line only to standard size bolus
- glucoseChartManager updated accordingly
2022-04-04 13:07:16 +02:00
Paul Plant e771deb333 small corrections + extra commenting added
- missing variable/constant declaration comments added
- corrections to some comments
- improvements to array handling to prevent needing to unwrap
- ChartPointsScatterDownTrianglesLayer.swift moved
2022-04-04 12:43:27 +02:00
Paul Plant 46a80325c5 initial commit for treatments implementation into main chart
- stored/synced treatments will be displayed on the main chart
- carbs will be shown as a floating circle aligned with closest glucose point values
- bolus will be shown as a triangle. Micro-bolus threshold can be configured in settings (default: 1.0U). Micro-bolus will then be shown as small triangle with no labels
- option in settings to show/hide treatments on the chart (default is to show)
- changes to TreatmentType structure
- functions added to treatmentEntryAccessor
- new userdefault keys added to store new user settings
- a new chartpoint class extension has been added. This is modified from Loopkit
- correction to the NSResponse to correctly filter exercise treatments
- initial translations implemented
2022-04-01 20:38:30 +02:00
Johan Degraeve 5c54bfc479 improvements treatments (not finished)
- TreatmentNSResponse : changed type of createdAt from String to Date
- TreatmentEntryAccessor : functions that use howOld as parameter, changed type from Int to TimeInterval
- created constant for maximum days to upload for treatments, default 7 days
- increased maximum amount of treatments to show in TreatmentsViewController to 100 days
- removed TODO : check that hTTPURLResponse.statusCode is 200
- removed checkIfDisReConnectAfterTimeStampFunction in comments of initializer NightScoutUploadManager (seems not used anymore)
- in DexcomShareUploadManager and NightScoutUploadManager : renamed upload to uploadLatestBgReadings to make clear distinction with other upload functions
- deleted xdrip/Texts/TextsNFCLibre.swift because it's not used (not related to treatments)
- renamed xdrip/Texts/TextsNightScoutTestResult.swift to xdrip/Texts/TextsNightScout.swift
- fix in getLatestTreatments, howOld
- removed getRequireUploadTreatments from TreatmentEntryAccessor, filter on treatments to upload is done in NightScoutUploader
- using a new value in UserDefaults to trigger a NightScout sync. Setting the value to true from anywhere will launch a new sync.
- quite some changes in NightScoutUploadManager
- TreatmentsViewController does not control the sync, it will just trigger it whenever necessary by setting UserDefaults.standard.nightScoutSyncTreatmentsRequired to true
- NightScoutSync is triggered from several places : create a new Treatment, update a Treatment, delete a Treatment, click the sync button
- Removed UIAlertController with result from NightScoutSync. It should always succeed. It's like uploading BgReading's.
- removed file TextsNightScoutTestResult.swift, seems not used
- in TreatmentNSResponse: matchesTreatmentEntry changed : check on date didn't work, not it compares date in milliseconds, that works.
- removed/changed some var's , coreDataManager for example which is now Implicitly Unwrapped Optionals, in stead of optional. This is something which could be improved throughout the project
- after download form NS : check if existing treatments are updated, and if so update locally
- delete treatments at NS : treatments deleted on the app are not permenanetly deleted from coredata, but there's a new attribute "treatmentDeleted" which is set to true. Which means will not be shown in table. It's needed to keep track of deletions at NS
2022-03-02 00:12:01 +01:00
eduardopietre 569552a61b Uploading treatments to nightscout sets the ids to coredata. 2022-03-02 00:08:16 +01:00
Johan Degraeve e372e44820 set IPHONEOS_DEPLOYMENT_TARGET back to 12.0 2022-03-02 00:05:55 +01:00
eduardopietre 0f2eba07aa Created TreatmentCollection, data struct that abstracts treatment grouping by date. Treatments table view now uses sections. 2022-03-02 00:05:51 +01:00
eduardopietre cf6458dbac Deleted unrelated scheme file. 2022-03-02 00:05:28 +01:00
eduardopietre 956c23b29d Implemented treatment, with persistence and uploading to nightscout. 2022-03-02 00:05:21 +01:00
Paul Plant 6d05b03cae Implement Turkish localization
tr-TR localization added to all string files.

Quick correction for missing swedish localization.
2022-02-14 13:02:18 +01:00
Johan Degraeve cc89f1dcd1 for Dexcom firefly : don't show setting to switch between 'xdrip' or 'transmitter' algorithm 2021-12-21 22:09:13 +01:00
Johan Degraeve bdfbb143c3 one transmitter type for Dexcom G5 and G6 2021-12-21 22:03:59 +01:00
Johan Degraeve df57b8fb5e startsensor works 2021-12-21 22:03:57 +01:00
Johan Degraeve 79ec1fabd1 temp commit 2021-12-21 22:03:56 +01:00
Johan Degraeve c4001d0bd2 Firefly support
- connects to firefly and reads readings
- backfilling 6 hours
- sensor start and calibration must be done on the official Dexcom app, afterwards the official Dexcom app (or any other app) should not have access to bluetooth
2021-12-21 22:03:56 +01:00
Paul Plant 9bfb0456f0 nightscout full url parsing implemented 2021-12-20 14:53:15 +01:00
Paul Plant 76ff525900
$(CURRENT_PROJECT_VERSION) 2021-11-04 20:47:26 +01:00
Paul Plant acc8e99035
Merge branch 'develop' into develop 2021-11-04 19:31:31 +01:00
Paul Plant 1535a341c6 complications removed. UI and assets updated. 2021-11-04 19:27:51 +01:00
Paul Plant a01b504d85 updates 2021-10-15 16:47:27 +02:00
Paul Plant 58c4f25728 Build settings updated 2021-10-09 14:27:17 +02:00
Paul Plant fec98c3e12 Merge branch 'watch-app' into develop 2021-10-08 18:12:18 +02:00
Paul Plant 4580a9e8bb online help pushed to new settings view model 2021-10-08 14:02:02 +02:00
Paul Plant 20d6a8c47f Squashed commit of the following:
commit c659def0ca14f7f6e766380fc5b2166d1428b8db
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Fri Oct 8 12:53:59 2021 +0200

    constants moved out, watch + watchext bundle automated + commenting + layout improvements

commit 106921dfb7353ef4f56900b885487a5a30b6b2bb
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Fri Oct 8 08:36:24 2021 +0200

    Return to WatchOS 7.0 as minimum deployment target

commit 2541b888c78856534a391a06b0d878c76ef8cc4a
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Thu Oct 7 21:23:36 2021 +0200

    WatchOS deployment target lowered to 6.0

commit b35094170beb22de7db2e92c8ff96a6e8e182282
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Thu Oct 7 21:12:37 2021 +0200

    WatchOS deployment target lowered to 7.0

commit e6bdc7505103abd890efdaad3beca15f43209f4f
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Thu Oct 7 20:57:41 2021 +0200

    working commit for both master + follower

commit 7b9ad81f930ffb039e9d959cc3cb241aa435dff1
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Thu Oct 7 14:30:19 2021 +0200

    UI working. test code still in iOS RVC

commit 48f8d47692679186d4e57714a761d0cc7b950183
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Tue Oct 5 20:03:47 2021 +0200

    basic watch app working and tested

commit 52e912f5a4ab0a60c51a9c57b44dc6fa7f8d7ba5
Author: Paul Plant <37302780+paulplant@users.noreply.github.com>
Date:   Tue Oct 5 15:55:43 2021 +0200

    basic working commit
2021-10-08 12:55:45 +02:00
Paul Plant 6e83d955e8
Landscape Chart View (#20) 2021-10-02 14:46:11 +02:00
Johan Degraeve e9deb6ee14 reset to version 4.7.3 2021-09-29 14:42:06 +02:00
Johan Degraeve e2d487fb82 removed Version.xcconfig from xdrip.xcodeproj/project.pbxproj 2021-09-26 22:45:29 +02:00
Johan Degraeve bce888e060 version 4.7.3 - build 4167 2021-09-26 21:57:24 +02:00
Johan Degraeve 55140637ae removed Version.xcconfig 2021-09-26 21:54:52 +02:00
Johan Degraeve 3777c37fdc add xdrip/VersionOverride.xcconfig in .gitignore 2021-09-24 17:52:34 +02:00
NFL d867326683 use configuration files 2021-09-19 23:52:36 +02:00
Johan Degraeve a7f13475bc version 4.7.1 - build 4165 2021-09-16 23:45:59 +02:00
Johan Degraeve 3d1aed2267 version 4.7.0 - build 4164 2021-09-15 17:44:49 +02:00
Johan Degraeve f77baafe54 version 4.6.8 - build 4163 2021-09-06 22:16:26 +02:00
Paul Plant 9adc79f32e Sensor Countdown alt graphics and new settings menu section 2021-08-30 20:28:15 +02:00
Johan Degraeve f45d65581a version 4.6.7 - build 4162 2021-08-18 23:45:38 +02:00
Johan Degraeve d38d9235e0 version 4.6.6 - build 4161 2021-07-16 00:35:15 +02:00
Paul Plant 2b17d8c667 Pod updates (CryptoSwift >= 1.4.0) 2021-06-08 21:41:25 +02:00
Johan Degraeve 6ac0ca6c85 4.6.5 2021-06-06 16:29:23 +02:00
Johan Degraeve e34e915c1a version 4.6.4 - build 4159 2021-05-23 20:30:12 +02:00
Johan Degraeve 77467f8c8b version 4.6.3 - build 4157 2021-05-22 14:01:04 +02:00
Johan Degraeve 46d5cdcdb8 version 4.6.2 - build 4157 2021-05-13 21:45:43 +02:00
Johan Degraeve ff05810622 release 4.6.1 - build 4156 2021-05-08 23:36:20 +02:00
Johan Degraeve 1f6249514e version 4.6.1 - build 4155 2021-05-08 12:40:02 +02:00
Paul Plant 2b14a2f5bb
Merge branch 'develop' into chart-timescales 2021-05-07 23:28:26 +02:00
Paul Plant 1494d0dbed Correct Bundle Identifier string 2021-05-07 23:19:40 +02:00
Paul Plant e04ab0017a revert signing back ready for PR 2021-05-07 13:14:33 +02:00
Johan Degraeve 5bd5cce8d5 version 4.6.0 - build 4154 2021-05-05 23:08:58 +02:00
Johan Degraeve e3745a6e2f
Merge pull request #226 from paulplant/statistics-5
Statistics View implementation
2021-05-04 23:37:55 +02:00