aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/api (follow)
Commit message (Collapse)AuthorAgeLines
...
* Integrate websockets into the Flask webappGravatar Gareth Coles2018-02-17-5/+6
|
* Simplify user API route and return changesGravatar Gareth Coles2018-02-16-9/+5
|
* API schema validation decorator #yzuf (#15)Gravatar Gareth Coles2018-02-16-23/+21
| | | | | | | | | | * API schema validation decorator * Remove stray comma * Remove unnecessary conditional * Only cast to list when needed to
* API view for syncing users from the bot #yumr (#14)Gravatar Gareth Coles2018-02-15-0/+45
| | | | | | * API view for syncing users from the bot * Fix view class name
* Fix up API key validation and database api locationGravatar Gareth Coles2018-02-15-3/+3
|
* Move API validation decorator to its own file #yxdkGravatar Gareth Coles2018-02-15-27/+27
|
* Database API Improvements #1qcra (#13)Gravatar Gareth Coles2018-02-14-37/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * A large set of changes, including: * A mixin for views that need the DB * Many changes to the database class in order to make things more fluid * Provide the route manager in view setup() methods * Pushing up the progress so far * snekchek * Full (undocumented) database implementation * snekchek * Don't rely on exceptions for table deletion * Add RethinkDB data to gitignore * Documentation for DB class * Make Flake8 ignore P102 What even is that? What does "docstring does contain unindexed parameters" mean? * Document the base_routes module * Cleanup RE latest reviews * snekchek (bah)
* [API] You need to return the value of `self.error()`Gravatar Gareth Coles2018-02-14-3/+3
|
* RethinkDB API Views #yqhgGravatar lmn2018-02-13-2/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactoring the database implementation into a class of its own. * Refactoring the database implementation into a class of its own. * healthcheck should belong to the API. * dynamic subdomain loading, setting up basic handling for staff.pythondiscord.com, and started on a TagView for a bot tag feature. * Oops, forgot to fix some merges. * Some quality of life updates - default values for env variables that aren't secret, and starting to get through the tag view. * Refactoring the database implementation into a class of its own. * healthcheck should belong to the API. * dynamic subdomain loading, setting up basic handling for staff.pythondiscord.com, and started on a TagView for a bot tag feature. * Oops, forgot to fix some merges. * Some quality of life updates - default values for env variables that aren't secret, and starting to get through the tag view. * API validation added to the APIView class, TagView should be finished as well. * super important commit you guys * fixed a bug with the RethinkDB class where host and port attributes were accessed before being created * Fixed my editor now you guys * Fixing up some of the problems brought up in gdude's review * Handling GET requests with param indata and POST with JSON. Fixed error handling to use the constants and the baseclass self.error(). * Get API-key from headers, context manage the db assignment, and default env var values * Changed API-KEY header to X_API_Key. Added a default for secret key. it should no longer be necessary with environment variables to run this system locally. * Changing back the nav to have relative paths * Why am I like this
* Drop Asana integration, we moved to ClickUpGravatar Gareth Coles2018-02-12-216/+0
|
* [Asana] Disable all non-functional debugging code for nowGravatar Gareth Coles2018-02-11-78/+79
|
* [Asana] Asana wraps everything in a "data" key for some reasonGravatar Gareth Coles2018-02-11-1/+1
|
* [Asana] Asana wraps everything in a "data" key for some reasonGravatar Gareth Coles2018-02-11-3/+3
|
* F821: Undefined nameGravatar Gareth Coles2018-02-11-1/+0
|
* More error-hunting.Gravatar Gareth Coles2018-02-11-13/+26
| | | | Beats me why this documentation is so bad.
* [Asana] Smallish fixesGravatar Gareth Coles2018-02-11-7/+11
|
* [Asana] Raise for status properlyGravatar Gareth Coles2018-02-11-4/+6
|
* [Asana] Supply bearer token to API callsGravatar Gareth Coles2018-02-11-0/+4
|
* [Asana] Better errorsGravatar Gareth Coles2018-02-11-13/+34
|
* [Asana] Basic task handler; Asana does not make this easy thoughGravatar Gareth Coles2018-02-11-0/+34
|
* [Asana] Apparently not all stories have types?Gravatar Gareth Coles2018-02-11-2/+2
|
* [Asana] Apparently not all stories have types?Gravatar Gareth Coles2018-02-11-1/+2
|
* First attempt at story hookGravatar Gareth Coles2018-02-11-1/+41
|
* Perhaps adding the `s` to `sort_keys` would help as well.Gravatar Gareth Coles2018-02-11-2/+2
|
* You can't rename kwargs, stupid!Gravatar Gareth Coles2018-02-11-2/+2
|
* Remove key verification webhook messageGravatar Gareth Coles2018-02-11-6/+0
|
* Slightly more verbose loggingGravatar Gareth Coles2018-02-11-0/+7
|
* Asana integration (#7)Gravatar Gareth Coles2018-02-11-0/+96
| | | | | | * Event dispatching and webhook sending * snekchek
* Base API route and error codes enumGravatar Gareth Coles2018-02-09-0/+11
|
* Move from straight app registration to Blueprints (#6)Gravatar Gareth Coles2018-02-09-0/+13