summaryrefslogtreecommitdiff
path: root/app.py
AgeCommit message (Collapse)Author
2024-04-30Update databaseJannick
added another table to the database also changed some minor stuff with the running and shit dw about it :)
2024-04-30Fetches all characters and added dropdown menuJannick
The login shit now works, and we successfully fetch all the users characters. There is also a dropdown menu on the join page, featuring all chars.
2024-04-29Ensure unique applicantsLinnnus
2024-04-29Use oath userid to identify applicantsLinnnus
2024-04-28fix: Don't use CLIENT_ID as CLIENT_SECRETLinnnus
2024-04-27Save applications in databaseLinnnus
A broken statement was introduced in 2bf130581b763819672551c138cc70119005ef93. This patch properly initializes the database and prevents SQL injection attacks.
2024-04-27Flesh out 'join' user flowLinnnus
This commit splits the user flow when sending in an application to join the guild into three staged: 1. Intro text 2. HTML form 3. Form submission feedback (aka. "yay it went through")
2024-04-27Switch to gevent as backing WSGI serverLinnnus
We've switched the backing server a few times: At 45a7c91fbef2e9c2c0c6821edb06bae75077b50c Linnnus added gunicorn because it supported SSL certificates, unlike the default server. At 0cb2a367968ea0bc45739da5c88fd7b88ca281a7 Jannick switched to cherrypy. I'm not sure why. At 22d80f90b6b60b6a40a30b772716b950239b539b Jannick switched to switched to Waitress, which worked on Windows (unlike gunicorn) but doesn't support SSL. Now, I'm switching to gevent which supports SSL and (apparently) windows. Hopefully we won't have to switch again.
2024-04-26localhost ssl stuffJannick
2024-04-26Add form validation on join pageJannick
2024-04-26add database plugin bottleJannick
2024-04-26Merge branch 'main' of github.com:linnnus/blind-guildJannick
2024-04-26dotenvJannick
2024-04-24Add self-signed certificatesLinnnus
2024-04-10Created the foundation for OAuth2 authentication with battle.net. alsoJannick
added a log in button.
2024-04-01Add join form HTMLLinnnus
2024-03-31Move styles and images into subfolderLinnnus
See the updates to the README for a description of the new layout. Note that the /static/ prefix has also been removed from URLs. It felt kind of like we were leaking implementation details. The fact that these files are staic doesn't concern the consumer of the service.
2024-03-31Use proper BEM conventionLinnnus
After reading up on BEM [1] and specifically how to handle deeply nested child elements [2] I made the changes in this patch. [1]: https://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/ [2]: https://scalablecss.com/bem-nesting-grandchild-elements/
2024-03-27Run server in debug modeLinnnus
This commit enables various debug features in the Bottle framework which are useful for development. This commit should be reverted before production deployment. Doing otherwise poses a security threat.
2024-03-20Add global CSSLinnnus
2024-03-20Add templating engine and index pageLinnnus
2024-03-20Initial commitLinnnus