Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
405 commits
Select commit Hold shift + click to select a range
99a1be0
Fixed issue: Maximum callstack exceed (#4836)
bsekachev Sep 1, 2022
95c20d1
Added some JEST tests to cover skeleton basic features (#4865)
bsekachev Sep 2, 2022
6410b86
Added end-to-end Cypress tests for Skeletons pipeline (#4892)
bsekachev Sep 2, 2022
4167a4e
Initial version of update_version.py script to bump CVAT version (#4889)
azhavoro Sep 5, 2022
a824196
Add support for Oracle OCI Buckets (#4876)
rodrigoberriel Sep 5, 2022
8e5e9bf
updated the FAQ.md (#4902)
chernov-a Sep 5, 2022
917e821
SDK alpha 1 release (#4903)
zhiltsov-max Sep 5, 2022
3957892
Fix workflows after cvat container was renamed (#4848)
nmanovic Sep 5, 2022
65a2610
Fixed invocation of serverless functions (#4907)
azhavoro Sep 6, 2022
efd4363
Fixed redrawing a skeleton (Shift+N) (#4906)
bsekachev Sep 6, 2022
1dcba5a
Align server api, sdk and cli versions to 2.1.0 (#4913)
zhiltsov-max Sep 6, 2022
7218f4e
Add host schema auto-detection in SDK (#4910)
zhiltsov-max Sep 6, 2022
f966df7
Fix python3.7 compatibility (#4919)
zhiltsov-max Sep 8, 2022
4f6e81e
Bump sdk and cli versions (#4923)
zhiltsov-max Sep 8, 2022
6bb343f
Fix bug with removing attributes (#4927)
yasakova-anastasia Sep 9, 2022
d7eb742
updated installation guide (#4926)
azhavoro Sep 9, 2022
f9a2e27
Some documentation added for skeletons feature (#4925)
bsekachev Sep 9, 2022
aed6de5
Update COCO documentation (#4908)
yasakova-anastasia Sep 9, 2022
860b0d9
Update workflow configs (#4930)
sizov-kirill Sep 10, 2022
352501c
Fixed missing notification on cloud storage creation page when manife…
Marishka17 Sep 12, 2022
6464069
fix type declaration of private fields in cvat-canvas which are possi…
tjdans1114 Sep 12, 2022
79ce99a
Updated the version of release: v2.2.0
nmanovic Sep 12, 2022
fe148d4
Merge branch 'release-2.2.0'
nmanovic Sep 12, 2022
393392c
Bump version: v2.3.0.alpha
nmanovic Sep 12, 2022
26c0a65
Workflows: fix typo (#4939)
sizov-kirill Sep 13, 2022
a50d38f
Fix docker tag (#4940)
Sep 13, 2022
9f89787
Source & target storage support (#4842)
Marishka17 Sep 13, 2022
1db247a
Create multiple tasks when uploading multiple videos (#4824)
AlexeyAlexeevXperienceAI Sep 13, 2022
0b6b758
Fix Nightly build (#4941)
Sep 14, 2022
f018a76
Removed extra line (#4953)
bsekachev Sep 15, 2022
15565cb
FIX: Remove a possibly duplicated encodeURI() (Issue #4428) (#4947)
rhee-elten Sep 15, 2022
cf4e071
Removed unnecessary volumes defined in docker-compose.serverless.yml …
KoheiKanagu Sep 15, 2022
68375ec
Add SDK docs (#4928)
zhiltsov-max Sep 15, 2022
a9bd27f
Fix API section link (#4963)
zhiltsov-max Sep 16, 2022
79dcc0e
Update about page for documentation (#4958)
nmanovic Sep 16, 2022
56e8c1e
Cypress tests for source & target storage (#4914)
Marishka17 Sep 19, 2022
43565bc
moved README Helm file to documentation (#4977)
azhavoro Sep 20, 2022
32f4be9
docs/about: add more links (#4974)
sizov-kirill Sep 20, 2022
0292433
set max size of nuclio log file (#4969)
azhavoro Sep 20, 2022
5a8b5df
added advanced configuration header styles (#4982)
klakhov Sep 21, 2022
e22eac7
Helm tests (#4949)
azhavoro Sep 21, 2022
ac4c93c
fix Django admin page (#4983)
azhavoro Sep 21, 2022
b9abbce
Updated documentation (#4975)
chernov-a Sep 21, 2022
be5f977
Analytics: set cvat/server tag same as for docker-compose.yml (#4988)
sizov-kirill Sep 25, 2022
9e67bcb
Update Datumaro version (#4984)
yasakova-anastasia Sep 26, 2022
fd666d0
Fix project import with skeletons (#4867)
yasakova-anastasia Sep 28, 2022
ba30833
Fix project export with skeletons (#5004)
yasakova-anastasia Sep 28, 2022
20bf288
Full check: use SHA instead of branch name (#5009)
Sep 28, 2022
5f44603
add link to create of many tasks from project page (#5002)
AlexeyAlexeevXperienceAI Sep 28, 2022
ddcee5b
REST API tests with skeletons (#4987)
yasakova-anastasia Sep 28, 2022
8b719e4
Fixed unstable e2e restore tests (#5010)
klakhov Sep 28, 2022
bae7564
Add webhooks (#4863)
Sep 28, 2022
55913f0
Source & target storage documentation (#5014)
arvfilippov Sep 30, 2022
2e15025
Check server version in SDK (#4935)
zhiltsov-max Sep 30, 2022
6274bd1
workflows: update value of status for `waiting server` step (#5026)
Oct 3, 2022
6654366
Autoformat python tests (#5021)
zhiltsov-max Oct 3, 2022
963e8ef
Remove `cvat-sdk` from `tests/python/requirements.txt` (#5019)
SpecLad Oct 3, 2022
88523aa
Fix tensorflow docker image tag for siammask (#5030)
saurabheights Oct 4, 2022
7cc05e8
Fix serverless functions (#5039)
yasakova-anastasia Oct 5, 2022
bcb3f9b
Tests for Webhook sender (#5017)
Oct 5, 2022
426f8e3
Extend SDK layer 1 docs (#5011)
zhiltsov-max Oct 5, 2022
1902ecd
Extend SDK layer 2 docs (#4980)
zhiltsov-max Oct 5, 2022
7850f1e
Fixed changing label color on canvas (#5045)
bsekachev Oct 5, 2022
e7c1606
Fixed invisible label view in label constructor (#5041)
bsekachev Oct 5, 2022
f719f58
Fix ESlint problems / typescript for cvat-core (#5027)
klakhov Oct 7, 2022
b7371ed
Enabled authentication via email (#5037)
klakhov Oct 7, 2022
b029bc9
cvat-sdk: Fix creating tasks with non-local files (#5058)
SpecLad Oct 7, 2022
511f970
Allow trailing slashes in SDK client url (#5057)
zhiltsov-max Oct 9, 2022
c8c40df
Fixes some serverless functions (HRNET, IOG, f-BRS) (#4944)
amteusch Oct 9, 2022
29702a8
Fix broken link (#5066)
azhavoro Oct 10, 2022
99c006a
Add docs for webhooks (#5035)
Oct 10, 2022
384960b
Fixed double modal export/backup a task/project (#5075)
bsekachev Oct 11, 2022
dbcfb30
Fix SDK tests (#5077)
Oct 11, 2022
6811c57
Added cypress tests for issue 4966 (#5080)
bsekachev Oct 11, 2022
688cc23
Add SDK package installation instructions (#5084)
zhiltsov-max Oct 11, 2022
1b807fb
Add missing migration for webhooks (#5078)
zhiltsov-max Oct 12, 2022
1cf0d41
Fix voc mask export when bg class id is not 0 (#5056)
zhiltsov-max Oct 12, 2022
b6a9590
Increase throttle rate (#5094)
Oct 12, 2022
b2a66db
Added assets (#5095)
bsekachev Oct 12, 2022
e723116
Fix Cypress tests after b029bc9d (#5089)
SpecLad Oct 12, 2022
c3dd349
Added Cypress testing for feature: Multiple tasks creating from video…
AlexeyAlexeevXperienceAI Oct 12, 2022
8ebfdaf
Update setup-additional-components.md (#5098)
Oct 12, 2022
fe9898f
CVAT docs: multi tasks creation (#5068)
arvfilippov Oct 12, 2022
5936bc5
add yolov5 serverless function leveraging nvidia gpu (#4960)
tdhooghe Oct 12, 2022
290885f
[Snyk] Upgrade jszip from 3.10.0 to 3.10.1 (#5103)
snyk-bot Oct 13, 2022
eb431ac
[Snyk] Upgrade async-mutex from 0.3.2 to 0.4.0 (#5102)
snyk-bot Oct 13, 2022
ac69473
Fixed bug of computing Jobs issues nums (#5101)
alex4men Oct 13, 2022
2e9b821
fix: cvat/requirements/base.txt to reduce vulnerabilities (#5116)
snyk-bot Oct 14, 2022
e62d5e4
feat: upgrade jest-config from 28.1.3 to 29.0.3 (#5115)
Oct 14, 2022
bdf919d
fix: cvat/requirements/base.txt to reduce vulnerabilities (#5092)
snyk-bot Oct 14, 2022
59c0cd4
Add CVAT intro video into documentation (#5079)
arvfilippov Oct 14, 2022
570bc38
Added user_registered signal (#5007)
azhavoro Oct 14, 2022
6958971
Improve report information for Black linter (#5124)
Oct 14, 2022
c37a5c0
Update CHANGELOG.md (#5130)
tdhooghe Oct 15, 2022
15c3a63
Fix export job dataset (#5052)
Marishka17 Oct 15, 2022
369c476
Add CITATION.cff file
nmanovic Oct 15, 2022
a87994d
Add CVAT.ai as an author
nmanovic Oct 15, 2022
a3a3947
Update CITATION.cff
nmanovic Oct 15, 2022
d8204cd
Update CITATION.cff
nmanovic Oct 15, 2022
3aca9bc
feat: upgrade dotenv-webpack from 7.1.1 to 8.0.1 (#5129)
azhavoro Oct 17, 2022
1f9fc4c
Fixed CVAT annotation view restoring (#5134)
bsekachev Oct 17, 2022
ad4635e
Update Github Actions (#5136)
Oct 17, 2022
37ef30b
Fixed issue with deleted frames in a multijob task (#5138)
bsekachev Oct 17, 2022
78160ce
Propagate angle when use 'propagate' feature (#5139)
bsekachev Oct 17, 2022
4fccc86
CVAT docs: authorization doc updated (#5121)
arvfilippov Oct 18, 2022
94eb6cb
Bump Datumaro commit (#5122)
SpecLad Oct 18, 2022
ce09f28
Fix SDK tests: login once per class (#5123)
Oct 18, 2022
3680990
[Snyk] Upgrade tus-js-client from 2.3.2 to 3.0.1 (#5140)
azhavoro Oct 18, 2022
a215547
Upgrade datumaro dependency (#5148)
zhiltsov-max Oct 20, 2022
dfcc69c
Minor improvements of z order feature (#5145)
bsekachev Oct 21, 2022
1fdec2c
Updated docs (#5154)
bsekachev Oct 21, 2022
469217c
Added support for webhooks in Helm charts (#5118)
azhavoro Oct 21, 2022
2311b10
Fix an issue with Imagenet dataset import (#4861)
yasakova-anastasia Oct 21, 2022
7b3339e
fix remark error (#5155)
Oct 24, 2022
86f5861
CVAT docs: integration/fiftyone doc (#5153)
arvfilippov Oct 25, 2022
9cf2989
Init OPA rules with API instead of file binding (#5047)
azhavoro Oct 25, 2022
0b12a77
Fixed wrong issue position when create a quick issue on a rotated sha…
bsekachev Oct 25, 2022
65a8bc1
Fix ingress route for `static` path (#5164)
azhavoro Oct 26, 2022
c30c97b
Fixed error: could not fetch task in a corner case (#5163)
bsekachev Oct 26, 2022
e4e8da2
Fix create manifest command (#5172)
Marishka17 Oct 27, 2022
4cd43a2
Refactor CI (#5060)
Oct 27, 2022
6d965b8
No extra rerender of different pages with each click (#5178)
bsekachev Oct 27, 2022
286f942
Remove `--` from some `yarn run` commands (#5173)
SpecLad Oct 27, 2022
12a295a
Extend logs for CI workflows (#5179)
Oct 28, 2022
16c4c46
Fix PR link (#5202)
zhiltsov-max Oct 31, 2022
fe10995
Update CHANGELOG (#5206)
Oct 31, 2022
80c7234
Fix ESLint errors in cvat-core/src/server-proxy.ts (#5189)
SpecLad Oct 31, 2022
43e22c2
Updated rego rules, job assignee can resolve an issue (#5167)
bsekachev Nov 1, 2022
fa5ed35
Add dev environment installation instructions for Arch Linux-based sy…
inpv Nov 1, 2022
60a05c7
Fix line length in installation docs (#5210)
zhiltsov-max Nov 1, 2022
db6bbba
Fix dataset import for Datumaro format (#4544)
Nov 1, 2022
05598e0
extend main workflow (#5213)
Nov 1, 2022
49bdef0
IAM OPA bundle for dev environment (#5190)
azhavoro Nov 2, 2022
02eba10
Fixed issue: cannot assign a resource to a user who has an organizati…
bsekachev Nov 2, 2022
f62aa27
Added paint brush tools (#4543)
bsekachev Nov 2, 2022
c7125a8
Tried to fix one test (#5212)
bsekachev Nov 2, 2022
82700f6
TransT tracker integration (#5226)
yasakova-anastasia Nov 4, 2022
bca5bb6
Fixed: Oriented bounding boxes broken with COCO format (#5219)
bsekachev Nov 4, 2022
85f9fbd
Fix linter warnings (#5188)
zhiltsov-max Nov 4, 2022
43df70b
Refactor server enums (#5062)
zhiltsov-max Nov 4, 2022
b37232c
Revert "Refactor server enums (#5062)" (#5239)
zhiltsov-max Nov 4, 2022
445bc34
Revert "Fix linter warnings (#5188)" (#5241)
zhiltsov-max Nov 4, 2022
8a44a36
added introduction to cvat and datumaro doc (#5236)
arvfilippov Nov 5, 2022
bb48716
CVAT authentication (#5147)
Marishka17 Nov 5, 2022
16406fe
Added basic masks tests (#5237)
bsekachev Nov 6, 2022
12961b3
cvat-sdk: make sure to redraw the progress bar after use (#5235)
SpecLad Nov 7, 2022
0a5b711
Fix ESLint errors in `cvat-data.ts` (#5247)
SpecLad Nov 7, 2022
ba74709
Add tests for export job dataset (#5160)
Marishka17 Nov 7, 2022
0b7fb04
fix pascal_voc import bug (#4647)
ftconan Nov 8, 2022
46b88c1
Development guide update (#5255)
azhavoro Nov 8, 2022
aadfd88
Fix TUS offset queries in production environments (#5204)
SpecLad Nov 8, 2022
e5d0135
Removed code duplications, added checks to CI (#5253)
bsekachev Nov 9, 2022
92ba1ab
New authentication UI (#5181)
klakhov Nov 9, 2022
080755a
Fixed issue 5256, improved 'occluded' visualization (#5259)
bsekachev Nov 9, 2022
6acab03
Improved UX of user logout (#5266)
bsekachev Nov 11, 2022
7265553
Supported type for all labels (#5273)
bsekachev Nov 14, 2022
e2d9860
Cleanup the partner section
nmanovic Nov 15, 2022
7706eee
Improved UX of signing pages (#5295)
klakhov Nov 15, 2022
10baa5f
Fix: visibility and ignored information fail to be loaded (MOT datase…
yasakova-anastasia Nov 16, 2022
23257a2
Significantly reduced the number of queries to DB from api/jobs, api/…
nmanovic Nov 16, 2022
e44decf
[Snyk] Security upgrade pillow from 9.0.1 to 9.2.0 (#5291)
Nov 16, 2022
5dd7eff
fix: Dockerfile.ui to reduce vulnerabilities (#5286)
snyk-bot Nov 16, 2022
c86746c
Convert `api.ts`, `api-implementation.ts` and `frames.ts` to ES6 modu…
SpecLad Nov 16, 2022
25503a3
Fix export job (#5282)
Nov 16, 2022
7383c17
python-logstash-async upgrade (#4574)
PMazarovich Nov 18, 2022
b8552fa
Add imagePullPolicy into Helm chart (#5313)
azhavoro Nov 18, 2022
60da8c1
Bump loader-utils from 1.4.0 to 1.4.2 (#5307)
dependabot[bot] Nov 18, 2022
4ad7e2f
Fix bug with nuclio env variables (#4712)
arkravchuk Nov 18, 2022
c446fbf
fix: utils/dicom_converter/requirements.txt to reduce vulnerabilities…
snyk-bot Nov 18, 2022
2125666
Bump pillow from 9.2.0 to 9.3.0 in /utils/dicom_converter (#5319)
dependabot[bot] Nov 18, 2022
7944ef8
Annotation with brushing tools (#5269)
mdacoca Nov 18, 2022
a3bf414
Fix CI due to cypress verify works too long (#5320)
nmanovic Nov 18, 2022
ec7acee
<h3>Snyk has created this PR to fix one or more vulnerable packages i…
nmanovic Nov 19, 2022
6b747b4
Added information about 'new home' for CVAT inside OpenCV organization
nmanovic Nov 19, 2022
f47c98e
Fix SDK build (#5326)
Nov 21, 2022
0ab445b
Replace unintended Cyrillic C letters with Latin C (#5334)
SpecLad Nov 21, 2022
969d1e0
Bump pillow from 9.0.1 to 9.3.0 in /cvat/requirements (#5340)
dependabot[bot] Nov 22, 2022
bc079c3
Bump tensorflow from 2.8.1 to 2.9.3 in /cvat/requirements (#5338)
dependabot[bot] Nov 22, 2022
08dd27d
Fix missed token with using social account authentication (#5344)
Marishka17 Nov 23, 2022
8705e23
Added force logout on CVAT app start if token is missing (#5331)
klakhov Nov 23, 2022
0786d05
Bump pillow from 9.0.1 to 9.3.0 in /tests/python (#5341)
dependabot[bot] Nov 23, 2022
90ca401
Added cypress test to create a task with only bounding boxes (#5346)
bsekachev Nov 23, 2022
dde9f61
[Documentation] Broken links fixed (#5348)
mdacoca Nov 24, 2022
279f01b
Fix: Can't dump annotations with objects type is track from several j…
yasakova-anastasia Nov 24, 2022
968b575
Videos link updated, contacts updated (#5357)
mdacoca Nov 24, 2022
85b5547
Make the server proxy's properties visible to static analysis (#5345)
SpecLad Nov 25, 2022
0a16cfc
SDK: add a high-level method to download task data chunks (#5356)
SpecLad Nov 27, 2022
2ecd8c7
Test webhooks sender: wait for delivery response (#5365)
Nov 28, 2022
460df33
Implemented propagate backward (#5355)
bsekachev Nov 29, 2022
38193ff
SDK: add a utility function for atomically writing a file (#5372)
SpecLad Nov 30, 2022
bfa00b1
Added missing migration for shape type == Mask (#5376)
nmanovic Nov 30, 2022
2c63b6c
Bump dependency versions to fix compatibility with Python 3.10 (#5380)
SpecLad Nov 30, 2022
ca83d3c
Fix attaching manifest file with custom name (#5377)
Marishka17 Nov 30, 2022
6f09c77
Fixed FBRS runtime dimension error on images with alpha channel (#5384)
azhavoro Nov 30, 2022
e0e9e27
Update docs about k8s deployment (#5388)
azhavoro Nov 30, 2022
d8c5051
Update s3fs mount command (#5390)
Marishka17 Nov 30, 2022
19b2643
Allowed to upload `.xml` and `.json` annotation files from UI (#5386)
klakhov Nov 30, 2022
00228ab
Fix several issues with testing system (#5394)
nmanovic Dec 1, 2022
785edcb
Allow dragging 3D canvas in IDLE mode (#5385)
bsekachev Dec 1, 2022
f405c4a
Fix missing source tag in project annotations (#5408)
Marishka17 Dec 1, 2022
0943de9
Update test guide with SDK/CLI info (#5402)
zhiltsov-max Dec 1, 2022
6f6db4d
Helm: fix secrets for non-default release name (#5403)
azhavoro Dec 1, 2022
01fec6f
Fix chart not being upgradable (#5371)
azhavoro Dec 1, 2022
772f0cd
Adjusted initial camera position, enabled 'Reset zoom' option for 3D …
bsekachev Dec 1, 2022
c0bf27c
[Documentation] links on readme.md page fixed (#5406)
mdacoca Dec 1, 2022
3e1ccc8
Fix exception when run export for an empty task (#5396)
nmanovic Dec 1, 2022
673ecef
Remove old CLI tests from unit test docs (#5415)
zhiltsov-max Dec 2, 2022
966f2e4
Added note about use of existing PVs to store CVAT data (#5413)
azhavoro Dec 2, 2022
9b0d963
Fix REST API tests (#5416)
Marishka17 Dec 2, 2022
d4788ee
Multiple fixes in 3D drawing, see description (#5410)
bsekachev Dec 3, 2022
2a2c43f
Try to catch / workaround 5215 (#5216)
zhiltsov-max Dec 3, 2022
dcf1ac2
Bump decode-uri-component from 0.2.0 to 0.2.2 (#5421)
dependabot[bot] Dec 3, 2022
c49fe70
Fix an "export was not found" webpack warning in canvas3d.ts (#5419)
SpecLad Dec 5, 2022
8b13a2c
3D Performance issue fixed: Multiple selection the same object or nul…
bsekachev Dec 5, 2022
192fd72
Fix creation of tasks with Git repositories via the SDK (#5409)
SpecLad Dec 5, 2022
cacb997
Add job access checks for model invocations (#5392)
zhiltsov-max Dec 5, 2022
3f9ab7c
Fix loss of rotation in CVAT format (#5407)
yasakova-anastasia Dec 5, 2022
481630e
Migrate tests/python to from os.path to pathlib (#5426)
SpecLad Dec 5, 2022
c26590c
Update authentication documentation (#5342)
mdacoca Dec 5, 2022
03dd995
Update README.md
nmanovic Dec 6, 2022
4e97c24
Refactor OPA tests (#5373)
zhiltsov-max Dec 8, 2022
5441c4e
Fix isort version output in the workflow (#5436)
SpecLad Dec 8, 2022
0a032b3
Migrate to using pathlib in most of the SDK (#5435)
SpecLad Dec 8, 2022
82adde4
Refactor resource import export tests (#5429)
zhiltsov-max Dec 8, 2022
487c60c
SDK: Add an adapter layer that presents a CVAT task as a torchvision …
SpecLad Dec 8, 2022
c9f214a
Unify error handling with the cloud storage (#5389)
Marishka17 Dec 8, 2022
6ac5612
Improve dataset manifest installation (#5447)
zhiltsov-max Dec 10, 2022
dbd4528
Little UX improvements in CLI (#5446)
zhiltsov-max Dec 10, 2022
2ed7788
Allow server debugging when deployed with Docker (#5445)
zhiltsov-max Dec 10, 2022
15eecf8
[Documentation] Typo in Navbar corrected (#5441)
mdacoca Dec 10, 2022
6cf67db
Add project proxy tests in SDK (#5431)
zhiltsov-max Dec 10, 2022
980c019
PostgresSQL DB v15 and health check endpoint (#5312)
azhavoro Dec 10, 2022
a3b4f97
Improve social authentication (#5349)
Marishka17 Dec 10, 2022
ac78fab
Fix health check in development env (#5454)
azhavoro Dec 13, 2022
6be7e4c
3D annotation view significant performance update & refactoring (#5442)
bsekachev Dec 14, 2022
7b13216
tests: fix long shutdown times for the webhook_receiver container (#5…
SpecLad Dec 16, 2022
f6d2a8f
Fix the missing env variable issue (#5467)
zhiltsov-max Dec 16, 2022
fa92ccb
SDK: Improve the PyTorch adapter layer (#5455)
SpecLad Dec 16, 2022
e018b10
SDK: fix `Project.import_dataset` incorrectly waiting for completion …
SpecLad Dec 16, 2022
3205a81
Merge branch 'master' into release-2.3.0
nmanovic Dec 16, 2022
01f72e1
Update CVAT version
nmanovic Dec 16, 2022
d3c4b7c
Fix schema warnings and errors for Webhooks (#5232)
zhiltsov-max Dec 22, 2022
7e53d67
Fix workflows for release (#5503)
Dec 22, 2022
d699f1f
CVAT v2.3.0
nmanovic Dec 22, 2022
fb4af9c
Merge branch 'master' into release-2.3.0
nmanovic Dec 22, 2022
2c4676a
Release v2.3.0
nmanovic Dec 22, 2022
10b33d9
frontend: Add support for sending email along with username
ashwinr64 Dec 28, 2022
b7943b8
email-update Update email while logging in
sumeet-detect Dec 30, 2022
9069270
email-update Send email in EncodedURI
sumeet-detect Dec 30, 2022
2e4a030
email-update Validation for username and password
sumeet-detect Dec 30, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .bandit
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
# B406 : import_xml_sax
# B410 : import_lxml
skips: B101,B102,B320,B404,B406,B410
exclude: **/tests/**,tests
3 changes: 2 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ branch = true

source =
cvat/apps/
utils/cli/
cvat-sdk/
cvat-cli/
utils/dataset_manifest

omit =
Expand Down
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
/db.sqlite3
/keys
**/node_modules

/static
33 changes: 25 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ module.exports = {
env: {
node: true,
browser: true,
es6: true,
es2020: true,
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2018,
parser: '@typescript-eslint/parser',
},
ignorePatterns: [
'.eslintrc.js',
'lint-staged.config.js',
],
plugins: ['security', 'no-unsanitized', 'eslint-plugin-header', 'import'],
plugins: ['@typescript-eslint', 'security', 'no-unsanitized', 'import'],
extends: [
'eslint:recommended', 'plugin:security/recommended', 'plugin:no-unsanitized/DOM',
'airbnb-base', 'plugin:import/errors', 'plugin:import/warnings',
'plugin:import/typescript',
'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'airbnb-typescript/base',
],
rules: {
'header/header': [2, 'line', [{
pattern: ' {1}Copyright \\(C\\) (?:20\\d{2}-)?2022 Intel Corporation',
template: ' Copyright (C) 2022 Intel Corporation'
}, '', ' SPDX-License-Identifier: MIT']],
// 'header/header': [2, 'line', [{
// pattern: ' {1}Copyright \\(C\\) (?:20\\d{2}-)?2022 Intel Corporation',
// template: ' Copyright (C) 2022 Intel Corporation'
// }, '', ' SPDX-License-Identifier: MIT']],
'no-plusplus': 0,
'no-continue': 0,
'no-console': 0,
Expand All @@ -51,5 +51,22 @@ module.exports = {
'security/detect-object-injection': 0, // the rule is relevant for user input data on the node.js environment
'import/order': ['error', {'groups': ['builtin', 'external', 'internal']}],
'import/prefer-default-export': 0, // works incorrect with interfaces

'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/indent': ['error', 4],
'@typescript-eslint/lines-between-class-members': 0,
'@typescript-eslint/explicit-function-return-type': ['warn', { allowExpressions: true }],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/ban-types': [
'error',
{
types: {
'{}': false, // TODO: try to fix with Record<string, unknown>
object: false, // TODO: try to fix with Record<string, unknown>
Function: false, // TODO: try to fix somehow
},
},
],
},
};
10 changes: 1 addition & 9 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<!---
Copyright (C) 2020-2021 Intel Corporation

SPDX-License-Identifier: MIT
-->

### My actions before raising this issue
- [ ] Read/searched [the docs](https://github.com/opencv/cvat/tree/master#documentation)
- [ ] Read/searched [the docs](https://github.com/cvat-ai/cvat/tree/master#documentation)
- [ ] Searched [past issues](/issues)

<!--- Provide a general summary of the issue in the Title above -->
Expand Down Expand Up @@ -49,5 +43,3 @@ the bug in -->
<summary>Logs from `cvat` container</summary>
</details>

### Next steps
You may [join our Gitter](https://gitter.im/opencv-cvat/public) channel for community support.
28 changes: 8 additions & 20 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
<!---
Copyright (C) 2020-2022 Intel Corporation

SPDX-License-Identifier: MIT
-->

<!-- Raised an issue to propose your change (https://github.com/opencv/cvat/issues).
<!-- 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/opencv/cvat/blob/develop/CONTRIBUTING.md)
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 -->
Expand All @@ -28,24 +22,18 @@ If an item isn't applicable by a reason then ~~explicitly strikethrough~~ the wh
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! -->
- [ ] I submit my changes into the `develop` branch
- [ ] I have added a description of my changes into [CHANGELOG](https://github.com/opencv/cvat/blob/develop/CHANGELOG.md) file
- [ ] 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/opencv/cvat/blob/develop/README.md#documentation) accordingly
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/opencv/cvat/tree/develop/cvat-canvas#versioning),
[cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning), [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning) and [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))
- [ ] 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

- [ ] I submit _my code changes_ under the same [MIT License](
https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the project.
https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the project.
Feel free to contact the maintainers if that's a concern.
- [ ] I have updated the license header for each file (see an example below)

```python
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
```

13 changes: 7 additions & 6 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Linter
name: Bandit
on: pull_request
jobs:
Bandit:
Linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- id: files
uses: jitterbit/get-changed-files@v1
continue-on-error: true
Expand All @@ -17,7 +17,8 @@ jobs:
PR_FILES="$PR_FILES_AM $PR_FILES_RENAMED"
for FILE in $PR_FILES; do
EXTENSION="${FILE##*.}"
if [[ $EXTENSION == 'py' ]]; then
DIRECTORY="${FILE%%/*}"
if [[ "$EXTENSION" == 'py' && "$DIRECTORY" != 'cvat-sdk' ]]; then
CHANGED_FILES+=" $FILE"
fi
done
Expand All @@ -32,15 +33,15 @@ jobs:

echo "Bandit version: "$(bandit --version | head -1)
echo "The files will be checked: "$(echo $CHANGED_FILES)
bandit $CHANGED_FILES --exclude '**/tests/**' -a file --ini ./.bandit -f html -o ./bandit_report/bandit_checks.html
bandit -a file --ini .bandit -f html -o ./bandit_report/bandit_checks.html $CHANGED_FILES
deactivate
else
echo "No files with the \"py\" extension found"
fi

- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.1
with:
name: bandit_report
path: bandit_report
82 changes: 82 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Black
on: pull_request
jobs:
Linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: files
uses: jitterbit/get-changed-files@v1
continue-on-error: true

- name: Run checks
env:
PR_FILES_AM: ${{ steps.files.outputs.added_modified }}
PR_FILES_RENAMED: ${{ steps.files.outputs.renamed }}
run: |
# If different modules use different Black configs,
# we need to run Black for each python component group separately.
# Otherwise, they all will use the same config.
ENABLED_DIRS=("cvat-sdk" "cvat-cli" "tests/python")

isValueIn () {
# Checks if a value is in an array
# https://stackoverflow.com/a/8574392
# args: value, array
local e match="$1"
shift
for e; do
[[ "$e" == "$match" ]] && return 0;
done
return 1
}

startswith () {
# Inspired by https://stackoverflow.com/a/2172367
# Checks if the first arg starts with the second one
local value="$1"
local beginning="$2"
return $([[ $value == ${beginning}* ]])
}

PR_FILES="$PR_FILES_AM $PR_FILES_RENAMED"
UPDATED_DIRS=""
for FILE in $PR_FILES; do
EXTENSION="${FILE##*.}"
DIRECTORY="$(dirname $FILE)"
if [[ "$EXTENSION" == "py" ]]; then
for EDIR in ${ENABLED_DIRS[@]}; do
if startswith "${DIRECTORY}/" "${EDIR}/" && ! isValueIn "${EDIR}" ${UPDATED_DIRS[@]};
then
UPDATED_DIRS+=" ${EDIR}"
fi
done
fi
done

if [[ ! -z $UPDATED_DIRS ]]; then
sudo apt-get --no-install-recommends install -y build-essential curl python3-dev python3-pip python3-venv
python3 -m venv .env
. .env/bin/activate
pip install -U pip wheel setuptools
pip install $(egrep "black.*" ./cvat-cli/requirements/development.txt)
mkdir -p black_report

echo "Black version: "$(black --version)
echo "The dirs will be checked: $UPDATED_DIRS"
EXIT_CODE=0
for DIR in $UPDATED_DIRS; do
black --check --diff $DIR >> ./black_report/black_checks.txt || EXIT_CODE=$(($? | $EXIT_CODE)) || true
done
deactivate
exit $EXIT_CODE
else
echo "No files with the \"py\" extension found"
fi

- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@v3.1.1
with:
name: black_report
path: black_report
82 changes: 77 additions & 5 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,74 @@ on:

jobs:
Caching_CVAT:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v3

- name: Getting SHA with cache from the default branch
id: get-sha
run: |
DEFAULT_BRANCH=$(gh api /repos/$REPO | jq -r '.default_branch')
for sha in $(gh api "/repos/$REPO/commits?per_page=100&sha=${DEFAULT_BRANCH}" | jq -r '.[].sha');
do
RUN_status=$(gh api /repos/${REPO}/actions/workflows/cache.yml/runs | \
jq -r ".workflow_runs[]? | select((.head_sha == \"${sha}\") and (.conclusion == \"success\")) | .status")

if [[ ${RUN_status} == "completed" ]]; then
SHA=$sha
break
fi
done

echo Default branch is ${DEFAULT_BRANCH}
echo Workflow will try to get cache from commit: ${SHA}

echo "default_branch=${DEFAULT_BRANCH}" >> $GITHUB_OUTPUT
echo "sha=${SHA}" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
id: server-cache-action
with:
path: /tmp/cvat_cache_server
key: ${{ runner.os }}-build-server-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-server-${{ steps.get-sha.outputs.sha }}
${{ runner.os }}-build-server-

- uses: actions/cache@v2
- uses: actions/cache@v3
id: ui-cache-action
with:
path: /tmp/cvat_cache_ui
key: ${{ runner.os }}-build-ui-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-ui-${{ steps.get-sha.outputs.sha }}
${{ runner.os }}-build-ui-

- uses: actions/cache@v3
id: elasticsearch-cache-action
with:
path: /tmp/cvat_cache_elasticsearch
key: ${{ runner.os }}-build-elasticsearch-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-elasticsearch-${{ steps.get-sha.outputs.sha }}
${{ runner.os }}-build-elasticsearch-

- uses: actions/cache@v3
id: logstash-cache-action
with:
path: /tmp/cvat_cache_logstash
key: ${{ runner.os }}-build-logstash-${{ github.sha }}
restore-keys: |
${{ runner.os }}-build-logstash-${{ steps.get-sha.outputs.sha }}
${{ runner.os }}-build-logstash-

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1.1.2
uses: docker/setup-buildx-action@v2

- name: Caching CVAT server
- name: Caching CVAT Server
uses: docker/build-push-action@v2
with:
context: .
Expand All @@ -42,9 +89,34 @@ jobs:
cache-from: type=local,src=/tmp/cvat_cache_ui
cache-to: type=local,dest=/tmp/cvat_cache_ui-new

- name: Caching CVAT Elasticsearch
uses: docker/build-push-action@v2
with:
context: ./components/analytics/elasticsearch/
file: ./components/analytics/elasticsearch/Dockerfile
cache-from: type=local,src=/tmp/cvat_cache_elasticsearch
cache-to: type=local,dest=/tmp/cvat_cache_elasticsearch-new
build-args: ELK_VERSION=6.8.23

- name: Caching CVAT Logstash
uses: docker/build-push-action@v2
with:
context: ./components/analytics/logstash/
file: ./components/analytics/logstash/Dockerfile
cache-from: type=local,src=/tmp/cvat_cache_logstash
cache-to: type=local,dest=/tmp/cvat_cache_logstash-new
build-args: ELK_VERSION=6.8.23

- name: Moving cache
run: |
rm -rf /tmp/cvat_cache_server
mv /tmp/cvat_cache_server-new /tmp/cvat_cache_server

rm -rf /tmp/cvat_cache_ui
mv /tmp/cvat_cache_ui-new /tmp/cvat_cache_ui

rm -rf /tmp/cvat_cache_elasticsearch
mv /tmp/cvat_cache_elasticsearch-new /tmp/cvat_cache_elasticsearch

rm -rf /tmp/cvat_cache_logstash
mv /tmp/cvat_cache_logstash-new /tmp/cvat_cache_logstash
Loading