Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staging 5.4.0 #575

Merged
merged 53 commits into from
Oct 14, 2024
Merged

Staging 5.4.0 #575

merged 53 commits into from
Oct 14, 2024

Commits on Jun 19, 2024

  1. Big fix for false +0 (or +0.0 mmol) bg deltas

    - BUG FIX: xDrip incorrectly reported +0 (or 0.0 for mmol) BG when delta was not 0 (or 0.0 for mmol) - this only occurred occasionally when BG deltas were around 1
    - This fixes this issue, tested and verified on live device for mgdl
    aug0211 committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    cbd6f88 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Added Bubble Nano support

    1.Added Bubble Nano support
    2.Update Bubble/Bubble Mini/Bubble Nano appId
    EquilHack committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fd192c3 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. add tab/big number view to watch app

    - include animations when updates are displayed or when the user double taps BG value to manually refresh data
    - change "last reading at xx:xx" for "x mins ago"
    - move connection indicator dot to info view
    paulplant committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    ef47056 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60e8ff7 View commit details
    Browse the repository at this point in the history
  3. include slope info in BGReadingsView

    - add slope/minute value
    - add slope/5 minutes value
    
    This will help to understand why certain trend arrows are used
    paulplant committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f1cd83b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Bump rexml from 3.2.8 to 3.3.6

    Bumps [rexml](https://github.com/ruby/rexml) from 3.2.8 to 3.3.6.
    - [Release notes](https://github.com/ruby/rexml/releases)
    - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
    - [Commits](ruby/rexml@v3.2.8...v3.3.6)
    
    ---
    updated-dependencies:
    - dependency-name: rexml
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    71853c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. UI changes for clearer Transmitter/xDrip algorithm and Calibration ty…

    …pes (single/multi-point)
    
    - algorithm and calibration types initial implementation
    - map boolean oopWebEnabled and nonFixedSlopeEnabled to Algorithm Type and Calibration Type enums
    - reverse non-fixed and oopWeb sections
    - clean up some of the code/logic
    - initial EN translations made
    paulplant committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    e1a3ea2 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. autostart G6 when warm-up detected with newer sensorStartDate

    - i.e. when the transmitter sensor session is started by another app
    paulplant committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    825e01c View commit details
    Browse the repository at this point in the history
  2. fix activeSensorDescription for Libre sensorTypes

    ensure it is updated when a new internal sensor session is started such as after an algorithm type change
    paulplant committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    f83f98e View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. updates to BgReadingsView

    - slope/delta calculations (per min + per 5 mins)
    - calibration data now shown if applied to bg reading
    - tidy up of some existing code
    - initial localizations to EN
    paulplant committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e2d8940 View commit details
    Browse the repository at this point in the history
  2. Add "Waiting for data..." to SensorInfoView for when a new transmitte…

    …r is first connected
    
    This prevents "No CGM Connected" from showing for newly added CGMTransmitters. This stops the UI from being incoherent whilst waiting for the first sensor readings to arrive.
    paulplant committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    ce69c9b View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. ensure developer settings load hidden after force-close/crash

    - also quick Xcode structure clean-up
    paulplant committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6188fc9 View commit details
    Browse the repository at this point in the history
  2. Rename SettingsViewDexcomSettingsViewModel -> SettingsViewDexcomShare…

    …SettingsViewModel
    
    Just for clarity as these settings only apply to Dexcom Share upload. Nothing else related to Dexcom
    paulplant committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    137a25b View commit details
    Browse the repository at this point in the history
  3. Add "Required" identification to Dexcom Share username/password/seria…

    …l number in case the user leaves them blank
    
    - mainly required as it was not clear that a receiver serial number is required in order to upload data
    - update password obscuring to new function (as used by data source and Nightscout settings)
    paulplant committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e5a0936 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. improvements to G5/G6/ONE UI handling

    - transmitter battery level message (remove runtime + temp etc as not relevant any more)
    - hide default sensorStartDate when the transmitter sensor session is stopped (such as when a new transmitter is first connected but no sensor is yet started)
    paulplant committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    1a2e65f View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. move "smooth libre values" from developer settings to Libre2 peripher…

    …al view controller model
    paulplant committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    876de12 View commit details
    Browse the repository at this point in the history
  2. CGM connected string update

    initial EN and ES localizations
    paulplant committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    d26640d View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    3be233c View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    dbf147c View commit details
    Browse the repository at this point in the history
  2. WatchApp updates

    - watch app BigNumberView gauge scale correction
    - use shorter "mins ago" string when over 12 hours has passed
    paulplant committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    eeee5a4 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. improve follower connection status for Watch App + widget changes

    - update timestamp also from NightscoutUploadManager upon status 200
    - change Nightscout disconnectWarning to 310 seconds (5m10s)
    - use abbreviated follower type name for systemSmall widget so that it fits cleanly
    paulplant committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    13650d5 View commit details
    Browse the repository at this point in the history
  2. Xcode16 compiler warning fixes

    - mainly change "private (set)" to the correctly written "private(set)" as per Apple documentation.
    
    - add @retroactive as required (suggested by Xcode)
    
    - add the CNContactStore.authorizationStatus == .limited case to avoid warnings when building for iOS18.
    paulplant committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6319bb1 View commit details
    Browse the repository at this point in the history
  3. high contrast contact image option implemented

    - can be enabled in Settings so that the contact image renders nicely when a color tint is applied to the watchface
    - should be left disabled when using the usual multi-color watchface colors
    paulplant committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ecc398a View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Rename "NightScout" to "Nightscout"

    - possibly the most pointless and pedantic commit in the history of the project ever :)
    paulplant committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    6bff2f1 View commit details
    Browse the repository at this point in the history
  2. refactor Live Activity logic/UI

    - remove the "show Live Activities when..." option as it made little practical sense. LA can only be started when the app is in the foreground, so start a LA and then end if automatically only when the user first opens an alarm didn't make much sense.
    - combine LiveActivityType and (the old LiveActivitySize) into one single enum (including disabled, minimal, normal and large) makes much more sense to operation and also to the UI.
    - remove LiveActivitySize
    paulplant committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    eee9488 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. improvement to reject older (>12hr) userInfo messages sent to the Wat…

    …ch app
    
    - this should prevent the "slow scrolling" of processing old userInfo values received whilst the Watch app was not active.
    paulplant committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2712b81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78d7c55 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71c422b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d7379b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #572 from paulplant/develop

    5.4 staging PR
    paulplant authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    116ab20 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #563 from bubbledevteam/develop

    Added Bubble Nano support
    paulplant authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    af670a1 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #565 from JohanDegraeve/dependabot/bundler/rexml-3…

    ….3.6
    
    Bump rexml from 3.2.8 to 3.3.6
    paulplant authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    a06623b View commit details
    Browse the repository at this point in the history
  8. Merge pull request #545 from aug0211/big-fix-false-0-bg-delta

    Bug fix for false +0 (or +0.0 mmol) bg deltas
    paulplant authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    74248cd View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    ddf48b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c39620e View commit details
    Browse the repository at this point in the history
  3. suppress contact being deleted when disabled Contact Image option

    if the user has enabled the option, then update the existing contact or add a new one if it doesn't exist this isn't really the best way to do it as we should delete the contact if not required to "clean up", but too many users didn't re-select the new contact after re-enabling in the Watch complication and assumed that the app wasn't working
    paulplant committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    527c695 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. update libreLinkUpVersionDefault to 4.12.0

    - this change will automatically update all existing apps with a stored version number *below* 4.12.0
    paulplant committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    09995b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. delta calculation/representation re-write for mmol/L

    Related to ##544
    
    although the previous commits fixed the issue of erroneous (0 or close to 0) delta changes in mg/dL (the calculation was originally ported from an early xDrip+ many years ago), the mmol/L calculation has never been sufficiently accurate due to the conversion/rounding of mmol/L meaning that sometimes a +0.2mmol/L delta was actually calculated to +0.1mmol/L.
    
    This changes fixes that and also updates the calculation and string representation methods for all instances in the app, Watch, Widgets etc
    
    Also renamed a bunch of stuff to keep things constant over the whole project
    paulplant committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    07f4656 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #573 from paulplant/staging-5.4

    add latest commits
    paulplant authored Oct 6, 2024
    Configuration menu
    Copy the full SHA
    364324f View commit details
    Browse the repository at this point in the history
  3. Corrections to G6 sensorStartDate handling

    It could happen that an internal sensor session was manually started some time after the transmitter-based session was already running.
    
    This change allows both "before and after" start date variations from the transmitter to force a new sensor session to be started with the correct (transmitter-based) start date.
    paulplant committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    a21c524 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    4f6f9dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba74955 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    7c1d9d5 View commit details
    Browse the repository at this point in the history
  2. Rename "Transmitter Algorithm" to "Native Algorithm"

    This makes it clearer... the idea of a transmitter algorithm is confusing for Libre users and doesn't really explain what it is.
    
    At least for now, Native explains that the values will resemble (or be identical to) the factory algorithms in all cases. This may change in the future, but for now, it's accurate enough for the description.
    paulplant committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d831908 View commit details
    Browse the repository at this point in the history
  3. increase maxSensorAgeInDays to 10.5 for G7/ONE+

    - to allow for the 12 hour grace period
    paulplant committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    048569e View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. change LibreLinkUpFollower to work with no active sensor data

    Since LLU 4.12.0, it seems that the server response can now sometimes return an empty activeSensor attribute. This caused xDrip4iOS to throw an error and not process downloaded data.
    
    This issue is known to affect just a handful of users and does not always happen. Sometimes the server responds correctly with all data.
    
    We'll now just treat this as optional and ignore it (and adapt/hide the UI as needed) if necessary.
    paulplant committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    bf7ba4a View commit details
    Browse the repository at this point in the history
  2. avoid G7/ONE+ values after sensor expiry

    G7/ONE+ has the peculiarity that it will keep sending/repeating the same BG value (without ever changing) via BLE even after the session officially ends.
    
    This change just stops processing received values after maxSensorAgeInDays is reached (10.5 days for G7/ONE+)
    
    Also updated the sensor progress colours from (gray/yellow/red and purple for expired) to (gray/yellow/orange and red for expired). This is because purple is pretty impossible to read clearly against a black background.
    paulplant committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    0986d7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f7a3cc View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. add check for keep-alive to Contact Image

    This will display "OFF" in the contact image if the user is in follower mode with background keep-alive disabled, or if they disable the contact image function.
    
    Also change settings text from "create contact" to "enable contact image"
    
    Add warning text to "Enable Contact Image" UISwitch if the user is in follower mode with keep-alive disabled.
    paulplant committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    e44eccb View commit details
    Browse the repository at this point in the history
  2. translations added for Algorithm + Calibration Types

    initial translations of main titles/rows/messages:
    - en, es, nl, de, fr (no messages), sv (no messages)
    paulplant committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    8c0e7b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Merge pull request #574 from paulplant/staging-5.4

    Staging 5.4
    paulplant authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2117f5c View commit details
    Browse the repository at this point in the history
  2. translations added for Algorithm + Calibration Types

    translations of messages:
    - sv
    paulplant committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3adf5f5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #576 from paulplant/staging-5.4

    Staging 5.4.0
    paulplant authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7629b2b View commit details
    Browse the repository at this point in the history