63 Commits (14262fa951b5b41bf839f7765bddaf4237d45820)

Author SHA1 Message Date
Kirill Lakhov 14262fa951
Interaction handler keyboard handlers fix (#3881)
* initinal implementaion

* additional action, README and version changes

* update changelog

* remove excess reducer

* comment fixes

* changelog update

* canvas3d destroy call upd
4 years ago
Dmitry Kruchinin e484aa7587
Migrate to node 16, npm 7. (#3773)
* Migrate to node 16 and nmp 7.

* Step 2

* Moving eslint to one package.json

* Fix package for 3D

* Update package files

* Fix package.json. Update package-lock.json. Update DockeFile.ui

* Change "node-sass" to "sass" due to snyk issues

* Automatically update your stylesheets due to DEPRECATION WARNING from sass

* Moving all dev dependencies to root package.json

* Remove unnecessary dependence from cvat-core-package.json

* Update of the year in copyrights

* Update CHANGELOG.md

* Define workspaces

* Update npm command to root package.json

* Update npm commands and corresponding files

* Update npm command.

* Fix Dockerfile.ui

* Fix error loading rule '@typescript-eslint/dot-notation'

* Fix eslint check issue

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
4 years ago
Boris Sekachev dbdcd4fd86
Added SiamMask CUDA implementation (tracking), reworked tracking approach (#3571) 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
Kirill Lakhov 1da3c96b5a
Intelligent scissors disabling feature (#3510)
* disabling feature

* excess points bugfix

* ctrl interaction

* ui bugfix

* trackers block mode removal

* Ctrl press fix

* approximation disabled only for block mode

* architectural improvements

* code refactoring

* renamed switchBlockMode

* added comments

* callback signature change

* polygon finish fix

* fixed bugs

* removed unnecessary if

* final recalculation threshold disable

* delete points bugfix

* update changelog

* update package versions
5 years ago
dependabot[bot] 97a49d7d2b
Bump path-parse from 1.0.6 to 1.0.7 in /cvat-canvas (#3540)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot] c48411ae50
Bump url-parse from 1.5.1 to 1.5.3 in /cvat-canvas (#3538)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Boris Sekachev 59af610f12
Semi-automatic tools enhancements (Non-blocking UI, tips) (#3473) 5 years ago
Boris Sekachev a12d14ba7d
Added notification, adjusted browserlist query and configs (#3501)
* Some config files added to ignore

* Updated config files

* Updated version & changelog

* Fixed configs

* Fixed one type error

* Updated webpack-cli
5 years ago
Boris Sekachev 330b8a832f
Semi-automatic tools enhancements (Stage 0) (#3417)
* Improved removable points, added a button to finish current object
* Code refactoring for ai tools and opencv
* Fixed style for workspace selector
* IOG UX fix
* Updated version & changelog
* Added 'min_neg_points' parameter to serverless interactors
* Return 'min_neg_points' from the server
5 years ago
Andrey Zhavoronkov 3aba7254c9
F~ixed extra notifications about frame rejection during navigation (#3373) 5 years ago
dependabot[bot] 8dfb21dcda
Bump postcss from 7.0.17 to 7.0.36 in /cvat-canvas (#3332)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.17 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.17...7.0.36)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot] 5a6c1d7c43
Bump normalize-url from 4.5.0 to 4.5.1 in /cvat-canvas (#3305)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot] 5168ca678d
Bump ws from 6.2.1 to 6.2.2 in /cvat-canvas (#3277)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.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
dependabot[bot] e3a65c31cb
Bump dns-packet from 1.3.1 to 1.3.4 in /cvat-canvas (#3242)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot] d9533ffc06
Bump browserslist from 4.6.6 to 4.16.6 in /cvat-canvas (#3233)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.6.6 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.6.6...4.16.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Boris Sekachev da9b0da46e
Fixed cropping polygon in some corner cases (#3184)
* Fixed issue #3178

* Updated version, fixed changelog
5 years ago
dependabot[bot] df62735f63
Bump hosted-git-info from 2.8.2 to 2.8.9 in /cvat-canvas (#3172)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.2 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.2...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Boris Sekachev 6a0379c3b9
Fixed hundreds of vulnerabilities in npm audit (#3169)
* Fixed hundreds of vulnerabilities in npm audit

* Updated package-lock for canvases

* Fixed package-lock

* Fixed vulnerabilities in cvat-canvas3d and cvat-data
5 years ago
dependabot[bot] 61d0bb3106
Bump lodash from 4.17.19 to 4.17.21 in /cvat-canvas (#3168)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
dependabot[bot] d4c16fd1e7
Bump url-parse from 1.4.7 to 1.5.1 in /cvat-canvas (#3167)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Boris Sekachev 085d2607e2
Fixed: Changing a label on canvas does not work when 'Show object details' enabled (#3084)
* Fixed: Changing a label on canvas does not work when 'Show object details' enabled #3083

* Updated changelog
5 years ago
dependabot[bot] b561b2fa82
Bump y18n from 4.0.0 to 4.0.1 in /cvat-canvas (#3027)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Andrey Zhavoronkov 5051249cc9
Crop polygon properly (#3025)
* crop polygon properly

* updated license headers and cvat-canvas version

* updated changelog

* fixed eslint errors

* fixed eslint issues

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
5 years ago
Boris Sekachev 1f56fd286c
Added switcher to maintain poylgon crop behaviour (#2961) (#3021)
* Added switcher to maintain poylgon crop behaviour (#2961)

* Updated versions & changelog
5 years ago
Boris Sekachev dc4760aeb1
Fixed polygon editing (#2808)
* Fixed polygon editing
* Updated version & changelog
* Try to restart codacy
5 years ago
Dmitry Kalinin 77acd7d3fa
Fixed cuboid perspective change (#2733)
* Fixed cuboid perspective change

* Added CHANGELOG and npm version increased
5 years ago
Boris Sekachev 967b8c5076
Fixed a lot of low & several high vulnerabilities found by npm audit (#2775)
* npm audit fixes

* Removed extra dependency cvat-data from cvat-ui
5 years ago
Boris Sekachev e0fc323a4d
Intelligent scissors with OpenCV javascript (#2689)
* Some UI implementations

* Added opencv wrapper

* Updated Opencv wrapper

* Moved initialization stub

* Added threshold

* Setup interaction with canvas

* Fixed couple of issues

* Added threshold, changing size via ctrl

* tmp

* Aborted host change

* Fixed threshold

* Aborted host

* Some fixes

* Using ready label selector

* Raw implementation

* Added additional arguments

* Fixed some minor issues

* Removed unused file

* Fixed tool reset

* Added short instructions to update opencv.js

* Fixed corner case

* Added error handler, opencv version, updated cvat_proxy & mod_wsgi

* OpenCV returned back

* Using dinamic function instead of script

* Updated changelog & version
5 years ago
Boris Sekachev 789d6dd1eb
Fixed: Issue with point region doesn't work in Firefox (#2727)
* Fixed: Issue with point region doesn't work in Firefox

* Updated changelog & version

* Fixed license header
5 years ago
dependabot[bot] 4edabdb3ed
Bump ini from 1.3.5 to 1.3.7 in /cvat-canvas (#2558)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Boris Sekachev d2ab7ef480 Merged develop 5 years ago
Boris Sekachev d6ac8cc5be
[Dependent] Simple Review Pipeline (Client) (#2357)
* tmp

* Removed migration

* Rebased

* Added signals & rating

* Updated API views

* Added reviewer serializer

* Added permissions

* Fixed some code issues

* Fixed swagger docs

* Some fixes

* Updated api method to create review

* Added some API tests & some fixes

* Added some tests

* Removed extra code

* cvat-core, basic review view

* Removed extra components

* Fixed context menu

* Added api method to canvas, removed extra files

* Implemented roi selection

* Added method to display rois on canvas

* Updated README.md

* Create issue dialog, some fixes

* Setup chat dialog windows

* Code refactoring

* Some fixes

* Small enhancement

* Fixed core tests, removed extra code

* A couple of fixes on canvas

* Canvas issues highlighting

* Small UX fix

* Fixed width of chat

* Code refactoring

* Added dialogs & review summary

* Fixed tests

* Fixed bug during rendering

* Applied changes from client part

* Fixed bugs in tests

* Added docs & setup plugins in cvat-core

* Aborted cypress changes

* Fixed comments

* Removed extra change

* Renamed fields

* Updated versions, fixed some comments

* Merged develop

* Merged develop

* Removed extra changes

* Removed extra changes

* Fixed tests

* Fixed scale & animation

* Using hull instead of the whole set of points

* Fixed minor issue

* Added additional logic to improve UX

* Updated task instance after review submitting

* Removed extra dependenci from package lock

* Fixed REST API test

* Removed /comments/<id> [PUT]

* /issue/comments/create [POST] -> /comments [POST]

* /job/<id>/reviews/create [POST] -> /reviews [POST]

* [PATCH] /issue/<id>/resolve(reopen) -> [PATCH] /issue/id

* Minor fix

* Updated till the latest REST APi

* Fixed test

* Reviewed review summary

* Review summary client-side

* Removed unused import

* Checking permissions client side

* Checking job permissions

* UP issue dialog onmouseout

* Added shadow & pressenter event

* Added ref initial value

* Using the same box shadow in the whole project

* Removed extra files in the patch

* Removed extra files in the patch

* Updated versions

* Updated changelog

* Fixed merge issue

* Set updated flag on changing a reviewer

* Fixed submit review modal

* Two minor issue fixed

* Searching issues & additional sidebar tab

* Show text for locked objects

* Fixed permissions for reviewers

* Fixed typos

* Fixed review request/submit actions, added action to finish a job

* Star rating instead

* Fixed migration

* Removed animation, updated blur/highlight behaviour, updated hiddel labels position

* Hide/show issues button, adjusted header

* Context menu & buttons

* Removed ability to select an object in region selector

* Do not show issues in AAM & tag annotation

* Fixed jest tests

* Fixed: cannot read property label of undefined

* Getting hull before creating the issue

* Added ability to leave quick comment one of latest

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
5 years ago
Boris Sekachev 9f96c93752 Updated canvas version 5 years ago
Boris Sekachev b2eb45e961
Updated sass (#2367) 5 years ago
Boris Sekachev df6e6fd3ca
Fixed bug: 'Cannot read property each of undefined', fixed points size (#2307)
* Fixed bug: 'Cannot read property each of undefined', fixed points size

* Updated version, updated changelog
5 years ago
Snyk bot dfceb9a152
fix: upgrade svg.draw.js from 2.0.3 to 2.0.4 (#2276)
Snyk has created this PR to upgrade svg.draw.js from 2.0.3 to 2.0.4.

See this package in npm:
https://www.npmjs.com/package/svg.draw.js

See this project in Snyk:
https://app.snyk.io/org/nmanovic/project/bd3b590a-e393-4392-9ef6-8442fdb38b29?utm_source=github&utm_medium=upgrade-pr
5 years ago
Dmitry Kalinin 8a1842c77c
Optional chaining plugin for cvat-ui and cvat-canvas (#2249)
* Added optional chaining plugin

* Added CHANGELOG.md
5 years ago
Boris Sekachev 4d3a93a803
Updated high volnurabilities from dependabot & npm audit (#2210) 5 years ago
Boris Sekachev 4d869c3cf5
Using "alt" instead of "ctrl" to delete a point, fixed reducer (#2204)
* Using alt instead of ctrl to delete a point, fixed reducer

* Updated versions

* Updated changelog
5 years ago
dependabot[bot] f43863aa79
Bump http-proxy from 1.17.0 to 1.18.1 in /cvat-canvas (#2134)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 years ago
Boris Sekachev 908e0569d8
Improved interface of interactors on UI (#2054) 6 years ago
dependabot[bot] e8c9158767
Bump elliptic from 6.5.0 to 6.5.3 in /cvat-canvas (#1968)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.0...v6.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 years ago
Boris Sekachev 1e2c826be5
Intelligent polygon editing (#1921)
* Intelligent polygon ediing
6 years ago
dependabot[bot] b025acea43
Bump lodash from 4.17.15 to 4.17.19 in /cvat-canvas (#1907)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 years ago
Boris Sekachev e92014ead0
CVAT-UI: Couple of fixes (#1892)
* Polygon interpolation fix

* Fix interpolation issue

* Updated changelog
6 years ago
Boris Sekachev 2a5cfcc657
[CVAT-UI] Critical fixes (#1874)
* Fixed redux types

* Redesigned approach to close job. Previous variant didn't work properly with GlobalErrorBoundary

* Fixed: cannot read property shapeType of undefined

* Cannot read property 'pinned' of undefined

* Do not iterate invisible objects (zLayer) in aam

* Keep cursor on the same position when editing text

* Do not select hidden shapes when grouping

* Updated version

* Fixed host
6 years ago