822 Commits (2b50abba141a2513e246a76b65710ecaa5fc2b5c)

Author SHA1 Message Date
Andrey Zhavoronkov 2b50abba14
Bump pip from 21.0.1 to 22.0.2, setuptools from 53.0.0 to 60.6.0, wheel from 0.36.2 to 0.37.1 (#4267)
* bump pip from 21.0.1 to 22.0.2, setuptools from 53.0.0 to 60.6.0, wheel from 0.36.2 to 0.37.1
* used maintained django_sendfile2 package instead of django sendfile
* fixed cy tests due django_sendfile used wrong header
4 years ago
Boris Sekachev 7f86a5d801
Added a page with jobs (#4258) 4 years ago
Nikita Manovich 5ccc596888
Filtering for sandbox (#4216)
* Implemented visibility for org= as { 'organization': None }

Now we have 3 types of visibility (aka org_filter)
1. org=slug - see objects only for the organization
2. org=     - see objects only for sandbox (organzation is None)
3. None     - see all objects which you can access
4 years ago
Maria Khrustaleva c7fcd3ac1a
Fixed bug: Error in Create project from backup for Standard 3D Annotation (#4160) 4 years ago
Nikita Manovich 5e59ba1791
Fix project permissons (anybody in org could see the list of projects) (#4201) 4 years ago
Boris Sekachev 2a417a980c
Fixed: Don't able to choose the format for git (#4203) 4 years ago
G Karthik Raja 566eb2aaa5
Fix Bug 4010 - API method to register does not return authentification token (#4092)
* Return auth token key on register without email verification

When email verification is turned off using all-auth settings, then on registration, return the auth token key.

* Add tests for user registration without email verification

* Add test case for user registration when email confirmation is manadatory

* Refactor register api tests and add its docstring

* updated the license header for iam tests

* Add pull request link to changelog

* Add comment to explain overriding of ROOT_URLConf

* Refactor tests for user registration

Split the test case for user registration without email verification into two test cases by overriding ACCOUNT_EMAIL_VERIFICATION
as 'none' and 'optional'

* Fix doc string

* updated changelog

Co-authored-by: karthik <gkraja@mindkosh.com>
Co-authored-by: Andrey Zhavoronkov <andrey.zhavoronkov@intel.com>
4 years ago
Nikita Manovich 7a7b4b1391
Remove caching for tasks and jobs (#4165)
* Resolved https://github.com/openvinotoolkit/cvat/issues/4088

* Update CHANGELOG

* Fix linter issues

* Removed CACHEOPS settings from production.py
4 years ago
Boris Sekachev 796991a1aa
Added intelligent function when paste labels to another task (#4161)
* Added intelligent paste labels function, added notification when remove labels from raw editor

* Adjusted raw tab behaviour

* Fixed issue with selection

* Updated version and changelog, removed previous implementation

* Removed outdated comment

* Additional checks on the server

* Added check for default boolean attr

* Updated version

* Conditionally show lost labels/attributes

* Remove labels only when create

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
4 years ago
Kirill Lakhov 57e5e62225
Fixed bug: tus failed to upload chunk at offset 0 over https (#4154) 4 years ago
dependabot[bot] dc03234432
Bump django from 3.2.10 to 3.2.11 in /cvat/requirements (#4162)
Bumps [django](https://github.com/django/django) from 3.2.10 to 3.2.11.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.10...3.2.11)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Nikita Manovich e9c00cd9ec
Email in org invitations should be case insensitive (#4153)
Resolved https://github.com/openvinotoolkit/cvat/issues/4096
4 years ago
Boris Sekachev b85a4ad77c
Added support of ellipses (#4062) 4 years ago
Dmitry Kruchinin 2cd7a38c8a
Bump django-filter from 2.3.0 to 2.4.0 (#4155)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Dmitry Kruchinin 40f05b27f1
Update numpy to 1.22.0, tensorflow to 2.7.0 (#4146)
Co-authored-by: dvkruchinin <dvkruchinin@gmail.com>
4 years ago
Maria Khrustaleva 297a9cccb3
Fix order (#4087)
* Fix order

* Update header

* Update changelog

* Add Prefetch

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
4 years ago
Saurabh Yadav 59f0b3bb47
Fixed temp_file flush issue for cloud storage in cache.py (#4118)
Issue Summary: File downloaded from cloud storage is not flushed. In case of lot of files, for some files, changes don't reflect in the actual physical file. Actual file is later accessed by filename, which leads to read error.

Issue Error logs:

```
2022-01-05 09:54:14,992 DEBG 'runserver' stderr output:
[Wed Jan 05 09:54:14.992125 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] [2022-01-05 09:54:14,991] ERROR cvat.server.task_12: cannot get requested data type: chunk, number: 0, quality: Quality.COMPRESSED
[Wed Jan 05 09:54:14.992147 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] Traceback (most recent call last):
[Wed Jan 05 09:54:14.992152 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/cache.py", line 96, in prepare_chunk_buff
[Wed Jan 05 09:54:14.992156 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     if checksum and not md5_hash(source_path) == checksum:
[Wed Jan 05 09:54:14.992159 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/utils.py", line 100, in md5_hash
[Wed Jan 05 09:54:14.992163 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     frame = Image.open(frame, 'r')
[Wed Jan 05 09:54:14.992166 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/opt/venv/lib/python3.8/site-packages/PIL/Image.py", line 3023, in open
[Wed Jan 05 09:54:14.992186 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     raise UnidentifiedImageError(
[Wed Jan 05 09:54:14.992189 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] PIL.UnidentifiedImageError: cannot identify image file '/tmp/cvat_041w7vsimages#0089c635-ae5f-49d7-baa5-a4d75f0412ca.png'
[Wed Jan 05 09:54:14.992192 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]
[Wed Jan 05 09:54:14.992196 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] During handling of the above exception, another exception occurred:
[Wed Jan 05 09:54:14.992199 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]

2022-01-05 09:54:14,992 DEBG 'runserver' stderr output:
[Wed Jan 05 09:54:14.992202 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] Traceback (most recent call last):
[Wed Jan 05 09:54:14.992205 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/views.py", line 689, in data
[Wed Jan 05 09:54:14.992208 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     buff, mime_type = frame_provider.get_chunk(data_id, data_quality)
[Wed Jan 05 09:54:14.992211 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/frame_provider.py", line 167, in get_chunk
[Wed Jan 05 09:54:14.992215 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     return self._loaders[quality].get_chunk_path(chunk_number, quality, self._db_data)
[Wed Jan 05 09:54:14.992218 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/cache.py", line 32, in get_buff_mime
[Wed Jan 05 09:54:14.992221 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     chunk, tag = self.prepare_chunk_buff(db_data, quality, chunk_number)
[Wed Jan 05 09:54:14.992224 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]   File "/home/django/cvat/apps/engine/cache.py", line 113, in prepare_chunk_buff
[Wed Jan 05 09:54:14.992227 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868]     raise Exception(msg)
[Wed Jan 05 09:54:14.992231 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] Exception: cannot identify image file '/tmp/cvat_041w7vsimages#0089c635-ae5f-49d7-baa5-a4d75f0412ca.png'
[Wed Jan 05 09:54:14.992414 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] ERROR - 2022-01-05 09:54:14,991 - views - cannot get requested data type: chunk, number: 0, quality: Quality.COMPRESSED
[Wed Jan 05 09:54:14.992425 2022] [wsgi:error] [pid 330:tid 139683931096832] [remote 172.20.0.2:56868] Traceback (most recent call last):
```
4 years ago
Roman Donchenko 4345048542
Remove workarounds for pycocotools issues (#4136)
* `--no-binary=pycocotools` isn't necessary since pycocotools 2.0.4.
* Installing Cython manually hasn't been needed since pycocotools 2.0.1
  (and nothing else needs Cython to be installed).
4 years ago
Snyk bot 4e65d77aac
fix: cvat/requirements/base.txt to reduce vulnerabilities (#4131)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331901
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331905
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331907
4 years ago
matthias-p a744731f65
Update git ssh url pattern (#4057)
* Add ssh:// url pattern to regex

Add support for the ssh:// url pattern, since it is a valid ssh url.
Also added the ~ sign to the repo pattern, because ssh and git protocol
support ~username expansion

Co-authored-by: Pijarowski, Matthias <matthias.pijarowski@hensoldt.net>
4 years ago
Snyk bot cbb937bd7f
fix: cvat/requirements/base.txt to reduce vulnerabilities (#4103)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-MISTUNE-2328096
4 years ago
Boris Sekachev f066072eee
Fixed organizations restore (#4098) 4 years ago
Kirill Lakhov 69d3ad79f6
Add documentation/tests for tasks large files uploads (#4036)
* added api documentation

* added test with 108mb file

* fixed linter issues

* added upload chunk size param

* fixed initialization

* udpated doc for uploadChunkSize

* reworked setting as global

* small fix

* moved uploadChunkSize setting setup to hooks

* fix comments

* change this to globalThis
4 years ago
dependabot[bot] 2ebe7176cf
Bump django from 3.2.8 to 3.2.10 in /cvat/requirements (#4067)
Bumps [django](https://github.com/django/django) from 3.2.8 to 3.2.10.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.8...3.2.10)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Maria Khrustaleva 5281e7938c
Support any name for a manifest (#4041)
* Initial version

* Fix support 2 versions && fix case for cloud storages

* Fix eslint errors

* tmp

* Fix manifest validation when data hasn't been copied yet

* fix

* Update changelog
4 years ago
Andrey Zhavoronkov 32d9fb09be
Project backups (#3852) 4 years ago
Dmitry Kalinin 579bfb38c3
Project import simple implementation (#3790) 4 years ago
Maria Khrustaleva cde33acf5d
Fix issue: Original pdf file is deleted (#3967) 4 years ago
Andrey Zhavoronkov 23c80c4cfe
Fixed possible color collisions in the generated colormap (#4007) 4 years ago
Kirill Lakhov cc057a7a77
Large files uploads (#3692) 4 years ago
Maria Khrustaleva 68fbcdec43
Added sorting methods (#3937) 4 years ago
Dmitry Kalinin 468970c50a
Fixed labels order (#3987) 4 years ago
Brandon Davis b1c26898a7
Support automatic tag annotation (#3896) 4 years ago
Maria Khrustaleva 439c6d5fb9
Remove key_file_path field (#3959)
* Remove key_file_path field

* fix

* Update comparison
4 years ago
Dmitry Kruchinin c82072387c
CVAT_server. Test for "Project updated time". (#3953) 4 years ago
Snyk bot d861dc9c37
fix: cvat/requirements/base.txt to reduce vulnerabilities (#3970)
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PYTHONLDAP-1932572
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 11f14cd985
Export rotation field when backup a task (#3932) 4 years ago
Boris Sekachev 7bab58e1a6
Added rotated bounding boxes (#3832)
Co-authored-by: Maxim Zhiltsov <maxim.zhiltsov@intel.com>
4 years ago
Nikita Manovich 57a51820c2 Updated CHANGELOG and version. 4 years ago
Nikita Manovich aa39723ad4 Merge branch 'release-1.7.0' into develop 4 years ago
Brandon Davis 4487d52e81
Allow full configuration of nuclio (#3894)
* Allow full configuration of nuclio

* Add to changelog
4 years ago
Kirill Sizov e4aa0ea15a
Add KITTI format (#3757) 4 years ago
Kirill Sizov cc801b21ed
Add LFW format (#3770) 4 years ago
Kirill Sizov 4bdaf3c083
Add Cityscapes format (#3758) 4 years ago
Kirill Sizov cc1b8190f3
Add Open Images format (#3679) 4 years ago
Nikita Manovich 2bb8643c1a Updated release date, froze CHANGELOG 4 years ago
Jaesun Park edb3df0190
Update project updated_time (#3810) (#3814) 4 years ago