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

Add changes #4881

Closed
wants to merge 101 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
12b1187
ci: SRE-594: Add check gate
nikitabelonogov Sep 8, 2023
6daf587
ci: SRE-594: Add ruff to cicd pipeline
nikitabelonogov Sep 8, 2023
320077d
ci: Fix dependencies validatior
nikitabelonogov Sep 8, 2023
946e719
fix: LSDV-5526: Fix duplication of classifications in LLM scenario (#…
robot-ci-heartex Sep 8, 2023
f03c135
docs: Update Free Trial visual (#4744)
huguestennier Sep 8, 2023
3f48068
fix: LEAP-36: Taxonomy alias + other important fixes (#4740)
robot-ci-heartex Sep 8, 2023
f992b71
fix: LSDV-5554: Support prefix level access configs for S3 config val…
jombooth Sep 8, 2023
c660ae8
fix: LSDV-5554: allow setting currently nonexistent prefix when confi…
jombooth Sep 9, 2023
5e0c6cf
docs: LSDV-5539: Clean up old LSE release notes (#4743)
caitlinwheeless Sep 11, 2023
8079ceb
ci: Add Docker build to check gate
nikitabelonogov Sep 11, 2023
f340974
ci: bump docker/build-push-action from 4.1.1 to 4.2.1 (#4767)
dependabot[bot] Sep 11, 2023
9baf144
ci: bump actions/checkout from 3 to 4 (#4768)
dependabot[bot] Sep 11, 2023
7130291
perf: LSDV-4695: update Prediction model queries to take advantage of…
dredivaris Sep 12, 2023
40b1755
ci: Update Feature Flags
robot-ci-heartex Sep 13, 2023
77e69b3
ci: Remove duplicated checkout
nikitabelonogov Sep 13, 2023
a3d980c
docs: DOC-113: Add information about code autocomplete (#4760)
caitlinwheeless Sep 13, 2023
9a808a9
docs: Add release notes for 2.4.10 (#4777)
robot-ci-heartex Sep 13, 2023
dd1b02c
docs: fix changelog generator order
farioas Sep 13, 2023
df24aa4
docs: Update release notes 2.4.10 with Helm chart info (#4780)
caitlinwheeless Sep 13, 2023
fe0326c
feat: LSDV-5479: add blue to build and pre commit (#4750)
jombooth Sep 13, 2023
e73fa59
ci: Update Feature Flags
robot-ci-heartex Sep 14, 2023
d714070
docs: fix release notes order
farioas Sep 14, 2023
4b5dab0
feat: OPTIC-44: Submit and exit docs (#4700)
Travis1282 Sep 14, 2023
92bd543
ci: Update Feature Flags
robot-ci-heartex Sep 15, 2023
3df1564
docs: LSDV-5484: Add documentation for project roles (#4774)
caitlinwheeless Sep 15, 2023
31c873e
fix: LOPS-370: We could improve grid view for textual dataset (#4729)
robot-ci-heartex Sep 15, 2023
53a0d70
feat: LOPS-134: [FE] find similar CandidateTasks (#4618)
robot-ci-heartex Sep 15, 2023
b29d958
chore: LSDV-4606: use Django migration to define indexes (#4746)
jombooth Sep 15, 2023
5157083
fix: DIA-198: [FE] 'txt' option is missing in data_type dropdown (#4758)
robot-ci-heartex Sep 15, 2023
a323bbb
fix: OPTIC-104: Fixing packages (#4749)
wesleylima Sep 15, 2023
0fc96bb
docs: update links
farioas Sep 16, 2023
838c390
ci: bump docker/build-push-action from 4.2.1 to 5.0.0 (#4795)
dependabot[bot] Sep 18, 2023
6558927
ci: bump docker/login-action from 2.2.0 to 3.0.0 (#4794)
dependabot[bot] Sep 18, 2023
5ef0608
ci: bump docker/setup-qemu-action from 2 to 3 (#4793)
dependabot[bot] Sep 18, 2023
b4af84f
ci: bump actions/setup-python from 3 to 4 (#4792)
dependabot[bot] Sep 18, 2023
eece1c8
ci: bump docker/setup-buildx-action from 2.10.0 to 3.0.0 (#4791)
dependabot[bot] Sep 18, 2023
e991893
chore: Bump version to 1.9.1dev
Sep 18, 2023
33daa56
ci: Update Feature Flags
robot-ci-heartex Sep 19, 2023
a0f4b71
feat: LEAP-187: Seek Video to region start on select (#4797)
robot-ci-heartex Sep 19, 2023
d3ce1db
fix: LSDV-5547: Support HTML in Instructions modal (#4779)
robot-ci-heartex Sep 19, 2023
a33556f
ci: Update Feature Flags
robot-ci-heartex Sep 20, 2023
88dcc79
ci: Update Feature Flags
robot-ci-heartex Sep 21, 2023
142ea3e
feat: LSDV-5518: Add snap prop to snap polygon to image pixels (#4682)
robot-ci-heartex Sep 21, 2023
0ece43b
ci: Update Feature Flags
robot-ci-heartex Sep 22, 2023
d065a97
docs: DOCS-117 Remove Slack ping requests from documentation (#4810)
hogepodge Sep 22, 2023
015836a
docs: DOCS-115: Update open source contribution guide (#4808)
hogepodge Sep 22, 2023
139bf82
fix: OPTIC-109: Blank draft should not be created when an annotation …
robot-ci-heartex Sep 22, 2023
bd27797
fix: Annotation sync in storages with project (#4812)
makseq Sep 22, 2023
efd45c8
ci: PLATE-634: Add repo name to concurrency group (#4813)
nikitabelonogov Sep 22, 2023
66a9dbe
fix: LSDV-5561: Fix updating drafts summary (#4772)
triklozoid Sep 22, 2023
5b2fb8a
ci: Update Feature Flags
robot-ci-heartex Sep 25, 2023
c1c5c64
ci: Update Feature Flags
robot-ci-heartex Sep 26, 2023
81499c0
feat: LEAP-206: Ensure users can navigate freely and drafts are saved…
bmartel Sep 26, 2023
69f4cad
ci: Update Feature Flags
robot-ci-heartex Sep 27, 2023
fe44b28
ci: Update Feature Flags
robot-ci-heartex Sep 28, 2023
78b6fa1
fix: OPTIC-137: Preview should not block navigation due to draft savi…
bmartel Sep 28, 2023
27cb923
ci: PLATE-637: Support LS SDK in Follow Merge
nikitabelonogov Sep 28, 2023
d2bdf18
fix: LSDV-5560: Fix plus and minus hotkeys (#4784)
robot-ci-heartex Sep 28, 2023
efbe48b
ci: PLATE-637: Add LS SDK to validate dependencies
nikitabelonogov Sep 28, 2023
d8130bb
fix: LEAP-24: /api/tasks performance improvement (#4738)
triklozoid Sep 28, 2023
a4380b0
ci: Update Follow Merge PR message
nikitabelonogov Sep 28, 2023
2e045bd
fix: OPTIC-140: Using pypi for human signal drf-yasg fork (#4837)
wesleylima Sep 28, 2023
73f3510
docs: Add release notes for 2.5.0 (#4840)
robot-ci-heartex Sep 28, 2023
f672ba8
ci: PLATE-638: update mw dependencies
farioas Sep 28, 2023
3c8ad74
ci: PLATE-638: update pytest deps
farioas Sep 28, 2023
47d6c26
ci: fix The license_file parameter is deprecated, use license_files i…
farioas Sep 28, 2023
0b147b5
ci: pyaml update dependency to fix cython <3.0 dependency
farioas Sep 28, 2023
a8011e7
ci: update tavern to 1.22.0 to allow pyyaml>=6.0
farioas Sep 28, 2023
4a94023
ci: revert all dependencies upgrade
farioas Sep 28, 2023
27cc715
ci: fix yaml lint
farioas Sep 28, 2023
bae3cca
fix: LEAP-184: Fix created_labels_drafts handling and improve error d…
jombooth Sep 28, 2023
c001432
fix: OPTIC-133: Blank draft submitted with annotation when using hotk…
robot-ci-heartex Sep 28, 2023
d8ad66f
docs: DOC-116: Create a page on upgrading Label Studio Enterprise (#…
caitlinwheeless Sep 29, 2023
97feabf
ci: Update Feature Flags
robot-ci-heartex Sep 29, 2023
1840da5
chore: fix s3 export tests (#4842)
dredivaris Sep 29, 2023
9f2016d
docs: DOCS-132: Fix note formatting across files (#4846)
caitlinwheeless Sep 29, 2023
7e177ba
feat: OPTIC-115: Add is_deleted field to User model (#4806)
dredivaris Sep 29, 2023
2a12966
chore: Bump version to 1.10.1dev
jombooth Sep 29, 2023
330559a
ci: Update Feature Flags
robot-ci-heartex Oct 2, 2023
ab9e0fc
ci: Update Feature Flags
robot-ci-heartex Oct 3, 2023
8bea521
chore: upgrade some dependencies to unbreak docker build with test de…
jombooth Oct 3, 2023
11bae6e
docs: Add release notes for 2.5.0-1 (#4848)
robot-ci-heartex Oct 3, 2023
0040b71
chore(deps): bump urllib3 from 1.26.16 to 1.26.17 in /deploy (#4850)
dependabot[bot] Oct 3, 2023
cefcd5c
docs: Update try cloud header link (#4854)
huguestennier Oct 3, 2023
8dee2cc
docs: DOCS-128: Fix role descriptions to include appropriate API acce…
caitlinwheeless Oct 3, 2023
86ca809
fix: API permissions for docs (#4858)
makseq Oct 4, 2023
14b87a6
Revert "fix: API permissions for docs" (#4859)
makseq Oct 4, 2023
24c27fd
fix: Make API docs public
makseq Oct 4, 2023
93dfcd7
ci: Update Feature Flags
robot-ci-heartex Oct 4, 2023
e2425b1
fix: make blue required in cicd (#4863)
jombooth Oct 4, 2023
7018b39
fix: LEAP-149: Fix selected=true for Taxonomy (#3837)
robot-ci-heartex Oct 4, 2023
154ac5d
chore: Bump version to 1.9.2dev
jombooth Oct 4, 2023
dd0eafe
docs: DOC-137: Remove page for unsupported time series feature (#4871)
caitlinwheeless Oct 5, 2023
8e2b9c3
docs: DOC-120: Recommend SSRF protection variable (#4872)
caitlinwheeless Oct 5, 2023
4a8eb5c
docs: Remove tier-specific content from the table of content (#4873)
huguestennier Oct 6, 2023
4de2653
feat: OPTIC-118: Query updates to support user soft deletion (#4832)
dredivaris Oct 6, 2023
8e11397
fix: LEAP-182: Org and deployment level setting for cert verification…
jombooth Oct 6, 2023
462ca51
ci: Update Feature Flags
robot-ci-heartex Oct 9, 2023
f583f15
ci: split slack check
farioas Oct 9, 2023
bc75c00
fix: LEAP-250: Fix maxUsages for New Taxonomy (#4877)
robot-ci-heartex Oct 9, 2023
feb2275
fix: LEAP-192: Check avatar file extension (#4818)
triklozoid Oct 9, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.head_sha }}

Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/blue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Blue

on:
workflow_call:
inputs:
head_sha:
required: true
type: string

jobs:
blue:
name: Blue
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ inputs.head_sha }}

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- uses: pre-commit/[email protected]
with:
extra_args: blue --all-files --hook-stage pre-push
2 changes: 1 addition & 1 deletion .github/workflows/build_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git config --global user.email '[email protected]'

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "${{ github.repository_owner }}/${{ env.HELM_CHART_REPO_NAME }}"
token: ${{ secrets.GIT_PAT }}
Expand Down
62 changes: 51 additions & 11 deletions .github/workflows/cicd_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Checkout
if: github.event_name == 'push'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

Expand All @@ -51,6 +51,8 @@ jobs:
- 'setup.py'
- '.github/workflows/bandit.yml'
- '.github/workflows/tests.yml'
- '.github/workflows/test_conda.yml'
- '.github/workflows/test_migrations.yml'
frontend:
- 'label_studio/frontend/**'
- '.github/workflows/frontend-build.yml'
Expand Down Expand Up @@ -91,6 +93,24 @@ jobs:
with:
head_sha: ${{ github.event.pull_request.head.sha || github.event.after }}

ruff:
name: "Linter"
needs:
- changed_files
if: needs.changed_files.outputs.src == 'true'
uses: ./.github/workflows/ruff.yml
with:
head_sha: ${{ github.event.pull_request.head.sha || github.event.after }}

blue:
name: "Linter"
needs:
- changed_files
if: needs.changed_files.outputs.src == 'true'
uses: ./.github/workflows/blue.yml
with:
head_sha: ${{ github.event.pull_request.head.sha || github.event.after }}

build-frontend:
name: "Build"
needs:
Expand Down Expand Up @@ -168,7 +188,7 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GIT_PAT }}
ref: ${{ github.sha }}
Expand Down Expand Up @@ -198,7 +218,7 @@ jobs:
const rc_version = `${version}rc${ compare.ahead_by }`
console.log(`rc-version: ${rc_version}`)
core.setOutput("rc-version", rc_version);

function compareVersions(a, b) {
if (a[1] === b[1])
if (a[2] === b[2])
Expand All @@ -211,7 +231,7 @@ jobs:
else
return +a[1] - b[1]
}

const versionMatch = version.match(regexp)
if (!versionMatch) {
core.setFailed(`Version "${version}" from branch "${target_commitish}" does not match the regexp ${regexp}`)
Expand Down Expand Up @@ -247,7 +267,7 @@ jobs:
}
console.log(`New version: ${version}`)

const rawTags = tags.map(e => e.name)
const rawTags = tags.map(e => e.name)
const tagsWithNew = [...rawTags, version]
const sortedTags = tagsWithNew
.filter(e => e.match(regexp))
Expand All @@ -272,7 +292,7 @@ jobs:
if (release) {
console.log(`Draft release already exist ${release.html_url}`)
} else {
console.log(`Draft release is not found creating a new one`)
console.log(`Draft release is not found creating a new one`)
const {data: newDraftRelease} = await github.rest.repos.createRelease({
owner,
repo,
Expand Down Expand Up @@ -328,19 +348,19 @@ jobs:
WORKFLOW_RUN_LINK: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
run: |
set -eux

previous_tag=$(git tag --sort=-committerdate | head -n1)

export PREVIOUS_REF="tags/${previous_tag}"
python3 .github/helpers/gh_changelog_generator/gh_changelog_generator.py

echo "changelog_msg_b64=$(cat '${{ env.OUTPUT_FILE_MD }}' | base64 -w 0)" >> $GITHUB_OUTPUT

echo "CHANGELOG_MD<<CHANGELOG_MD_EOF" >> $GITHUB_ENV
cat '${{ env.OUTPUT_FILE_MD }}' >> $GITHUB_ENV
echo >> $GITHUB_ENV
echo "CHANGELOG_MD_EOF" >> $GITHUB_ENV

echo "CHANGELOG_JSON<<CHANGELOG_JSON_EOF" >> $GITHUB_ENV
cat '${{ env.OUTPUT_FILE_JSON }}' >> $GITHUB_ENV
echo >> $GITHUB_ENV
Expand Down Expand Up @@ -385,3 +405,23 @@ jobs:
ref: ${{ github.ref_name }}
release-id: ${{ needs.draft-release.outputs.id }}
secrets: inherit

check_gate:
name: "Ready to merge"
if: always()
needs:
- gitleaks
- bandit
- ruff
- blue
- pytest
- migrations
- build-docker
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
allowed-failures:
allowed-skips: gitleaks, bandit, ruff, blue, pytest, migrations, conda-test, build-docker
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
10 changes: 5 additions & 5 deletions .github/workflows/docker-build-ontop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
ref: ${{ inputs.ref }}
Expand Down Expand Up @@ -82,19 +82,19 @@ jobs:
cat "${DOCKERFILE_PATH}"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.10.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
id: docker_build_and_push
with:
context: .
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docker-build-ubi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
ref: ${{ inputs.sha }}
fetch-depth: 0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.10.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to RedHat Registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: quay.io
username: ${{ secrets.REDHAT_REGISTRY_LOGIN }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
core.setOutput("ubi-tags", ubiTags.join(','));

- name: Build and push ubi
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
id: docker_build_and_push_ubi
with:
context: .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: hmarr/[email protected]

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
ref: ${{ inputs.sha }}
Expand Down Expand Up @@ -66,10 +66,10 @@ jobs:
echo "build_version=$version" >> $GITHUB_OUTPUT

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.10.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -108,10 +108,10 @@ jobs:
fi

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Push Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
id: docker_build_and_push
with:
context: .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-release-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
core.setOutput("sha", details.sha);

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.release_tag }}

Expand Down Expand Up @@ -170,16 +170,16 @@ jobs:
fi

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.10.0
uses: docker/setup-buildx-action@v3.0.0

- name: Login to DockerHub
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to RedHat Registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
with:
registry: quay.io
username: ${{ secrets.REDHAT_REGISTRY_LOGIN }}
Expand Down Expand Up @@ -208,10 +208,10 @@ jobs:
EOF

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Build and Push Release Ubuntu Docker image
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.0.0
id: docker_build
with:
context: ${{ steps.release_dockerfile.outputs.release_dir }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/feature-flags-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
git config --global user.email '[email protected]'

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GIT_PAT }}
fetch-depth: 1
Expand Down
Loading
Loading