Arxari / OpenShockClockWeb

A python flask implementation of OpenShockClock
https://openshock.org/
GNU Affero General Public License v3.0
1 stars 1 forks source link

Add user accounts #1

Closed Arxari closed 2 months ago

Arxari commented 2 months ago

Make it so that people are able to connect to the server and use accounts to have their own separate instances with their own config.txt and .env

Arxari commented 2 months ago

Honestly just having a lot of issues trying to figure this out, adding the help wanted tag if anyone wants to take a shot. Also creating a dev branch so people can see my attempts/progress.

Accounts are hard themselves cuz databases I have no experience with and when you add on top of it that you need to figure out how to also translate that into running multiple concurrent instances each with their own data... it's hard ;-;

Arxari commented 2 months ago

Account feature added. Now focus is on making sure alarms actually work and multiple for different users can be running (counting down) at the same time.

Arxari commented 2 months ago

Yep, WebUI is fully functional on the UI side, just the backend for alarms that needs to be finsihed.

Arxari commented 2 months ago

Figured it out. Outside of timezones and prevention of duplicate username (relatively unnecessary features) the WebUI functional and can handle as many users as you throw at it (probably)!

Arxari commented 2 months ago

Minor issue, when the server script is restarted it doesn't show new logs of existing users, functionally it works tho.