-
Notifications
You must be signed in to change notification settings - Fork 15
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
Adding very basic authentication and keeping track of known devices #7
Open
marcovannoord
wants to merge
75
commits into
kstobbe:master
Choose a base branch
from
marcovannoord:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…to the backend. Also it helps tracking on when they have been checking for updates.
Renamed "HOST" on the ESP to "DEVICE_PLATFORM" to keep it consistent with the server.
Update readme to reflect changes in the new way of parsing. Renamed "HOST" on the ESP to "DEVICE_PLATFORM" to keep it consistent with the server.
This makes it easier to add new devices to the system. Added both a "first seen" and "last seen" column for each device.
… the first platform.
Update README.md
Adding very basic authentication and keeping track of devices
add link in footer
…cal time of the user in the "last seen", also added xxx-time ago, when the device was last seen
…evices are already on a whitelist
allow adding platforms
…help in allowing devices to be able to update on the first try
Add MD5 to response headers, so the Arduino can check if the update was retrieved correct Scroll to top on clicking add button Fix delete button not working
fix docker not working due to wrong file location of /bin fix identation issue
fix issue where old file was not deleted
…or first_seen and last_seen
…en after the device comes online
Make sure platform-names are always lowercase
Make sure the platformname is lower-cased when a device requests an update
…events accidently clicking the wrong platform
…line-buffered. Otherwise the print() statements would not be visible
…form, add device-count to whitelist platforms
… if behind a proxy, and add Nginx example reverse proxy
disable nightly builds
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To make my life easier, i wanted to keep track of the device that have contacted the update-server.
That way, i don't have to pay attention to the MAC-address when flashing a new device: it will show up in the update-server.
This also helps in keeping track of which device has been trying to update recently.
Furthermore, it could use some very basic authentication, so i have added that in the users.yml. Just supply that a list of users/passwords that are allowed to log in.
Please do note that this is a breaking change, hence the major version bump.
This is due to the swapping of the
dev
andver
parameter in the update URL.Also i fixed a bug that would prevent uploading any firmware that was not for the first platform in the YAML.