Skip to content

Commit

Permalink
Auth for REST API (api/v1/auth/*) (cvat-ai#622)
Browse files Browse the repository at this point in the history
* Added trivial login/logout/register
* Auth methods for REST API.

- api/v1/auth/login
- api/v1/auth/logout

For basic auth only:
- api/v1/auth/register
- api/v1/auth/password/*

* Add info about auth for REST API into CHANGELOG.md
* Add pylintrc for codacy, updated pylint and its dependecies.
* Add token authorization, renamed cvat.js to cvat-core in all places.
* Implemented register method in cvat-core
* Added first_name and last_name to RegisterSerializer.
  • Loading branch information
nmanovic authored Aug 19, 2019
1 parent 97ed2aa commit e7bab87
Show file tree
Hide file tree
Showing 32 changed files with 707 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .codacy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exclude_paths:
- '**/3rdparty/**'
- '**/engine/js/cvat.js'
- '**/engine/js/cvat-core.min.js'
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint:recommended",
"plugin:security/recommended",
"plugin:no-unsanitized/DOM",
"airbnb",
"airbnb-base",
],
"rules": {
"no-await-in-loop": [0],
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ node_modules

# Ignore temporary files
docker-compose.override.yml
/.vscode
__pycache__
*.pyc
._*
Expand Down
Loading

0 comments on commit e7bab87

Please sign in to comment.