115 Commits (87f07fd3918611a440f58fdb7d0fcaa02539c4c6)

Author SHA1 Message Date
Kirill Lakhov 3775bc2557
New models UI (#5635) 3 years ago
Boris Sekachev fb0b8675e1
Grid view and multiple context images supported (#5542)
### Motivation and context
<img width="1918" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207552-7a7dcb0b-4f0c-4cb6-a030-9522ff68a710.png">
<img width="1920" alt="image"
src="https://user-images.githubusercontent.com/40690378/210207577-d05503e8-71d5-4e5c-aecd-03e5a762d7b1.png">
3 years ago
Maria Khrustaleva b00bc653ff
Social account authentication tests (#5444)
Depends on #5349
Related #5432
Added tests for social account authentication functionality: cypress
test with dummy auth server
3 years ago
Kirill Sizov 71a0aaf2bb
Improve error messages when limits reached (#5556) 3 years ago
Boris Sekachev 4e425303bb
Refactoring: Removed old docs from cvat-core, added more types, fixed import (#5572)
<!-- 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. -->

### 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. -->

### 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
Andrey Zhavoronkov 1ecc607286
Get preview images on the fly and keep them in cache (#5478)
Improved image preview loading for **Tasks**, **Jobs** and **Projects**
views
Backend behaviour change: creating image previews by request and storing
them in the cache
Added corresponding endpoints:
tasks/{id}/preview
projects/{id}/preview
jobs/{id}/preview

Demonstration(added random 0-1s delay for demo purposes):
https://user-images.githubusercontent.com/41117609/208106321-951b8647-6e6b-452e-910c-31c4d0b8682d.mp4
https://user-images.githubusercontent.com/41117609/208106339-2d3a5a7b-d422-4b27-9e76-08729022e1ca.mp4
3 years ago
Andrey Zhavoronkov 980c019427
PostgresSQL DB v15 and health check endpoint (#5312) 3 years ago
Kirill Lakhov 19b2643e69
Allowed to upload `.xml` and `.json` annotation files from UI (#5386)
<!-- 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. -->
Resolved #5274
+ Fixed typo in tests

### 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. -->

### 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
- [x] 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
- [x] I have added tests to cover my changes
- [x] 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))
- [x] 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 8705e2366c
Added force logout on CVAT app start if token is missing (#5331) 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
Boris Sekachev f62aa276cd
Added paint brush tools (#4543) 3 years ago
Boris Sekachev 02eba10b45
Fixed issue: cannot assign a resource to a user who has an organization (#5218) 3 years ago
Roman Donchenko 80c72340f8
Fix ESLint errors in cvat-core/src/server-proxy.ts (#5189)
* Fix incorrect requires of the ./config module

It's an ES6 module, so we need to use the `default` field, or we'll get the
module itself instead.

* Fix ESLint errors in cvat-core/src/server-proxy.ts

Specifically:

* `padded-blocks`
* `@typescript-eslint/no-var-requires`
* `@typescript-eslint/return-await`
3 years ago
Roman Donchenko 286f942b67
Remove `--` from some `yarn run` commands (#5173)
In Yarn 1.0, the `--` is no longer required, and in Yarn 2.0 it is now
passed to the script verbatim, thus breaking the command.

There are also usages of `--` in `lint-staged.config.js`, but in those
cases, passing `--` to the script would be mildly beneficial (ensuring that
none of the file names are interpreted as options), so I'm keeping those.
3 years ago
Andrey Zhavoronkov 3680990b37
[Snyk] Upgrade tus-js-client from 2.3.2 to 3.0.1 (#5140)
* feat: upgrade tus-js-client from 2.3.2 to 3.0.1

Snyk has created this PR to upgrade tus-js-client from 2.3.2 to 3.0.1.

See this package in npm:
https://www.npmjs.com/package/tus-js-client

See this project in Snyk:
https://app.snyk.io/org/cvat/project/31502ad1-28fd-42cc-a9f7-f2efd57910e3?utm_source=github&utm_medium=referral&page=upgrade-pr

* updated yarn.lock

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: “klakhov” <kirill.lakhov@cvat.ai>
3 years ago
Kirill Sizov e62d5e4f05
feat: upgrade jest-config from 28.1.3 to 29.0.3 (#5115)
Snyk has created this PR to upgrade jest-config from 28.1.3 to 29.0.3.

See this package in npm:
https://www.npmjs.com/package/jest-config

See this project in Snyk:
https://app.snyk.io/org/cvat/project/31502ad1-28fd-42cc-a9f7-f2efd57910e3?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
3 years ago
Kirill Lakhov b7371ede35
Enabled authentication via email (#5037) 3 years ago
Kirill Lakhov f719f58df4
Fix ESlint problems / typescript for cvat-core (#5027)
* typescripted some files

* typescripted cloud storage

* reverted api-implementation, fixed minor errors

* updated changelog

* fixed jest test

* updated file: to link:

Co-authored-by: Boris Sekachev <boris.sekachev@yandex.ru>
3 years ago
Maria Khrustaleva 9f89787f95
Source & target storage support (#4842) 3 years ago
Boris Sekachev 3db9c2d996
Some fixes for skeleton patch related with merge & delete, undo/redo (#4875)
* Fixed merge after changing server API scheme

* Fixed some delete-undo related issues

* Fixed server id assignment

* Fixed selection a skeleton point

* Updated versions

* Applied some comments

* Updated version

* Fixed stylelint

* Updated license headers
4 years ago
Boris Sekachev f332d922ea
Fixed project filtration (#4878)
* Fixed project filtration

* Updated version & changelog
4 years ago
Boris Sekachev 7e20b279af
Added support of skeletons (#1) 4 years ago
Snyk bot 4455bc0e0d
[Snyk] Upgrade form-data from 2.5.1 to 4.0.0 (#66)
feat: upgrade form-data from 2.5.1 to 4.0.0

Snyk has created this PR to upgrade form-data from 2.5.1 to 4.0.0.

See this package in npm:
https://www.npmjs.com/package/form-data

See this project in Snyk:
https://app.snyk.io/org/cvat/project/cda84c4b-aa4c-4392-a04d-32095f13a464?utm_source=github&utm_medium=referral&page=upgrade-pr
4 years ago
Snyk bot 4ccafa4114
[Snyk] Upgrade axios from 0.21.4 to 0.27.2 (#65)
fix: upgrade axios from 0.21.4 to 0.27.2

Snyk has created this PR to upgrade axios from 0.21.4 to 0.27.2.

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

See this project in Snyk:
https://app.snyk.io/org/cvat/project/cda84c4b-aa4c-4392-a04d-32095f13a464?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
4 years ago
Snyk bot 6c38f7b481
[Snyk] Upgrade browser-or-node from 1.3.0 to 2.0.0 (#67)
feat: upgrade browser-or-node from 1.3.0 to 2.0.0

Snyk has created this PR to upgrade browser-or-node from 1.3.0 to 2.0.0.

See this package in npm:
https://www.npmjs.com/package/browser-or-node

See this project in Snyk:
https://app.snyk.io/org/cvat/project/cda84c4b-aa4c-4392-a04d-32095f13a464?utm_source=github&utm_medium=referral&page=upgrade-pr
4 years ago
Snyk bot 5f103f1700
[Snyk] Upgrade jest-config from 26.6.3 to 28.1.2 (#24)
feat: upgrade jest-config from 26.6.3 to 28.1.2

Snyk has created this PR to upgrade jest-config from 26.6.3 to 28.1.2.

See this package in npm:
https://www.npmjs.com/package/jest-config

See this project in Snyk:
https://app.snyk.io/org/cvat/project/cda84c4b-aa4c-4392-a04d-32095f13a464?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
4 years ago
Snyk bot 49925e7b39
[Snyk] Upgrade js-cookie from 2.2.1 to 3.0.1 (#25)
feat: upgrade js-cookie from 2.2.1 to 3.0.1

Snyk has created this PR to upgrade js-cookie from 2.2.1 to 3.0.1.

See this package in npm:
https://www.npmjs.com/package/js-cookie

See this project in Snyk:
https://app.snyk.io/org/cvat/project/cda84c4b-aa4c-4392-a04d-32095f13a464?utm_source=github&utm_medium=referral&page=upgrade-pr
4 years ago
Nikita Manovich 3b1116185b
Remove Intel related information (e.g., links on Intel resources) (#15) 4 years ago
Kirill Sizov 2240b3f4aa
Replace npm with yarn (#113)
* package.json: private true

* delete package-lock.json

* cvat-core/package.json: fix path for cvat-data

* replace npm with yarn

* replace npm with yarn

* add yarn.lock files

* replace npm with yarn

* remark: replace npm with yarn

* fixes

* fixes

* alligment

* workflows: replace npm with yarn

* revert husky version

* replace npm with yarn on ci image

* add yarn for ci image

* enable debug mode for main workflow

* debug mode

* v0.0.0

* resolve dependencies issues

* update docs

* exit debug mode

* add yarn.lock to the ui image

* fix three version

* resolve conflicts

* [no ci] use yarn instead of npm

* fix src path
4 years ago
Boris Sekachev 987a09201b
Typescripted cvat-core, cvat-data (#120)
* Typescripted cvat-core, cvat-data

* Removed unused import

* Fixed two issues

* Fixed comments

* Removed duplicated line
4 years ago
Boris Sekachev f960da9117
Added ability to delete frames (#10)
Co-authored-by: Dmitry Kalinin <dmitry.kalinin@intel.com>
Co-authored-by: Nikita Manovich <nikita.manovich@gmail.com>
Co-authored-by: Boris Sekachev <b.sekachev@yandex.ru>
4 years ago
Kirill Lakhov cb896ecab2
Tus for backups (#9) 4 years ago
Kirill Lakhov aebb70c303
Fixed bug: task creation progressbar (#13)
fixed rounding in callbacks
4 years ago
Kirill Lakhov bceae228a7
Tus for project dataset (#4485) 4 years ago
Boris Sekachev 1225fbb1bc
Enhanced filtration/sorting for tasks/projects/tasks in projects/cloud storages (#4409) 4 years ago
Boris Sekachev b5bac8c0a5
Jobs page: advanced filtration and implemented sorting (#4319)
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
Co-authored-by: Maya <maya17grd@gmail.com>
4 years ago
Boris Sekachev 7f86a5d801
Added a page with jobs (#4258) 4 years ago
Boris Sekachev 3c750d4efc
Fixed corner case during search (#4198)
* Fixed corner case during search

* Updated version & changelog

* Added tests
4 years ago
Boris Sekachev bc4ff49bf0
Fixed: Could not receive frame N. TypeError: Cannot read properties of undefined (#4187)
* Fixed issue with async frames fetching

* Updated versions and changelog
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
Andrey Zhavoronkov 32d9fb09be
Project backups (#3852) 4 years ago
Dmitry Kalinin 579bfb38c3
Project import simple implementation (#3790) 4 years ago
Kirill Lakhov cc057a7a77
Large files uploads (#3692) 4 years ago
Maria Khrustaleva 68fbcdec43
Added sorting methods (#3937) 4 years ago
Maria Khrustaleva f59d1f57f3
Support GCS (#3919)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
4 years ago
Dmitry Kalinin b5ed09ea94
Project tasks pagination (#3910)
* Added project tasks search and pagination

* Increased npm versions

* Added CHANGELOG

* Fixed issues

* Fixed styles

* Fixed core tests

* Fixed core tests

* Fixed core tests

* Fixed core tests

* Fixed parameter

* Fixed project update action

* Fixed updating project

* Fixed comments
4 years ago
Boris Sekachev 7bab58e1a6
Added rotated bounding boxes (#3832)
Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>
4 years ago
gudipudiramanakumar 78158cbcf5
Added the feature to Remove annotation objects in a specified range of frames (#3617)
* Test Commit for Remove Range

Test Commit for Remove Range

* Remove annotations in range merged with remove annotations button merged

Remove annotations in range merged with remove annotations button merged

* Update annotation-reducer.ts

* Update annotation-actions.ts

* Update annotation-reducer.ts

* Converting remove range component to hook based component

Removed all the global states previously used and converted all the parameters to local state in annotation menu and remove range component.

* Improved clear in cvat core and implemented remove range

Added arguments of startframe and endframe to clear method in annotation-collection, and also added the updating of the states with payload on removeannotationsinrangeasync action in the reducer.

* Matching only the needed parts

There are few additional old files that were needed to be removed to be completely matched with develop branch of cvat

* Delete out.json

* Update annotations-collection.js

* Added a checkbox to remove range modal

Added a checkbox to remove range modal that can be used to select if only the keyframes should be deleted in tracks or the whole track

* ESLint fixed

All the updated files were formatted as per ESLint except one line in that even cvat base is also overlooking i.e.
Row 162, Column 15: "JSX props should not use functions" in cvat\cvat-ui\src\components\annotation-page\top-bar\annotation-menu.tsx.

* More ESLint and other updates

Changed all the suggested changes and also removed unnecessary files in dist.
Removed unnecessary explicit removals in objects and additional wrappers.

* Update annotation-menu.tsx

Fixed the mistake of wrong variable name.

* Update remove-range-confirm.tsx

Additional ESLint Issue fixed

* Changed the approach of removeAnnotations modal

Changed the approach of removeAnnotations modal so that it could match the implementation of all the other components

* Added to changelog

Fixed type annotations in the annotation-menu component for remove annotations, and updated cvat-ui and cvat-core npm versions.
4 years ago