68 Commits (0ab445b7a8ab42dc43754d32afc72c8d72f6bc13)

Author SHA1 Message Date
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
Kirill Lakhov 7706eee504
Improved UX of signing pages (#5295) 3 years ago
Boris Sekachev 6acab035f2
Improved UX of user logout (#5266)
* Improved UX of user logout

* Updated version & changelog

* Fixed ?next='' query parameter

* Updated license header
3 years ago
Kirill Lakhov 92ba1ab845
New authentication UI (#5181)
* Add social accounts authentication && improve email confirmation

* Pass env variables to docker

* Update helm chart

* Update email verification templates

* Small refactoring

* Send email verification && redirect to /auth/email-verification-sent

* added new login form

* added main assets

* added main social buttons

* changed reset password form

* refactored reset password page

* Fix helm chart

* Fix typo

* Pass enabled advanced auth methods to client

* Rename class

* Fix

* Fix helm

* Fix github scope

* changed register page

* adjusted no social auth methods

* Some fixes

* Fix schema generation

* Fixes

* Apply comments

* Update changelog

* added responsiveness, refactored inputs

* cleanup

* fixed email-confirmed.tsx

* updated reset page, changed style on register page

* added fonts, fixed some ui problems

* removed some code

* fixed index.html

* made resizing less expressed

* fixed form sizing, issue#5166

* fixed submiting form by enter

* made toggle bigger, fixed headers

* updated versions

* removed extra lines

* fixed fields on form

* changed tests

* fixed more tests

* fixed comments

* reverted header

* added grid-unit-size for height, removed for fonts

* added new animation

Co-authored-by: Maya <maya17grd@gmail.com>
3 years ago
Kirill Lakhov b7371ede35
Enabled authentication via email (#5037) 3 years ago
Kirill Lakhov 738792c285
Fixed actions_users/case_38_feedback_button (#4885)
* Fixed incorrect links

* Updated header
4 years ago
Boris Sekachev 1a94190572
Changed links openvinotoolkit > cvat-ai (#3)
Changed links openvinotoolkit > cvat.ai
4 years ago
Kirill Sizov a38c567c4c
Fix CI-nightly (#117) 4 years ago
Boris Sekachev 4f1a778d22
Fixed Intel license headers (#119) 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
Maria Khrustaleva 83126c7b5a
API versioning using accept header (#4239) 4 years ago
Boris Sekachev 29f14a814a
Added 2 cypress tests (#4278)
* Implemented test for issue #3975 PR #4189
4 years ago
Dmitry Kruchinin e212d57136
Cypress. New organization pipeline. (#4143)
* The folder renamed

* Add classes

* Rename the folder

* Rename/rework the script for remoing users, tasts, projects,
organizations

* Added commands for organizations

* Fix eslint issues

* Fix workflow

* Move the test to the registration_involved folder

* Added class

* Update the test. Added some commands.

* Added class

* Add a command. Updated the test.

* Fix eslint issue

* Added some classes

* Added cypress command. Update corespinding test.

* Continue writin the test. Update commands.

* Continue writing the test

* Update main.yml

* Add className

* Update the test. Add command

* Update the test

* Added command for remove a tasks, users, progects, orgs

* Some reworks

* Add a class

* Update the test

* Added check issue 4096

* Update year

* Update years

* Update the stept in the test

* Rework command to remove users, etc.

* The tests adaptation

* Rework command to deleting users, etc.

* Apply comments

* Revert changes except base_actions_project test

* Rename the command to delete a task by api

* Apply commenst. Split tests

* Update the command, the test.

* Added steps to check

* Fix support/index.js

* The test adaptation.

* Removed comments.

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin fc6525eeb7
Cypress test. Adjust, enabling tests for issues 2524 2633. (#4166)
* Update the command

* Rework the test

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin cee4f663ba
Added the step to check the issue 4140 (#4145)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin e17d791968
Cypress. Update test case_4. (#4089)
* Added removing tasks, users, projects.

* Update the case_4, function for deleting a task.

* Fix command

* Apply comments

Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
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 a18f3eaaa8
Cypress. Fix case 28. (#3812)
* Fix case 28

* Added additional asserts.

* Added checks

* Added check .cvat-canvas-context-menu not exist

* Revert command

* Add assert
4 years ago
Dmitry Kruchinin 68d412b134
Cypress. Fix tests. (#3783)
* Additional fix case 28

* Fix case 69

* Additional fix case 31.

* case 69
4 years ago
Dmitry Kruchinin 701168af8a
Fix case 28 (#3753) 4 years ago
Dmitry Kruchinin 54ac8c08e9
Cypress test. Check email confirmation page. (#3750) 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
Dmitry Kruchinin 87246c5469
Fix case 28 (#3693) 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 3e93f95ef7
Cypress test. Update "Multiple users. Assign task, job." (#3347)
* Added cypress commands

* Updated cypress test case 4 for check issue 3339

* Apply comments. Some rework cypress commands.
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
Timur Osmanov 9615436ecc
Website with documentation (#3039) 5 years ago
Dmitry Kruchinin 292cda8ed1
Cypress. Update test "Review pipeline feature". (#3207)
* Add { multiple: true } for closing cvat-notification-notice-save-annotations-failed

* Add log for debug

* Remove debug
5 years ago
Dmitry Kruchinin e00c389991
Cypress test. Reset password notification. (#3141)
* Cypress test. Reset password notification.

* Add dummy email
5 years ago
Dmitry Kruchinin 17908003df
Update cypress test. Review pipeline feature. (#3118)
* Upate cypress command.

Added the ability to re-open the issue.

* Update cypress test. Added re-open an issue.

* Apply comments

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

Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
5 years ago
Dmitry Kruchinin 86eef84717
Rework Cypress test "Register user, change password, login with new password". (#2933)
* Rework Cypress test "case 2".

* Add command to deleting a registered users.

* Tests adaptation.

* Update cypress command

* Test adaptation

* Apply comments.
5 years ago
Andrey Zhavoronkov cd3db10aea
[Snyk] Upgrade antd from 4.11.2 to 4.12.0 (#2853)
* fix: upgrade antd from 4.11.2 to 4.12.0

Snyk has created this PR to upgrade antd from 4.11.2 to 4.12.0.

See this package in npm:
https://www.npmjs.com/package/antd

See this project in Snyk:
https://app.snyk.io/org/cvat/project/c1f463ee-3776-44c4-b0fa-cd2254d0a094?utm_source=github&utm_medium=upgrade-pr

* Fix some Cypress test for antd 4.12.0 (#2855)

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Dmitry Kruchinin <33020454+dvkruchinin@users.noreply.github.com>
5 years ago
Dmitry Kruchinin 0d99bec0cd
Cypress test. Dump/Upload annotation. (#2771)
* Add css classes.

* Add some functions for test

* Cypress test. Dump/Upload annotation.

* Increase Cypress version to 6.4.0

* Added css classes for projects

* Replace dowloadFolder parameter

* Commands adaptation to 6.4.0

* Tests adaptation

* Additional changes related to migration to 6.4.0

* some fix

* Update cvat-ui/src/components/project-page/details.tsx

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>

* Update cvat-ui/src/components/project-page/details.tsx

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>

* Apply comment

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin f49eec7fba
Add "id" to sidebar issue item. Update Cypress test. (#2784)
* Add id to sidebar issue item.

* Test adaptation

* Some fix

* Apply comments.
5 years ago
Dmitry Kruchinin 51c3dd8fe3
Cypress. Remove annotation before spec if an object exist. (#2787)
* Update cypress commands to remove anotation

* Update tests
5 years ago
Dmitry Kruchinin 3d4fad4c1b
Update Cypress test. Add issue as point for check issue 2633. (#2760) 5 years ago
Dmitry Kruchinin 41626ebabf
Cypress test. Feedback button. (#2637)
* Add css class

* Cypress test. Feedback button, popover content

* Rework check a.href value

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
DmitriyOparin a7a23d4bfa
Update cypress test. Create task fail. Update task fail. Delete task fail. (#2622)
* add test

* add className for elements and chage cvat-ui version

* change ant to cvat cssSelector

* fix test if it is running at firefox

* improvements by comments

* fix fail

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
5 years ago
Dmitry Kruchinin 266e7ca9b4
Сypress test. Issue 2524. (#2634)
* First step

* Second step.

* Third step

* Fourth step

* Fifth step.

* Added css classes. Added commands. Finish writing the test.

* Some fix

* Updated version

* Some tests adaptation

* Rework saveJob() command

* Tests adaptation.

* Cypress test. Issue 2524.

* Apply comments

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Dmitry Kruchinin 09794c52c9
Cypress test. Review pipeline feature. (#2555)
* First step

* Second step.

* Third step

* Fourth step

* Fifth step.

* Added css classes. Added commands. Finish writing the test.

* Some fix

* Updated version

* Some tests adaptation

* Rework saveJob() command

* Tests adaptation.

* Apply comments

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
DmitriyOparin 67c3d6b459
Update cypress test. Fail login. (#2618)
* added new steps with incorrect user and password

* added className and change cvat-ui version

* improvements closeNotification function

* fixed if it running at firefox

* added className

* fix space on string

* added closeNotification in step

* improvements by comments

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
5 years ago
DmitriyOparin a04d95dfc5
Update cypress test. Change password fail. (#2619)
* added step change password with incorrect password

* added cssSelectors for elements and changed cvat-ui version

* rename step

* improvements by comment

* fix if test running in firefox

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
5 years ago
Dmitry Kruchinin ddd1c08963
Fix multiple tests for the Firefox browser (#2615)
* Add css class for modal window

* support/index.js adaptation

* Several tests adaptation

* Apply comments.

* Applying comments.

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
DmitriyOparin dff11d1ada
Upgrade cypress test. Login and logout. (#2574)
* added new steps

* added cssSelector for task name element

Co-authored-by: Dmitriy Oparin <dmitriyx.oparin@intel.com>
5 years ago
Dmitry Kruchinin 565020cce2
Fix some tests for antd4. (#2552)
* Fix tests

* Some fix

Co-authored-by: Kruchinin <dmitryx.kruchinin@intel.com>
5 years ago
Boris Sekachev 4c10fc90f6 Fixed test, improved code 5 years ago
Boris Sekachev 6505c01bc1 Fixed some of tests 5 years ago