-
Notifications
You must be signed in to change notification settings - Fork 751
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
WebHost: fixup WebHostLib/options.py #3332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the answer to my question in the previous PR would have been:
"You should create a new function which accepts both options and meta options as separate arguments and returns the html for the wait page. This function should be called by both the POST handler in the API and by the options pages."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* WebHost: fixup WebHostLib/options.py * Update WebHostLib/options.py * Update WebHostLib/options.py * fix visibility flag handling
* WebHost: fixup WebHostLib/options.py * Update WebHostLib/options.py * Update WebHostLib/options.py * fix visibility flag handling
* WebHost: fixup WebHostLib/options.py * Update WebHostLib/options.py * Update WebHostLib/options.py * fix visibility flag handling
* WebHost: fixup WebHostLib/options.py * Update WebHostLib/options.py * Update WebHostLib/options.py * fix visibility flag handling
What is this fixing or adding?
auto-fix imports
added typing
removed self-calling network request
removed forfeit-mode again, which had been gone for months
removed explicit settings and let them default instead
extracted "start_generation" as function in WebHostLib/generate.py
options pages no longer redirect to archipelago.gg
fix Visibility being used via <, instead of like an intflag
How was this tested?
using the generate buttons on the player options page of Factorio and the upload yaml page.
If this makes graphical changes, please attach screenshots.