Skip to content

Comments

Adding very basic authentication and keeping track of known devices#7

Open
marcovannoord wants to merge 75 commits intokstobbe:masterfrom
marcovannoord:master
Open

Adding very basic authentication and keeping track of known devices#7
marcovannoord wants to merge 75 commits intokstobbe:masterfrom
marcovannoord:master

Conversation

@marcovannoord
Copy link

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 and ver 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.

Dirk Loeckx and others added 30 commits March 12, 2021 00:38
…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.
Adding very basic authentication and keeping track of devices
…cal time of the user

in the "last seen", also added xxx-time ago, when the device was last seen
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
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants