Commit Graph

944 Commits

Author SHA1 Message Date
Johan Degraeve 9a91de757b fix #205 : Watch and notification : option to specify minimum time interval between two events or two notifications.
This is not completely as requested in the issue https://github.com/JohanDegraeve/xdripswift/issues/205

It does allow watch/Libre 2 users to have a new reading every minute.
It also allows all users to have specify the minimum time between to calendar events on the watch, or to have a notification with a reading.

For the notification : an overrule of the interval is done if there's been a dis/reconnect, which means if there was a disconnect/reconnect, the next reading will generate a notification, no matter the value of the interval.

Default value for the interval = 0
2021-03-29 23:11:32 +02:00
Johan Degraeve 36c91e589d trace app start : add trace in application didFinishLaunchingWithOptions 2021-03-27 00:14:51 +01:00
Johan Degraeve 651fc3da88 fix #214 : SnoozeViewController : if alert snoozed till after today, then show date+time and not only the time.
The description of issue 214 is not correct : 1 day snooze does not add 1 day
In fact it's correctly snoozed, the date till when is just not shown clearly in the overview
2021-03-27 00:05:33 +01:00
Johan Degraeve 7efc429c37 fix in extension Date, function toMidnight
Bug was never seen because it was only called with current date
2021-03-26 23:49:00 +01:00
Johan Degraeve 8ad5bd8910 if willRestorState is called, then make sure a trace is done, so we can see in the issue reports that this has happened
in BluetoothTransmitter : centralManager is initialized with key CBCentralManagerOptionRestoreIdentifierKey. The assigned value must always be the same (per bluetooth peripheral), otherwise willRestoreState doesn't get called.

Previously it was always a random value, ie always a different value.

Now it's always the same value, consisting of the appname + the mac address of the peripheral, meaning unique per peripheral but the same value for each app start.

