Age | Commit message (Collapse) | Author |
|
|
|
|
|
Currently its some dummy code
|
|
Added a button on the navbar, that'll take you to the leaderboard page.
Added leaderboards.html as well as leaderboards.css
|
|
|
|
|
|
added another table to the database
also changed some minor stuff with the running and shit dw about it :)
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A broken statement was introduced in 2bf130581b763819672551c138cc70119005ef93.
This patch properly initializes the database and prevents SQL injection
attacks.
|
|
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")
|
|
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.
|
|
As of 110e05bad2c378473954e41231d7581754c8cc8f we create a database
file in PWD when running. This should obviously not be checked into
version control.
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Commit 58e2a2d added some initial oauth code but forgot to add the
required dependencies to requirements.txt
|
|
added a log in button.
|
|
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.
|
|
|
|
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.
|
|
As noted in the notes added in bb41850 each user generally plays as a
single role. This is relevant for the application process.
|
|
|
|
|
|
|
|
Info boxes were added in cfa86a1.
|
|
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.
|
|
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/
|
|
|
|
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.
|
|
|
|
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...
|
|
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.
|
|
|
|
Now the name of the css file `static/XXX.css` matches the HTML/template
file in `views/XXX.html`.
|
|
|
|
|