47 Commits (fb0b8675e1811301edd7f1222b4a4e3c0f21d3cd)

Author SHA1 Message Date
Boris Sekachev fb0b8675e1
Grid view and multiple context images supported (#5542)
### Motivation and context
<img width="1918" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207552-7a7dcb0b-4f0c-4cb6-a030-9522ff68a710.png">
<img width="1920" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207577-d05503e8-71d5-4e5c-aecd-03e5a762d7b1.png">
3 years ago
Kirill Lakhov 19b2643e69
Allowed to upload `.xml` and `.json` annotation files from UI (#5386)
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
Resolved #5274
+ Fixed typo in tests

### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
- [ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
3 years ago
Boris Sekachev 460df331e4
Implemented propagate backward (#5355)
<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
Resolved #2998

<img width="428" alt="image"
src="https://user-images.githubusercontent.com/40690378/203806586-1367477b-cfff-46f1-947b-d0292cd6f02e.png">


### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file
- [ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly
- [x] I have added tests to cover my changes
- [x] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
3 years ago
Roman Donchenko 0ab445b7a8
Replace unintended Cyrillic C letters with Latin C (#5334)
The only change in production code is the one in `shortcuts-reducer.ts`.
It makes no functional difference, however, because the shortcut in
question is not handled by the regular shortcut mechanism; the control
key is handled separately in `interactionHandler.ts`, while the string
"ctrl" in `shortcuts-reducer.ts` is only used for display purposes.

Fix ESLint errors in altered files, as well.

<!-- Raised an issue to propose your change
(https://github.com/cvat-ai/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the
[CONTRIBUTION](https://github.com/cvat-ai/cvat/blob/develop/CONTRIBUTING.md)
guide. -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
These Cyrillic Cs interfere with searching and can cause confusion.

### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->
I'm relying on GitHub Actions.

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable by a reason then ~~explicitly
strikethrough~~ the whole
line. If you don't do that github will show an incorrect process for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- ~~[ ] I have added a description of my changes into
[CHANGELOG](https://github.com/cvat-ai/cvat/blob/develop/CHANGELOG.md)
file~~
- ~~[ ] I have updated the [documentation](
https://github.com/cvat-ai/cvat/blob/develop/README.md#documentation)
accordingly~~
- ~~[ ] I have added tests to cover my changes~~
- ~~[ ] I have linked related issues ([read github docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~
- ~~[ ] I have increased versions of npm packages if it is necessary
([cvat-canvas](https://github.com/cvat-ai/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/cvat-ai/cvat/tree/develop/cvat-core#versioning),
[cvat-data](https://github.com/cvat-ai/cvat/tree/develop/cvat-data#versioning)
and
[cvat-ui](https://github.com/cvat-ai/cvat/tree/develop/cvat-ui#versioning))~~

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
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
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
Роман Донченко 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
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
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 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
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
Boris Sekachev 1a94190572
Changed links openvinotoolkit > cvat-ai (#3)
Changed links openvinotoolkit > cvat.ai
4 years ago
Boris Sekachev 4f1a778d22
Fixed Intel license headers (#119) 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
Boris Sekachev 1225fbb1bc
Enhanced filtration/sorting for tasks/projects/tasks in projects/cloud storages (#4409) 4 years ago
Boris Sekachev 237f98d5f8
Some icons improvements (#4286)
* Removed unused icons

* Some icon changed to alternatives

* Updated version

* Icon selectors in tests

* Fixed eslint error in test

* Fixed opacity

* Updated header

* Fix URL scheme in cypress tests related with removing labels

* MinusCircled -> DeleteOutlined, removed one more custom cvat icon (there is the same antd icon)

* Fixed tests

* Fixed typos
4 years ago
Maria Khrustaleva 83126c7b5a
API versioning using accept header (#4239) 4 years ago
Dmitry Kruchinin 211ae2a789
Cypress test. Ellipse actions. (#4215)
* Update the commands, utils. Case 108 adaptation

* Added/updated tests for ellipse
4 years ago
Boris Sekachev b85a4ad77c
Added support of ellipses (#4062) 4 years ago
Kirill Lakhov 69d3ad79f6
Add documentation/tests for tasks large files uploads (#4036)
* added api documentation

* added test with 108mb file

* fixed linter issues

* added upload chunk size param

* fixed initialization

* udpated doc for uploadChunkSize

* reworked setting as global

* small fix

* moved uploadChunkSize setting setup to hooks

* fix comments

* change this to globalThis
4 years ago
Nikita Manovich 4708b5ecf8
IAM: Open Policy Agent integration (#3788)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
4 years ago
Dmitry Kruchinin 6abc8da3a6
Upate case 1. Added check label color. (#4045)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin e45d57b9e0
Cypress. Dummy cloud storages. (#3988)
* Creted dummy cloud storages.

* Add dummy per CS. Writing new test.

* Disabling for Firefox

* Code refactoring.

* Some rework

* Apply comments

* Apply comments

* Rename function. Add check tooltip text.

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin c79a4c1584
Cypress. Update case 105. Add check "Google cloud storage" provider fields. (#3980)
* Update case 105. Add "Check "Google cloud storage" provider fields" step

* Fix eslint issue

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 130b815f61
Cypress. Update the test for check issue 3810. (#3900)
* Add command for unpack zip

* Test adaptation

* Tests adaptation for tasks

* Fix ESLint issue for tests.

* Fix ESLint issue for cypress support/plugins

* Added tests folder to workspaces. Ignore Eslint isuue

* Fix deletingRegisteredUsers

* Update test for checking issue 3810

* Applying comments

* Removing tests from package.json workspaces.

* Adding nmp ci for tests folder

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin e8b3284882
Cypress test. Connected file share. (#3764)
* Cypress test case 106. docker-compose for file share.

* Continue writing the test

* Added class to reducer

* Case 106. Added check issue 3733

* Updated yml files

* debug

* Fix renaming a image

* Remove debug

* Update the test

* Added comment

* Rename test case/file/images

* Added assert.

* Applying comments

* Apply comments
4 years ago
Boris Sekachev a9ce458311
Tried to fix some tests (#3737)
* Tried to fix some tests

* Revert visibility class

* Fixed outdated code

* Fixed one code point

* Test.

* Fixed upload annotations tests

* Fixed upload tests

* Disable animation for popovers

* Removed extra class

* Removed strange check

* Pass overlayStyle from HOC to child Popover
4 years ago
Dmitry Kruchinin e27c922408
Cypress test. Cloud Storage page. (#3697)
* Added test for check Cloud Storage page.

* Applying comments

* Fix movingTask command

* Replace comment

* Try to fix case 5
4 years ago
Boris Sekachev 03c851594c
Migrated to the new antd, fixed tests, fixed annotations uploading (#3694)
* Revert "Revert "Updating tests for migration to a new version of antd (#3623)""

This reverts commit 0fd8b5d49e.

* Fixed issue with annotations uploading

* Fixed menu on annotation page

* Tried to fix: Cannot read property nodeType of null

* Updated deps

* Fixed a couple of issues in menu

* Fixed import after updating antd

* Update cvat-ui/webpack.config.js

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
4 years ago
Nikita Manovich 0fd8b5d49e Revert "Updating tests for migration to a new version of antd (#3623)"
This reverts commit 1ecb44a63e.
4 years ago
Dmitry Kruchinin 1ecb44a63e
Updating tests for migration to a new version of antd (#3623)
* Migrated to new antd and react, fixed tests
* Popover visibility reworked
* Fixed package-lock
* Fix command for a shape drawning.
* Fix command for 3D functionality
* Fixed cannot read property map of undefined
* Updated cypress and plugins
* Update main.yml
* Update popover visibility in the tests
* Replace "be.visible" to check "ant-popover-hidden" class
* Implemented tricky way to setup popover visibility

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
4 years ago
Dmitry Kruchinin 3c3465dd8e
Cypress test. Update cases dump/upload annotations. (#3545)
* Update cypress tests

* Added wait to command. Removed from tetst.

* Added rename archive to export dataset 3d functionality
5 years ago
Dmitry Kalinin f18b1cb82d
Project: export as a dataset (#3365) 5 years ago
Dmitry Kruchinin 04f63a4063
Cypress test. Update case 90 for check issue 3415. (#3437) 5 years ago
Dmitry Kruchinin 7699bd362f
Cypress. Case 44. Adding additional checks. (#3312)
* Added classes

* Test adaptation

* Revert adding classes

* Rework the test

* Remove unnecessary comments
5 years ago
Andrey Zhavoronkov 72fdef4335
Az/import export tasks (#3056)
* initial version of task export/import feature

* fixed tests

* CLI

* fix comments

* updated license headers

* fix eslint issues

* fix comments

* fixed comments

* reverted changes in *.md files

* fixed comments

* fix pylint issues

* fix import for share case

* improved unit tests

* updated changelog

* fixed Maria's comments

* fixed comments

* Fixed position of create new task button

* Fixed span position

* fixed comments

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Roman Donchenko d15a3199c2
Fix many spelling errors (#3244)
* Fix spelling errors

* Bump version numbers after the spelling fixes

* Fix OSX build (os.mknod requires super-priviligies)

* Fixed eslint warnings.

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
5 years ago
Dmitry Kruchinin 4960260e35
Cypress test. Context images for 2D tasks. (#3257) 5 years ago
Dmitry Kruchinin a5b996619a
Cypress. Update test "Check if image was scaled to ROI". Add check "cancel". (#3205)
* Update case 7 for increase code coverage

* Minor fix
5 years ago
Dmitry Kruchinin ada95e8f5e
Cypress test. Fix "Changing a default value for an attribute" (#3188)
* Fix case 44. Added condition.

* Rework. Added waiting for id gt zero

* Rework waiting

* Return to the option to change the click and enter fields

* Waiting via while loop

* for debug

* Try to waiting. Another way.

* Fix eslint issue. Add logging for ID

* Additional logs for debug

* Remove force: true

* Added assert

* Rework click
5 years ago
Dmitry Kruchinin f3fd2e6057
Revert use .not('.ant-select-dropdown') (#3161) 5 years ago
Dmitry Kruchinin c33f77f88d
Fix cypress command. (#3148)
* Fix cypress command

* Add aditional check for interact with dropdown menu
5 years ago
Dmitry Kruchinin c60812c163
Cypress test. Drag canvas. (#3142)
* Cypress test. Drag canvas.

* Added click to ".cvat-move-control"

* Add comment
5 years ago
Dmitry Kruchinin b9f405804b
CI. Using the Docker layer cache. Parallelizing test runs. (#3100) 5 years ago