589 Commits (7df2b2fded320eef43166fc9689b9026bf0d45d3)

Author SHA1 Message Date
Boris Sekachev e5d01359aa
Removed code duplications, added checks to CI (#5253) 3 years ago
Roman Donchenko aadfd8814e
Fix TUS offset queries in production environments (#5204)
* Fix TUS offset queries in production environments

Previously, `mod_wsgi` would convert `HEAD` requests into `GET`, which
would be rejected, so clients were unable to resume an upload that failed
midway through.

To make use of this, update the SDK code to enable upload resumption.

* Add a test that forces a chunked TUS upload

* test_can_create_from_backup_in_chunks: make sure the upload is actually chunked
3 years ago
magician 0b7fb04a09
fix pascal_voc import bug (#4647)
* fix  pascal_voc import bug

* Add tests

* Fix black

* Small fixes

* Fix test

* Fix black

* Update Changelog

* Fix Changelog

* Fixes

* Remove unnecessary changes

* Remove unnecessary changes

* Join tests

* Small fix

* Fixes

* Fix pylint

* Remove unused import

* Small fix

Co-authored-by: yasakova-anastasia <yasakova_anastasiya@mail.ru>
3 years ago
Maria Khrustaleva ba74709c40
Add tests for export job dataset (#5160) 3 years ago
Boris Sekachev 16406fec96
Added basic masks tests (#5237) 3 years ago
Boris Sekachev c7125a8ffb
Tried to fix one test (#5212)
* Tried to fix one test

* Fixed linter issues & cypress commands
3 years ago
Boris Sekachev f62aa276cd
Added paint brush tools (#4543) 3 years ago
Kirill Sizov db6bbbab6a
Fix dataset import for Datumaro format (#4544)
* Datumaro format: add load_data_callback

* add test

* fix test

* fix project dataset uploading for some formats

* Fix black

* Update Changelog

* Update README.md

* Update README.md

Co-authored-by: Maxim Zhiltsov <zhiltsov.max35@gmail.com>

* Fixes

* Remove useless trailing backslashes

* Fix tests

* Fix test

* Join tests

* Small fix

* Fix remark

Co-authored-by: kirill.sizov <kirill.sizov@intel.com>
Co-authored-by: yasakova-anastasia <yasakova_anastasiya@mail.ru>
Co-authored-by: Maxim Zhiltsov <zhiltsov.max35@gmail.com>
3 years ago
Boris Sekachev 43e22c2cce
Updated rego rules, job assignee can resolve an issue (#5167) 3 years ago
Anastasia Yasakova 2311b10b80
Fix an issue with Imagenet dataset import (#4861) 3 years ago
Andrey Zhavoronkov 469217cc55
Added support for webhooks in Helm charts (#5118)
* added webhook support

* added webhook tests

* update_version supports helm values

* fix

* debug

* fix

* fix remote file test

* increase minikube resources

* fix syntax

* Update helm.yml

* fixed comment

* Update .github/workflows/helm.yml

Co-authored-by: Kirill Sizov <kirill.sizov@cvat.ai>

Co-authored-by: Kirill Sizov <kirill.sizov@cvat.ai>
3 years ago
Kirill Sizov ce09f28512
Fix SDK tests: login once per class (#5123) 3 years ago
Andrey Zhavoronkov 570bc3880f
Added user_registered signal (#5007) 3 years ago
Aleksey Alekseev c3dd3499e3
Added Cypress testing for feature: Multiple tasks creating from videos (#5028)
* add tests for try of creating multitasks with images and video

* add tests seccess creating video with Remote source

* reduce time of debounce

* try fix 107, 118 tests

* try fix 107 tests

* fix test with attach video

* disable test with attach video

* fix url to remote videos

* Aborted extra changes

* Updated files

* Refactored case 107

* Fixed almost all tests

* Aborted extra changes

* removed extra files

* Improved tests, added tests for local videos

* Fixed corner case

* Fix ://

* Redesigned a way of getting a file type

* Added html type to button

* Some refactoring

* Removed extra file

* sdk tests: fix path for file share images

Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <sizow.k.d@gmail.com>
3 years ago
Роман Донченко e723116e56
Fix Cypress tests after b029bc9d (#5089) 3 years ago
Boris Sekachev b2a66db76b
Added assets (#5095) 3 years ago
Boris Sekachev 6811c57ef4
Added cypress tests for issue 4966 (#5080)
* Added cypress tests for issue 4966

* Updated license headers
3 years ago
Kirill Sizov dbcfb30cb2
Fix SDK tests (#5077)
* Update SDK tests to use LoginSerializerEx
3 years ago
Maxim Zhiltsov 511f9706d5
Allow trailing slashes in SDK client url (#5057) 3 years ago
Роман Донченко b029bc9da8
cvat-sdk: Fix creating tasks with non-local files (#5058)
* Move the test file share contents to tests/share

This way, it can be reused between tests.

* cvat-sdk: Fix creating tasks with non-local files

Forcing the `Content-Type` for the `upload_data` API call to
`multipart/form-data` does not work, because the current logic for
converting Python values to parts (`ApiClient._convert_body_to_post_params`)
does not encode them in a way that Django REST Framework can understand (it
JSON-encodes each part).

Fortunately, we don't actually need to do that, since when we create a task
with non-local files, we don't need to upload any files, and so we can just
post the original JSON, so do just that.

I couldn't add a test for the remote image case, because CVAT rejects all URLs
with non-public IP addressses. However, I did test this case manually.
3 years ago
Kirill Lakhov b7371ede35
Enabled authentication via email (#5037) 3 years ago
Kirill Sizov bcb3f9bda8
Tests for Webhook sender (#5017)
* tests/rest_api/assets: update webhooks in testdb

* tests/rest_api/test_webhook_sender: add tests for project and ping events

* tests/rest_api/test_webhook_sender: add tests for webhook intersection case

* tests/rest_api/test_webhook_sender: add tests for task update events

* tests/rest_api/test_webhook_sender: add tests for task create and job update events

* tests/rest_api/test_webhook_sender: add tests for issue events

* tests/rest_api/test_webhook_sender: add tests for membership events

* tests/rest_api/test_webhook_sender: add tests for organization event

* Fix Pylint warnings

* apps/engine: get rid of sending `create` signals in views

* apps/organizations: get rid of sending `create` signals in views

* tests/rest_api/test_webhooks: fix typo

* apps/engine: get rid of sending  signals in task view

* tests/rest_api: remove debug prints

* apps/engine: fix pylint errors

* tests/rest_api/test_webhooks_sender: add tests for `redelivery` method

* tests: define tag for minio image

* apps/webhooks: remove owner_id from write serializer

* tests/rest_api/test_webhooks: fix code style

* tests/rest_api: added tests for webhook comment events

* tests/rest_api: fix typo

Co-authored-by: Anastasia Yasakova <yasakova_anastasiya@mail.ru>

* tests: fix warnings from black

Co-authored-by: Anastasia Yasakova <yasakova_anastasiya@mail.ru>
3 years ago
Роман Донченко 963e8efadb
Remove `cvat-sdk` from `tests/python/requirements.txt` (#5019) 3 years ago
Maxim Zhiltsov 6654366021
Autoformat python tests (#5021) 3 years ago
Maxim Zhiltsov 2e15025434
Check server version in SDK (#4935) 3 years ago
Kirill Sizov bae7564968
Add webhooks (#4863)
Co-authored-by: “klakhov” <kirill.lakhov@cvat.ai>
Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <kirill.sizov@intel.com>
3 years ago
Kirill Lakhov 8b719e4959
Fixed unstable e2e restore tests (#5010) 3 years ago
Anastasia Yasakova ddcee5b3a9
REST API tests with skeletons (#4987) 3 years ago
Aleksey Alekseev 5f44603db2
add link to create of many tasks from project page (#5002)
* add link to create of many tasks from project page

* add dropdown for task actions

* add return to project after multi tasks creating
3 years ago
Anastasia Yasakova ba308336c6
Fix project export with skeletons (#5004) 3 years ago
Andrey Zhavoronkov e22eac7d9b
Helm tests (#4949) 3 years ago
Maria Khrustaleva 56e8c1eb82
Cypress tests for source & target storage (#4914)
* Draft version

* Implemented import & fixed export && some code cleanup && some fixes &&  updated notifications

* Refactoring && fixed several bugs

* Update licence headers && small fixes

* Update remaining licence headers && small changes

* Fix part of tests

* Fix tests

* Remove unused code

* Fix part of comments

* Some fixes

* Move file download process to job

* Rename methods

* Small fix

* Fix storages configuration for tasks

* Styles

* Remove unused

* Change storage configuration && fix forms reset && some fixes

* Update imports

* Remove extra argument type

* Add catch

* Fix import backup from local

* Import architecture refactoring && some fixes

* Rename props

* Small reorganization of export architecture &&  minor fixes

* Remove unused import

* Small fix && skip error notification when no permissions

* Fix project creating

* Fix part of eslint issues

* Fix eslint

* Fix eslint

* Fix eslint

* eslint

* Fix some eslint issues

* Combine uploadAnnotations and importDataset

* Fix annotation uploading from local

* Update tests

* Fix annotation uploading

* Fix notification

* Update dependencies

* fix

* Update jest tests

* Skip error notification when no permissions

* Update case 91 92 canvas3d tests

* Styles

* Update icons

* eslint

* eslint

* eslint

* eslint

* Create & delete cloud storage

* Common part && export job annotations

* Update tests && add tests for project backup

* Fix typo

* Rename variables

* debug

* Revert timeout

* Fix server host

* Fix test with project backup restore

* small refactoring

* Update issue_2473_import_annotations_frames_dots_in_name
3 years ago
Maxim Zhiltsov 68375ec23e
Add SDK docs (#4928)
- Added auth docs in API schema and SDK ApiClient/Config (fixes #1517)
- Added SDK docs with API, SDK and CLI docs
- Added `develop` branch in the docs
- Allowed unauthorized access to `api/docs`, `api/swagger`, `api/schema` endpoints
- Added `--insecure` env var to control host checks in CLI
- Refactored `build_docs.py` (backported https://github.com/openvinotoolkit/datumaro/pull/589)
- Extracted requirements file for site
3 years ago
Aleksey Alekseev 1db247aedd
Create multiple tasks when uploading multiple videos (#4824)
* add alert when uploading photo and video together

* add creating multiple tasks for My computer tabs

* add creating multiple tasks for Remote source tab

* add creating multi tasks for File share tab

* add libmagic in dockerfile

* fix lint

* change class name of create multi tasks button

* fix incorrect deletion of validation error notification

* add opportunity upload manifest.jsonl with image files for single task create

* remove status showing of task from multitasks case

* refactoring create queue in mutlitasks case

* fix warning

* revert incorrect remove notification about error

* fix showing error of clone the repository

* fix esling error

* move of initialValue creating for task name

* rename isMultiTask properti to many

* return  incorrect deleted progress value

* add source and license on icon file

* fix unhandled promise rejection

* change mime_type getter method

* add hint how to see these template rules

* refactoring of multi task progress markup

* remove unnecessary processings for share

* remove unnecessary notification

* remove opportunity upload no video on multi mode

* correct formation of the task name

* rename function

* change queueSize to 1

* fix root selecting on share tab

* refactoring selectCloudStorageFiles logic

* add debig info. temporarily

* Some fixes

* Tried to fix unstable test

* Adjusted messages

* Fixed license headers

Co-authored-by: Boris <sekachev.bs@gmail.com>
3 years ago
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 years ago
Maxim Zhiltsov 4f6e81eab3
Bump sdk and cli versions (#4923) 3 years ago
Maxim Zhiltsov 7218f4e283
Add host schema auto-detection in SDK (#4910) 3 years ago
Maxim Zhiltsov 1dcba5a843
Align server api, sdk and cli versions to 2.1.0 (#4913) 3 years ago
Boris Sekachev efd43637a4
Fixed redrawing a skeleton (Shift+N) (#4906)
* Fixed redrawing a skeleton (Shift+N)

* Updated version

* Added cypress test

* Enabled disabled tests

* Updated test IDs
3 years ago
Maxim Zhiltsov 917e821348
SDK alpha 1 release (#4903) 3 years ago
Boris Sekachev 6410b86a4e
Added end-to-end Cypress tests for Skeletons pipeline (#4892)
* Updated config

* Added skeleton drawing

* Added first cypresst test with skeletons

* Reworked split

* Added drawing/merging/splitting

* Fixed IDs order

* Fixed case 107
4 years ago
Kirill Lakhov 738792c285
Fixed actions_users/case_38_feedback_button (#4885)
* Fixed incorrect links

* Updated header
4 years ago
Maxim Zhiltsov 53697ecac5
SDK layer 2 - cover RC1 usecases (#4813) 4 years ago
Kirill Sizov b60d3b481a
fix remote image link (#4871) 4 years ago
Maria Khrustaleva 182c39aa8f
Hotfix missing manifest file (#116) 4 years ago
Andrey Zhavoronkov 5e2eda7601
Extend helm to support Serverless functions and Analytics (#110) 4 years ago
Boris Sekachev 7e20b279af
Added support of skeletons (#1) 4 years ago
Maxim Zhiltsov 5f58a0f7be
Add 2nd layer of SDK (#19) 4 years ago
Kirill Lakhov 7a33fc0339
Fix unstable 2E2 tests (#68)
* Added workaround

* fixed yolo format test

* applied comment

* removed logout intercept
4 years ago
Maria Khrustaleva 164c2c34df
Images should be searched relative to the manifest file on cloud storage (#8) 4 years ago
Kirill Lakhov 36fdcea8d6
OpenCV.js caching and autoload (#30) 4 years ago
Aleksey Alekseev fbcf758674
86 improve uiux on create task page (#7)
* Update label form

Remove Done button
Add closing by Esc
Add continuing by Enter

* disable autocomplete on label form

* Update submit behavior on create task

Change one submit button to two: "submit and open" and "submit and continue"

* Update submit behavior on create project

Change one submit button to two: "submit and open" and "submit and continue"

* fix eslint error

* change tests

* Add changes in changelog

* update version cvat-ui

* move of empty name handler logic when create label

* change handler errors on create project

* change text of buttons

* revert change yarn.lock

* Fixed eslint pipeline

* fix eslint error on test

* fix several tests

* fix several tests

* fix several tests

* fix several tests

Co-authored-by: Boris <sekachev.bs@gmail.com>
Co-authored-by: kirill-sizov <sizow.k.d@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
4 years ago
Kirill Sizov ee12b44b55
REST API tests: update data.json (#27) 4 years ago
Boris Sekachev 1a94190572
Changed links openvinotoolkit > cvat-ai (#3)
Changed links openvinotoolkit > cvat.ai
4 years ago
Boris Sekachev 8ebdf5db93
Fixed eslint config (#131)
* Fixed eslint config

* Updated yarn.lock
4 years ago
Maxim Zhiltsov 7b2fc54e20
Add CVAT SDK package (#7) 4 years ago
Kirill Sizov a38c567c4c
Fix CI-nightly (#117) 4 years ago
Kirill Sizov 2240b3f4aa
Replace npm with yarn (#113)
* package.json: private true

* delete package-lock.json

* cvat-core/package.json: fix path for cvat-data

* replace npm with yarn

* replace npm with yarn

* add yarn.lock files

* replace npm with yarn

* remark: replace npm with yarn

* fixes

* fixes

* alligment

* workflows: replace npm with yarn

* revert husky version

* replace npm with yarn on ci image

* add yarn for ci image

* enable debug mode for main workflow

* debug mode

* v0.0.0

* resolve dependencies issues

* update docs

* exit debug mode

* add yarn.lock to the ui image

* fix three version

* resolve conflicts

* [no ci] use yarn instead of npm

* fix src path
4 years ago
Boris Sekachev 4f1a778d22
Fixed Intel license headers (#119) 4 years ago
Kirill Lakhov 489c115bb4
Fixed failing test case_113_new_organization_pipeline (#111)
added workaround for detached elements
4 years ago
Kirill Sizov 05e6143a21
REST API tests: project backup and patch labels (#104) 4 years ago
Kirill Lakhov c0c469f824
Tags on frame (#75) 4 years ago
Maxim Zhiltsov bddd44642d
Fix pylint issues (#100) 4 years ago
Maria Khrustaleva 57bc0e9c90
Source & target storage tests (#56) 4 years ago
Maria Khrustaleva 54c15830a9
Add support for source & target storages (#28) 4 years ago
Kirill Sizov 2db5bcf7b0
CI: refactor cache, add coverage for CI-nightly (#79) 4 years ago
Kirill Sizov ca8150e21c
Hotfix for CI-nightly (#74) 4 years ago
Kirill Sizov 2e161b0e9f
Refactor CI (#26) 4 years ago
Anastasia Yasakova 4dc01b0441
Fixed: Could not export dataset (Request Status Code 500 "StopIteration") (#17) 4 years ago
Anastasia Yasakova bc9fc45eef
Add test for dataset import in an organization (#35) 4 years ago
Kirill Lakhov 9f2ccb8f81
Improved stability of actions_tasks2/case_101_opencv_basic_actions.js (#58) 4 years ago
Kirill Lakhov 1598e0c5be
Fixed test file share with docker compose (#52)
changes file share .yml
4 years ago
Kirill Lakhov 5d318e0f5f
Incremental jobs update (#42) 4 years ago
Boris Sekachev ebd04aa4de
Fixed built, improved testing system (#43)
Fixed nightly built, reworked closing platform notification, updated cypress, fixed vulnerabilities in tests/
4 years ago
Boris Sekachev f960da9117
Added ability to delete frames (#10)
Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
Co-authored-by: Nikita Manovich <nikita.manovich@gmail.com>
Co-authored-by: Boris Sekachev <b.sekachev@yandex.ru>
4 years ago
Kirill Lakhov c266a9421c
Improved stability of actions_tasks/task_changes_after_initial_save.js (#39) 4 years ago
Kirill Lakhov cb896ecab2
Tus for backups (#9) 4 years ago
Kirill Lakhov 9c4375d42e
Fixed: actions_projects_models/registration_involved/base_actions_project_task_user.js (#38)
remove task2 should not exist
4 years ago
Andrey Zhavoronkov f10f655859
update minimist npm dependency (#34)
* updated mininist package and removed dts-bundle-webpack dependency

* updated webpak to v5
added bundle-declarations-webpack-plugin to bundle *.d.ts files for cvat-canvas and cvat-canvas3d

* fixed rest_api tests

* update changelog

* fixed e2e fileshare test in case of zsh use
4 years ago
Kirill Lakhov 5820ece3f0
Fix CI-nightly: task_changes_status_after_initial_save test (#25) 4 years ago
Kirill Sizov 561f4e299d
Reduce number of test cases (#24) 4 years ago
dependabot[bot] b8493e0d96
Bump ansi-regex from 5.0.0 to 5.0.1 in /tests (#4566)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Irina Kovaleva de30cb2551
REST API tests: project accessibility (#4496)
Co-authored-by: Kirill Sizov <kirill.sizov@intel.com>
4 years ago
dependabot[bot] 940548d5f5
Bump minimist from 1.2.5 to 1.2.6 in /tests (#4511)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Maria Khrustaleva 2a05316496
Add REST API GET, POST, PATCH tests for cloud storage (#4353)
Co-authored-by: kirill.sizov <kirill.sizov@intel.com>
4 years ago
Dmitry Kalinin dd60b2d8e0
REST API tests: patch tasks, post/patch issues (#4465)
Co-authored-by: Kirill Sizov <kirill.sizov@intel.com>
4 years ago
Kirill Sizov 6dd73b0576
Improve REST API testing system (#4403) 4 years ago
Andrey Zhavoronkov 8810125fd8
Remote files test (#4443) 4 years ago
Boris Sekachev 1225fbb1bc
Enhanced filtration/sorting for tasks/projects/tasks in projects/cloud storages (#4409) 4 years ago
Kirill Lakhov 53f6699d40
Fixed bug: Incorrect point deletion with keyboard shortcut (#4420)
* fixed incorrect deletion

* update changelog

* added test

* applied comments

* added small check
4 years ago
Nikita Manovich cc98ff0584
Fix OPTIONS request to REST API methods (#4402) 4 years ago
Nikita Manovich e8f294f673
REST API /api/jobs/<id>/commits (#4368) 4 years ago
Boris Sekachev b5bac8c0a5
Jobs page: advanced filtration and implemented sorting (#4319)
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Maya <maya17grd@gmail.com>
4 years ago
Boris Sekachev c07a93d1ad
Added REST API tests [**/tasks GET, POST] (#4347)
Co-authored-by: kirill.sizov <kirill.sizov@intel.com>
4 years ago
Kirill Sizov 01eaf362aa
REST API tests: patch job/annotations, patch job (#4351) 4 years ago
Andrey Zhavoronkov 6f1d1222bf
added cache-policy test (#4355) 4 years ago
Maria Khrustaleva 99501182b4
Add test for content type header (#4345) 4 years ago
Andrey Zhavoronkov 3c8922ec78
Added simple test for analytics availability (#4308)
Co-authored-by: kirill-sizov <kirill.sizov@intel.com>
4 years ago
Boris Sekachev f719648bb0
Added cypress tests for the feature: 'continue frame n' (#4340)
* Added cypress tests for the feature: 'continue frame n'

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js

* Update tests/cypress/integration/actions_tasks/continue_frame_n.js
4 years ago
Nikita Manovich e9ef925b4b
Removed training app (#4330) 4 years ago