44 Commits (da9b0da46ef3e4c731cefcfcd749d89bfb20eeee)

Author SHA1 Message Date
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
Boris Sekachev 18f6b2f95d
[CVAT-UI] Fixed displaying on canvas in some cases (#1834)
* Fixed displaying on canvas in some cases

* Updated changelog
6 years ago
Dmitry Kalinin 49a7ad59ed
CVAT UI: batch of fixes (#1705) 6 years ago
Boris Sekachev a300684876
Interpolation of polyshapes in CVAT (#1571)
* cvat-core interpolation

* Unlocked polyshapes

* Updated versions

* Second implementation

* Splitted line

* Inverse, set start point, fixed editing a bit, point menu refactoring

* Removed extra code, fixed bug: Cannot open shape context menu when point context menu is opened

* Do not close shape context menu on change shap[e

* Improved editing

* Updated mouseevents to edit/delete, added ability to redraw (shift + N)

* Ignore tags when redraw

* Ingoring tags on canvas, added method isAbleToChangeFrame, hide shapes during redraw, do not allow changing frame during redraw

* Canceled advanced editing for polygons

* A couple of fixes in interpolation, editing, reducing number of points

* Moved change orientation functionality

* Fixed interpolation algorithm

* Zero division issue

* Zero division issue

* Segment minimization

* Server implementation

* Keyframe set to False

* Simplified code, fixed server side code

* Updated changelog.md

* Added pdf describing interpolation

* Resolved some issues

* Updated UI version

* Updated canvas version

* Fixed host
6 years ago
dependabot[bot] 441ce14093
Bump websocket-extensions from 0.1.3 to 0.1.4 in /cvat-canvas (#1660)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

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 d0b9481316
Fixed dextr, fixed moving of the canvas (#1573)
* Fixed dextr, fixed moving of the canvas

* Updated CONTRIBUTUNG.md, updated version

Co-authored-by: Nikita Manovich <40690625+nmanovic@users.noreply.github.com>
6 years ago
Dmitry Kalinin 5816494694
React UI: cuboid interpolation and cuboid drawing from rectangles (#1560)
* Added backend cuboid interpolation and cuboid drawing from rectangles
* Added CHANELOG.md
* Fixed cuboid front edges stroke width
* PR fixes
6 years ago
Boris Sekachev c6c9e7db96
React UI: Added client versioning (#1448)
* Adjusted antd import

* Wrapped core and canvas

* Added versioning

* Updated changelog, adjusted installation guide a bit
6 years ago
Andrey Zhavoronkov e7808cfb03
Data streaming using chunks (#1007)
Huge feature (200+ commits from different developers). It completely changes layout of data (please expect very long DB migration process if you have a lot of tasks). The primary idea is to send data as zip chunks (e.g. 36 images in one chunk) or encoded video chunks and decode them on the client side. It helps to solve the problem with latency  when you try to view a separate frame in the UI quickly (play mode).
Another important feature of the patch is to provide access to the original images. Thus for annotations the client uses compressed chunks but if you want to export a dataset Datumaro will use original chunks (but video will be decoded with original quality and encoded with maximum/optimal quality in any case).
6 years ago
dependabot[bot] 4ab3c1af82
Bump acorn from 6.2.1 to 6.4.1 in /cvat-canvas (#1281)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.1 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.1...6.4.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 ad9b877b6d
Installation issues for development environment (#1280)
* Installation issues

* Added ffmpeg
6 years ago
Boris Sekachev 0277547dc3 React UI: Player in annotation view & settings page (#1018)
* Active player controls
* Setup packages
* Playing
* Fold/unfold sidebar, minor issues
* Improved cvat-canvas integration
* Resolved some issues
* Added cvat-canvas to Dockerfile.ui
* Fit canvas method
* Added annotation reducer
* Added annotation actions
* Added containers
* Added components
* cvat-canvas removed from dockerignore
* Added settings page
* Minor improvements
* Container for canvas wrapper
* Configurable grid
* Rotation
* fitCanvas added to readme
* Aligned table
6 years ago
dependabot[bot] 9a9f3fa4f2 Bump eslint-utils from 1.4.0 to 1.4.3 in /cvat-canvas (#809)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
6 years ago
Boris Sekachev 695fc37924 User interface with react and antd (#755)
* Login page, router
* Registration
* Tasks view
6 years ago