162 Commits (bc4ff49bf0fb429c38ccafff15a9a78b08e6a8db)

Author SHA1 Message Date
Boris Sekachev da82f4f0d6
Fixed issue: Uncaught TypeError: this.el.node.getScreenCTM() is null … (#4175)
* Fixed issue: Uncaught TypeError: this.el.node.getScreenCTM() is null in Firefox

* Updated version and changelog

* Fixed test
4 years ago
Boris Sekachev 1d084c48b1
Fixed bug: canvas is busy (at least one reproducing way) (#4151)
* Fixed bug: canvas is busy (at least one reproducing way)

* Updated version & changelog

* Fixed license headers
4 years ago
Boris Sekachev b85a4ad77c
Added support of ellipses (#4062) 4 years ago
Boris Sekachev 1cd2ea06b0
Fixed copy/paste for rotated shapes (#4061)
* Fixed copy/paste for rotated shapes

* Updated version

* Fixed issue with cropping rotated box after paste

* Checking constraints not only when create, but also when paste

* Do not enable autoborders when paste shape

* Fixed test. Getting circles coordinates is not correct way to check coordinates matching because they are in different coordinate spaces

* Using dedicated function to get points
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
Boris Sekachev 6af3be6cac
Added ability to setup text labels content (#4029)
* Added ability to setup text labels content

* Updated changelog

* Fixed wrong test

* Added minimum font size const
4 years ago
Boris Sekachev 6b5cfc14be
Fixed font-size in firefox (#4026)
* Fixed font-size in firefox

* Updated versions
4 years ago
Boris Sekachev ab351c2aa0
Added options to switch text font size and position (#3972) 4 years ago
Boris Sekachev c6ed6d1266
Added smooth image option (#3933) 4 years ago
Boris Sekachev c787f049ad
Fixed issue: autoborder points are visible for invisible shapes (#3931)
* Fixed issue: autoborder points are visible for invisible shapes

* Update version & changelog
4 years ago
Boris Sekachev 7bab58e1a6
Added rotated bounding boxes (#3832)
Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>
4 years ago
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
Boris Sekachev 7bf415412a
Working on linter configurations (#3839)
* Fix different project configs

* Sorted out all eslint configurations

* Return package-lock file created with npm 7 (just in case of compatibility issues), prev was 8

* Changed based image to lts slim
4 years ago
Kirill Lakhov 3f8b9e4823
Fix intelligent scissors blocking (#3825)
* added event repeat check

* fix eslint errors
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 0ea4897b1c
Semi-automatic tools enhancements (Client-side points minimizer) (#3450)
* First stage for points minimizer

* Fixed issue with correct opencv initialization status

* Displaying points during interaction

* Added releasing memory

* Initial version for on-the-fly optimization

* Redesigned accuracy

* Updated version & changelog

* Fixed opencv scissors

* Clean up some intermediate state

* Fixed scss

* Redesigned slider a bit

* Added errored shape

* Keep slider hidden while didn't recieve first points

* Adjusted settings slider

* Updated label

* A couple of fixes for trackers & detectors

* Updated default value
5 years ago
Kirill Lakhov 7e7a5b9623
Histogram equalization feature (#3447)
* Added histogram equalization

* Fixed equalization memory leak

* Removed unused console.log

* Fixed eslint errors

* Fixed algorithm implementation in opencv control

* Fixed histogram equalization disabling

* Fixed eslint errors

* Removed outdated code and reworked cycles in functions

* Fixed forceUpdate flag disabling

* Fixed image bitmap creation

* Fixed running setState and imageModifier
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
Boris Sekachev 957bc29548
Fixed: "TypeError: Cannot read property 'clientX' of undefined" (#3308)
* Fixed cuboid redraw

* Updated version & changelog

* Fixed duplicated cuboid

* Updated changelog

* Do not skip test for cuboid

* Removed comment

* Fixed one more case
5 years ago
Boris Sekachev 4db6cc9dd8
Removed some unused code (#3327) 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