Repository navigation
Remove django-import-export - #8685
SchrodingersGat merged 14 commits into
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
matmair
left a comment
There was a problem hiding this comment.
Lgtm; might also enable removal of remaining Ajax (backend) functions.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8685 +/- ##
==========================================
- Coverage 85.24% 85.16% -0.08%
==========================================
Files 1175 1170 -5
Lines 52444 51474 -970
Branches 2089 2087 -2
==========================================
- Hits 44704 43839 -865
+ Misses 7241 7135 -106
- Partials 499 500 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…Gat/InvenTree into django-import-export-remove
|
@SchrodingersGat there are quite a lot of now uncovered lines that seem only necesarry for the old import method - are they needed for #8686 or can we clean them up? https://app.codecov.io/gh/inventree/InvenTree/pull/8685/indirect-changes |
* consider INVENTREE_RESTRICT_ABOUT setting (#8717) * Allow backup_value to be specified to the 'getkey' report helper (#8719) * Fix MFA auth flow (#8720) * Re-add html account base Fixes #8690 * fix base template * Badge fix (#8725) - Fix badge rendering for SalesOrderShipment * [UI] Link fix (#8726) - Fixes anchor issues in stock tracking table * Forms fixes (#8722) * Refactor form fields - Allow error message to be passed through via field definition - Return error information to onFormError * Fix debounce issue for text fields * Fix for useForm hook * Badge fix - Fix badge rendering for SalesOrderShipment * Cleanup unit test * Remove unused setting (#8731) * Add separate dialog for 'Ship Order' button (#8734) * Switch to zoneinfo from pytz (#7645) * switch to zoneinfo from pytz * fix lookup * fix assert * fix another round of assertions * New Crowdin translations by GitHub Action (#8683) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * API error handling (#8739) * API error handling - Add error handlers to various API calls * Fix return type * Remove django-import-export (#8685) * Remove django-import-export requirement * Update settings.py * Clean up admin files * Remove much of the old BOM exporter framework * Add note for future self * Remove dead unit test files * Remove defunct AjaxView classes * Remove InvenTreeRoleMixin * Update docs for data import * Export docs * Factor out helper (#8744) * facour out helper * fix import path * MFA add better logging (#8745) * add better logging * use structlog * Bump the dependencies group with 3 updates (#8748) Bumps the dependencies group with 3 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact), [codecov/codecov-action](https://github.com/codecov/codecov-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/upload-artifact` from 4.4.3 to 4.5.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882...6f51ac03b9356f520e9adb1b1b7802705f340c2b) Updates `codecov/codecov-action` from 5.1.1 to 5.1.2 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/7f8b4b4bde536c465e797be725718b88c5d95e0e...1e68e06f1dbfde0e4cefc87efeba9e4643565303) Updates `github/codeql-action` from 3.27.9 to 3.28.0 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/df409f7d9260372bd5f19e5b04e83cb3c43714ae...48ab28a6f5dbc2a99bf1e0131198dd8f1df78169) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Handle error when loading icon pack (#8753) * Handle error when loading icon pack * Update * Fix REST registration endpoint (#8738) * Re-add html account base Fixes #8690 * fix base template * override dj-rest-auth pattern to fix fixed token model reference * pin req * fix urls.py * move definition out to separate file * fix possible issues where email is not enabled but UI shows that registration is enabled * fix import order * fix token recovery * make sure registration redirects * fix name change * fix import name * adjust description * cleanup * bum api version * add test for registration * add test for registration requirements * Bump jinja2 from 3.1.4 to 3.1.5 in /src/backend (#8751) * Bump jinja2 from 3.1.4 to 3.1.5 in /src/backend Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix req --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Update qc_checks.yaml (#8759) * Refactor fix formatting exclusion (#8746) * fix ruff exclusions * aut-format * Fix docstrings * more fixes * ignore error(s) * fix imports * adjust descriptions for build * Fix typo (#8757) - registraton -> registration * Zero stock fix (#8766) * Change backend validation - Allow stock adjustments with zero quantity * Frontend changes * Fix default value for SESSION_COOKIE_SECURE (#8767) - Default value was previously 'True' - Documentation indicated that it was 'False' - Value in config_template.yaml was 'False' (but commented out) * Turn off debug by default (#8743) * turn off debug by default * fix log level / debug settings for workflows * fix typo * DB CI Checks (#8773) * Update test databases in CI * Add new target * split up python updates and assign to @matmair for manual fixes where necessary (#8772) * Bump jinja2 from 3.1.4 to 3.1.5 in /docs (#8771) * Bump jinja2 from 3.1.4 to 3.1.5 in /docs Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * fix req --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * [PUI] Set password (#8770) * Add <ChangePassword> page * Rename Set-Password to ResetPassword * Add unit testing * Ensure user is properly logged into page * Update playwright tests * Small tweaks * [Docs] Update FAQ (#8777) * Update FAQ * Add links to FAQ * Extra info * Extend documentation for debug options * New Crowdin translations by GitHub Action (#8752) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Barcode scanning (#8732) * Implement new "general purpose" barcode scan dialog - Separated widgets for camera / keyboard / wedge scanner - UI / UX improvements * Handle scan results * Fix missing imports * Handle successful global scan * Handle error when linking barcode * Backend fix for InvenTreeInternalBarcodePlugin * Error handling * Working on scanner input * Refactor scan page * Callback from scanner input * Refactoring <Scan> page * Allow InvenTreeTable to be used with supplied data * Refactor optionalparams * Refactoring table of scan results * Implement callbacks * Navigate from barcode table * Fix delete callback * Refactor callbacks * Refactor idAccessor - Access as part of useTable hook - No longer hard-coded to 'pk' * prevent duplicate scans * Fix for deleting items from table * Cleanup * Bump API version * Adjust playwright tests * Update playwright tests * Update barcode screenshots * Fix links * Add quick links to barcode formats * Updated screenshots * Fix for BuildLineSubTable * Specify idAccessor values * Clear barcode input after timeout period * Move items * Fix for playwright test * Remove debug print * Additional error ignores * Cleanup scanner input - Simplify - Prevent errant keycodes from closing the scanner dialog * Playwright test adjustments * Add scan to action menu (#8781) * small style fixes * refactor: split scanning and dialog logic * feat: Add modal and quick action to scan a barcode from anywhere * [Refactor] Custom states (#8438) * Enhancements for "custom state" form - More intuitive form actions * Improve back-end validation * Improve table rendering * Fix lookup for useStatusCodes * Fix status display for SockDetail page * Fix SalesOrder status display * Refactor get_custom_classes - Add StatusCode.custom_values method * Fix for status table filters * Cleanup (and note to self) * Include custom state values in specific API endpoints * Add serializer class definition * Use same serializer for AllStatusView * Fix API to match existing frontend type StatusCodeListInterface * Enable filtering by reference status type * Add option to duplicate an existing custom state * Improved validation for the InvenTreeCustomUserStateModel class * Code cleanup * Fix default value in StockOperationsRow * Use custom status values in stock operations * Allow custom values * Fix migration * Bump API version * Fix filtering of stock items by "status" * Enhance status filter for orders * Fix status code rendering * Build Order API filter * Update playwright tests for build filters * Additional playwright tests for stock table filters * Add 'custom' attribute * Fix unit tests * Add custom state field validation * Implement StatusCodeMixin for setting status code values * Clear out 'custom key' if the base key does not match * Updated playwright testing * Remove timeout * Refactor detail pages which display status * Update old migrations - add field validator * Remove dead code * Simplify API query filtering * Revert "Simplify API query filtering" This reverts commit 06c858ae7ce1feab5af0f91993b42ba8a81e588a. * Fix save method * Unit test fixes * Fix for ReturnOrderLineItem * Reorganize code * Adjust unit test * Url refactor (#8784) * Cleanup config template * Small refactor - Fix for frontend_base_url setting * Revert base url * Fix reverse URL lookup * [UI] Permission Enhancements (#8785) * Update page permissions - Add permission check to <InstanceDetail> - HIde breadcrumbs and tree for part - Hide breadcrumbs and tree for stock * Additional permissions checks * Remove RELEASE.md file (#8788) * Remove old script for calculating translation stats (#8787) * Remove old script for calculating translation stats * Update tasks.py * Adjust unit test call * [Setup] Support X-Forwarded-Proto header (#8790) * Remove use_x_forwarded_port setting - As per the docs, this is ignored in favour of use_x_forwarded_host - So, is not being used anyway * Add note on x_forwarded_host option * Add warning message if SITE_URL not provided * Add support for SECURE_PROXY_SSL_HEADER * Update configuration template file * Update SITE_URL docs * Remove line * Re-add use_x_forwarded_port * Docs tweak * Improve wording * Fix broken link * Caddyfile documentation (#8798) * basic mixin file * Add basic check for model type support * Enhanced documentation for Caddyfile * Additional documentation around proxy server * Remove code from other PR * Add docs for secret_key (#8801) * Add documentation on transferring media files (#8803) * Add FAQ on cookie setting change (#8805) * Update .env file (#8799) * Update .env file - No functional changes - Improved file comments * Update .env Improved comment * Fix FAQ typo (#8809) * Allow barcode linking for stock location (#8802) * Reintroduce FAQ entry (#8812) * Fix package install in envs using python lower than 3.12 on debian like OSs (#8793) * do not install with uv for now - fixes #8789 #8742 #8495 #8494 * Ensure errors are raised if install / update fails * New Crowdin translations by GitHub Action (#8786) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Docs remove old customize options (#8817) * remove "hide_pui_banner" * clean up more * Refactor to use structlog (#8747) * use structlog instead of normal logging * more fixes * more fixes * fix test asserts * use static name * fix logger * fix assert * fix asserts * Remove admin shell (#8816) * Remove old PanelMixin class (#8828) - Custom panels for legacy UI - No longer needed * New Crowdin translations by GitHub Action (#8826) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix for buggy Caddyfile (#8830) * Navigate to index when deleting a company (#8831) * remove structlog from internal paths (#8836) * Docker fix (#8835) * Fix server command in Dockerfile * Ensure invoke is installed into the venv * Run extra check in docker build step * Improve documentation * Intercept ModuleNotFoundError - Clear error message * Docs updates * Add extra check to dev docker build * Cleanup tasks.py * Prevent double activation of venv * Change order of operations --------- Co-authored-by: Matthias Mair <[email protected]> * Tasks cleanup (#8838) * Pretty print and typo fix * Improved output * Improve logging * [Documentation] Remove package credits (#8811) * Remove hard-coded credits from docs - Extract *actual* package credits - Auto-build into docs * Include URLs when generating python license data * Update readthedocs process * Better URL extraction * Adjust build process for RTD * Spelling fixes * Install node and yarn * Command fix * Improved library sorting * Improved error message * Remove credits.md * Cleanup * Further cleanup * Tweak playwright test * Handle uncaught exception in fetchIcons * Fix for CORS settings in playwright testing * Enhance login check * Fix for barcode test --------- Co-authored-by: Matthias Mair <[email protected]> * Fix for test results in stock item report context (#8843) - Allow for "cascade" installed items - i.e. support multi-level installed items * Order creation fix (#8846) * Bug fix for PurchaseOrder - Correctly record the user who created a PO - Code refactoring * Updated unit tests * Fix for notification (#8840) label -> title * Ensure error is raised (#8849) * [UI] API Context (#8851) * Create ApiContext provider * Utilize new context * Remove api from global context * Refactor <InvenTreeTable> - No longer need hard-coded API constant * Refactor useInstance hook * Refactoring - QueryCountDatshboardWidget - NotesEditor - RenderInstance * Refactor multiple tables * Fix typos * Refactor useFilters hook - Allow plugins to use this hook! * Further refactoring * Refactor API forms * Cleanup context routing * Fix provision order * Created by (#8848) * Add 'created_by' field to order API endpoints * Add 'created_by' filter * Allow ordering by 'created_by' field * Update UI tables - Show "Created By" column - Column sorting - Column filtering * Cleanup order detail pages * Bump API version * Refactor table filters * Fix BuildOrderTable filters * Datamatrix (#8853) * Implement datamatrix barcode generation * Update documentation * Update package requirements * Add unit test * Raise error on empty barcode data * Update docs/hooks.py * Simplify translated string (#8860) * Updated docstring (#8868) * Adjust StockItem form (#8869) - Auto-set expiry date * Forms refactor (#8876) - Use dayjs for cleaner code * New Crowdin translations by GitHub Action (#8857) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add Serbian to LanguageContext.tsx (#8880) * Add Expiry Date on Receive Line Item (#8867) * Add expiry on line item receive from PO * add backend test * reset pre-commit * increment inventree api version * use None as default expiry date * check global setting STOCK_ENABLE_EXPIRY * check for default expiry in line item receive * use dayjs --------- Co-authored-by: Matthias Mair <[email protected]> * [UI] Reactive Details Columns (#8883) * Adapt details column count - Based on element width * Pin minimum size of thumbnail * Cleaner implementation * Revert again - Use element size, not screen size * Allow null value for expiry_date field (#8886) * Allow null value for expiry_date field * Bump API version * Bump the dependencies group with 4 updates (#8889) Bumps the dependencies group with 4 updates: [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action), [actions/upload-artifact](https://github.com/actions/upload-artifact), [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `docker/setup-qemu-action` from 3.2.0 to 3.3.0 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/49b3bc8e6bdd4a60e6116a5414239cba5943d3cf...53851d14592bedcffcf25ea515637cff71ef929a) Updates `actions/upload-artifact` from 4.5.0 to 4.6.0 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/6f51ac03b9356f520e9adb1b1b7802705f340c2b...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08) Updates `stefanzweifel/git-auto-commit-action` from 5.0.1 to 5.1.0 - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/8621497c8c39c72f3e2a999a26b4ca1b5058a842...e348103e9026cc0eee72ae06630dbe30c8bf7a79) Updates `github/codeql-action` from 3.28.0 to 3.28.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/48ab28a6f5dbc2a99bf1e0131198dd8f1df78169...b6a472f63d85b9c78a3ac5e89422239fc15e9b3c) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: stefanzweifel/git-auto-commit-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [UI] Responsiveness Improvements (#8885) * Shorten string in page title * Style fixes * Adjust cell width props * Refactor <PageDetail> component - Improve responsiveness * Simplify <ItemDetailsGrid /> * Refactor <DetailsImage> * Slight tweak to <DetailsTable> (#8890) * Slight tweak to <DetailsTable> * Responsive layout for user settings * Make menu links responsive * Update <FactCollection /> * Update part pricing panels * Upload timeout (#8895) * Increase upload timeout for attachments * Increase default API timeout - To account for distant connections * Use longer timeout when uploading files * Debug for RTD testing * Adjust commit extraction * Cleanup debug output * Include more vars in output * Move debug output to top of file * Add useful link * Allow CORS for /plugin/ URLs (#8898) - Ref: https://github.com/inventree/inventree-order-history/issues/17#issuecomment-2591275055 * fix(plugin): Ensure plugins are only installed if not deactivated (#8893) Co-authored-by: Oliver <[email protected]> * refactor: remove preference-view (#8894) * remove preference-view * bump api --------- Co-authored-by: Oliver <[email protected]> * feat: Add setting for controling console logs (#8903) * Add setting for controling console logs * respect console_log setting * use var for defualt handler * chore: bump pre commit (#8904) * bump pre-commit * auto-fixes * ignore error * fix a few more issues * fix pattern * chore(backend): bump deps (#8905) * bump backend reqs * raq down cryptography * fix req * bump api version * New Crowdin translations by GitHub Action (#8882) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(frontend): bump frontend deps (#8906) * bump codemirror * bump mantine and deps * a few small bumps * lover react-grid-layout * lower lingui * lower react-window * revert versions down * fix resolution * fix resolution * do not compile on normal translation/compilation to not change the source code (#8912) * Cleanup UserManagementPanel (#8914) - Split items using <Accordion /> * Pass locale information through to plugins (#8917) * Reintroduce setting for project codes (#8920) * Re-introducde old setting * Optionally hide project code column * Control visibility of table filters * Hide fields from forms * Build start date (#8915) * Add 'start_date' to Build model * Add to serializer * Add filtering and ordering * Update BuildOrderTable - Add new column - Add new filtering options * Add sanity check for start_date * Add 'start_date' field to BuildOrder form * Update docs * Bump API version * Tweak unit testing * Display 'start_date' on build page * Refactor UI tests * Fix for 'date' field in forms * Add additional unit tests * Fix helper func * Remove debug msg * Update SalesOrderAllocationTable (#8911) * Update SalesOrderAllocationTable - Add 'description' column for part - Add 'IPN' column for part * Fix unit test * Import fix (#8924) * Exclude "tags" fields from data import - May reintroduce at a later date - Currently, no support for editing tags in frontend * Refactor * Include location detail in build output table (#8923) * Include location detail in build output table * Raise validation error if trying to split an in-production item * Fix docstring for Build model (#8928) * Code cleanup (#8931) - Remove TemplatePrintBase class - Not referenced in code * Bump crowdin/github-action from 2.5.0 to 2.5.1 in the dependencies group (#8930) Bumps the dependencies group with 1 update: [crowdin/github-action](https://github.com/crowdin/github-action). Updates `crowdin/github-action` from 2.5.0 to 2.5.1 - [Release notes](https://github.com/crowdin/github-action/releases) - [Commits](https://github.com/crowdin/github-action/compare/8dfaf9c206381653e3767e3cb5ea5f08b45f02bf...d1632879d4d4da358f2d040f79fa094571c9a649) --- updated-dependencies: - dependency-name: crowdin/github-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * New Crowdin translations by GitHub Action (#8916) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Plugin reload fix (#8922) * Add option to disable auto-reload of dev server * Force plugin reload * Add unit testing for plugin reload - Requires modifications to registry.py * Bump vite from 6.0.7 to 6.0.9 in /src/frontend (#8934) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.7 to 6.0.9. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.0.9/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Cleanup dead code (#8939) - Used for old UI plugins - No longer referenced * Build category filter (#8940) * Add 'category' filter to BuildList - Allows filtering by part category * Add filter element to build table * Bump API version * Bump mkdocs-material from 9.5.49 to 9.5.50 in /docs in the dependencies group across 1 directory (#8946) * Bump mkdocs-material Bumps the dependencies group with 1 update in the /docs directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material). Updates `mkdocs-material` from 9.5.49 to 9.5.50 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.49...9.5.50) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix req --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Notification cleanup (#8945) - Prevent spamming of duplicate notifications * Docs updates: (#8951) * Docs updates: - Fix error related to key access - Fix rendering of settings tables - Add setting key as mouseover text * Revert config * Add check for minimum invoke version (#8952) * Bump undici from 5.28.4 to 5.28.5 in /src/frontend (#8935) Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Remove theme doc (#8958) * refactor(backend): remove contrib.messages (#8959) * remove django.contrib.messages * re-add messages as admin needs it * [Refactoring] Data Export (#8950) * Allow extraction of "child" fields when exporting serialized data * Update StockItemSerializer * Add missing default attribute * Cleanup export for BuildItemSerializer * Refactor BuildLineSerializer * Refactor BomItemSerializer * Auto-exclude tags from export (for now) * Cleanup SupplierPartSerializer * Updated unit test * Cleanup * Bump API version * Reduce serializer complexity * Refactor StockLocation API endpoints * Cleanup API * Enhanced docstrings * [Enhancement] Request cache (#8956) * Middleware for caching against request * Create helpers for setting / getting session cache * Settings objects check session cache first * Ensure setting is removed from session cache when updated * Cleaner implementation * Fix cache cleanup - ONLY allow access if there is a request object - Ensure cache is deleted once session is over * Skip plugin registry reload check * feat(backend): Improve error with missing manifest (#8957) * package tag results better * Add docs for missing frontend * better error indication Fixes #8875 * fix test assertations * fix test exception * group setup admin stuff * add operations supgourp * add basic structure * move error code * fix link * fix grammar issues * SalesOrder migration unit test (#8814) * Unit test for SalesOrder data migration * make field checks more stable * Adjust migration strategy * Fix for data migration * Simplify login test for playwright --------- Co-authored-by: Matthias Mair <[email protected]> * Fix for 'issued_by' field on BuildDetail page (#8962) * feat(backend): improve tag docs (#8960) * add admindocs * add tag export command * add filter export * switch to yaml * upload meta info to artifacts * format workflow file * fix creation command * keep all artifacts in schema repo * fix namespace * use one command for export * include tags and filters in docs * change default filename * fix call * fix itteration syntax * clean up rendering * fix formatting * simple escape * Bump the dependencies group with 6 updates (#8968) Bumps the dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.1.2` | `5.3.1` | | [github/codeql-action](https://github.com/github/codeql-action) | `3.28.1` | `3.28.5` | | [anchore/sbom-action](https://github.com/anchore/sbom-action) | `0.17.9` | `0.18.0` | | [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) | `2.1.0` | `2.2.0` | | [actions/stale](https://github.com/actions/stale) | `9.0.0` | `9.1.0` | | [crowdin/github-action](https://github.com/crowdin/github-action) | `2.5.1` | `2.5.2` | Updates `codecov/codecov-action` from 5.1.2 to 5.3.1 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/1e68e06f1dbfde0e4cefc87efeba9e4643565303...13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3) Updates `github/codeql-action` from 3.28.1 to 3.28.5 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/b6a472f63d85b9c78a3ac5e89422239fc15e9b3c...f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4) Updates `anchore/sbom-action` from 0.17.9 to 0.18.0 - [Release notes](https://github.com/anchore/sbom-action/releases) - [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md) - [Commits](https://github.com/anchore/sbom-action/compare/df80a981bc6edbc4e220a492d3cbe9f5547a6e75...f325610c9f50a54015d37c8d16cb3b0e2c8f4de0) Updates `actions/attest-build-provenance` from 2.1.0 to 2.2.0 - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/7668571508540a607bdfd90a87a560489fe372eb...520d128f165991a6c774bcb264f323e3d70747f4) Updates `actions/stale` from 9.0.0 to 9.1.0 - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/28ca1036281a5e5922ead5184a1bbf96e5fc984e...5bef64f19d7facfb25b37b414482c7164d639639) Updates `crowdin/github-action` from 2.5.1 to 2.5.2 - [Release notes](https://github.com/crowdin/github-action/releases) - [Commits](https://github.com/crowdin/github-action/compare/d1632879d4d4da358f2d040f79fa094571c9a649...b811e495831e49ff516e7c801f7c5546879b9ee7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: anchore/sbom-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: actions/attest-build-provenance dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: crowdin/github-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix user role caching issues (#8973) * Fix user role caching issues * Handle null user case * Fix typo * More spelling fixes * [UI] Part pricing breaks (#8975) * Un-hide pricing panels * Change positioning * Enhanced playwrigh testing * Fix for chart rendering (#8981) - Graphs like numbers, not strings, I guess... * Order start dates (#8966) * Add 'start_date' field to orders - PurchaseOrder - SalesOrder - ReturnOrder * Add serializer field * Add API filters * Add table columns * Add fields to forms * Table filters * Add validation check * Refactor BuildOrderTable * Update detail page * Bump API version * Allow sorting by start_date * Fix for purchase order field * Update detail pages * Update playwright tests * Updated playwright tests * Documentation updates * Updated playwright tests * Fix for gitignore (#8987) * fix(backend): api version style (#8989) * fix api version style * set base path * fix(backend):ensure only the intended files are pushed (#8991) * fix(contrib): Invoke Path Issues (#8979) * fix Invoke Path Issues Fixes #8827 * quick exit for docker envs * also exclude rtd enviroment * implement suggested fix for devcontainer * always install * feat: Re-Implement customize options (#8969) * Extend api to also include customize functions * [FR] Re-Implement customize options Fixes #8818 * re-implement header * add splashscreen customisation * make simpler * fix rendering * bump api * refactor(backend): reduce tags (#8932) * reduce tags more * remove splashscreen usage * fix test * reintroduce inventree_logo * re-add splashscreen fnct * re-add needed tag * re-add date renderer * simplify away user specific stuff - there are no users in reports * and simplify a bit more * increase coverage * fix format * and more coverage * fix render_date * more coverage * feat: increase coverage (#8897) * remove preference-view * bump api * move tag test to seperate file * extend tests * make tags more robust * Revert "remove preference-view" This reverts commit b95aaaff3ce411adb96c11681259b559bf8a7e40. * Revert "bump api" This reverts commit 8fc29186cfdec9e1537f38b8052ae51d6555be4b. * more coverage * re-enable test * even more tests * just ignore it * moa test * crude debugging * more debugging * adapt test * reduce debugging * fix test_part_image * remove TemplatePrintBase * fix style * fix code * fix check * ensure none exsisting image to not cause issue * fix missing template tag (#9000) * [CI] Playwright testing improvements (#8985) * Run playwright tests in headless mode * Add navigation helper * Validate files * test fix * Remove 'headless' * Fixes * Fix for 'navigate' helper * Further updates * Report print update (#9002) * Refactor label printing - Move "print" method to template - Allows for internal calls to printing (e.g. plugins) * Generate dummy request - Required to trick WeasyPrint * Refactor reportprinting * Add timeout for unit test * More unit tests * Tweak unit test * Updated comment * Login form tweaks (#9005) * Login form tweaks - Improve consistency - Add tooltips * Cleanup ServerInfo list * Slight layout tweaks * [UI] Report ouputs (#9003) * Typo fixes * Display table of generated reports * Display generated label outputs * Translation * Allow sorting of API Endpoints * Add template detail to output serializers * Add extra table column * [Bug] mport fix (#9008) * Better handling of request object in serializers * Pass request object through - Required to extract user information * Strip column header during import - Prevent mismatch due to whitespace * Fix for "minimum stock" field * Fix for part serializer * Extract default values on import * Remove outdated migration message * Bump API version * Tweak for data import (#9010) - Do not override specified default values * Clean up deprecated module removed in python 3.13 (#9004) * Remove deprecated module removed in python 3.13 * Update validate to use helper function * Add translation wrapper to error message * New Crowdin translations by GitHub Action (#9007) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Report bugfix (#9013) - Ensure default label templates exist - Ensure default report templates exist * Debounce `checkLoginState` to prevent unexpected redirection during testing (#9012) * Bump vite from 5.4.7 to 6.0.11 in /src/frontend (#8938) Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.7 to 6.0.11. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.0.11/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Bump mkdocs-material from 9.5.50 to 9.6.1 in /docs in the dependencies group across 1 directory (#9001) * Bump mkdocs-material Bumps the dependencies group with 1 update in the /docs directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material). Updates `mkdocs-material` from 9.5.50 to 9.6.1 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.50...9.6.1) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix req --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Cleanup BomItemSerializer (#9017) - Consolidate functions - Code cleanup * [Pricing] Add option to convert received items currency (#8970) * Add new global setting * Convert to base currency on receipt * Fix total price rendering in PO table * Fix for tasks.py * Update .gitignore - Ignore auto-generated files * Update docs Improved documentation for pricing/currency support * Updates * Fix caching for default currency - Now managed better by session caching * Add unit test for new feature * Playwright test fixes * Validate copying of media files * Validate media files * Adjust playwright setup * Allow multiple attempts to fetch release information * Tweak unit tests * Revert changes to .gitignore file - Just trying stuff at this point * Add debug msg * Try hard-coded paths * Remove debug prints * Abs path for database * More debug * Fix typos * Revert change to db name * Remove debug statements (again) * Cleanup playwright tests * More test tweaks --------- Co-authored-by: Matthias Mair <[email protected]> * Support for searching sales order shipments (#8992) Co-authored-by: Oliver <[email protected]> * Bump the dependencies group with 2 updates (#9023) Bumps the dependencies group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [github/codeql-action](https://github.com/github/codeql-action). Updates `actions/setup-python` from 5.3.0 to 5.4.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/0b93645e9fea7318ecaed2b359559ac225c90a2b...42375524e23c412d93fb67b49958b491fce71c38) Updates `github/codeql-action` from 3.28.5 to 3.28.8 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4...dd746615b3b9d728a6a37ca2045b68ca76d4841a) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Extend plugin docs (#9025) * Enhance creation of default settings (#9028) - Remove cache requirement - Replaces https://github.com/inventree/InvenTree/pull/9021 * Tweak playwright tests (#9027) * bump python deps (#9032) * lower runtime to try fix dependabot resolution (#9031) * lower runtime to fix dependabot resolution * Revert "split up python updates and assign to @matmair for manual fixes where necessary (#8772)" This reverts commit 04d7a96ddea647fbc53bb33f06aa62b3809a4b5c. * feat(frontend): Hide empty args in about dialog (#9033) * clean up version info text * feat(frontend): Hide empty args in about dialog * simplify * simplify more * chore(contrib): include pkg source in pkg logging (#9035) * fix(backend): wrong path for version was used * chore(contrib): Include Pkg source in pkg logging * Fix typos in settings.py (#9048) * [Setup] Enhance version information output (#9049) * Improve output of 'invoke version' - Display backup path - Handle undefined paths without error * Provide colorized output * Bump sigstore/cosign-installer in the dependencies group (#9034) Bumps the dependencies group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer). Updates `sigstore/cosign-installer` from 3.7.0 to 3.8.0 - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](https://github.com/sigstore/cosign-installer/compare/dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da...c56c2d3e59e4281cc41dea2217323ba5694b171e) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update azure testing settings (#8955) * Set up CI with Azure Pipelines [skip ci] * update used tasks and python * Update test_stats.yml for Azure Pipelines * fix install command * fix uv system setting * Update test_stats.yml for Azure Pipelines * Update test_stats.yml for Azure Pipelines * Update test_stats.yml for Azure Pipelines * ignore test * remove old test * remove comments * update triggers * Update README.md * fix style * Revert "ignore test" This reverts commit f96f8caf4e3d269324755298e78f147bc0679741. * remove dead link to credits * ignore azure issues * fix(contrib): move imports to ensure task startup without django is possible (#9057) * Bump the dependencies group with 3 updates (#9059) Bumps the dependencies group with 3 updates: [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `docker/setup-qemu-action` from 3.3.0 to 3.4.0 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/53851d14592bedcffcf25ea515637cff71ef929a...4574d27a4764455b42196d70a065bc6853246a25) Updates `docker/setup-buildx-action` from 3.8.0 to 3.9.0 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/6524bf65af31da8d45b59e8c27de4bd072b392f5...f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca) Updates `github/codeql-action` from 3.28.8 to 3.28.9 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/dd746615b3b9d728a6a37ca2045b68ca76d4841a...9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(backend): determine active branch on startup (#9056) * fix(backend): Determine active branch on startup * add more warnings and document them * extend expected errors * fix typos * [PUI] Make breadcrumbs adjustable (#8027) * adjust breadcrumbs to include current item * Add last breacdrumb to various pages * Add user settings for last breadcrumb * add breacrumbs to company subpages * use getDetailUrl instead * set default * change description * fix styles * fix merge * rename to camelCase --------- Co-authored-by: Oliver <[email protected]> * chore(backend): bump deps (#9055) * New Crowdin translations by GitHub Action (#9015) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix for data import (#9060) - Prevent shadow overwrite of default_values dict - Remove dead code * Bump cryptography from 43.0.3 to 44.0.1 in /src/backend (#9064) * Bump cryptography from 43.0.3 to 44.0.1 in /src/backend Bumps [cryptography](https://github.com/pyca/cryptography) from 43.0.3 to 44.0.1. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/43.0.3...44.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * fix req * set upper limit * use highest version available on bullseye * remove lower limit --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Bug fix for receiving line item event (#9071) - Use StockItem ID correctly - Provide line ID * [UI] Settings to control editing of "completed" orders (#9070) * [UI] Settings to contrl editing of "completed" orders Fixes #8976 * only check for completness if locking is enabled * also lock lines * allow editing of status to get an order "free" again * [UI] Test Result Table Tweak (#9075) Control row expansion property for StockItemTestResultTable * Adds "is_variant" filter for Part API (#9077) * Adds "is_variant" filter for Part API * Bump API version * Setting filter (#9076) * Expose "model_filters" to settings API * Enable settings filters in the front-end * Fix return types * Bump API version * New Crowdin translations by GitHub Action (#9069) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix dependabot version detection (#9080) * Revert "lower runtime to try fix dependabot resolution (#9031)" This reverts commit 72c077c861cb0a1a0841e489074d9d1af6f30cf6. * this should temporarly fix dependabot * Remove dead code related to BOM import (#9079) * Remove dead code related to BOM import - Now handled by generic import tool - Replaces https://github.com/inventree/InvenTree/pull/8756 * Bump API version * Docker postgres fix (#9041) * Update docker image - Move from alpine 3.19 to alpine 3.21 - Move from postgres13_client to postgres17_client * Update docker-compose file - Move from postgres:13 to postgres:16 - Move from redis:7.0 to redis:7-alpine * Update docs * Update docker docs * Separate Dockerfile for devcontainer - Debian based (python3.11-bookworm) - Install essential system packages * Instal postgres client * Further devcontainer updates - Bump postgresql image from 13 to 15 - Store psql data in the dev/psql directory - Install required frontend packages * Use --host mode for frontend server * Tweak devcontainer docs * Bump pre commit config file * Revert "Bump pre commit config file" This reverts commit bbfd875ac8ea682bb7e454e5ea349943a887b6f4. * Bump @octokit/request-error from 5.1.0 to 5.1.1 in /src/frontend (#9082) Bumps [@octokit/request-error](https://github.com/octokit/request-error.js) from 5.1.0 to 5.1.1. - [Release notes](https://github.com/octokit/request-error.js/releases) - [Commits](https://github.com/octokit/request-error.js/compare/v5.1.0...v5.1.1) --- updated-dependencies: - dependency-name: "@octokit/request-error" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /src/frontend (#9084) Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/octokit/endpoint.js/releases) - [Commits](https://github.com/octokit/endpoint.js/compare/v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: "@octokit/endpoint" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump dompurify from 3.1.7 to 3.2.4 in /src/frontend (#9083) Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.7 to 3.2.4. - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/3.1.7...3.2.4) --- updated-dependencies: - dependency-name: dompurify dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(backend): increase coverage (#9039) * move version tests * factor out read_license_file * add testing for license file * ignore special case when we create the schema * extent no found api tests * extend info view tests * try fixing test? * fix? * test user create api * measure impact of removing bom import * remove dead code * Revert "measure impact of removing bom import" This reverts commit bb31db05e3dedb09871c3fa0a46d34ce959a309e. * remove dead code * remove plugin tags that were made for CUI * add testing for filters * add test for config delete * add more api tests * adjust tests * fix test * use superuser * adapt error code * Add test for https://github.com/inventree/InvenTree/pull/9077 * add mixin_available mixin * make check_reload more observable * test check_reload too * test clean_barcode * reset after testing * extend datamatrix testing * debug print * fix assertation * Bump crowdin/github-action from 2.5.2 to 2.6.0 in the dependencies group (#9090) Bumps the dependencies group with 1 update: [crowdin/github-action](https://github.com/crowdin/github-action). Updates `crowdin/github-action` from 2.5.2 to 2.6.0 - [Release notes](https://github.com/crowdin/github-action/releases) - [Commits](https://github.com/crowdin/github-action/compare/b811e495831e49ff516e7c801f7c5546879b9ee7...a828bb1ae32c23bef9a6d25fd51c7feecf7b5f24) --- updated-dependencies: - dependency-name: crowdin/github-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [dev] Devcontainer tweak (#9092) * Remove blocking steps from devcontainer setup * Ensure postCreateCommand.sh fails * Mount postgres db to separate dir - Avoid ownership issues of 'dev' dir * Bump devcontainer docs * Remove 'is_ajax' helper (#9095) - Old, dead code - No longer needed * PartThumbTable updates (#9094) - Change columns based on viewport width - Use debounced value - Enable pagination - Fix pagination on backend API * chore(backend): bump devtools (#9088) * chore(backend):Bump devtools * fix typos that are now detected * feat(backend): Add instance id for linked data plugins (#9087) * feat(backend): Add instance id for linked data plugins * add to settings ui * fix ref name * add test * fix default * remove wrong key * fix serializer * fix patching * Devcontainer updates (#9101) * Update docker image - Required changes to pass display through from host OS * Update docs * Update devcontainer docs * Bump @octokit/plugin-paginate-rest from 9.2.1 to 9.2.2 in /src/frontend (#9102) Bumps [@octokit/plugin-paginate-rest](https://github.com/octokit/plugin-paginate-rest.js) from 9.2.1 to 9.2.2. - [Release notes](https://github.com/octokit/plugin-paginate-rest.js/releases) - [Commits](https://github.com/octokit/plugin-paginate-rest.js/compare/v9.2.1...v9.2.2) --- updated-dependencies: - dependency-name: "@octokit/plugin-paginate-rest" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updates to admin interface (#9103) * Use postgres for playwright testing (#9104) * Use postgres for playwright testing - Should reduce issues with parallel tests * Fix deps * Harden playwright tests * Bump @octokit/request from 8.4.0 to 8.4.1 in /src/frontend (#9105) Bumps [@octokit/request](https://github.com/octokit/request.js) from 8.4.0 to 8.4.1. - [Release notes](https://github.com/octokit/request.js/releases) - [Commits](https://github.com/octokit/request.js/compare/v8.4.0...v8.4.1) --- updated-dependencies: - dependency-name: "@octokit/request" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Logic fix for label printing plugin (#9117) * [Docker] Alpine image fix (#9118) * Revert to alpine3:20 / postgres:16 * Remove old hack - No longer needed as we are using python 3.11 * Update package requirements for devcontainer Also fixes some docker warnings from the alpine Dockerfile * Specify SITE_URL * Reduce log output during docker image testing * [UI] Pricing chart fixes (#9119) * Fix default values for pricing override * Fix broken calculation for sale pricing - Was previously excluding COMPLETED orders * Fix for PricingOverviewPanel * Fix for InvenTreeMoneySerializer - Numbers should be represented as numbers! * Front-end wrangling too * Fix unit test * Ignore inactive parts (#9125) * Barcode validation fix (#9127) * Fix logic for adding items to SalesOrder * Same thing for purchase orders * Update serializers.py Revert typo fix - Otherwise, we need to do an API bump and the PR can't be back-ported! * Bump the dependencies group across 1 directory with 9 updates (#9134) use * Bump the dependencies group across 1 directory with 9 updates Bumps the dependencies group with 9 updates in the /src/backend directory: | Package | From | To | | --- | --- | --- | | [coverage[toml]](https://github.com/nedbat/coveragepy) | `7.6.11` | `7.6.12` | | [dj-rest-auth](https://github.com/iMerica/dj-rest-auth) | `7.0.0` | `7.0.1` | | [django-allauth-2fa](https://github.com/valohai/django-allauth-2fa) | `0.11.1` | `0.12.0` | | [django-filter](https://github.com/carltongibson/django-filter) | `24.3` | `25.1` | | [django-money](https://github.com/django-money/django-money) | `3.2.0` | `3.5.3` | | [djangorestframework](https://github.com/encode/django-rest-framework) | `3.14.0` | `3.15.2` | | [pydyf](https://github.com/CourtBouillon/pydyf) | `0.10.0` | `0.11.0` | | [sentry-sdk](https://github.com/getsentry/sentry-python) | `2.20.0` | `2.22.0` | | [weasyprint](https://github.com/Kozea/WeasyPrint) | `62.3` | `64.1` | Updates `coverage[toml]` from 7.6.11 to 7.6.12 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.11...7.6.12) Updates `dj-rest-auth` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/iMerica/dj-rest-auth/releases) - [Commits](https://github.com/iMerica/dj-rest-auth/compare/7.0.0...7.0.1) Updates `django-allauth-2fa` from 0.11.1 to 0.12.0 - [Release notes](https://github.com/valohai/django-allauth-2fa/releases) - [Changelog](https://github.com/valohai/django-allauth-2fa/blob/main/CHANGELOG.rst) - [Commits](https://github.com/valohai/django-allauth-2fa/compare/v0.11.1...v0.12.0) Updates `django-filter` from 24.3 to 25.1 - [Release notes](https://github.com/carltongibson/django-filter/releases) - [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst) - [Commits](https://github.com/carltongibson/django-filter/compare/24.3...25.1) Updates `django-money` from 3.2.0 to 3.5.3 - [Release notes](https://github.com/django-money/django-money/releases) - [Changelog](https://github.com/django-money/django-money/blob/main/docs/changes.rst) - [Commits](https://github.com/django-money/django-money/compare/3.2...3.5.3) Updates `djangorestframework` from 3.14.0 to 3.15.2 - [Release notes](https://github.com/encode/django-rest-framework/releases) - [Commits](https://github.com/encode/django-rest-framework/compare/3.14.0...3.15.2) Updates `pydyf` from 0.10.0 to 0.11.0 - [Release notes](https://github.com/CourtBouillon/pydyf/releases) - [Changelog](https://github.com/CourtBouillon/pydyf/blob/main/docs/changelog.rst) - [Commits](https://github.com/CourtBouillon/pydyf/compare/v0.10.0...v0.11.0) Updates `sentry-sdk` from 2.20.0 to 2.22.0 - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-python/compare/2.20.0...2.22.0) Updates `weasyprint` from 62.3 to 64.1 - [Release notes](https://github.com/Kozea/WeasyPrint/releases) - [Changelog](https://github.com/Kozea/WeasyPrint/blob/main/docs/changelog.rst) - [Commits](https://github.com/Kozea/WeasyPrint/compare/v62.3...v64.1) --- updated-dependencies: - dependency-name: coverage[toml] dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: dj-rest-auth dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: django-allauth-2fa dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: django-filter dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: django-money dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: djangorestframework dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: pydyf dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: weasyprint dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * fix req * clean up req file * lower drf again --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Matthias Mair <[email protected]> * Batch code fix (#9123) * Fix batch code assignment when receiving items * Add playwright tests * Harden playwright tests * Refactoring * Remove django-allauth-2fa, dj-rest-auth and django-user-sessions (#6293) * Remove django-allauth-2fa Fixes #6281 * fix req * fix file again * remove allauth_2fa flows * reintroduce otp * fix rq * remove old ref * remove otp things from settings * reintroduce otp codes * remove totp section * bump version * fix reqs * add missing model * ignore TOTP migration if the model is not laoded * add model deps * add extra migrations step for easier testing * add migration testing * remove old catch * cover static devies too * remove more old stuff * fix import * mrege migrations * bump API version * switch to allauth.usersessions * add headless * re-add saml/openid * user sessions cleanup * turn off normal allauth urls if CUI is not active * disable tests that rely on old endpoints - to be replaced * always track session changes * remove old allauth templates * remove old ref * add missing model * fix session lookup * always logout when pwd is changed * reimplement session ending * fix merge * upgrade reqs * lower cryptography version * clean allauth_2fa reference * disable test temporarly * fix migration check * disable tests temporarly * Re-implement auth flow using new APIs; adds MFA to PUI * re-implement logoff * stop failure message from appearing when in MFA flow * remove jwt mention * fix: email endpoints (to be cleaned TODO@matmair) * remove unused endpoints * ignore the now often-used 410 error * fix auth for email actions in MFA scenarios * add mfa listing use build-in forms * add dummy entry for missing frontend urls; see TODO@matmair * remove unneeded change of confirm url * add mfa reg endpoint (not fully implemented) * implement more provider stuff * simplify calls * make calls more robust * switch to browser based sessions * add todo's * update api version * remove x-session, not needed anymore * remove old urls * remove ui preference - there is no decision anymore * fix login redirect logic * change name to ensure 1p can detect field * add mfa table * fix remove sso provider account action; provider (user) admin stuff is done * reduce templates to the raw basics * fix tests * more exclusions * rewrite url structure * move buildin token test * re-enable registration tests * re-implement registrations * enable registration for now * re-implement password change * adjust tests * fix asserts * align names with allauth * simplify * refactor and rephrasing * fix nesting issue * clean up urls even more * add mfa add and remove screens * add type * revert dep change * fix api version * re-add settings * simplify urls * Add timeout to login wait for * fix url assertation * remove unneded mfa_enabled * add setting for configuring types * bump api version * fix password reset flow * change settings order * save auth context * rename var to remove confusion * make login/register seperate paths * make info text better * adjust urls * add error message * disable buttons if no email is set * add custom adapters for MFA and headless authentication to use upstreamed features * move auth settings to status * respect more settings * update settings * bump api version * remove depreceated docs part * remove dj_rest_auth stuff * fix api_version bump * remove temp fix * fix provider login * remove unsupported option * remove hash requirement for now * simplify customisation * implement email-verification * remove auth from api docs * fix override of get_frontend_url details in https://codeberg.org/allauth/django-allauth/pulls/4248 * bump api again * fix req * Revert "remove hash requirement for now" This reverts commit 00bb6c5274ee673948280ec084831edfa40ec3de. * remove usage of git repo * fix doc string * extend schema generation to just patch in allauth * patch allauth OAI ref names * reduce types * refactor code structure * fix ref patching a bit more * add param cleanup * ensure strings, number, bools are handled correctly in cleanup * move fnc * shorten names * bump allauth * re-add auth doc section * fix doc structure * revert playwrigth change * ckean up browser only path * clean up parameters that we do not use * re-add 2fa required middleware * fix mail sending hook * fix password set texts * Add forced mfa setup * remove type * adjust api_version * Remove debug prints * Add error message for TOTP creation * Handle failed TOTP login * fix reqs * Add error on 409 during login * fix tested url * fix api_version * fix allauth version * minimize req diff * further minimize diff --------- Co-authored-by: Oliver Walters <[email protected]> * Handle undefined values (#9139) * [UI] Search Improvements (#9137) * Harden playwright tests * …
This can now be replaced entirely by the new import / export framework which uses the DRF API.
TODO
Reimplement "bom export" in new framework- [1.0.0] Reimplement old BOM exporter #8686