One exception is the first scan, because then we don't know yet the mac address, in that case a random value is used.
2021-03-26 22:34:58 +01:00
Paul Plant 6583b105b7
Merge pull request #10 from JohanDegraeve/develop
Develop
2021-03-26 12:47:26 +01:00
Paul Plant 72981aef66 Add Bubble Mini and update CGM Tx list order 2021-03-26 12:08:12 +01:00
Johan Degraeve 5b9c4b4172 resolve conflict when merging branch SettingsWithDarkBackGround 2021-03-26 10:35:35 +01:00
Paul Plant 682d5c7b6f
Merge pull request #9 from paulplant/app-name-parameterization
Update TextsHomeView.swift
2021-03-25 22:57:11 +01:00
Paul Plant f7c88b08e1 Update TextsHomeView.swift 2021-03-25 22:55:41 +01:00
Paul Plant 42abde9b4e lighten slightly dark menus and change top nav bars 2021-03-25 18:57:20 +01:00
Paul Plant 5cca7e441b parameterize App Name for Swedish translation 2021-03-24 22:30:03 +01:00
Paul Plant 34ac20c3cc
Merge pull request #8 from JohanDegraeve/develop
Develop
2021-03-24 22:27:45 +01:00
Johan Degraeve 479e8395d2 Merge branch 'PR_translations' of https://github.com/Jon-b-m/xdripswift into Swedish
Swedish translations
2021-03-24 20:01:44 +01:00
Sn1kk3r5 82edf740b8 Logical adjustment 2021-03-24 19:48:09 +01:00
Sn1kk3r5 ece537333b typo corrected 2021-03-24 19:48:09 +01:00
Sn1kk3r5 be37843c1f Minor changes to wording and logical use
Corrected some typo
Adjusted a couple description texts to avoid translation error in the future
2021-03-24 19:48:09 +01:00
Johan Degraeve ab3cbc70d5 fix #206 - Some German Translation missing. Due to an error in key in one of the string variables. There were also some strange characters (\n\n\n\≈) 2021-03-24 19:38:09 +01:00
Paul Plant e6a3eb7116
Merge branch 'develop' into app-name-parameterization 2021-03-24 14:57:04 +01:00
Paul Plant 098680ab74 Pass ConstantsHome.applicationName to text strings and localization files 2021-03-24 14:49:32 +01:00
Jon B Mårtensson 8476ce1719
Update Main.strings 2021-03-24 14:11:36 +01:00
Jon B Mårtensson 2dea334663
Update SettingsViews.strings
small edit
2021-03-24 13:48:15 +01:00
Jon Mårtensson a7ce8105a2 Swedish translations. 2021-03-24 12:34:43 +01:00
Johan Degraeve 1fdbf7bc3a resolve merge conflicts 2021-03-23 23:20:39 +01:00
Sn1kk3r5 fa4e964183
Logical adjustment 2021-03-23 17:33:35 +01:00
Sn1kk3r5 779877a6ac
typo corrected 2021-03-23 17:30:43 +01:00
Sn1kk3r5 4a617c651e Minor changes to wording and logical use
Corrected some typo
Adjusted a couple description texts to avoid translation error in the future
2021-03-23 16:04:42 +01:00
Paul Plant 2572616162 Menu colour updates 2021-03-22 22:27:23 +01:00
Johan Degraeve 91d1349a3d fix #206 - Some German Translation missing. Due to an error in key in one of the string variables. There were also some strange characters (\n\n\n\≈) 2021-03-22 18:15:30 +01:00
Johan Degraeve de647a421f fix related to commit 473686ba37e97b08841c5b7525a856d722ab8504: enable oop web by default 2021-03-21 14:29:55 +01:00
Johan Degraeve c30f59cf51 removed unused initalizers in some core data classes 2021-03-21 14:29:26 +01:00
Johan Degraeve 259f03a98b Enhancement #191, better implementation than previous commit for 'auto snooze alerts for 5 minutes, if new reading occurs within 5 minutes'
previous commit was 82a3cb6617
2021-03-20 23:55:02 +01:00
Johan Degraeve 473686ba37 enable Libre algorithm by default , for those transmitters that support it 2021-03-20 10:53:14 +01:00
Johan Degraeve 95c6b45c06 small comment change 2021-03-20 00:05:55 +01:00
Johan Degraeve de9ffc0960
Merge pull request #200 from Sn1kk3r5/master
German translations
2021-03-20 00:05:31 +01:00
Johan Degraeve 28aa04ea9d fix #201 - relaunches the app after 'App removed from memory' or 'App crashed'
create centralManager with a CBCentralManagerOptionRestoreIdentifierKey. This to ensure that iOS relaunches the app whenever it's killed either due to a crash or due to lack of memory
iOS will restart the app as soon as a bluetooth transmitter tries to connect (which is under normal circumtances immediately
the function willRestoreState is an empty function and that seems to be enough to make it work
see https://developer.apple.com/library/archive/qa/qa1962/_index.html

It's a quick solution, it will still miss one reading, because it doesn't use the data at the moment it's relaunched. (function willRestoreState is an empty function)
2021-03-19 07:47:58 +01:00
Sn1kk3r5 60e33f2f46
minor changes to wording 2021-03-18 18:52:36 +01:00
Sn1kk3r5 d654a9f37c
minor changes to wording 2021-03-18 18:48:43 +01:00
Sn1kk3r5 6b68c5631a
minor changes to wording 2021-03-18 18:45:00 +01:00
Sn1kk3r5 0a014b4358
minor changes to wording 2021-03-18 18:42:54 +01:00
Sn1kk3r5 f30dc5e89e
minor changes to wording 2021-03-18 18:39:39 +01:00
Sn1kk3r5 e933ba51eb
minor changes to wording 2021-03-18 18:36:46 +01:00
Sn1kk3r5 0365e495f3
German translation 2021-03-18 18:31:22 +01:00
Sn1kk3r5 4e46ba446b
German translation 2021-03-18 18:30:45 +01:00
Sn1kk3r5 213187aedd
German translation 2021-03-18 18:26:25 +01:00
Sn1kk3r5 f881013191
German translation 2021-03-18 18:25:09 +01:00
Sn1kk3r5 f8867ac15d
Update NightScoutTestResult.strings 2021-03-18 17:34:42 +01:00
Sn1kk3r5 eac37fa1d6
German translation 2021-03-18 17:34:05 +01:00
Sn1kk3r5 13d5faba0c
German translation 2021-03-18 17:31:36 +01:00
Sn1kk3r5 393792684f
German translation 2021-03-18 17:29:16 +01:00