Commit Graph

7 Commits

Author SHA1 Message Date
slice 491bdf31df
fix incorrect http status code for auth routes 2018-07-21 09:35:35 -07:00
Luna Mendes f5ea44c8d7 blueprints: add users.py blueprint
- errors: change AuthError to Unauthorized and Forbidden
 - auth: fix bug on token_check
 - storage: add Storage.get_user_guilds
2018-06-20 23:29:30 -03:00
slice e8b29ddd90
general code cleanup
* remove encoding from .encode()/.decode() calls as 'utf-8' is already
  the default
* code cleanup/compactify
2018-06-19 17:53:56 -07:00
slice d41641929c
add ws stuff to example config 2018-06-19 17:52:25 -07:00
Luna Mendes 39d85d1a1a add basis of websockets 2018-06-17 17:07:52 -03:00
Luna Mendes 7e7a6a1aeb blueprints.gateway: add implementations for gateway urls
- config: add DEBUG, IS_SSL, WEBSERVER_URL
    - remove HOST, PORT
 - litecord: add auth module
2018-06-17 14:24:24 -03:00
Luna Mendes f7f387dcf0 litecord.blueprints: add auth blueprint
- Pipfile: add bcrypt and itsdangerous
 - litecord: add errors module
 - litecord: add snowflake module
 - run: add error handlers

 - schema: add UNIQUE constraint to users.email
   - remove users.password_salt
2018-06-17 04:09:29 -03:00