aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main (follow)
Commit message (Collapse)AuthorAgeLines
...
* First draft of privacy pageGravatar Gareth Coles2018-05-15-0/+7
|
* Main site redirects should be 302sGravatar Gareth Coles2018-05-15-0/+3
|
* Add RedirectView class for views that only redirect elsewhereGravatar Gareth Coles2018-05-15-21/+9
|
* Add TemplateView class for views that only render a templateGravatar Gareth Coles2018-05-15-30/+18
|
* Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy2018-04-27-18/+0
| | | | this is the default encoding. Encoding declarations are only useful in py3 if you want to declare it to be something _other_ than utf-8. This was, however, a very useful convention in py2. (#56)
* Added an About category with Partners view (#1pv7h) (#50)Gravatar Jeremiah Boby2018-04-14-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Partners view, and Navbar item * Moved info/rules to about/rules and fixed references * Added Partner images, and populated the partners page * Fixed responsiveness on smaller displays Added like 2 characters to the column tag, to enable stacking of columns if the display width is lower than 960 pixels. * Fixed indentation * Updated Code Monkeys Banner Added the shiny new CM Banner, and rearranged the partner cards. * Fixed newlines at end of HTML files * Partners page updated to generate from JSON file • The templates/main/about/partners.html file now uses the static/partners.json file to generate the Partner cards. • Flexboxes are nice. * Rearranged containers on Partners page I have no idea how flexboxes work :DDD * Updated Partners page to fix styling issues * Moved tag styling to the appropriate CSS file * Changed code style of stylesheet :D * Addresses Lemon's code style issues • Partner cards now have id="partner-card", which is selected with a CSS selector for styling, rather than styling all card objects. • Removed nonbreaking spaces that PyCharm didn't tell me about • Indented conditional HTML content to match Jinja conditionals • Fixed unclosed image tag * Removed div bloating, and increased specifity of CSS selection
* Update resources page with new icons and formatting.Gravatar Gareth Coles2018-04-11-0/+39
| | | | NOTE: This does change the JSON!
* Moved all redirects into a folder and added one for github.Gravatar Leon Sandøy2018-04-10-3/+15
|
* Early wiki work including a WS test route for RST parsingGravatar Gareth Coles2018-04-04-0/+15
|
* Change to PyCharm importsGravatar Gareth Coles2018-03-30-1/+0
|
* Rewrite URLs in templates to use `url_for()`Gravatar Gareth Coles2018-03-29-1/+1
|
* Fix up route namesGravatar Gareth Coles2018-03-29-5/+5
|
* Attempt to fix HTTPS and more OAuth issuesGravatar Gareth Coles2018-03-29-2/+1
|
* Oauth (#45)Gravatar Nate the great2018-03-29-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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)
* Early bersion of the code jams pageGravatar Gareth Coles2018-03-14-0/+10
|
* Remove unused importGravatar Gareth Coles2018-03-13-2/+0
|
* Update info section with an indexGravatar Gareth Coles2018-03-13-1/+1
|
* Info pages #13xan #13xak (#36)Gravatar Gareth Coles2018-03-04-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Info pages and templates * Info pages and templates * Info pages and templates * Update navigation and fix up HTML * Navigation HTML spacing for readability * Fix error views not using `self.render()` * `render()` method should accept Any for context values * Change header linking CSS to a dedicated class * Rules page * Basic resources page setup * Fix headers for new CSS class * Resource categories and initial resource data * Add link to JSON file on GH - won't work until the branch is merged * Remove info overview page and redirect info root url to resources * Flake8 * Add some tests * Line lengths
* Instead of making flask error when rendering unsupported status codes just ↵Gravatar JoeBanks132018-03-01-1/+4
| | | | send 500
* Add error messages (#30)Gravatar Joseph2018-02-28-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add error messages Signed-off-by: JoeBanks13 <[email protected]> * Remove un-used keyword arg from 404 * Assert for status code instead of full content * PEP8 * test lint * please coverage * oh * Exclude websockets.py from coverage * Move code output into terminal * Switch typewriter href protocol * Add tests for websockets.py * Abort previous commit, coveralls did not let coverage go down * Add more pauses and request => response * move css and js out, add typewriter JS to our own repo & add method for appending text in bulk. * Enable REPL on 4XX and change error descriptions * commas * /error path
* Move `/help` to `/info/help`Gravatar Gareth Coles2018-02-27-3/+4
|
* Help page #z62n (#25)Gravatar Gareth Coles2018-02-26-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * Help page and misc improvements Committing so I can go home >:| * Changes for @lmn * Rephrase first paragraph * Rephrase questions so they aren't all about discord.py * Remove _every single header_ on the help page from the nav * Unit test the help route * Small styling fixes * Add page-specific classes to body element * Clean up section padding * IndexView -> HelpView * Remove unnecessary path in test
* Rearrange views and templatesGravatar Gareth Coles2018-02-21-27/+2
|
* Error handlers can now handle more than one HTTP status codeGravatar Gareth Coles2018-02-18-0/+12
|
* Websocket echo testGravatar Gareth Coles2018-02-13-0/+15
|
* Datadog redirect #yq3fGravatar JoeBanks132018-02-12-0/+12
|
* Fix invite redirectGravatar Gareth Coles2018-02-11-1/+1
|
* Move from straight app registration to Blueprints (#6)Gravatar Gareth Coles2018-02-09-0/+36