summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-02Added the server-side handling for the leaderboardJannick
Currently its some dummy code
2024-05-02Added leaderboard pageJannick
Added a button on the navbar, that'll take you to the leaderboard page. Added leaderboards.html as well as leaderboards.css
2024-05-01Add login stuffLinnnus
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-29Merge branch 'main' of github.com:linnnus/blind-guildJannick
2024-04-29started integrating the database into the programJannick
2024-04-29Created databaseJannick
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-27fix: Ignore database fileLinnnus
As of 110e05bad2c378473954e41231d7581754c8cc8f we create a database file in PWD when running. This should obviously not be checked into version control.
2024-04-27fix: Add missing dependenciesLinnnus
Previous commits rely on added dependencies, but these were not added to the list of requirements. The dependencies in question: - bottle_sqlite - python-dotenv fixup: 110e05bad2c378473954e41231d7581754c8cc8f fixup: 0cb2a367968ea0bc45739da5c88fd7b88ca281a7
2024-04-26localhost ssl stuffJannick
2024-04-26Add form validation on join pageJannick
2024-04-26add database plugin bottleJannick
2024-04-26added a super informative note regarding bottle_sqliteJannick
2024-04-26idk what this isJannick
2024-04-26Merge branch 'main' of github.com:linnnus/blind-guildJannick
2024-04-26dotenvJannick
2024-04-25fix: Add missing rependenciesLinnnus
The changes introduced in 45a7c91fbef2e9c2c0c6821edb06bae75077b50c rely on using gunicorn instead of the default wsgi server. This patch makes sure that package is added to the list of requrements.
2024-04-24Clean up navbarLinnnus
2024-04-24Add self-signed certificatesLinnnus
2024-04-11Add missing oauth dependencyLinnnus
Commit 58e2a2d added some initial oauth code but forgot to add the required dependencies to requirements.txt
2024-04-10Created the foundation for OAuth2 authentication with battle.net. alsoJannick
added a log in button.
2024-04-02Add basic client-side validation to join-formLinnnus
This patch adds some basic form-validation to the HTML for the join page, namely making every input `required`. I also took this opportunity to ensure the top-most option for roles (DPS) isn't auto-selected. That could lead to some applicants skipping the input field, since it's already filled with a (potentially wrong) value.
2024-04-01Give inputs room to breathe in application formLinnnus
2024-04-01Add note about dual-invitations to application formLinnnus
Apparently, there are certain rules for adding members to guilds. These are documented in the developer-facing documentation and a note is added to the form.
2024-04-01Add prefferred role to application formLinnnus
As noted in the notes added in bb41850 each user generally plays as a single role. This is relevant for the application process.
2024-04-01Add notesLinnnus
2024-04-01Make central column in index widerLinnnus
2024-04-01Add join form HTMLLinnnus
2024-03-31Remove unnecessary TODOLinnnus
Info boxes were added in cfa86a1.
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-31Add info boxes to indexLinnnus
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 achievements banner to indexLinnnus
2024-03-20Make site dark as defaultLinnnus
The entire site-design is going to be pretty dark, as gaming sites generally are. I honestly don't know why I went with such light colors to begin with...
2024-03-20Use sans-serif font as site-wide defaultLinnnus
Anything's better than the default serif font though I'm not actually sure a sans-serif font is appropriate for the vibe we're trying to give... Will need to re-evaluate later.
2024-03-20Add hero image to indexLinnnus
2024-03-20Rename static/{global => base}.cssLinnnus
Now the name of the css file `static/XXX.css` matches the HTML/template file in `views/XXX.html`.
2024-03-20Add initial site headerLinnnus
2024-03-20Add project overview to READMELinnnus
2024-03-20Add global CSSLinnnus
2024-03-20Add templating engine and index pageLinnnus
2024-03-20Create README.mdlignus