aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views (follow)
Commit message (Collapse)AuthorAgeLines
* [Jams] Fix bad redirectGravatar Gareth Coles2018-05-19-2/+2
|
* [Jams] Update edit state availabilityGravatar Gareth Coles2018-05-19-3/+4
|
* Actually insert preambleGravatar Gareth Coles2018-05-19-0/+2
|
* LintingGravatar Gareth Coles2018-05-19-3/+1
|
* Form preamble, jam creation fixesGravatar Gareth Coles2018-05-19-1/+60
|
* Linting, and remove seconds from date formatterGravatar Gareth Coles2018-05-19-1/+1
|
* [Jams] Fix ordering on view pageGravatar Gareth Coles2018-05-19-3/+6
|
* [Jams] Basics may now be edited at any pointGravatar Gareth Coles2018-05-19-3/+0
|
* Merge remote-tracking branch 'origin/master'Gravatar Gareth Coles2018-05-19-6/+166
|\
| * Snake cog (#71)Gravatar Leon Sandøy2018-05-19-6/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Tables that are initialized with JSON files in the table_init folder will now sync properly if the JSON file is changed after initialization. Any lines that are either added or removed will be updated whenever site is rebooted. * Initial API endpoint for snake_quiz * reverting database.py * I WILL KILL YOU * Added the snake_fact API endpoint * Moving snake tables to the new migrations system * Set up initial data for all new tables, added table objects, wrote endpoints, and wrote tests for the new endpoints. * Removing the snake_movies endpoint. That idea didn't pan out. * Added an endpoint for getting special snake cases * broken json * Fixing the initial data slightly, better picture of bob. * Changing JSON indentation to be 4 spaces consistently in all initial_data, to address Aperture's review. Also changing all the endpoints to have correct namespacing, addressing gdude's review. * Fixing tests to point to new API endpoints
* | GDPR compliance for jammer profilesGravatar Gareth Coles2018-05-19-0/+13
| |
* | Jammer profilesGravatar Gareth Coles2018-05-19-2/+71
| |
* | Fix infractions setupGravatar Gareth Coles2018-05-19-9/+8
| |
* | [Jams] Signups code is more or less done, just a few things leftGravatar Gareth Coles2018-05-19-9/+180
|/
* [Jams] Some amount of public display, but links not ready yetGravatar Gareth Coles2018-05-19-3/+15
|
* Messed up my lint earlierGravatar Gareth Coles2018-05-19-2/+2
|
* [Jams] Linting and infractionsGravatar Gareth Coles2018-05-19-7/+69
|
* Fix some small question-editing bugsGravatar Gareth Coles2018-05-19-0/+2
|
* [Jams] Complete question listing/editing/etcGravatar Gareth Coles2018-05-19-0/+172
|
* [Jams] Add non-task info text to be displayed at jam announcementGravatar Gareth Coles2018-05-19-1/+2
|
* [Jams] A bunch more work. That's all for tonight, though.Gravatar Gareth Coles2018-05-18-3/+135
|
* [Jams] Huge amount of work on code jam admin areaGravatar Gareth Coles2018-05-18-2/+390
|
* [Jams] More restructuringGravatar Gareth Coles2018-05-17-1/+1
|
* Restructure code jams page layoutGravatar Gareth Coles2018-05-17-3/+26
|
* First draft of privacy pageGravatar Gareth Coles2018-05-15-0/+7
|
* Add snowflake index on oauth_data and use it for deletionsGravatar Gareth Coles2018-05-15-2/+2
| | | | We were using id previously, but that was no longer the correct key
* 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-29/+13
|
* Fix editing wiki in debug modeGravatar Gareth Coles2018-05-15-9/+10
|
* Add TemplateView class for views that only render a templateGravatar Gareth Coles2018-05-15-36/+21
|
* [GDPR] Also remove OAuth dataGravatar Gareth Coles2018-05-15-1/+21
|
* [GDPR] Small fixesGravatar Gareth Coles2018-05-15-2/+2
|
* [GDPR] Users are now updated and removed correctlyGravatar Gareth Coles2018-05-15-1/+49
|
* Migration runner and migrations (#69)Gravatar Gareth Coles2018-05-14-4/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migration runner and migrations * Remove demo wiki data * [Staff] Table management pages * Fix weird travis build omission * Address review and comments by @Volcyy * [Tables] Fix pagination * Move table definitions to new file with nameduple * Linting * Address lemon's review comments * Address @Volcyy's review * Address lemon's review * Update search placeholder * Search by key now available
* [Wiki] Fix an editor dumb: `not not`Gravatar Gareth Coles2018-05-07-1/+1
|
* [Wiki] Case-insensitive searchingGravatar Gareth Coles2018-05-06-3/+3
|
* [Wiki] Misc improvements, plus a beta search featureGravatar Gareth Coles2018-05-06-2/+74
|
* I linted that, I swearGravatar Gareth Coles2018-05-06-2/+2
|
* [Wiki] Move page functionGravatar Gareth Coles2018-05-06-1/+87
|
* [Wiki] Implement page deletions and improve sidebar constructionGravatar Gareth Coles2018-05-02-0/+67
|
* [All Pages] Fix the other half of that dumbGravatar Gareth Coles2018-05-02-0/+3
|
* [All Pages] Account for pages without a title when sortingGravatar Gareth Coles2018-05-02-3/+1
|
* Add special pages and an "all pages" special pageGravatar Gareth Coles2018-05-02-0/+37
|
* [Bug Fix] Fix the Edit & Source links on Wiki revision viewerGravatar Joseph2018-05-01-1/+3
|
* Fix for wiki.history.show with slashes in URLGravatar Joseph2018-04-29-1/+1
|
* Declaring the encoding to be utf-8 is not necessary in Python3 projects, as ↵Gravatar Leon Sandøy2018-04-27-40/+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)
* [#1eeu1] Hiphopify (#54)Gravatar Leon Sandøy2018-04-20-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed the dev-mode logic to be the same as prod for creating new tables if they don't exist. Also added a new feature where a table can be initialized with data if you create a JSON file in the pysite/database/table_init/ folder and fill it with a list of dicts where each dict represents a row in your table. Included a hiphoppers json so that I can actually test if it works in production. It will only init the table if the table is empty. * Not sure if this will solve it, but I think so. * Renamed the tables and primary keys, and alphabetized the dict. Now complies with the gdudes holy wishes. * Almost done with the initial build for this. Implemented GET and DELETE, in order to finish POST I need to expand the database.py interface class. * Alphabetized database convenience wrappers. * Fixed a few typehints and added the sample convenience wrapper to the database class. * Finishing up the POST method and adding a duration parser to the utils folder so we can handle strings like 2w3d and turn them into a timestamp. * Fixed API blueprint loading, which was broken by the setup method in the DBMixIn. I'd forgotten to remove the check for table_name attribute. Also adde some logging and got the DELETE route working. * Added timezone-sensitivity to the duration parser so it will work with rethink. renamed the json and fixed some bugs in the hiphopify API. * Added a utility to test if rdb timestamps are expired, and only returning data from the GET calls if it isn't expired. * changed some log wording * Setting up Lil Joseph as default image. Adding some rappers to the list. * Adding a bunch of logging * These tests no longer apply. New tests must be written in the long run, removing them for now. * Addressing review comments left by Volcyy * Fixed misleading comment.
* Pass can_edit into revisions listGravatar Joseph2018-04-18-1/+1
|
* Pass `can_edit` into history templatesGravatar Joseph2018-04-18-1/+34
|
* Fix sidebar routesGravatar Joseph2018-04-18-1/+1
|