qb-web icon indicating copy to clipboard operation
qb-web copied to clipboard

Automated update

Open bbogdanov opened this issue 4 years ago • 4 comments

The problem

Currently, the update to the newer available version happens almost manually and It will be great to have a way to automatically update to newer versions.

At the moment the process is 50% automated 50% manual.

Expected behavior

Having a one click way to update to the newer available version.

Blockers

By using the browser we are blocked from reaching the file system of the computer running the web server. We can contact the BE guys and find out a way if they are willing to provide a endpoint that based on the provided URL can download a zip and replace the files inside the zip in the provided folder of the alternative UI. We can easily get the latest release zip URL thanks to GitHub api.

Visual example

Your image title

bbogdanov avatar Sep 22 '20 06:09 bbogdanov

Related #57 . If it's implemented, we no longer need to manual upgrade any more.

CzBiX avatar Sep 22 '20 07:09 CzBiX

How do you see the connection between qb running on the client server and the website running on different server?

I understand the CORS idea and I see the flow like this: Going to website => Dialog pops up for server location => Providing server URL => Login => Continue using the UI

bbogdanov avatar Sep 22 '20 07:09 bbogdanov

@bbogdanov Right. The users have to change CORS settings in qb first.

CzBiX avatar Sep 22 '20 09:09 CzBiX

From my prespective as a user, this will be a little frustrating when using a new device and have to go through the entire flow I mentioned in the comment above. I believe we can find a much better way to resolve the update issue.

bbogdanov avatar Sep 23 '20 06:09 bbogdanov