Matthias Mair and GitHub
bbeaf0e791
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
2025-01-27 19:52:05 +11:00
Matthias Mair and GitHub
5968f5670f
refactor(backend): remove contrib.messages ( #8959 )
...
* remove django.contrib.messages
* re-add messages as admin needs it
2025-01-27 13:03:15 +11:00
Matthias Mair and GitHub
77cb8c1f47
Remove theme doc ( #8958 )
2025-01-27 07:33:02 +11:00
Matthias Mair and GitHub
0e4478c35a
do not compile on normal translation/compilation to not change the source code ( #8912 )
2025-01-20 11:10:58 +11:00
Matthias Mair and GitHub
b1c9fcb0a7
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
2025-01-20 09:40:02 +11:00
Matthias Mair and GitHub
c57b51cb0e
chore(backend): bump deps ( #8905 )
...
* bump backend reqs
* raq down cryptography
* fix req
* bump api version
2025-01-19 17:50:22 +11:00
Matthias Mair and GitHub
64b9365947
chore: bump pre commit ( #8904 )
...
* bump pre-commit
* auto-fixes
* ignore error
* fix a few more issues
* fix pattern
2025-01-18 09:38:00 +11:00
Matthias Mair and GitHub
3d2f800c73
feat: Add setting for controling console logs ( #8903 )
...
* Add setting for controling console logs
* respect console_log setting
* use var for defualt handler
2025-01-17 09:21:38 +11:00
89dfa0f6f9
refactor: remove preference-view ( #8894 )
...
* remove preference-view
* bump api
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-01-15 14:46:23 +11:00
fbe2131fa5
fix(plugin): Ensure plugins are only installed if not deactivated ( #8893 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-01-15 14:46:10 +11:00
Matthias Mair and GitHub
6b5e0dbb29
remove structlog from internal paths ( #8836 )
2025-01-06 07:28:28 +11:00
Matthias Mair and GitHub
7125261bbc
Remove admin shell ( #8816 )
2025-01-05 12:57:20 +11:00
Matthias Mair and GitHub
ea9e3fb992
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
2025-01-05 12:48:57 +11:00
Matthias Mair and GitHub
3479b0008c
Docs remove old customize options ( #8817 )
...
* remove "hide_pui_banner"
* clean up more
2025-01-02 20:41:17 +11:00
Matthias Mair and GitHub
d7939efaa9
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
2024-12-31 23:13:35 +11:00
Matthias Mair and GitHub
c582ca0afd
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
2024-12-29 01:12:42 +11:00
Matthias Mair and GitHub
04d7a96dde
split up python updates and assign to @matmair for manual fixes where necessary ( #8772 )
2024-12-27 08:14:32 +11:00
Matthias Mair and GitHub
da21e39e84
Turn off debug by default ( #8743 )
...
* turn off debug by default
* fix log level / debug settings for workflows
* fix typo
2024-12-26 20:16:53 +11:00
Matthias Mair and GitHub
fe68dc7318
Refactor fix formatting exclusion ( #8746 )
...
* fix ruff exclusions
* aut-format
* Fix docstrings
* more fixes
* ignore error(s)
* fix imports
* adjust descriptions for build
2024-12-25 07:16:24 +11:00
Matthias Mair and GitHub
1fec41cb71
Update qc_checks.yaml ( #8759 )
2024-12-24 21:42:39 +11:00
Matthias Mair and GitHub
7f1cc4658b
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
2024-12-24 11:53:25 +11:00
Matthias Mair and GitHub
ec6280dacd
MFA add better logging ( #8745 )
...
* add better logging
* use structlog
2024-12-24 07:22:28 +11:00
Matthias Mair and GitHub
728e0894aa
Factor out helper ( #8744 )
...
* facour out helper
* fix import path
2024-12-24 07:20:27 +11:00
Matthias Mair and GitHub
aa905166c5
Switch to zoneinfo from pytz ( #7645 )
...
* switch to zoneinfo from pytz
* fix lookup
* fix assert
* fix another round of assertions
2024-12-23 08:46:31 +11:00
Matthias Mair and GitHub
aad5575cd2
Fix MFA auth flow ( #8720 )
...
* Re-add html account base
Fixes #8690
* fix base template
2024-12-20 07:21:22 +11:00
Matthias Mair and GitHub
17fd7f32a4
consider INVENTREE_RESTRICT_ABOUT setting ( #8717 )
2024-12-19 08:37:39 +11:00
Matthias Mair and GitHub
1c9f56011c
Various SAST fixes ( #8718 )
...
* fix type
* fix typing
* fix python:S5713
* fix python:S1066
* fix python:S3516
* fix python:S5727
* fix python:S5886
2024-12-19 07:31:33 +11:00
Matthias Mair and GitHub
8fcb3c2506
Refactor auth adaptations into dedicated file ( #8687 )
...
* Update docker.yaml (#278 )
* reset
* rename functions to better reflect function
* move authentication behaviour overrides to explicit file
* fix import order
* fix import path
2024-12-17 22:20:21 +11:00
Matthias Mair and GitHub
24f433c948
Remove CUI ( #8384 )
...
* remove CUI
* fix loading
* fix login middleware
* remove css template functions
* tmp fix for recurtion
* remove old test
* fix assertations
* fix middleware tests
* re-add plugin tags
* remove thirdpartjs
* re-add mfa urls
* remove old js
* remove cui tags
* simplify error testing
* use license endpoint for testing instead
* disable successful test
* revert de-activation
* remove references to old UI customisation
* update docs to remove reference to removed page
* disable availabilty check
* possible fix to importing problem
* Revert "possible fix to importing problem"
This reverts commit ee9fccdc8c .
* remove old get_context_data
* fix migration
* remove unused function
* remove unused stuff
* remove unused template
* fix formatting of readme
2024-12-17 12:30:41 +11:00
Matthias Mair and GitHub
d4be203b03
small style changes ( #8681 )
2024-12-17 10:31:21 +11:00
Matthias Mair and GitHub
6fc7c4d2fe
Docker improve build times ( #8680 )
...
* Update docker.yaml (#278 )
* update README.md
2024-12-17 10:13:58 +11:00
Matthias Mair and GitHub
9dc4fc1f8f
[CI] Add zimor to check github action security ( #8639 )
...
* Add zimor to checks
* fix format
* use same version of checkout everywhere
* do only persist credentials if needed
* remove duplicate clones
* fix pin syntax
* fix pins
* fix template injection
* another injection fix
* Revert "remove duplicate clones"
This reverts commit 9a00ae2bbb .
* Add GH token for further rules
2024-12-17 10:12:51 +11:00
Matthias Mair and GitHub
2b607a4a28
clean up refes ( #8663 )
2024-12-15 06:54:56 +11:00
Matthias Mair and GitHub
57e7b8eed2
fix namespace of frontend install command ( #8662 )
...
Fixes #8656
2024-12-14 08:39:23 +11:00
Matthias Mair and GitHub
7bfd36f7cb
Refactor: Move settings definitions (and most validators) out of models.py ( #8646 )
...
* move out settings definitions
* fix import paths
* move validators into appropiate settings
* fix refactor error
* fix import paths
* move types out
* add validator tests
* add option to reload internal issues
* fix tests
2024-12-13 11:57:11 +11:00
Matthias Mair and GitHub
dd83735710
Fix vulnerable dependencies ( #8655 )
...
* bump container reqs
* bump vul frontend dep
* fix tests
2024-12-12 08:38:11 +11:00
Matthias Mair and GitHub
a20fd9d231
[PUI] fix Table Context Menu Links ( #8623 )
...
* Add switch to disable context menu
Fixes #8553
* make attachment links right-clickable
2024-12-03 09:07:18 +11:00
Matthias Mair and GitHub
4f3e8cb0a0
[PUI] infinite loop if classic frontend is disabled ( #8614 )
...
Fixes #8575
2024-12-02 21:42:31 +11:00
Matthias Mair and GitHub
f7697bd481
make logic simpler ( #8613 )
2024-12-02 10:49:28 +11:00
Matthias Mair and GitHub
f9487597fb
[PUI] Make dashboard header look less like a widget ( #8611 )
...
* blend in header
* move indicator
2024-12-02 10:48:44 +11:00
Matthias Mair and GitHub
7478a2853a
[PUI] Fix stock item state rendering ( #8572 )
...
* fix rendering of stock status
* update api to support custom status
* Revert "update api to support custom status"
This reverts commit e7ff5aa398 .
2024-11-29 07:48:19 +11:00
af39189e7e
Add SelectionList concept ( #8054 )
...
* Add SelectionList model, APIs and simple tests
* Add managment entries
* Add field to serializer
* add more tests for parameters
* Add support for SelectionList to CUI
* Add selection option to PUI
* fix display
* add PUI admin entries
* remove get_api_url
* fix modeldict
* Add models for meta
* Add test for inactive lists
* Add locking and testing for locking
* ignore unneeded section
* Add PUI testing for adding parameter
* Add selectionList admin
* also allow creating entries
* extend tests
* force click
* and more testing
* adapt test?
* more assurance?
* make test more robust
* more retries but shorter runs
* Update playwright.config.ts
* Add docs
* Add note regarding administration
* Adapt to https://github.com/inventree/InvenTree/pull/8093
* make help text more descriptive
* fix migration
* remove unneeded UI entries
* add lables and describtions to TableFields
* factor out selectionList forms
* add key to button
* cleanup imports
* add editable fields
* Add function to add row
* fix render warning
* remove dead parameter
* fix migrations
* fix migrations
* fix format
* autofix
* fix migrations
* fix create / update loop
* fix addition of empty lists
* extend tests
* adjust changelog entry
* fix updating loop
* update test name
* merge migrations
* simplify request
* - Add entry count to list
- Move parameter table to default accordion
* fix test
* fix test clearing section
---------
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com >
2024-11-27 13:30:39 +11:00
Matthias Mair and GitHub
594dc49b84
Bump backend deps ( #8559 )
...
* bump backend deps
* bump api
2024-11-26 09:25:06 +11:00
Matthias Mair and GitHub
5cda270e4b
Small SAST fixes ( #8534 )
...
* fix various middle-high SAST errors
* fix another small issue
* add default
2024-11-26 09:15:44 +11:00
Matthias Mair and GitHub
0f194af585
Fix spelling of InvenTree in code base ( #8561 )
...
* fix spelling of InvenTree in code
* fix spelling in frontend
2024-11-26 08:29:47 +11:00
Matthias Mair and GitHub
66a769edca
[PUI] SSO improvments ( #8527 )
...
* disable PUI SSO login button if not fully set up
see https://github.com/inventree/InvenTree/issues/7972
* refactor provider urls to also support oidc providers
* cleanup
2024-11-25 07:25:39 +11:00
ad6f8596eb
fix refreshInstance type and remove return ( #8478 )
...
* fix refreshInstance type and remove return
* Add seperate refresh function with promise as return
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2024-11-20 09:38:59 +11:00
Matthias Mair and GitHub
4aa7c59f5b
Bump backend linting deps ( #8526 )
...
* upgrade deps
* bump eslint
2024-11-20 08:54:37 +11:00
Matthias Mair and GitHub
e4a39692ff
Add structlog ( #7937 )
...
* Add structlog
Closes #3960
* fix formatting
* make log writing optional
* ignore logfiles
* fix variable naming
2024-11-19 19:48:20 +11:00
Matthias Mair and GitHub
65e4b69c16
Add row context (right click) additionally to actions in tables ( #8013 )
...
* Add row context
* fix lockfile
* fix type
* fix styling
* formatting fixes
2024-11-15 10:50:08 +11:00
ee01ac592f
fix various sonarlint warnings ( #8479 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2024-11-14 16:58:39 +11:00
Matthias Mair and GitHub
0872beaba9
[PUI] Switch linting to biome ( #8317 )
...
* bump pre-commit
* add biome
* autofixes
* use number functions
* fix string usage
* use specific variable definition
* fix missing translations
* reduce alerts
* add missing keys
* fix index creation
* fix more strings
* fix types
* fix function
* add missing keys
* fiy array access
* fix string functions
* do not redefine var
* extend exlcusions
* reduce unnecessary operators
* simplify request
* use number functions
* fix missing translation
* add missing type
* fix filter
* use newer func
* remove unused fragment
* fix confusing assigment
* pass children as elements
* add missing translation
* fix imports
* fix import
* auto-fix problems
* add autfix for unused imports
* fix SAST error
* fix useSelfClosingElements
* fix useTemplate
* add codespell exception
* Update pui_printing.spec.ts
* Update pui_printing.spec.ts
* add vscode defaults
2024-11-12 11:03:08 +11:00
Matthias Mair and GitHub
9cd0394dc4
Remove unneeded AjaxView usage ( #8461 )
...
* remove unneeded AjaxView usage
* add schema
* bump schema version
* make schema more acurate
* exclude not found view
* make script also axept base api
2024-11-11 09:11:20 +11:00
Matthias Mair and GitHub
cd9f491dc6
Remove coupling of tests to cui ( #8389 )
...
* remove coupling of tests to cui
* all testing for PUI absolute urls
* remove overlapping test
* refactor middleware check
* move static things into global
* factor out test target
* re-add api exception
* keep using settings.js for now
2024-11-08 19:36:33 +11:00
Matthias Mair and GitHub
fade7e3d04
narrw scope of cleanup ( #8441 )
2024-11-07 11:20:51 +11:00
Matthias Mair and GitHub
56bd66ddd4
fix link to MIT license ( #8386 )
...
* fix link to MIT license
* ignore opensource.org in linting
2024-11-05 10:11:45 +11:00
Matthias Mair and GitHub
9f9afa1593
bump dev deps ( #8336 )
2024-10-24 14:39:29 +11:00
Matthias Mair and GitHub
8d27144f78
bump container deps ( #8337 )
2024-10-23 09:52:35 +11:00
Matthias Mair and GitHub
16d0fb4798
bump pre-commit ( #8318 )
2024-10-20 12:06:05 +11:00
Matthias Mair and GitHub
61ca68090a
bump backend deps ( #8290 )
2024-10-16 07:03:59 +11:00
Matthias Mair and GitHub
96a2517402
A bit more testing ( #8053 )
...
* add more admin testing
* fix assertations
* add test for importer admin
* Add tests for https://github.com/inventree/InvenTree/pull/7164
* add common/attachment test
* fix test
* add tests
* remove unused definition - the view is read only
* Revert "remove unused definition - the view is read only"
This reverts commit 4cad8d16f3 .
* more tests in report
* Update tests.py
* make lookup dynamic
* make report assertation dynamic
* add migration test
* extend validation plugin tests
* disable flaky test
* Add test for barcode/uid transition
* test reverse migration
* cleanup new test
* remove empty action
* split and refactor API tests
* refactor test
* Add test for error conditions
* fix double entry
* more migration tests
* also test no history
* fix assertation
* add another migration test
* fix typo
* fix manufacturer filter
* test more filters
* even more filter tests
* move top level test to right place
* add todos for tests that could be more expressive
* add test for checking duplicate serials
* ignore cautious catches
2024-10-01 08:27:57 +10:00
31bbd394c9
Bump mkdocs-material ( #8217 )
...
* 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.36 to 9.5.39
- [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.36...9.5.39 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 07:36:49 +10:00
Matthias Mair and GitHub
af6f179f7e
bump pre-commit refs ( #8219 )
2024-10-01 07:36:29 +10:00
cbe4569416
Bump the dependencies group across 1 directory with 5 updates ( #8215 )
...
Bumps the dependencies group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [sqren/backport-github-action](https://github.com/sqren/backport-github-action ) | `8.9.3` | `9.5.1` |
| [actions/checkout](https://github.com/actions/checkout ) | `4.1.7` | `4.2.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action ) | `6.7.0` | `6.8.0` |
| [oasdiff/oasdiff-action](https://github.com/oasdiff/oasdiff-action ) | `a2ff6682b27d175162a74c09ace8771bd3d512f8` | `1c611ffb1253a72924624aa4fb662e302b3565d3` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.26.8` | `3.26.9` |
Updates `sqren/backport-github-action` from 8.9.3 to 9.5.1
- [Release notes](https://github.com/sqren/backport-github-action/releases )
- [Commits](https://github.com/sqren/backport-github-action/compare/f54e19901f2a57f8b82360f2490d47ee82ec82c6...ad888e978060bc1b2798690dd9d03c4036560947 )
Updates `actions/checkout` from 4.1.7 to 4.2.0
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938 )
Updates `docker/build-push-action` from 6.7.0 to 6.8.0
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/5cd11c3a4ced054e52742c5fd54dca954e0edd85...32945a339266b759abcbdc89316275140b0fc960 )
Updates `oasdiff/oasdiff-action` from a2ff6682b27d175162a74c09ace8771bd3d512f8 to 1c611ffb1253a72924624aa4fb662e302b3565d3
- [Release notes](https://github.com/oasdiff/oasdiff-action/releases )
- [Commits](https://github.com/oasdiff/oasdiff-action/compare/a2ff6682b27d175162a74c09ace8771bd3d512f8...1c611ffb1253a72924624aa4fb662e302b3565d3 )
Updates `github/codeql-action` from 3.26.8 to 3.26.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/294a9d92911152fe08befb9ec03e240add280cb3...461ef6c76dfe95d5c364de2f431ddbd31a417628 )
---
updated-dependencies:
- dependency-name: sqren/backport-github-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: oasdiff/oasdiff-action
dependency-type: direct:production
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] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 21:12:36 +10:00
33ec7dcd37
Bump rollup ( #8218 )
...
Bumps the npm_and_yarn group with 1 update in the /src/frontend directory: [rollup](https://github.com/rollup/rollup ).
Updates `rollup` from 4.22.4 to 4.22.5
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.22.4...v4.22.5 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: indirect
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-30 21:12:25 +10:00
Matthias Mair and GitHub
dc58198488
More style fixes ( #8140 )
...
* more style fixes
* fix more changes
2024-09-18 09:15:47 +10:00
Matthias Mair and GitHub
0c1edf101f
Bug: Remove old setting ( #8139 )
...
* remove old setting
* another one was missing
2024-09-18 07:44:44 +10:00
Matthias Mair and GitHub
7c937fa283
[PUI] fix a few sonarcloud warnings ( #8133 )
...
* fix a few code issues
* fix common sonarcloud issues
* more small fixes
2024-09-17 14:16:29 +10:00
Matthias Mair and GitHub
df8269df2a
fix missing trans strings ( #8128 )
2024-09-16 06:42:08 +10:00
Matthias Mair and GitHub
a5ab4a30ea
[PUI] Add codecov bundler analyzer ( #8097 )
...
* add codecov bundler analyzer
* Add CI step for upload
* control comment behaviour
* fix yarn.lock merge
2024-09-14 09:30:30 +10:00
Matthias Mair and GitHub
83d2624a45
[PUI] Add view of all defined units to Admin center ( #8040 )
...
* Add API endpoint for all defined units
Fixes #7858
* render all units in API
* bump API
* Add display for all units
* remove logging
* fix types
* ignore favicon errors
* fix for new pint version
* add tests
* prove against units that are not defined
* append trailing slash to url
* make pagination disableable again
2024-09-13 08:22:04 +10:00
Matthias Mair and GitHub
9219d8307e
[PUI] Refactor keeping modelinfo together ( #8104 )
...
* revert https://github.com/inventree/InvenTree/pull/8093
* use fnc for labels (enables live translations)
* materialise labels
* rename interface
2024-09-11 09:48:04 +10:00
Matthias Mair and GitHub
4082d6e0ad
Update used tech stack ( #8092 )
2024-09-09 09:30:26 +10:00
Matthias Mair and GitHub
360171fac5
use uv for install ( #8082 )
2024-09-08 09:12:57 +10:00
Matthias Mair and GitHub
3d9db2543d
Packager: easier to parse debug messages ( #8083 )
...
* Add new version to logging
* Add easier to search logging
* shorten appended string
* make migrations that run on fresh installs easier to read
2024-09-06 07:33:59 +10:00
Matthias Mair and GitHub
e3205184be
Add namespaces to tasks ( #7904 )
...
* Namespaces for invoke tasks
Fixes #7852
* adjust various places that call re-namespaced tasks
* use full invoke command
easier for future refactors
* fix call name
* move worker to int
* adapt calls in tasks
* fix changed path
* ignore localhost links
* Avoid using internal names
2024-09-05 13:04:57 +10:00
Matthias Mair and GitHub
355b4937da
[PUI] Make actions recognisable ( #8005 )
...
* Make dropdowns better recogniseable
Closes https://github.com/invenhost/InvenTree/issues/98
* change to button with section
* only draw border if needed
* allign drowdowns in header
* use light instead of subtle
* refactor option dropdowns to reduce duplications
2024-09-03 13:01:29 +10:00
Matthias Mair and GitHub
38e7a3f0ab
fix typo ( #8050 )
2024-09-02 06:28:18 +00:00
Matthias Mair and GitHub
79affbe609
Add more test coverage for backend ( #8048 )
...
* add test for asset redirect
* fully cover spa_bundler
* test token api
* check without beeing authed
* not possible to be reached - no cover
* remove unneeded except
* fully test group apis
* move ignore
* add tests for admin site
* add full admin testing
* use output as ref
* ignore admin edge-case
* test display name settings
* refactor admin test
* add more admin testing
* fix tests assertation
* fix assertations
* add test for importer admin
* remove old test for function that will not be re-added for now
see https://github.com/inventree/InvenTree/pull/8018#discussion_r1734011050
* Add stock detail with wrong pk
* add a few stock tests
2024-09-02 10:13:39 +10:00
Matthias Mair and GitHub
a102e178d1
bump frontend deps ( #8047 )
2024-09-02 08:15:42 +10:00
Matthias Mair and GitHub
47459182da
surpress error if no changes exsist ( #8043 )
2024-08-31 08:02:09 +10:00
Matthias Mair and GitHub
4bf406b1c9
Adds exchange backend settings to AdminCenter ( #8042 )
2024-08-31 08:01:33 +10:00
Matthias Mair and GitHub
3951b3f56e
Fix package upgrade process ( #8034 )
...
* ensure site_url is preserved
* check if clear-generated is available
2024-08-30 09:06:32 +10:00
Matthias Mair and GitHub
450abcd353
Reduce code duplication for QR code scan ( #8004 )
...
* Add Link/Unlink Barcode action
Fixes #7920
* remove unneeded imports
* remove duplication
* simplify
* add testing
* refactor type
* wait for reload to add coverage
* Add warning if custom barcode is used
* Add Image based assign
* fix action button size
* fix selection to prevent wrapping
* use left section for button
* Refactor to seperate Input
* Add comment when not scanning
* Fix punctuation
* factor scan area out
* fix readonly arg
* make BarcodeInput more generic
* make button optional
* reduce code duplication by using BarcodeInput
* remove unneeded abstraction
2024-08-28 08:13:22 +10:00
Matthias Mair and GitHub
313cb4758e
[PUI] Add image based QR code assigment ( #7960 )
...
* Add Link/Unlink Barcode action
Fixes #7920
* remove unneeded imports
* remove duplication
* simplify
* add testing
* refactor type
* wait for reload to add coverage
* Add warning if custom barcode is used
* Add Image based assign
* fix action button size
* fix selection to prevent wrapping
* use left section for button
2024-08-27 17:25:34 +10:00
Matthias Mair and GitHub
820a3522da
fix action pin ( #8006 )
2024-08-27 10:34:55 +10:00
Matthias Mair and GitHub
1634258783
Enable more Ruff rules ( #7930 )
...
* bump version
* Add more checks
* add simplify rules
* Add RUF rules
* small perf imrpovements
* pylint checks
* more style fixes
* fix a number of A002 cases
* fix A001 cases
* disable unsafe fixes
* remove unneeded branches
fixes SIM102
* re-enable .keys for specific case
* Revert "remove unneeded branches"
This reverts commit f74d41bc07 .
* fix reference
2024-08-27 09:04:55 +10:00
Matthias Mair and GitHub
bcbbae0a18
fix translatable string ( #7999 )
...
* fix translatable string
* do not translate key
2024-08-27 09:03:12 +10:00
Matthias Mair and GitHub
ebb01c5e5b
add path ( #7979 )
2024-08-24 10:28:09 +10:00
Matthias Mair and GitHub
8a59829ef1
[PUI] Add currency stats ( #7971 )
...
* factor out stats overview
* move to panel
* Add currency stas overview
Closes https://github.com/invenhost/InvenTree/issues/115
2024-08-24 09:21:06 +10:00
Matthias Mair and GitHub
ed2da62a46
Fix state changes on stock items ( #7976 )
...
* Revert changes from https://github.com/inventree/InvenTree/pull/7965
* Add error handling for wrong key
* Add e2e test case for error condition
Fixes #7964
* Better code code / flow
* [BUG] Order of states in schema descriptions is not stable
Fixes #7977
2024-08-24 09:18:09 +10:00
Matthias Mair and GitHub
df8efa902e
fix: translation action wrong location ( #7975 )
...
* set destination
* cleanup files before submitting
2024-08-24 09:14:38 +10:00
Matthias Mair and GitHub
d647471588
Chore: Bump python requirements ( #7961 )
...
* bump requirements
* lower bound on pydyf
2024-08-23 23:03:31 +00:00
Matthias Mair and GitHub
8f4929d754
[BUG] Order of states in schema descriptions is not stable ( #7978 )
...
Fixes #7977
2024-08-24 08:28:58 +10:00
Matthias Mair and GitHub
cf9dcf0556
[CI] Switch to using Crowdin GitHub Action ( #7929 )
...
Fixes #7910
2024-08-23 09:49:57 +10:00
Matthias Mair and GitHub
58f60d18b6
Add pagination ( #7958 )
2024-08-22 17:01:25 +10:00
Matthias Mair and GitHub
b0c7a1aed5
[PUI] Add Link/Unlink Barcode action ( #7939 )
...
* Add Link/Unlink Barcode action
Fixes #7920
* remove unneeded imports
* remove duplication
* simplify
* add testing
* refactor type
* wait for reload to add coverage
* Add warning if custom barcode is used
2024-08-22 11:01:09 +10:00
Matthias Mair and GitHub
725181be5f
[PUI] fix missing key in currency table ( #7953 )
2024-08-22 09:43:27 +10:00
Matthias Mair and GitHub
d5086b2fb1
User defined states ( #7862 )
...
* Add custom user defined states
* make tests more reliable
* fix list options
* Adapt version
* do not engage if rebuilding
* remove unneeded attr
* remove unneeded attr
* fix enum imports
* adapt cove target
* Add status_custom_key to all other serializers
* fix serializer method
* simplify branching
* remove unneeded imports
* inherit read_only status from leader field
* Add more tests
* fix tests
* add test for function
* refactor for easier testing
* move test to seperate class
* Add options testing
* extend serializer
* add test for all states and refactor to reuse already build functions
* use custom field in PUI too
* reset diff
* style fix
* fix comparison
* Add test for str
* test color exceptions too
* remove user state from tracking
* Add intro from model fields too
* update docs
* simplify implementation
* update tests
* fix name
* rename test
* simplify tags and test fully
* extend test to machine status
* move logic for response formatting over
* extend api response with machine status
* ensure only direct subclasses are discovered
* test for length of total respone too
* use new fields on PUI too
* fix test assertion with plugins enabled
* also observe rendering in filters
* Add managment endpoints and APIs
* Add contenttypes to PUI renderes
* use filteres instead
* fix import order
* fix api route definition
* move status choices to serializer
* fix lookup
* fix filtering
* remove admin integration
* cleanup migration
* fix migration change
* cleanup code location
* fix imports
* Add docs for custom states
* add links to custom status
2024-08-22 07:33:15 +10:00
Matthias Mair and GitHub
e6765fc7df
[PUI] Add AdminCenter to cmd k ( #7908 )
...
* Add API bump
* [PUI] Add AdminCenter to cmd k
Closes https://github.com/invenhost/InvenTree/issues/96
* Revert "Add API bump"
This reverts commit 9135e443a9 .
2024-08-19 09:52:49 +10:00