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

Wip/bewest/dev #19

Merged
merged 20 commits into from
Aug 25, 2023
Merged

Wip/bewest/dev #19

merged 20 commits into from
Aug 25, 2023

Commits on Aug 7, 2023

  1. Update librelinkup.js

    fixed path for trace-axios dependency
    AndyLow91 authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a416501 View commit details
    Browse the repository at this point in the history
  2. Update librelinkup.js

    Bug found - "var connections = resp.data.data;"
    AndyLow91 authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a152e4a View commit details
    Browse the repository at this point in the history
  3. Update librelinkup.js

    This was not a bug afterall, reverting.
    AndyLow91 authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    a99dce4 View commit details
    Browse the repository at this point in the history
  4. Update librelinkup.js

    Typo found in "opts.linkUpPatientId;"
    AndyLow91 authored Aug 7, 2023
    Configuration menu
    Copy the full SHA
    75fd3f9 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

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

Commits on Aug 13, 2023

  1. Use shareous1 for EU Dexcom accounts. The current docs of NS dev says…

    … to use shareous2, which does not work.
    bjornoleh authored Aug 13, 2023
    Configuration menu
    Copy the full SHA
    a200f60 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. dev space

    bewest committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3011c70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f31122 View commit details
    Browse the repository at this point in the history
  3. enable treatments sync as well

    Align treatments syncing to last glucose for first pass.
    bewest committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    23a1a44 View commit details
    Browse the repository at this point in the history
  4. fix correction bolus amount

    bewest committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    52cc805 View commit details
    Browse the repository at this point in the history
  5. correctly set last_known for treatments and devicestatus

    In order to share this interface, between external and sidecars, it needs to
    standardize on being a real date object when present.
    bewest committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    9387d5a View commit details
    Browse the repository at this point in the history
  6. robust internal handling for handling last known specs

    This prevents a category of errors the plugin is running internally to
    Nightscout but has no recent information to generate a reasonable last known
    basis.
    This allows minimed to sync treatments data specifically on last treatment data
    when syncing from within Nightscout.
    
    There is a potential issue with using 0 as the default here, as this could
    create issues duplicating and syncing the largest amount of data that the
    driver may allow.
    bewest committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    62c16c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bc3a5f7 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

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

Commits on Aug 21, 2023

  1. Configuration menu
    Copy the full SHA
    b03f358 View commit details
    Browse the repository at this point in the history
  2. force new UUID, force UA attribution

    Force Medtronic to log requests from nightscout-connect.
    Do not allow plausible deniability.
    Per nightscout/minimed-connect-to-nightscout#46, force
    putting a second UUID in a header.  x-axios-tracing already sets a UUID.
    This patch correctly uses browser based headers for processing and requesting
    HTML Forms.
    bewest committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    94f6436 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. LibreLinkUp should insert data to Nightscout

    When it's possible to log in, fetching valid data should result in inserting
    new data to Nightscout.  This patch adds needed control flow (returning a
    promise), as well as corrects datetime handling in order to allow inserting
    missing information into Nightscout.
    bewest committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    40591c8 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. send attribution via x-powered-by header

    If the word Nightscout is present in the UA string, Medtronic EU servers will block the request.
    This patch moves the software attribution information to the x-powered-by
    header.
    bewest committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    e73dca8 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. medtronic: rm x-uniq-req header

    x-axios-tracing already implements a uuid in that header, making this one
    redundant.  This patch removes the x-uniq-req header, which does nothing but
    otherwise complicate the code.
    bewest committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a98ab56 View commit details
    Browse the repository at this point in the history
  2. medtronic carelink session refresh

    This patch refreshes existing Carelink session when possible, instead of always
    creating new sessions.
    Thanks @sbc2280 for the tip:
    https://github.com/anguriskit24/CareLinkJavaClient/blob/22defbd961a5092c7ed40f3f64adc0170928df39/src/main/java/info/nightscout/medtronic/carelink/client/CareLinkClient.java#L308-L310
    
    Refreshing the Carelink session involves using the right content-type, as well
    as adding the relevant locale and country query parameters.
    bewest committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    5638380 View commit details
    Browse the repository at this point in the history