Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.13.0 #7868

Merged
merged 30 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9d5bb99
Switch workflows back to the default runner (#7812)
SpecLad Apr 27, 2024
e2fdd26
Update develop after v2.12.1
cvat-bot[bot] Apr 29, 2024
c758dcd
Merge pull request #7820 from cvat-ai/dev-release-2.12.1
bsekachev Apr 29, 2024
ab8674c
Move rego files into their respective apps (#7806)
SpecLad Apr 29, 2024
f2924d4
Fixed incorrect Cloud Storage request by ID (#7823)
bsekachev Apr 30, 2024
a8aa49f
Opening update CS page sends infinite requests when CS id does not ex…
bsekachev Apr 30, 2024
5f71ab7
Fixed duration of 'change:frame' event (#7817)
bsekachev Apr 30, 2024
a514631
Save video if test failed (#7807)
novda Apr 30, 2024
bae657b
Modernize Rego syntax (#7824)
SpecLad Apr 30, 2024
f3247fa
Optimized analytics requests to ClickHouse (#7804)
bsekachev May 1, 2024
57085e8
Update the Nuclio version (#7787)
novda May 2, 2024
3e29537
Fixed: Cannot read properties of undefined (reading 'addClass') (#7834)
bsekachev May 2, 2024
ce5e07c
fix[security]: Disable nginx server signature by default (#7814)
jackylamhk May 2, 2024
04f3c84
Enhanced uploading files with tus protocol, enabled retries (#7830)
bsekachev May 3, 2024
af182a3
Fixed exception when copy/paste a skeleton point (#7843)
bsekachev May 3, 2024
39afcd4
Added ability to call analytics report manually (#7805)
bsekachev May 3, 2024
3a79a66
Use CPU PyTorch for testing the SDK (#7825)
SpecLad May 3, 2024
0c940fc
Update server dependencies (#7845)
Marishka17 May 5, 2024
d238782
Bump tqdm from 4.60.0 to 4.66.3 in /utils/dicom_converter (#7848)
dependabot[bot] May 6, 2024
217bab8
Do not allow to remove latest keyframe from UI (#7844)
bsekachev May 6, 2024
6a85e61
Optimized requests to analytics DB, using timestamps, to avoid going …
bsekachev May 6, 2024
e6037af
Fix task creation with video file when there are no valid keyframes (…
Marishka17 May 7, 2024
7f1ae38
[GSoC2024] Added feature to show tags corresponding to GT job and man…
Viditagarwal7479 May 7, 2024
dc74a20
Fixed vertical polylines difficult to select (#7860)
bsekachev May 7, 2024
ab83ba0
Make `generate_tests.py` work with relative `--apps-dir` values (#7851)
SpecLad May 7, 2024
70ea131
Fixed cannot read property 'annotations' of null (#7857)
bsekachev May 8, 2024
86c5a77
[GSoC2024] Added quality reporting for Tag annotations (#7582)
Viditagarwal7479 May 8, 2024
b7fe6d2
Avoid fetching a list of shapes/tags from db, optimized fetching trac…
bsekachev May 8, 2024
6919c5e
Prevent losing tracked attributes when moving to a project (#7863)
bsekachev May 8, 2024
71a965c
Prepare release v2.13.0
cvat-bot[bot] May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

build:
needs: search_cache
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

rest_api_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -160,7 +160,8 @@ jobs:
- name: Install SDK
run: |
pip3 install -r ./tests/python/requirements.txt \
-e './cvat-sdk[pytorch]' -e ./cvat-cli
-e './cvat-sdk[pytorch]' -e ./cvat-cli \
--extra-index-url https://download.pytorch.org/whl/cpu

- name: Running REST API and SDK tests
id: run_tests
Expand All @@ -187,7 +188,7 @@ jobs:

unit_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -207,11 +208,10 @@ jobs:

- name: Running OPA tests
run: |
python cvat/apps/iam/rules/tests/generate_tests.py \
--output-dir cvat/apps/iam/rules/
python cvat/apps/iam/rules/tests/generate_tests.py

docker compose run --rm -v "$PWD/cvat/apps/iam/rules/:/mnt/rules" \
cvat_opa test /mnt/rules
docker compose run --rm -v "$PWD:/mnt/src:ro" -w /mnt/src \
cvat_opa test cvat/apps/*/rules

- name: Running unit tests
env:
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:

e2e_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
github.event.pull_request.draft == false &&
!startsWith(github.event.pull_request.title, '[WIP]') &&
!startsWith(github.event.pull_request.title, '[Dependent]')
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
29 changes: 18 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

build:
needs: search_cache
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:

rest_api_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -170,7 +170,8 @@ jobs:
- name: Install SDK
run: |
pip3 install -r ./tests/python/requirements.txt \
-e './cvat-sdk[pytorch]' -e ./cvat-cli
-e './cvat-sdk[pytorch]' -e ./cvat-cli \
--extra-index-url https://download.pytorch.org/whl/cpu

- name: Run REST API and SDK tests
id: run_tests
Expand Down Expand Up @@ -208,7 +209,7 @@ jobs:

unit_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -226,11 +227,10 @@ jobs:

- name: Running OPA tests
run: |
python cvat/apps/iam/rules/tests/generate_tests.py \
--output-dir cvat/apps/iam/rules/
python cvat/apps/iam/rules/tests/generate_tests.py

docker compose run --rm -v "$PWD/cvat/apps/iam/rules/:/mnt/rules" \
cvat_opa test /mnt/rules
docker compose run --rm -v "$PWD:/mnt/src:ro" -w /mnt/src \
cvat_opa test cvat/apps/*/rules

- name: Running unit tests
env:
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:

e2e_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -385,10 +385,17 @@ jobs:
name: cypress_screenshots_${{ matrix.specs }}
path: ${{ github.workspace }}/tests/cypress/screenshots

- name: Uploading cypress videos as an artifact
if: failure()
uses: actions/[email protected]
with:
name: cypress_videos_${{ matrix.specs }}
path: ${{ github.workspace }}/tests/cypress/videos

publish_dev_images:
if: github.ref == 'refs/heads/develop'
needs: [rest_api_testing, unit_testing, e2e_testing]
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -427,7 +434,7 @@ jobs:
docker push "${UI_IMAGE_REPO}:dev"

codecov:
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
needs: [unit_testing, e2e_testing, rest_api_testing]
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/regallint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Regal
uses: StyraInc/setup-regal@v0.2.0
uses: StyraInc/setup-regal@v1
with:
version: v0.11.0
- run: regal lint --format=github cvat/apps/iam/rules
version: v0.21.3
- run: regal lint --format=github cvat/apps/*/rules
15 changes: 7 additions & 8 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
check_updates:
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
env:
REPO: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

build:
needs: search_cache
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:

unit_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -153,11 +153,10 @@ jobs:

- name: OPA tests
run: |
python cvat/apps/iam/rules/tests/generate_tests.py \
--output-dir cvat/apps/iam/rules/
python cvat/apps/iam/rules/tests/generate_tests.py

docker compose run --rm -v "$PWD/cvat/apps/iam/rules/:/mnt/rules" \
cvat_opa test /mnt/rules
docker compose run --rm -v "$PWD:/mnt/src:ro" -w /mnt/src \
cvat_opa test cvat/apps/*/rules

- name: REST API and SDK tests
run: |
Expand Down Expand Up @@ -190,7 +189,7 @@ jobs:

e2e_testing:
needs: build
runs-on: ubuntu-latest-big
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ cvat-core/reports
# produced by prepare in the root package.json script
.husky

# produced by cvat/apps/iam/rules/tests/generate_tests.py
/cvat/apps/*/rules/*_test.gen.rego
File renamed without changes.
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@
"python.testing.cwd": "${workspaceFolder}/tests",
"cSpell.words": [
"crowdsourcing"
]
],
"isort.args":["--profile", "black"],
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
}
}
71 changes: 71 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,77 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- scriv-insert-here -->

<a id='changelog-2.13.0'></a>
## \[2.13.0\] - 2024-05-09

### Added

- Quality Report calculation will now also include annotation of type Tag.
(<https://github.com/opencv/cvat/pull/7582>)

- Added feature to show tags of GT and manual job in separate row. Tags of GT job have '(GT)' in their name.
(<https://github.com/cvat-ai/cvat/pull/7774>)

### Changed

- Analytics reports calculation may be initiated manually instead of automatic scheduling
(<https://github.com/cvat-ai/cvat/pull/7805>)

- Update the Nuclio version and related packages/libraries
(<https://github.com/cvat-ai/cvat/pull/7787>)

- Remove keyframe button is disabled when there is only one keyframe element
(<https://github.com/cvat-ai/cvat/pull/7844>)

### Removed

- The `mask_rcnn` function has been removed because it was using python3.6.
In new version of Nuclio python3.6 is no longer supported. Nuclio officially recommends using python3.9.
Running `mask_rcnn` on python3.9 causes errors within the function and package conflicts. (<https://github.com/cvat-ai/cvat/pull/7787>)

### Fixed

- Analytics report calculation fails with timeout because of redundant number of requests to ClickHouse
(<https://github.com/cvat-ai/cvat/pull/7804>)

- Incorrect duration of `change:frame` event
(<https://github.com/cvat-ai/cvat/pull/7817>)

- Infinite loading cloud storage update page when a lot of cloud storages are available for a user
(<https://github.com/cvat-ai/cvat/pull/7823>)

- Opening update CS page sends infinite requests when CS id does not exist
(<https://github.com/cvat-ai/cvat/pull/7828>)

Uploading files with TUS immediately failed when one of the requests failed
(<https://github.com/cvat-ai/cvat/pull/7830>)

- Longer analytics report calculation because of inefficient requests to analytics db
(<https://github.com/cvat-ai/cvat/pull/7833>)

- Cannot read properties of undefined (reading 'addClass')
(<https://github.com/cvat-ai/cvat/pull/7834>)

- Fixed exception 'Could not read property length of undefined' when copy/paste a skeleton point
(<https://github.com/cvat-ai/cvat/pull/7843>)

- Task creation from a video file without keyframes allowing for random iteration
(<https://github.com/cvat-ai/cvat/pull/7838>)

- Cannot read property 'annotations' of null when uploading annotations into a job
(<https://github.com/cvat-ai/cvat/pull/7857>)

- Vertical polyline of two points is difficult to select
(<https://github.com/cvat-ai/cvat/pull/7860>)

- Tracked attribute values are lost when moving a task to a project
(<https://github.com/cvat-ai/cvat/pull/7863>)

### Security

- Disable the nginx server signature by default to make it slightly harder for attackers to find known vulnerabilities.
(<https://github.com/cvat-ai/cvat/pull/7814>)

<a id='changelog-2.12.1'></a>
## \[2.12.1\] - 2024-04-26

Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN apt-get update && \
pkg-config \
python3-dev \
python3-pip \
libxml2-dev \
libxmlsec1-dev \
libxmlsec1-openssl \
&& rm -rf /var/lib/apt/lists/*

ARG PIP_VERSION
Expand Down Expand Up @@ -119,6 +122,9 @@ RUN apt-get update && \
libldap-2.5-0 \
libpython3.10 \
libsasl2-2 \
libxml2 \
libxmlsec1 \
libxmlsec1-openssl \
nginx \
p7zip-full \
poppler-utils \
Expand Down
2 changes: 1 addition & 1 deletion components/serverless/docker-compose.serverless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
nuclio:
container_name: nuclio
image: quay.io/nuclio/dashboard:1.11.24-amd64
image: quay.io/nuclio/dashboard:1.13.0-amd64
restart: always
networks:
- cvat
Expand Down
2 changes: 1 addition & 1 deletion cvat-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cvat-canvas",
"version": "2.20.0",
"version": "2.20.1",
"type": "module",
"description": "Part of Computer Vision Annotation Tool which presents its canvas library",
"main": "src/canvas.ts",
Expand Down
Loading
Loading