aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/migrations (follow)
Commit message (Collapse)AuthorAgeLines
* Replace GitHub with GitLab across the projectGravatar Gareth Coles2018-06-07-0/+12
|
* documentation metadata API (#57)Gravatar Johannes Christ2018-06-05-0/+22
| | | | | | | | | | | | | | | | | | | | | | * Add documentation metadata "schema". * Add seed data for `pydoc_links` table. * Add tests for the `doc` API. * Allow specifying multiple parameters. * Move up line in generator. * make each docs test a function for greater test report visibility * fix a typo * Use fixtures instead of `pytest-ordering`. * Move `doc` API to `/bot/doc`. * Use new migration system.
* Update privacy policy and related migrationsGravatar Gareth Coles2018-05-31-0/+22
| | | | | * Don't collect DOB anymore, and remove it from database * Make doubly-sure all emails are gone because I'm paranoid and "update" doesn't do what it sounds like
* Privacy/Usability updates (#75)Gravatar Gareth Coles2018-05-20-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use less intrusive oauth scopes, add login redirect method * Remove debugging prints, add missing __init__ * Work towards new privacy policy * Fix judging state icons on code jam management page * Jammer profile retraction and punishments based on jam status * Linting * [Jams] Deny profile saving for users < 13 years, and finish removal page * Fix tests * Clean up and address Volcyy's review * Add proper login redirection to require_roles decorator * Fix template is_staff() and add staff link to navigation * Address lemon's review * Linting * Privacy page formatting * Privacy page formatting
* Catch index addition failure in oauth_data migrationGravatar Gareth Coles2018-05-19-2/+8
|
* Snake cog (#71)Gravatar Leon Sandøy2018-05-19-5196/+8090
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add snowflake index on oauth_data and use it for deletionsGravatar Gareth Coles2018-05-15-0/+3
| | | | We were using id previously, but that was no longer the correct key
* Migration runner and migrations (#69)Gravatar Gareth Coles2018-05-14-0/+5300
* 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