aboutsummaryrefslogtreecommitdiffstats
path: root/pysite (follow)
Commit message (Collapse)AuthorAgeLines
...
* Don't create tables on route load by default.Gravatar Gareth Coles2018-04-07-3/+29
| | | | | * If "FLASK_DEBUG" is in your env vars, tables will be created on route load * If you run a query against a table not declared in database.py, a warning is emitted
* Flake8Gravatar Gareth Coles2018-04-06-7/+7
|
* Updated wiki editing system with live-previewingGravatar Gareth Coles2018-04-06-2/+40
|
* 5XX error view non-werkzeug exception supportGravatar JoeBanks132018-04-05-1/+9
|
* Flake8Gravatar Gareth Coles2018-04-05-1/+1
|
* More work towards the wikiGravatar Gareth Coles2018-04-05-3/+3
|
* More work towards the wikiGravatar Gareth Coles2018-04-05-4/+48
|
* That was a little dumb.Gravatar Gareth Coles2018-04-05-1/+1
|
* RST test error catchingGravatar Gareth Coles2018-04-05-1/+1
|
* RST test error catchingGravatar Gareth Coles2018-04-05-3/+8
|
* A few smaller fixesGravatar Gareth Coles2018-04-05-1/+10
|
* Attempt to fix CSRF; add debug info to staff pageGravatar Gareth Coles2018-04-05-2/+6
|
* Flake8Gravatar Gareth Coles2018-04-04-2/+2
|
* Early wiki work including a WS test route for RST parsingGravatar Gareth Coles2018-04-04-5/+85
|
* CSRF error route doesn't do shit, sadlyGravatar Gareth Coles2018-04-04-36/+0
|
* CSRF error route for APIGravatar Gareth Coles2018-04-04-0/+36
|
* Attempting CSRF fixesGravatar Gareth Coles2018-04-04-6/+4
|
* Forget about CSRF, will fix tomorrowGravatar Gareth Coles2018-04-03-1/+1
|
* Explicitly exclude the API subdomain from CSRF checksGravatar Gareth Coles2018-04-03-3/+3
| | | | TODO: Do this properly!
* Basic wiki routesGravatar Gareth Coles2018-04-03-0/+36
|
* Fix staff route nameGravatar Gareth Coles2018-04-03-1/+1
|
* Committing wiki subdomain so I can fix my X serverGravatar Gareth Coles2018-04-03-4/+4
|
* Fix testsGravatar Gareth Coles2018-04-01-1/+5
|
* LintingGravatar Gareth Coles2018-04-01-1/+1
|
* Add CSRF protection and optimise importsGravatar Gareth Coles2018-04-01-5/+49
|
* Role requirement decorator should return json on an API errorGravatar Gareth Coles2018-04-01-0/+3
|
* Fix logging, restrict staff index routeGravatar Gareth Coles2018-04-01-2/+7
|
* I guess we can let that data be inserted.Gravatar Gareth Coles2018-03-30-1/+3
|
* WhoopsieGravatar Gareth Coles2018-03-30-1/+4
|
* Accept username/discriminator from the bot and remove it from oauthGravatar Gareth Coles2018-03-30-13/+5
|
* I'm assuming this is the last linting commit for now...Gravatar Gareth Coles2018-03-30-2/+2
|
* Flake8Gravatar Gareth Coles2018-03-30-4/+4
|
* Decorator for routes that require a login with one of a set of rolesGravatar Gareth Coles2018-03-30-4/+25
|
* Collect all roles from users instead of just a single oneGravatar Gareth Coles2018-03-30-3/+5
|
* Change to PyCharm importsGravatar Gareth Coles2018-03-30-5/+4
|
* Rewrite URLs in templates to use `url_for()`Gravatar Gareth Coles2018-03-29-3/+2
|
* More convenient static_file() function for templatesGravatar Gareth Coles2018-03-29-2/+5
|
* Fix error routing and more work on static filesGravatar Gareth Coles2018-03-29-12/+11
|
* Fix error handler managementGravatar Gareth Coles2018-03-29-19/+15
|
* Fix static files for staff subdomainGravatar Gareth Coles2018-03-29-0/+15
|
* Fix up route namesGravatar Gareth Coles2018-03-29-14/+14
|
* Fix OAuth DB insertionsGravatar Gareth Coles2018-03-29-10/+22
|
* Attempt to fix HTTPS and more OAuth issuesGravatar Gareth Coles2018-03-29-4/+15
|
* Add PREFERRED_URL_SCHEME env var to fix `url_for()`Gravatar Gareth Coles2018-03-29-3/+6
|
* OAuth fixesGravatar Gareth Coles2018-03-29-2/+1
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-03-29-11/+186
|\
| * Oauth (#45)Gravatar Nate the great2018-03-29-11/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Creating a OAUTH login for the site. We still need to have a way to fill in credentials however. Signed-off-by: Zwork101 <[email protected]> * How ya like me now Travis? Signed-off-by: Zwork101 <[email protected]> * Fix slight error in database insertion * Revert "Fix slight error in database insertion" (wrong branch) This reverts commit 9ac6cbb * Don't have snekchek working, but I'll try again. Signed-off-by: Zwork101 <[email protected]> * Please enter the commit message for your changes. Lines starting * Adding Oauth2 login to site. * Add prefix * Add prefix * This never happened * Flipping Travis I still can't get snekchek to work locally. * Added a whole bunch of stuff, ready to be used. Signed-off-by: Zwork101 <[email protected]> * Making sessions more secure, and future safe. Signed-off-by: Zwork101 <[email protected]> * Adding some quick stuff Signed-off-by: Zwork101 <[email protected]> * Appease the flake8 gods Signed-off-by: Zwork101 <[email protected]> * Appease the flake8 gods Signed-off-by: Zwork101 <[email protected]> * Whoops Signed-off-by: Zwork101 <[email protected]> * Add comments, fix user_data function. Signed-off-by: Zwork101 <[email protected]> * Whooops, forgot to flake :/ Signed-off-by: Zwork101 <[email protected]> * Make it look nicer, thanks Aperture. Signed-off-by: Zwork101 <[email protected]> * Fixing login issues and added button * Add a OauthMixin to allow for easy data access. Clean stuff up. Signed-off-by: Zwork101 <[email protected]> * Fix a test, and use self.assertEqual rather then self.assertEquals! Signed-off-by: Zwork101 <[email protected]> * Please don't ask how that happened. Signed-off-by: Zwork101 <[email protected]> * Added some tests, moved a bunch of stuff around. Mainly cleaned stuff up. Signed-off-by: Zwork101 <[email protected]> * Add a ton of tests, try to please the coverall gods :D, moved some code into a function for testing. Signed-off-by: Zwork101 <[email protected]> * Just some stupid stuff I missed. Signed-off-by: Zwork101 <[email protected]> * Fix an issue with the test, and add docs Signed-off-by: Zwork101 <[email protected]> * Remove pointless function. (join_user) Signed-off-by: Zwork101 <[email protected]> * Fix test consistency
* | Make flake8 happierGravatar Gareth Coles2018-03-29-1/+1
|/
* CountdownGravatar JoeBanks132018-03-21-10/+0
|
* Added a Code Jam Countdown (#1eevq) (#43)Gravatar Sam Wedgwood2018-03-21-0/+10
| | | | | | | | | | | | * added countdown * updated jam dates * added test * flake8 * flake8 (i did it on wrong file)