Skip to content

Commit ca09b8f

Browse files
juliosgarbihlomzikyyassi-heartexnick-skriabinGondragos
authored
feat: LEAP-452: FE Repo Modernization / Monorepo (#5154)
* fix: LEAP-1: Start migration to monorepo (#4731) * fix: LEAP-1: Start migration to monorepo * Fix assets and useEffects returning * add new rules to svg * remove duplicated assets * add back frontend folder * get old build * add back deleted files * remove diffs * remove default eslint rc * Remove package-lock, update yarn.lock * Remove yarnrc with wrong release * move files from label_studio/frontend to web/apps * remove files from frontend folder * fix package.json * fix yarn.lock * fix assets and bem after move files --------- Co-authored-by: hlomzik <[email protected]> * feat: LEAP-47: Move datamanager into the monorepo (#4737) * fix: LEAP-1: Start migration to monorepo * Fix assets and useEffects returning * add new rules to svg * remove duplicated assets * feat: Move datamanager into the monorepo * add datamanager into ls repo * update datamanager * fix some packages that was missing * Update web/.env.example Co-authored-by: yyassi-heartex <[email protected]> --------- Co-authored-by: yyassi-heartex <[email protected]> * feat: LEAP-53: Move editor into the monorepo (#4870) * fix: LEAP-1: Start migration to monorepo * Fix assets and useEffects returning * add new rules to svg * remove duplicated assets * feat: Move datamanager into the monorepo * add datamanager into ls repo * feat: LEAP-53: Move editor into the monorepo * migrate editor to monorepo * add some new packages and try to add different webpack configs * add submodules * remove github folder * add submodules as folders * Adjust docker config to work with monorepo * merge conflicts * Fix js libraries paths * delete npmrc file * update gitignore to add the files that shouldn't be on git * delete gitignore * add watch for libs * add env.build and unification of webpack config * add env.build --------- Co-authored-by: Nick Skriabin <[email protected]> * feat: LEAP-324: Return builds files to LS monorepo (#4997) * feat: LEAP-324: Return builds and source files to LS monorepo * remove source files * fix icons * fix output file * remove examples * change output * change output and add examples * fix: LEAP-347: LSF running as standalone app (#5022) * fix: LEAP-347: LSF running as standalone app * config editor to work standalone * feat: LEAP-54: Move editor e2e tests to the new LS monorepo (#5028) * feat: LEAP-54: Move editor e2e tests to the new LS monorepo * move e2e folder to test folder * chore: LEAP-50: Update makefile to work with current state of monorepo (#5043) * chore: LEAP-50: Update makefile to work with current state of monorepo * Refactoring Co-authored-by: bmartel <[email protected]> * Refactoring Co-authored-by: bmartel <[email protected]> * Keep frontend-fetch for potentional commented rollback --------- Co-authored-by: bmartel <[email protected]> * feat: LEAP-239: Move ls-frontend-test to monorepo and make cypress tests work (#5051) * feat: LEAP-54: Move editor e2e tests to the new LS monorepo * feat: LEAP-239: Move ls-frontend-test to monorepo and make cypress tests work * add cypress * move e2e folder to test folder * remove nx cypress and config default cypress * add the frontend-test as a lib * add frontend-test as a lib * fix cypress tests * remove dev build * delete package lock * feat: LEAP-56: Update package scripts to run units e2e and integration tests (#5052) * feat: LEAP-54: Move editor e2e tests to the new LS monorepo * feat: LEAP-239: Move ls-frontend-test to monorepo and make cypress tests work * add cypress * move e2e folder to test folder * remove nx cypress and config default cypress * add the frontend-test as a lib * add frontend-test as a lib * fix cypress tests * remove dev build * delete package lock * feat: LEAP-56: Update package scripts to run units e2e and integration tests * remove dist folder * remove nx cloud * merge conflicts * clear commands * feat: LEAP-325: Implement a mechanism to toggle between the current structure and the monorepo setup (#5058) feat: LEAP-325: ADd mechanist to switch between current structure and monorepo * ci: CI TEST monorepo (#5064) * [submodules] Copy src HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6948415494 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6948415494 --------- Co-authored-by: Nikita Belonogov <[email protected]> * feat: LEAP-379: Add docs to monorepo (#5074) * feat: LEAP-379: Add docs to monorepo * fix typos * fix: LEAP-409: Update files to match with monorepo monorepo (#5073) * [submodules] Copy src HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6959725389 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6959725389 * fix: LEAP-409: Update files to match with monorepo * [submodules] Copy src HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6960200640 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6960200640 * fix editor changing the index name and merging diffs --------- Co-authored-by: Julio Sgarbi <[email protected]> * ci: TEST monorepo (#5079) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6970505860 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6970505860 * [submodules] Copy src HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6971479552 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6971479552 --------- Co-authored-by: Nikita Belonogov <[email protected]> * fix: LEAP-420: Update README.md and update env files (#5081) * fix: LEAP-420: Update README.md and update env files * some fixes on README.md * get rid of env * add information that the lsf:serve must be running to integration test * fix: LEAP-E-1: Merge with development (#5086) * feat: LEAP-206: Ensure users can navigate freely and drafts are saved when leaving the labelling screen (#4823) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6018306785 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6041221119 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6042978607 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6054035666 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6054150497 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6054211352 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6054212296 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6088235972 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6088239538 * draft guard added for preserving drafts on navagate away * Update label_studio/frontend/src/components/DraftGuard/DraftGuard.js * add feature flag * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6099106433 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6099123242 * add toast to lso * message toast import fix * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6114309463 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6114412393 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6114441739 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6150533961 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6150877518 * fix feature flag * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6161293100 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6161303530 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6164632430 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6164636576 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6164750707 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6173795893 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6177525481 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6177595440 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6278172019 * fix the saving of drafts when a user would leave the labelling screen * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6278960962 * remove console logs * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6301442739 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6301453665 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6314325373 --------- Co-authored-by: Travis1282 <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6322034955 * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6335139756 * fix: OPTIC-137: Preview should not block navigation due to draft saving (#4835) * fix: OPTIC-137: Preview should not block navigation due to draft saving * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6329001581 * fix navigation on submit and exit of annotation * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6332976455 --------- Co-authored-by: robot-ci-heartex <[email protected]> * ci: PLATE-637: Support LS SDK in Follow Merge * fix: LSDV-5560: Fix plus and minus hotkeys (#4784) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6187555642 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6303749414 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6303751370 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6303751370 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6314611853 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6314611853 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6340084416 --------- Co-authored-by: Sergey <[email protected]> Co-authored-by: Gondragos <[email protected]> * ci: PLATE-637: Add LS SDK to validate dependencies * fix: LEAP-24: /api/tasks performance improvement (#4738) * fix: LEAP-24: /api/tasks performance improvement * Fix skip_regular * ci: Update Follow Merge PR message * fix: OPTIC-140: Using pypi for human signal drf-yasg fork (#4837) Co-authored-by: Wesley Lima <[email protected]> * docs: Add release notes for 2.5.0 (#4840) * docs: Add release notes for 2.5.0 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6341358471 * Updating release notes to add images and correct date placement --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: caitlin_wheeless <[email protected]> * ci: PLATE-638: update mw dependencies * ci: PLATE-638: update pytest deps * ci: fix The license_file parameter is deprecated, use license_files instead. * ci: pyaml update dependency to fix cython <3.0 dependency * ci: update tavern to 1.22.0 to allow pyyaml>=6.0 * ci: revert all dependencies upgrade * ci: fix yaml lint * fix: LEAP-184: Fix created_labels_drafts handling and improve error display (#4802) * fix: LEAP-184: Fix created_labels_drafts handling and improve error display * testing for delete tasks annotations * testing for annotation draft cleanup * resolve issue in CI due to nondeterministic ordering --------- Co-authored-by: jombooth <[email protected]> Co-authored-by: AndrejOros <[email protected]> * fix: OPTIC-133: Blank draft submitted with annotation when using hotkey submit (#4834) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6326183273 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6344022688 --------- Co-authored-by: Brandon Martel <[email protected]> Co-authored-by: Sergey <[email protected]> * docs: DOC-116: Create a page on upgrading Label Studio Enterprise (#4836) docs: DOC-116: Create a page on upgrading Label Studio Enterprise with health check instructions * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6347745118 * chore: fix s3 export tests (#4842) * docs: DOCS-132: Fix note formatting across files (#4846) * feat: OPTIC-115: Add is_deleted field to User model (#4806) * Add is_deleted field to user * Add db index to user model is_deleted field --------- Co-authored-by: dredivaris <[email protected]> * chore: Bump version to 1.10.1dev Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6358039273 * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6376557020 * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6389281081 * chore: upgrade some dependencies to unbreak docker build with test deps (#4851) * upgrade some dependencies to unbreak docker build with test deps * remove double requirement * remove attrs dependency mark * try older version of Tavern * try older pytest version * Revert "try older version of Tavern" This reverts commit 381a71ebcd39ce3bb1b09ea0da29490c70ce5133. * Revert "remove attrs dependency mark" This reverts commit 7612eb246710587e2e839447a53db79cd252df04. * https://github.com/taverntesting/tavern/issues/859 suggests we can go to a newer pytest * docs: Add release notes for 2.5.0-1 (#4848) * docs: Add release notes for 2.5.0-1 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6358589687 * Update 2.5.0-1.md --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Caitlin Wheeless <[email protected]> * chore(deps): bump urllib3 from 1.26.16 to 1.26.17 in /deploy (#4850) Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.17. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.17) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: Update try cloud header link (#4854) Update try cloud header link * docs: DOCS-128: Fix role descriptions to include appropriate API access (#4856) * fix: API permissions for docs (#4858) * Revert "fix: API permissions for docs" (#4859) Revert "fix: API permissions for docs (#4858)" This reverts commit 86ca809265fa83ab10cfce6dcd75f36ef9e53ecc. * fix: Make API docs public * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6402169669 * fix: make blue required in cicd (#4863) * fix: LEAP-149: Fix selected=true for Taxonomy (#3837) * [submodules] Build static heartexlabs/label-studio-frontend * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5325924758 * docs: LSF Update Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5325924758 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5352254604 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5357327488 * docs: LSF Update Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5357327488 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5357380571 * docs: LSF Update Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5357380571 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5357992160 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5413704442 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5424437671 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5427873637 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5427891551 * fix: LSDV-1476: Reuse FF_DEV_3617 to init Preview better `onLabelStudioLoad` is actually too early anyway to manipulate tree. But that only a problem for Taxonomy with SharedStore (FF_DEV_3617). * [frontend] Get build lsf Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5484639779 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5484710915 * ci: Build frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5484766857 * [submodules] Build static heartexlabs/label-studio-frontend Workflow run: https://github.com/heartexlabs/label-studio/actions/runs/5484947116 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6302905169 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6302905169 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6328210752 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6342490064 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6345679579 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6381350750 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6406660667 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6408088405 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: nikitabelonogov <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: hlomzik <[email protected]> * chore: Bump version to 1.9.2dev Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6410731721 * docs: DOC-137: Remove page for unsupported time series feature (#4871) * docs: DOCS-132: Fix note formatting across files * docs: DOC-137: Remove page for unsupported time series feature * docs: DOC-120: Recommend SSRF protection variable (#4872) * docs: DOC-120: Recommend SSRF protection variable * Linked to the SSRF section from K8s pages * docs: Remove tier-specific content from the table of content (#4873) Switch from filter to function * feat: OPTIC-118: Query updates to support user soft deletion (#4832) * feat: OPTIC-118: Query updates to support user soft deletion * Add missing comma * Add newline * Add newline * Add with_deleted to display all users in admin and add other various filters to support is_deleted in admin page * Code tooling fixes * Fixes to support new manager is_deleted filtering in migrations (by disabling it conditionally) * Linter fix * Add user obfuscation of deleted users in base user serializer * Add user obfuscation of user initials * Add manager migration required because change was made to manager in migrations * Add feature flag check * Add double manager for User to handle filtering deleted users * Linter updates --------- Co-authored-by: dredivaris <[email protected]> * fix: LEAP-182: Org and deployment level setting for cert verification (#4862) * fix: LEAP-182: Verify SSL certs unless turned off for deployment/organization * fmt * move to organization model setting for override * more permanently fix migration that has issues with new Organization fields * try to fix import issue * use license field instead of migration, try new sqlite version * correct sqlite path prefix * fix x86 dll path * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6452916005 * ci: split slack check * fix: LEAP-250: Fix maxUsages for New Taxonomy (#4877) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6435287838 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6435330907 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6458107595 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * fix: LEAP-192: Check avatar file extension (#4818) * fix: LEAP-192: Check avatar file extension * Add comment * Fix filename --------- Co-authored-by: MihajloHoma <[email protected]> * fix: OPTIC-79: Add queueTotal to lsfProperties from project (#4742) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6099175716 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6099186034 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6126697671 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6191135530 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6191149554 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6199486597 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6201782822 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6215277169 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6237615551 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6250094239 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6250115389 * Add queue_total and queue_done fields to project serializer * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6403602996 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6403602996 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6403661920 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6410235609 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6410289300 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6421795914 * merge develop --------- Co-authored-by: Travis1282 <[email protected]> Co-authored-by: Andreas Divaris <[email protected]> Co-authored-by: AndrejOros <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Brandon Martel <[email protected]> * feat: OPTIC-116: User soft-deletion API (#4876) * feat: OPTIC-116: User soft-deletion API * Add new HasOwnerPermission to check owner for deletion, add soft_delete function * Update tests * Add linting changes * Add permission_required to view * Linting fix * Updates to fix soft delete and add typing * Add newlines for test legibility * Update status code, update typing error * Add new url to all_urls.json --------- Co-authored-by: dredivaris <[email protected]> * fix: LEAP-33: Fixes for labels by Taxonomy (#4757) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6124929627 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6174465648 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6199379114 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6199379114 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6276197292 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6277361536 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6277361536 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6300175279 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6300175279 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6350584078 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6381193990 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6381278017 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6394794922 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6399588606 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6408173324 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6419772202 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6456728285 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6457584458 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6469478285 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6471048471 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6482194842 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6482795848 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6494103664 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: hlomzik <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: farioas <[email protected]> * feat: LEAP-185: Send webhook on task from storage creation (#4845) * feat: LEAP-185: Send webhook on task from storage creation * Fix comment * chore: LEAP-52: add tests for the pagination fix in label-studio-sdk#153 (#4891) Co-authored-by: jombooth <[email protected]> * fix: LEAP-252: Use standard error message for Async Taxonomy errors (#4886) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6473762318 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6485975228 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6486178314 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6502038292 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6502043930 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6502043930 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6508275751 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6508275751 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6509180009 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6509454897 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: hlomzik <[email protected]> Co-authored-by: hlomzik <[email protected]> * chore: Bump label-studio-converter version to 0.0.57 (#4895) Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6501686091 Co-authored-by: robot-ci-heartex <[email protected]> * docs: DOC-132: Small update to Projects to Groups Mapping description (#4897) * fix: DIA-414: Validate bucket/credentials when editing storage (#4847) * fix: DIA-414: Validate bucket/credentials when editing storage * Catch NoSuchBucket error code * check httpstatuscode in addition to error code * remove print statements * reformat --------- Co-authored-by: AndrejOros <[email protected]> * fix: LEAP-255: Parse username and password from basic auth URL and use for API calls (#4889) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6487327137 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6508253604 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6509549609 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6532699563 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: hlomzik <[email protected]> * ci: bump thehanimo/pr-title-checker from 1.4.0 to 1.4.1 (#4904) Bumps [thehanimo/pr-title-checker](https://github.com/thehanimo/pr-title-checker) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/thehanimo/pr-title-checker/releases) - [Commits](https://github.com/thehanimo/pr-title-checker/compare/v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: thehanimo/pr-title-checker dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: OPTIC-116 update users api for soft delete to match format of other users api endpoints (#4890) * fix: OPTIC-116 update users api for soft delete to match format of other users api endpoints * Update test case to reflect new url * Change soft delete drf parent class in order to fix openapi schema generation * Remove unused import * Add back in explicit HasObjectPermission, while its set as default permission in LSE, it still needs to be set explicitly in LSO * docs: Add release notes for 2.5.0-1 (#4911) * docs: Add release notes for 2.5.0-1 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6540080539 * clean up release notes --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Jo Booth <[email protected]> * ci: PLATE-679: Fix Expression injection in Actions (#4898) * fix: LEAP-280: Azure storage validation too long (#4905) * fix: LEAP-280: Azure storage validation too long * Fix test dependency * fix: LEAP-193: Double check for upload url ip (#4828) * fix: LEAP-193: Double check for upload url ip * Fix typing * Add ssrf_safe_get * Fix tests * fix: OPTIC-179: Properly ensure content is escaped (#4926) * fix: OPTIC-179: Properly ensure content is escaped * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6567480699 * update types * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6567539053 * update * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6568061660 * update * Update label_studio/frontend/src/pages/DataManager/DataManager.js * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6568126554 --------- Co-authored-by: robot-ci-heartex <[email protected]> * DOC-148: Update bug_report.md to remove auto-assignment (#4933) Update bug_report.md Remove max as auto-assignee for issue template. * fix: LEAP-256: Include the 'legacy' property in the 'Taxonomy' tag (#4884) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6470575559 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6470575559 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6482575232 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6482575232 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6578141385 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6578141385 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6578862957 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: juliosgarbi <[email protected]> * docs: Fix broken links in Project Setup page (#4937) Links were not rendering correctly * docs: DOC-122: Data discovery with AWS storage (#4907) * docs: DOC-122: Data discovery with AWS storage * Reduced image size * Updated to incorporate Patrick's review feedback * fix: LEAP-19: Add GCS bucket cache (#4778) * fix: LEAP-19: Add GCS bucket cache * Fix typing * Add ttl for cache * Add type definitions * Make ttl_hash required * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6622973547 * ci: disable slack domain check * feat: Allow the AWS S3 signature version to be specified for Django storages (#4869) * Allow the AWS S3 signature version to be specified for Django storages Signed-off-by: David Newman <[email protected]> * Fix spacing Signed-off-by: David Newman <[email protected]> --------- Signed-off-by: David Newman <[email protected]> Co-authored-by: Brandon Martel <[email protected]> * feat: OPTIC-174: Allow the AWS S3 signature version to be specified for Django storages (#4928) * Allow the AWS S3 signature version to be specified for Django storages Signed-off-by: David Newman <[email protected]> * Fix spacing Signed-off-by: David Newman <[email protected]> --------- Signed-off-by: David Newman <[email protected]> Co-authored-by: David Newman <[email protected]> * chore: Bump version to 1.9.3dev Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6630216649 * Create codeql.yml action * Update codeql.yml * ci: fix codeql override config * ci: fix config * ci: SRE-700: Prefer Jira over Aha * ci: temp disable codeql * Create codeql.yml * docs: Add release notes for 2.6.0 (#4957) * docs: Add release notes for 2.6.0 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6629450493 * Update 2.6.0.md --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Caitlin Wheeless <[email protected]> * docs: Support parents in sidebar menu (#4965) * Support different enterprise parent * Remove auto formatting * ci: bump release-drafter/release-drafter from 5.24.0 to 5.25.0 (#4948) Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.24.0 to 5.25.0. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v5.24.0...v5.25.0) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: DOC-148: Update feature_request.md remove auto-assignment (#4934) DOC-148: Update feature_request.md remove auto-assignment Remove max from issue auto-assignment * fix: OPTIC-182: Ensuring Task view always has task attribute no matter the method called (#4925) Co-authored-by: Wesley Lima <[email protected]> * fix: DIA-631: [FE] if associated projects dont get sent back the data-explorer breaks (#4960) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6632937439 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6632964001 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6643868073 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6643895318 --------- Co-authored-by: Yousif Yassi <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: yyassi-heartex <[email protected]> * fix: LEAP-306: Fix security vulnerabilities (#4958) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6631419936 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6631478293 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6641079414 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6641434342 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6642153056 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6644073987 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * docs: DOC-153: Adjust order in page front matter (#4967) * docs: DOC-153: Adjust order in page front matter * Update predictions.md * docs: DOC-151: Remove Firefox and Safari from browser list (#4969) docs: DOC-151: Remove Firefox and Safari from list of supported web browsers * fix: LEAP-295: Fix error styles in LS modals (#4949) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6613126391 * Fix LSF margin in Config Editor * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6627667828 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6659247962 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6663506893 * fix: LEAP-304: Fix github vulnerabilities (#4980) * fix: LEAP-304: Fix github vulnerabilities * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6670348239 --------- Co-authored-by: robot-ci-heartex <[email protected]> * chore: LEAP-221: Remove Taxonomy flags (#4866) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6409946286 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6409946286 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6410030709 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6420976741 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6421070821 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6421714709 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6642387517 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6642387517 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6642507975 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6664963762 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6667954775 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * docs: Add release notes for 2.6.0-2 (#4982) * docs: Add release notes for 2.6.0-2 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6670992456 * Update 2.6.0-2.md --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Caitlin Wheeless <[email protected]> * docs: Add release notes for 2.6.0-1 (#4975) * docs: Add release notes for 2.6.0-1 Workflow run: https://github.com/HumanSignal/label-studio-enterprise/actions/runs/6660934198 * Update 2.6.0-1.md * Update 2.6.0-1.md --------- Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: Caitlin Wheeless <[email protected]> * ci: bump actions/setup-node from 3 to 4 (#4985) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * ci: fix slack invite check * feat: OPTIC-65: Adding label_config_hash to project (#4849) * feat: OPTIC-65: Adding label_config_hash to project * feat: OPTIC-65: Making sure migrations are not looking for future db columns --------- Co-authored-by: Wesley Lima <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6702687565 * fix: LEAP-218: Improve performance of search (#4952) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6615248340 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6615308218 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6627676916 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6627775101 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6628562076 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6628775840 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6630014156 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6659027323 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6659058850 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6668586231 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6694941225 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6694944773 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6694944773 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6696202435 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6696309693 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6696309693 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6698927179 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6698949862 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6699284368 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6706425616 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: juliosgarbi <[email protected]> * fix: LEAP-303: Fix github vulnerabilities (#4989) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6708142134 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6709373192 --------- Co-authored-by: Julio Sgarbi <[email protected]> * fix: LEAP-314: Fix Github vulnerabilities (#4990) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6708195590 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6709547772 --------- Co-authored-by: Julio Sgarbi <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6716306990 * feat: LEAP-58: Proxy URL for Taxonomy if possible (#4918) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6553296978 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6553340386 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6578959553 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6619537357 * fix: LEAP-58: Add project-level presign API to support flat-file taxonomy in storage * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6633835281 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6633857155 * fix paths issue * fix failing pytests * associated frontend updates * introduce some tavern tests for new + existing endpoint * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6660611165 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6661908415 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6661911849 * additional function for freezing time * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6717346168 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6717346168 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725009387 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725215270 * 404 -> 400 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725281641 * fix testcases * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725543628 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725633362 * fix comment * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725767581 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6725940200 --------- Co-authored-by: hlomzik <[email protected]> Co-authored-by: Jo Booth <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> Co-authored-by: MihajloHoma <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6728903032 * fix: LEAP-16: Add validation to contextual scrolling (#4651) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896439033 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896439033 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896445005 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896522955 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896526056 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/5896526056 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6726324989 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6726324989 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6739705827 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: hlomzik <[email protected]> Co-authored-by: hlomzik <[email protected]> * fix: LEAP-58: split label config hash migration, use values_list (#5005) * split label config hash migration, use only() and values() * use values list in annotations migration too * perf: LEAP-32: Improve performance of zooming at Image Segmentation (#4800) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6236329424 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6236954214 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6250287241 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6250465515 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6636615834 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6636615834 * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6636679526 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6649180169 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6649422170 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6650236085 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6650376463 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6651368346 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6651771553 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6651975957 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6656066337 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6732455506 * docs: LSF Update Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6732455506 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6745914975 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6746815838 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6747117484 --------- Co-authored-by: Sergey <[email protected]> Co-authored-by: Sergey <[email protected]> Co-authored-by: robot-ci-heartex <[email protected]> * feat: OPTIC-181: refactoring of soft-delete from Users to OrganizationMembers (#4927) * feat; OPTIC-181: refactoring of soft-delete from Users to OrganizationMembers * Remove is_deleted and rely on deleted_at, add migration * Linter formatting fixes * Update all user.organization queries to filter out deleted user org memberships * Update soft_delete to update user's active_organization * Add organization member mixin for permissions purposes * Move soft-delete api to label studio and move test case to org test file * Move soft delete api endpoint to remove from list endpoint to its own detail view * Linter fixes * Add helptext to migration * Updated object permissions check to account for all write methods (non-safe methods) * Revert accidentally commited change Co-authored-by: bmartel <[email protected]> * Update user context to pass in users instead of request (which sometimes breaks previous context) * Update user org member queries for efficiency * Add comment * Fix issue where deleted user can log back in, add tests validate fix * Add fix to reinstate user via email invite flow * Add release of task locks for soft-delete users * Fix query * Remove deleted soft-delete users endpoint from all_urls * check request in context before attempting to use it * Add serializer context to areas using UserSerializer --------- Co-authored-by: bmartel <[email protected]> Co-authored-by: bmartel <[email protected]> * fix: DIA-643: [FE] max threshold 1 makes it so we cant see results for semantic search (#5001) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6737026105 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6750275945 --------- Co-authored-by: Yousif Yassi <[email protected]> Co-authored-by: yyassi-heartex <[email protected]> * fix: DIA-536: [FE] Show Records As They Are Imported (#4968) * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6644918047 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6670548398 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6772342432 * [submodules] Build static HumanSignal/dm2 Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6772380295 --------- Co-authored-by: Yousif Yassi <[email protected]> Co-authored-by: yyassi-heartex <[email protected]> * ci: Update Feature Flags Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6780631622 * fix: LEAP-345: Fix taxonomy items collapsing when dropdown is closed (#4996) * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6723341121 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6742787001 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6749295046 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6772086757 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6773598644 * [submodules] Build static HumanSignal/label-studio-frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6782858673 --------- Co-authored-by: Julio Sgarbi <[email protected]> Co-authored-by: hlomzik <[email protected]> * feat: LEAP-324: Return builds files to LS monorepo (#5010) * feat: LEAP-324: Return builds files to LS monorepo * ci: Build frontend Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/6771586280 --------- Co-authored-b…
1 parent ec88f57 commit ca09b8f

File tree

2,272 files changed

+269571
-11119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,272 files changed

+269571
-11119
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
!deploy/uwsgi.ini
1212
!deploy/default.conf
1313
!label_studio/**
14+
!web/**
1415
!setup.py
1516
!README.md
1617
!licenses/**

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ __pycache__
77
# docs
88
__generated__
99
\#$
10-
data/
10+
docs/data/
1111
etc/
1212
/src/
1313
yarn-error.log
14+
/dist/
1415

1516
# mobile/builds
1617
db/
1718
logfile
18-
env/
1919
venv/
2020
.venv
2121
.vscode

Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# syntax=docker/dockerfile:1.3
2-
FROM node:18 AS frontend-builder
2+
FROM --platform=${BUILDPLATFORM} node:18 AS frontend-builder
33

44
ENV NPM_CACHE_LOCATION=$HOME/.cache/yarn/v6 \
5-
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
5+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
6+
NX_REJECT_UNKNOWN_LOCAL_CACHE=0
67

7-
WORKDIR /label-studio/label_studio/frontend
8+
WORKDIR /label-studio/web
89

9-
COPY --chown=1001:0 label_studio/frontend .
10+
COPY --chown=1001:0 web .
1011
COPY --chown=1001:0 pyproject.toml /label-studio
1112

1213
# Fix Docker Arm64 Build
@@ -15,7 +16,7 @@ RUN yarn config set network-timeout 1200000 # HTTP timeout used when downloading
1516

1617
RUN --mount=type=cache,target=$NPM_CACHE_LOCATION,uid=1001,gid=0 \
1718
yarn install --frozen-lockfile \
18-
&& yarn run build:production
19+
&& yarn run build
1920

2021
FROM ubuntu:22.04
2122

@@ -71,8 +72,8 @@ RUN --mount=type=cache,target=$POETRY_CACHE_DIR \
7172

7273
COPY --chown=1001:0 . .
7374

74-
RUN rm -rf ./label_studio/frontend
75-
COPY --chown=1001:0 --from=frontend-builder /label-studio/label_studio/frontend/dist ./label_studio/frontend/dist
75+
RUN rm -rf ./label_studio/web
76+
COPY --chown=1001:0 --from=frontend-builder /label-studio/web/dist ./label_studio/web/dist
7677

7778
RUN python3 label_studio/manage.py collectstatic --no-input && \
7879
chown -R 1001:0 $LS_DIR && \

MANIFEST.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
include deploy/requirements.txt
22

33
# react LSF / react-app with dm
4-
recursive-include label_studio/frontend/dist/lsf *
5-
include label_studio/frontend/dist/react-app/*
6-
recursive-include label_studio/frontend/dist/dm/ *
4+
recursive-include web/dist/libs/editor *
5+
include web/dist/apps/labelstudio/*
6+
recursive-include web/dist/libs/datamanager/ *
77

88
# html template files
99
recursive-include label_studio *.html
1010

1111
# exclude node modules
12-
prune label_studio/frontend/node_modules
13-
prune label_studio/frontend/build-tmp
12+
prune web/node_modules
13+
prune web/build-tmp
1414

1515
# annotation templates
1616
recursive-include label_studio/annotation_templates *
@@ -36,4 +36,4 @@ recursive-include label_studio/tests/test_suites *.yml
3636
include label_studio/pytest.ini
3737

3838
# feature flags
39-
include label_studio/feature_flags.json
39+
include label_studio/feature_flags.json

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,20 @@ shell-dev:
1616

1717
# Install modules
1818
frontend-setup:
19-
cd label_studio/frontend && yarn install --frozen-lockfile && yarn run download:all;
19+
cd web && yarn install --frozen-lockfile;
2020

21-
# Fetch DM and LSF
22-
frontend-fetch:
23-
cd label_studio/frontend && yarn run download:all;
21+
# Keep it here for potential rollback
22+
## Fetch DM and LSF
23+
#frontend-fetch:
24+
# cd label_studio/frontend && yarn run download:all;
2425

2526
# Build frontend continuously on files changes
2627
frontend-watch:
27-
cd label_studio/frontend && yarn start
28+
cd web && yarn run watch
2829

2930
# Build production-ready optimized bundle
30-
frontend-build:
31-
cd label_studio/frontend && yarn install --frozen-lockfile && yarn run build:production
31+
frontend-build: frontend-setup
32+
cd web && yarn run build
3233

3334
# Run tests
3435
test:

deploy/default.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ http {
123123
# Frontend react
124124
# Source: https://github.com/heartexlabs/label-studio-frontend
125125
location /label-studio-frontend/ {
126-
alias /label-studio/label_studio/frontend/dist/lsf/;
126+
alias /label-studio/web/dist/libs/editor/;
127127
}
128128

129129
# Data Manager
130130
# Source: https://github.com/heartexlabs/dm2
131131
location /dm/ {
132-
alias /label-studio/label_studio/frontend/dist/dm/;
132+
alias /label-studio/web/dist/libs/datamanager/;
133133
}
134134

135135
# LabelStudio frontend
136136
# Source: https://github.com/heartexlabs/label-studio/blob/HEAD/label_studio/frontend/src
137137
location /react-app/ {
138-
alias /label-studio/label_studio/frontend/dist/react-app/;
138+
alias /label-studio/web/dist/apps/labelstudio/;
139139
}
140140

141141
location /nginx_health {

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
- app
1212
environment:
1313
- LABEL_STUDIO_HOST=${LABEL_STUDIO_HOST:-}
14+
- ENABLE_MONOREPO_ENV=1
1415
# Optional: Specify SSL termination certificate & key
1516
# Just drop your cert.pem and cert.key into folder 'deploy/nginx/certs'
1617
# - NGINX_SSL_CERT=/certs/cert.pem

label_studio/core/settings/base.py

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,12 +476,23 @@
476476
ALLOW_IMPORT_TASKS_WITH_UNKNOWN_EMAILS = get_bool_env('ALLOW_IMPORT_TASKS_WITH_UNKNOWN_EMAILS', default=False)
477477

478478
""" React Libraries: do not forget to change this dir in /etc/nginx/nginx.conf """
479+
480+
ENABLE_MONOREPO_ENV = get_bool_env('ENABLE_MONOREPO_ENV', default=False)
481+
479482
# EDITOR = label-studio-frontend repository
480-
EDITOR_ROOT = os.path.join(BASE_DIR, '../frontend/dist/lsf')
483+
EDITOR_ROOT = (
484+
os.path.join(BASE_DIR, '../../web/dist/libs/editor')
485+
if ENABLE_MONOREPO_ENV
486+
else os.path.join(BASE_DIR, '../../label_studio/frontend/dist/lsf')
487+
)
481488
# DM = data manager (included into FRONTEND due npm building, we need only version.json file from there)
482-
DM_ROOT = os.path.join(BASE_DIR, '../frontend/dist/dm')
489+
DM_ROOT = (
490+
os.path.join(BASE_DIR, '../../web/dist/libs/datamanager')
491+
if ENABLE_MONOREPO_ENV
492+
else os.path.join(BASE_DIR, '../../label_studio/frontend/dist/dm')
493+
)
483494
# FRONTEND = GUI for django backend
484-
REACT_APP_ROOT = os.path.join(BASE_DIR, '../frontend/dist/react-app')
495+
REACT_APP_ROOT = os.path.join(BASE_DIR, '../../web/dist/apps/labelstudio')
485496

486497
# per project settings
487498
BATCH_SIZE = 1000

label_studio/core/utils/common.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,9 @@ def find_editor_files():
213213
editor_dir = settings.EDITOR_ROOT
214214

215215
# find editor files to include in html
216-
editor_js_dir = os.path.join(editor_dir, 'js')
217-
editor_js = [prefix + 'js/' + f for f in os.listdir(editor_js_dir) if f.endswith('.js')]
218-
editor_css_dir = os.path.join(editor_dir, 'css')
219-
editor_css = [prefix + 'css/' + f for f in os.listdir(editor_css_dir) if f.endswith('.css')]
216+
editor_js = [prefix + f for f in os.listdir(editor_dir) if f.endswith('.js')]
217+
editor_css = [prefix + f for f in os.listdir(editor_dir) if f.endswith('.css')]
218+
220219
return {'editor_js': editor_js, 'editor_css': editor_css}
221220

222221

label_studio/frontend/.env.example

Lines changed: 0 additions & 3 deletions
This file was deleted.

label_studio/frontend/.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

label_studio/frontend/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

label_studio/frontend/.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

label_studio/frontend/get-build.js

Lines changed: 0 additions & 169 deletions
This file was deleted.

label_studio/frontend/jest-puppeteer.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)