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

FreeDNS #24

Merged
merged 81 commits into from
Nov 19, 2022
Merged

FreeDNS #24

merged 81 commits into from
Nov 19, 2022

Conversation

Navid200
Copy link
Collaborator

@Navid200 Navid200 commented Nov 17, 2022

This was tested with this:

curl https://raw.githubusercontent.com/Navid200/cgm-remote-monitor/Navid_2022_11_11_Test/bootstrap.sh | bash

and then, with this, which is the same with the commits squashed:

curl https://raw.githubusercontent.com/Navid200/cgm-remote-monitor/Navid_2022_11_16_Test/bootstrap.sh | bash

Then, a new fork was created (Navid_2022_11_16 from Navid_2022_11_16_Test) by changing these four lines, and commenting them out:
https://github.com/Navid200/cgm-remote-monitor/blob/9ec0ca7c837b777317b0eac3e3df1dce26269e35/bootstrap.sh#L6
https://github.com/Navid200/cgm-remote-monitor/blob/9ec0ca7c837b777317b0eac3e3df1dce26269e35/NS_Install.sh#L16
https://github.com/Navid200/cgm-remote-monitor/blob/529f991e6500a4a54f2deb074074b1b92b3fe43f/NS_Install2.sh#L16
https://github.com/Navid200/cgm-remote-monitor/blob/529f991e6500a4a54f2deb074074b1b92b3fe43f/update_scripts.sh#L9

samihusseingit and others added 30 commits November 3, 2019 19:11
This helps create an area for developing towards the next version.
Allow users to choose whether or not to reveal the provenance of the data to
consumers.  This is intended to help protect data rights to portability and
access.  If consumers start abusing or discriminating against Nightscout users
due to the source of the data, this allows users to conceal this information.
Disregard brand of device when considering glucose values.  By de facto usage,
the meaning of LOW and HIGH within Nightscout means that glucose is beyond limits.
LOW means 40 or lower.  HIGH means 400 or higher.  Both tend to invite
questioning therapy options, including inspecting if the device is working
correctly, as well as potential treatment options.
The results to render may come from an in-memory cache, or from the database.
If they came from the in-memory cache, it's possible that obscurring the device
field could actually change the values in memory.  When obscurring, the device
field, this patch copies all of the values in order to ensure that the
in-memory copies are unaffected.  With this patch, cached objects should not be
affected.
With this change, any code referencing the sandbox or /api/v2/properties for
plugin will also benefit from having the device information obscured.
…/cgm-remote-monitor into wip/bewest/obscure-provenance
…-provenance

obscure private device provenance
Temporarily use git references to share2nightscout-bridge and
minimed-connect-to-nightscout in order to help test similar changes in those
packages.
The tests pass cleanly.
Run tests also against nodejs 16.x
bewest and others added 19 commits August 14, 2022 10:55
…reated-date

Allow Remote Carb Entries in Past or Future
* Build docker image for arm64 architecture

* Add `platforms` input

* Merge `master` and `dev` jobs together into one

* Run job on master or dev branch
Press any key to return to the menu.
Detects failure and asks user to repeat.
Dialogs upated.
noip.com is removed.
Don't overwrite nsconfig if it exists.
Dialogs updated.
Detect and highlight selected region that does not qualify for Free Tier.
Show percentage disk space used.
Changed sh to bash.
Added more dialog.
Cosmetic edit by Tzachi
Move Status to the top to be the default option so that accidental hit of the keyboard would only bring up the status page.
Added edit variables in a browser.
Renamed installation phases and added estimated time.
It only offers to customize as the installation already installs the latest version of Nightscout.
Improved the dialogs.
Before copying the scripts, delete the old ones.
Script for the menu to call to run the Python server for editing the variables.
Not testing
@Navid200 Navid200 marked this pull request as draft November 17, 2022 15:39
@Navid200 Navid200 marked this pull request as ready for review November 17, 2022 19:36
@jamorham
Copy link
Owner

Can you describe what this PR does? thanks

@Navid200
Copy link
Collaborator Author

Navid200 commented Nov 19, 2022

@jamorham @tzachi-dar Of course. Sorry about that.

1- Bootstrap now also verifies that the selected machine region is one of the only three that qualify for free tier and highlights it in red if it's not, on the status page. New status page is shown below.

2- The status page shows percentage used on the disk space line. This is the new status page:
Screenshot 2022-11-19 091644

3- This is the new main menu:
Screenshot 2022-11-19 092147

  • Status page is now the first item on the menu.
  • The two installation phases are titled exactly that.
  • There is a new item for editing variables using a web browser.
  • What used to be called Update/customize Nightscout is now called Customize Nightscout
    If a new Nightscout release comes out and we have not updated our framework to it, the user can still update to it. But, they will need to use customize to install from a fork. The fork they will have to choose will be the master branch of the official Nightscout repository. After we update our framework, they can just rerun the two installation phases.

4- The fork has been updated to 14.2.6 from the official repository. Therefore, a fresh install will install 14.2.6.

5- I have updated the two files in the tmp/public/js directory to files from my setup after a post install of 14.2.6.

6- Installation excludes anything related to noip.com. People could still use noip.com. But, if they follow our procedure, after this, they will not be using noip.com for a fresh install.

7- Installation calls FreeDNS Setup, which uses FreeDNS.

8- Bootstrap starts with #!/bin/bash instead of #!/bin/sh

9- The menus throughout have been made smoother. Every single menu shows "Developed by the xDrip team".

@tzachi-dar; Have I overlooked any other changes?

@jamorham jamorham merged commit 85ce635 into jamorham:vps-1 Nov 19, 2022
@Navid200
Copy link
Collaborator Author

Thanks

@Navid200 Navid200 mentioned this pull request Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants