29 Commits (1f33f505efebf42d91fbfa8b8443fa37f648b07a)

Author SHA1 Message Date
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
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 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
Snyk bot 0cc3db952e
fix: upgrade async-mutex from 0.3.1 to 0.3.2 (#3696)
Snyk has created this PR to upgrade async-mutex from 0.3.1 to 0.3.2.

See this package in npm:
https://www.npmjs.com/package/async-mutex

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr
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
Snyk bot 0993e5825d
fix: upgrade jszip from 3.7.0 to 3.7.1 (#3605)
Snyk has created this PR to upgrade jszip from 3.7.0 to 3.7.1.

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

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr
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
Snyk bot 8199da0361
fix: cvat-data/package.json & cvat-data/package-lock.json to reduce vulnerabilities (#3470)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JSZIP-1251497
5 years ago
Roman Donchenko 25975467ea
Fix all remark warnings (#3261)
* Fix all issues reported by remark

* Move remark dependencies from the workflow definition into package.json

This enables the transitive dependencies to be pinned, just like for all
other packages.

* Add additional remark plugins

These are needed to correctly parse certain constructs in Markdown files
(such as tables and YAML frontmatter), and without them, remark produces
invalid warnings on some files.

* Update the remark-lint preset versions

The previous versions reference the old version of the
`remark-lint-table-cell-padding` plugin, which doesn't work correctly with
the current version of `remark-parse` (and thus produces spurious warnings).

* GitHub Actions: run remark on all Markdown files, not just changed ones

This way, if a PR updates the remark configuration and that causes new errors
to appear, those errors will show up in that PR, instead of the (unrelated) PR
that next updates the affected files.

There is no runtime cost to this, because remark takes approximately 1 second
to check all files.
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
Nikita Manovich b42d4b0e3d
fix: upgrade async-mutex from 0.3.0 to 0.3.1 (#2955)
Snyk has created this PR to upgrade async-mutex from 0.3.0 to 0.3.1.

See this package in npm:
https://www.npmjs.com/package/async-mutex

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
5 years ago
Nikita Manovich dcfdddfd35
fix: upgrade jszip from 3.5.0 to 3.6.0 (#2906)
Snyk has created this PR to upgrade jszip from 3.5.0 to 3.6.0.

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

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
5 years ago
Nikita Manovich dff57eb24b
fix: upgrade async-mutex from 0.2.6 to 0.3.0 (#2876)
Snyk has created this PR to upgrade async-mutex from 0.2.6 to 0.3.0.

See this package in npm:
https://www.npmjs.com/package/async-mutex

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
5 years ago
Nikita Manovich 97cb892844
IOG serverless function + some fixes (#2578)
* Initial version of Inside Outside Guidance serverless function
* Support neg_points in interactors
* Improved deployment process of serverless functions
* Improve installation.md for serverless functions.
* Update CHANGELOG, use NUCLIO_DASHBOARD_DEFAULT_FUNCTION_MOUNT_MODE as
recommended by nuclio developers.
* Disable warning from markdown linter about max line length for a table.
* Fix IOG function with conda environment
* Fix tensorflow matterport/mask_rcnn

Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
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
manasars 5c67846c20
CVAT-3D Milestone2 (#2645)
* CVAT-3D Updated the Mime Types with Bin Support, added dependency of open3D

* CVAT-3D Added additional column as Dimension for engine_task table and created a relatedfiles table for PCD to Image mapping.

* Added Support for 3D file Upload in BIN and PCD.

* Added Dimension attribute defaulting to 2D for importer and exporter.

* Added props passing for dimension attribute, filtering of import, Migration Scripts and Dimension attribute for MpegChunk Writers

* Modified code as per review comments

* Updated Unit test cases for 3D task creation

* Refactored Dimension Enum in UI and backend code

* Resolving conflicts

* Updated Unit Test Case

* Refactored TaskDimension to DimensionType, Simplified usage of Dimension accross classes

* Removing manually created test files

* Removing old pcd mime-type mapping

* Added test files generated by synthetic data using open3d

* Merged with develop branch latest changes

* Added libraries required for open3d

* Added files

* Added synthethic pcd,bin and img test files

* Modified test file name

* Trigger travis ci

* Modified test case to ignore 3D preview images

* Trigger notification

* Deleting DS Store files

* Modified test cases as per review comments

* Checking pre-commit hook

* Fixed Lint issues - precommit hook verification

* Added changes for CVAT-3D Milestone2 changes - Frame Navigation, photo context hide and show

* Modified changes

* Added canvas3D for 3D Perspective

* Added missing files

* Added code to get image context for 3D view

* Codacy check for stylesheet

* Modified frame navigantion for 3D View

* Modified style for context-image

* Trigger notification

* Added Support for 3D file Upload in BIN and PCD.

* Added props passing for dimension attribute, filtering of import, Migration Scripts and Dimension attribute for MpegChunk Writers

* Modified code as per review comments

* Refactored Dimension Enum in UI and backend code

* Merged with develop branch latest changes

* Added files

* Added changes for CVAT-3D Milestone2 changes - Frame Navigation, photo context hide and show

* Modified changes

* Added canvas3D for 3D Perspective

* Added missing files

* Added code to get image context for 3D view

* Codacy check for stylesheet

* Modified frame navigantion for 3D View

* Modified style for context-image

* Changed cvat-data lint issues

* Modified to use opencv as per review comments

* Removed unwanted imports

* Fixed css and added usage of hooks

* Merged Develop branch code

* Removed unused data structures

* Removed unused data structures

* Refactored unused data structures

* Added three js dependency in cvat ui package-lock.json

* Merged develop branch code and refactored code

* Fixed snyk issue

* Modified Camera Icon in photo-context

* Update icons.tsx

* Remove unused svg file

* Modified changelog file

Co-authored-by: cdp <cdp123>
5 years ago
Andrey Zhavoronkov 48b6da9361
Fix frame preloading (#2608)
* fixed frame preloading

* version++

* updated changelog
5 years ago
Snyk bot 83193d06b9
fix: upgrade async-mutex from 0.2.4 to 0.2.6 (#2601)
Snyk has created this PR to upgrade async-mutex from 0.2.4 to 0.2.6.

See this package in npm:
https://www.npmjs.com/package/async-mutex

See this project in Snyk:
https://app.snyk.io/org/cvat/project/6457ad1f-89ea-4fc9-a983-bdb963e74086?utm_source=github&utm_medium=upgrade-pr
5 years ago
Dmitry Kalinin 879deb5a52
Projects (#2255)
Initial implementation of Projects feature to group similar tasks into one group (aka Dataset UI in the future).
5 years ago
Boris Sekachev 0576cb7872
Fixes for eslint & precommit configuration (#2352)
* Fixed some codacy configs, fixed commiting with lint-stage

* Improved code

* Fixed header

* Fixed headers

* Removed extra dependencies

* Updated some packages (fixed critical vulnerabilities)
5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Snyk bot 65b29a6818
fix: upgrade async-mutex from 0.1.4 to 0.2.4 (#2275)
Snyk has created this PR to upgrade async-mutex from 0.1.4 to 0.2.4.

See this package in npm:
https://www.npmjs.com/package/async-mutex

See this project in Snyk:
https://app.snyk.io/org/nmanovic/project/97fd3200-295e-491c-9793-aec3a299a1f7?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
5 years ago
Snyk bot 864fb8f525
fix: upgrade jszip from 3.1.5 to 3.5.0 (#2274)
Snyk has created this PR to upgrade jszip from 3.1.5 to 3.5.0.

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

See this project in Snyk:
https://app.snyk.io/org/nmanovic/project/97fd3200-295e-491c-9793-aec3a299a1f7?utm_source=github&utm_medium=upgrade-pr
5 years ago
Boris Sekachev d66449241a
Batch of fixes for Safari (#2025)
* Styles fixes

* Fixed imageBitmap & styles on annotation page

* Increased version of cvat-data
6 years ago
Andrey Zhavoronkov db29291d43
added hash to js bundle names (#1803) 6 years ago
Boris Sekachev 8df5d615a4
Updated README.md files (added info about versioning) (#1490)
* Updated README.md files (added info about versioning)

* Typos
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