Adding very basic authentication and keeping track of known devices#7
Open
marcovannoord wants to merge 75 commits intokstobbe:masterfrom
Open
Adding very basic authentication and keeping track of known devices#7marcovannoord wants to merge 75 commits intokstobbe:masterfrom
marcovannoord wants to merge 75 commits intokstobbe:masterfrom
Conversation
…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
This file contains hidden or 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
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
devandverparameter 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.