Skip to content

Commit e7bab87

Browse files
authored
Auth for REST API (api/v1/auth/*) (cvat-ai#622)
* 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.
1 parent 97ed2aa commit e7bab87

32 files changed

+707
-191
lines changed

.codacy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
exclude_paths:
22
- '**/3rdparty/**'
3-
- '**/engine/js/cvat.js'
3+
- '**/engine/js/cvat-core.min.js'

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"eslint:recommended",
2525
"plugin:security/recommended",
2626
"plugin:no-unsanitized/DOM",
27-
"airbnb",
27+
"airbnb-base",
2828
],
2929
"rules": {
3030
"no-await-in-loop": [0],

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ node_modules
1515

1616
# Ignore temporary files
1717
docker-compose.override.yml
18-
/.vscode
1918
__pycache__
2019
*.pyc
2120
._*

0 commit comments

Comments
 (0)