Matthias Mair
855e262767
Add Coc ( #9568 )
...
See https://github.com/inventree/InvenTree/issues/9525
2025-04-26 10:06:46 +10:00
dependabot[bot]
964a14754e
Bump the dependencies group across 1 directory with 2 updates ( #9585 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /src/backend directory: [django-q2](https://github.com/GDay/django-q2 ) and [sentry-sdk](https://github.com/getsentry/sentry-python ).
Updates `django-q2` from 1.7.6 to 1.8.0
- [Release notes](https://github.com/GDay/django-q2/releases )
- [Changelog](https://github.com/django-q2/django-q2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GDay/django-q2/compare/v1.7.6...v1.8.0 )
Updates `sentry-sdk` from 2.26.1 to 2.27.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.26.1...2.27.0 )
---
updated-dependencies:
- dependency-name: django-q2
dependency-version: 1.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.27.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
* sync setuptools
* Add missing API key - see https://github.com/inventree/InvenTree/actions/runs/14673293670/job/41184590051?pr=9585#step:5:1230
* fix this call too
* add an easier to debug assert
* ensure token is set
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-26 10:01:38 +10:00
Matthias Mair
cbac1f736c
bump docs deps ( #9581 )
...
* bumpd docs deps
* fix https://github.com/inventree/InvenTree/security/dependabot/196
2025-04-26 10:00:55 +10:00
Matthias Mair
e90346f14d
fix(ci): Make translation step more robust ( #9587 )
...
The translation push step fails from time to time - this adds more step logging and makes it more robust https://github.com/inventree/InvenTree/actions/runs/14653723469/job/41124911037
2025-04-26 08:15:27 +10:00
Matthias Mair
2ed3e61a57
chore(frontend): bump dep resolution ( #9523 )
...
* chore(frontend): bump dep resolution
to adress GHSA-968p-4wvh-cqc8
* fix @types/react resolution
* reduce range of bumped deps
2025-04-26 08:07:12 +10:00
gunstr
ee29e6aa7b
Add revison column to BO table ( #9580 )
2025-04-25 09:39:39 +10:00
Matthias Mair
c41760a500
chore: bump zustand ( #9577 )
...
* bump zustand to v5
* add missing shallow
* fix missing shallow
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-25 09:39:08 +10:00
Matthias Mair
71cf9f5452
[FR] Save widget state per user ( #9567 )
...
* [FR] Save widget state per user
Fixes #9562
* cleanup
* fix doc strings
* add reset stage
2025-04-24 17:29:28 +10:00
Matthias Mair
b86b1d4c4d
fix table formatting ( #9569 )
2025-04-24 08:11:59 +10:00
Oliver
021063df72
Update docs ( #9564 )
...
- Mention browseable API
2025-04-22 22:18:59 +10:00
github-actions[bot]
c6907a0bf2
New Crowdin translations by GitHub Action ( #9543 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-22 22:09:24 +10:00
Oliver
527652007e
Remove trailing slash from SITE_URL ( #9559 )
...
- ref: https://github.com/inventree/InvenTree/discussions/9552
- ref: https://stackoverflow.com/questions/56404930/when-trying-set-corsheaders-in-settings-py-file
2025-04-22 12:29:11 +10:00
Joe Rogers
0bf1ab250f
Schema: Require pagination limit parameter ( #9547 )
...
* Ensure pagination limit is set on schema list queries
* Bump api version
* Update api_version.py
* Bump version again
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-22 10:02:03 +10:00
Oliver
89b3f91ded
Update notification fetching ( #9557 )
...
- Reduce interval to 1 minute
- Only fetch for visible tab
2025-04-22 09:52:50 +10:00
Matthias Mair
40ded29b35
feat(docs): include docs in release ( #9524 )
...
* add build step for docs
* various fixes after live-testing (#349 )
2025-04-22 09:05:06 +10:00
Oliver
6b08e45eac
Docs refactor ( #9545 )
...
* Refactor / reognaize docs structure
* Refactor plugin docs structure
* More refactoring / cleanup
* Update build images
* Gallery updates
* Order images
* Update part docs
* Settings images
* Stock images
* Reitntroduce gallery
* Add custom icon macro
* Update icons
* Cleanup
* Fix link
* Fix internal links
* Revert some page moves
* Fix links
* Fix links
2025-04-22 08:18:32 +10:00
dependabot[bot]
9b489911e5
Bump stefanzweifel/git-auto-commit-action in the dependencies group ( #9555 )
...
Bumps the dependencies group with 1 update: [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action ).
Updates `stefanzweifel/git-auto-commit-action` from 5.1.0 to 5.2.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](e348103e90...b863ae1933
)
---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
dependency-version: 5.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 08:16:09 +10:00
Oliver
e249a21622
Url fix 2 ( #9548 )
...
* Logic fix
* Playwright test
* Revert "Playwright test"
This reverts commit a63b23961efd61f5ea5e10f7158a5bc2fd7ca11b.
* Simplify test
* Cleanup test
2025-04-21 17:42:22 +10:00
Joe Rogers
0de8e61d53
Schema: Mark nullable fields ( #9546 )
...
* Add allow_null to nullable fields
* Fix serializer for InfoApi, add nullable flags
* Bump api version
* Fix incorrectly replaced required tag
2025-04-21 16:59:23 +10:00
Oliver
bd74044ed9
Display "default expiry" on part detail page ( #9549 )
2025-04-21 16:23:01 +10:00
Oliver
79dad13328
[UI] Barcode actions ( #9538 )
...
* Provide callback function for barcode scan dialog
* Adds hook for barcode scan dialog
* Fix callback processing
* Add function to extract API URL for a model instance
* Tweak page titles
* Extract instance data when scanning a barcode
* Scan item into location
* Scan in stock location
* Remove notYetImplemented func
* Revert "Remove notYetImplemented func"
This reverts commit a35408380e749c1d9054fd4fe7bcabec71863982.
* Add stock item action
* Add playwright tests
2025-04-21 08:42:54 +10:00
Oliver
7d87b8b896
[UI] Add CUI compatibility URLs ( #9541 )
...
* Add CUI compatibility URLs
* Add config option to enable URL compatibility
* Add unit tests
* Simplify tests
2025-04-21 08:27:41 +10:00
Matthias Mair
1dae1bc906
fix(backend): Better error handling for report template generation ( #9534 )
...
found in https://github.com/inventree/InvenTree/actions/runs/14535795056/job/40783805508?pr=9523
2025-04-21 00:00:05 +10:00
Oliver
88102ad9aa
Small tweak to tasks.py ( #9544 )
2025-04-20 16:03:48 +10:00
Oliver
13412adeb3
Reduce notification check frequency ( #9542 )
2025-04-20 11:42:30 +10:00
github-actions[bot]
64f72381a1
New Crowdin translations by GitHub Action ( #9529 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-20 11:23:21 +10:00
Matthias Mair
6b0a082b5a
feat: New / Refactor "Nav Mixin" ( #9283 )
...
* [FR/P-UI] New / Refactor "Nav Mixin"
Fixes #5269
* remove logging
* fix sample item that causes issues
* Add test coverage
* Update src/frontend/src/components/plugins/PluginUIFeatureTypes.ts
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* [FR/P-UI] New / Refactor "Nav Mixin"
Fixes #5269
* fix style
* remove requirement for source
* fix import
* bump api version
---------
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
2025-04-20 11:22:58 +10:00
Matthias Mair
058aa190d9
fix task helper names ( #9533 )
2025-04-20 09:57:02 +10:00
dependabot[bot]
35150e3bd3
Bump the dependencies group across 1 directory with 2 updates ( #9536 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /src/backend directory: [pdfminer-six](https://github.com/pdfminer/pdfminer.six ) and [django-money](https://github.com/django-money/django-money ).
Updates `pdfminer-six` from 20250327 to 20250416
- [Release notes](https://github.com/pdfminer/pdfminer.six/releases )
- [Changelog](https://github.com/pdfminer/pdfminer.six/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pdfminer/pdfminer.six/commits )
Updates `django-money` from 3.5.3 to 3.5.4
- [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.5.3...3.5.4 )
---
updated-dependencies:
- dependency-name: pdfminer-six
dependency-version: '20250416'
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: django-money
dependency-version: 3.5.4
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>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-20 09:56:52 +10:00
Oliver
8d48f9cecd
Fix for URL validation ( #9539 )
...
* FIx for URL validation
* Further fixes
2025-04-20 00:21:59 +10:00
Matthias Mair
9a49c9f19c
feat(backend): clearer behaviour on missing migrations ( #9527 )
...
* feat(backend): better warning on missing migrations
* add debug info to some tasks
* ensure db would even be accessed before raising concerns
* add more markers
* Add decorator to log flow
* reduce calls
* reduce fnc down
2025-04-19 08:03:16 +10:00
dependabot[bot]
9890246180
Bump the dependencies group across 1 directory with 2 updates ( #9535 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) and [neoteroi-mkdocs](https://github.com/Neoteroi/mkdocs-plugins ).
Updates `mkdocs-material` from 9.6.11 to 9.6.12
- [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.6.11...9.6.12 )
Updates `neoteroi-mkdocs` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/Neoteroi/mkdocs-plugins/releases )
- [Changelog](https://github.com/Neoteroi/mkdocs-plugins/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Neoteroi/mkdocs-plugins/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: mkdocs-material
dependency-version: 9.6.12
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: neoteroi-mkdocs
dependency-version: 1.1.1
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>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-19 08:00:52 +10:00
Matthias Mair
8bb03b7afd
feat(backend): add oauth2 ( #9333 )
...
* feat(backend): add oauth2
* fix import
* Add inventree roles
* refactor to make lookup more efficient
* fix single scope definitions
* cleanup
* fix schema
* reduce auth methods
* fix OAuth validator
* re-enable token and basic auth again
* Add models to role mapping
* change scope args
* add debug step for schema generation
* add oauth config for schema generation
* improve token -> permission mapping
* fix req
* extend checks to ensure normal auth also passes
* fix api version
* fix ignore
* fix rule name
* bump api version
* remove old modelref
* move scope definition
* make test results easier to work with
* add tests to ensure scopes are in sync with rulesets
* fix docstring
* fix various permissions and their mapping to oauth
* refactor
* simplify
* fix permission mapping
* ignore failure cases
* fix unauthenticated access
* flag oAuth2 till it is done
* Add OIDC support
* add RSA key generation and docs
* fix test
* move imports
* update ignore
* feat(backend): Add API Schema stats
* add scope stats
* fix name
* fix scope output
* feat(backend): test custom command
* add warning for unknown scopes
* reduce diff in launch.json
* cleanup diff
* add error code for ruleset / scope issues
* update structure
* add oauth docs
* add experimetnal feature docs
* simplify metadata endpoint
* add importer model
* refactor(backend): simplify metadata endpoint
* fix imports
* simplify even more
* remove unneeded schema tooling
* fix permission mappings
* fix testing
* fix role calculations
* fix mapping
* remove importer change to unblock this
* remove importer scope everywhere
* fix merge conflict in test
* add missing models
* fix api version
* fix OASToken matcher
* revert permission class change
* reduce size of test log by writing schema
* fix permissions
* fix file path
* extend schema to remove need for TokenMatchesOASRequirements
* cleanup permissions file
* add base object permission
2025-04-18 19:27:32 +10:00
Oliver
afbcfe66bb
Fix for email sending ( #9526 )
...
* Fix for email sending
- Extract valid email for user
- Do not send if email not configured for user
* Improve email address filtering logic
* Fix return type hint
2025-04-17 17:29:26 +10:00
dependabot[bot]
fd4caceed0
Bump codecov/codecov-action in the dependencies group ( #9517 )
...
Bumps the dependencies group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `codecov/codecov-action` from 5.4.0 to 5.4.2
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](0565863a31...ad3126e916
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: 5.4.2
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>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2025-04-17 16:55:45 +10:00
github-actions[bot]
62d058f0e3
New Crowdin translations by GitHub Action ( #9508 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-17 13:17:41 +10:00
dependabot[bot]
1269fefa0e
Bump the dependencies group across 1 directory with 4 updates ( #9512 )
...
* Bump the dependencies group across 1 directory with 4 updates
Bumps the dependencies group with 4 updates in the /src/backend directory: [django-structlog](https://github.com/jrobichaud/django-structlog ), [pillow](https://github.com/python-pillow/Pillow ), [sentry-sdk](https://github.com/getsentry/sentry-python ) and [weasyprint](https://github.com/Kozea/WeasyPrint ).
Updates `django-structlog` from 9.0.1 to 9.1.1
- [Changelog](https://github.com/jrobichaud/django-structlog/blob/main/docs/changelog.rst )
- [Commits](https://github.com/jrobichaud/django-structlog/compare/9.0.1...9.1.1 )
Updates `pillow` from 11.1.0 to 11.2.1
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/11.1.0...11.2.1 )
Updates `sentry-sdk` from 2.25.1 to 2.26.1
- [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.25.1...2.26.1 )
Updates `weasyprint` from 65.0 to 65.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/v65.0...v65.1 )
---
updated-dependencies:
- dependency-name: django-structlog
dependency-version: 9.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: pillow
dependency-version: 11.2.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: sentry-sdk
dependency-version: 2.26.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: weasyprint
dependency-version: '65.1'
dependency-type: direct:production
update-type: version-update:semver-minor
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>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-04-16 17:07:55 +10:00
Oliver
204e2e6d46
Edit BOM substitutes ( #9521 )
...
* Edit BOM substitutes
* Add playwright tests
2025-04-16 14:38:59 +10:00
Oliver
0707ebf59b
Remove unimplemented action ( #9520 )
...
- Duplication will have to wait until we move away from file-based templates
2025-04-16 10:59:51 +10:00
Oliver
0f58b854fe
Prevent duplicate call to "frontend compile" ( #9519 )
...
- Reduces `invoke update` time significantly
2025-04-16 09:06:16 +10:00
Matthias Mair
99955c56d8
docs: add docs reagrding support the org receives ( #9516 )
2025-04-16 08:05:34 +10:00
Matthias Mair
bb6d8fb367
fix(backend): re-ignores tandard uv venv ( #9511 )
2025-04-16 08:05:07 +10:00
Matthias Mair
9ab82a187e
fix(ci): dependabot config ( #9514 )
...
* fix(ci): dependabot config
* bump now updatable lingui/cli
2025-04-16 08:04:54 +10:00
Oliver
ed6f24479d
Revert port changes ( #9510 )
...
- Breaks local server after restart
- Will have to find another way
2025-04-16 08:04:17 +10:00
Matthias Mair
0c7173c096
fix(ci): codecov upload ( #9513 )
...
* fix(ci): codecov uploader
* bump back down
2025-04-16 07:22:43 +10:00
Matthias Mair
4c830fb167
fix(backend): reduce noice in docker image start ( #9515 )
...
make dulwich detection less loud
2025-04-16 07:21:48 +10:00
Oliver
5e7e258289
[Plugin] Plugin context ( #9439 )
...
* Pass more stuff to window
* Expose form functions to plugin context
* Breaking: Render plugin component in context tree
- Required due to createRoot function
- Adds necessary context providers
* Fix context
* Provide MantineThemeContext
* Bundle mantine/core
* Hack for useNavigate within ApiForm
- Errors out if called within plugin context
- Workaround to catch the error
* Update build cmd
* Define config for building "Library" mode
* Update package.json
* Add basic index file
* Factor out ApiEndpoints
* factor out ModelType
* Factor out role enums
* Further refactoring
* More refactoring
* Cleanup
* Expose apiUrl function
* Add instance data to plugin context type def
* Tweaks for loading plugin components
- LanguageContext must be on the inside
* Tweak StylishText
* Externalize notifications system
* Update lingui config
* Add functions for checking plugin interface version
* Extract package version at build time
* Enhance version checking
* Revert variable name change
* Public package
* Add README.md
* adjust packge name
* Adjust name to include org
* Update project files
* Add basic changelog info
* Refactoring to expose URL functions
* Refactor navigation functions
* Update package and README
* Improve navigateToLink function
* Refactor stylish text
- Move into ./lib
- Do not require user state
* Revert changes
- StylishText throws error in plugin
- Low priority, can work out later
* expose function to refresh page index
* Provide RemoteComponent with a method to reload itself
* Bump version
* Cleanup tests
* Prevent duplicate --emptyOutDir arg
* Tweak playwright tests
* Expose role and permission enums
* Fix imports
* Updated docs
* Fix spelling, typos, etc
* Include more package version information
* Expose more version context
* Cleanup
* Probably don't need hooks
* Fix links
* Docs updates
* Fix links
2025-04-16 00:30:34 +10:00
Oliver
f3d804d5ea
Expose ports to outside network ( #9509 )
...
- Allows other devices to connect by default
2025-04-15 16:03:53 +10:00
Oliver
448d24de21
[UI] Serial Number Navigation ( #9505 )
...
* Add checkClose function to forms
- Allow custom check for whether form should be closed
* Add form to jump to serial number
* Tweak stock detail display
* Remove dead field
(might fix later, but it's hard with the current API)
* Add some icons
* Enhance extract_int functionality
* Add API endpoint for "next" and "previous" serials for a given stock item
* Add serial number navigation on stock item page
* Add playwright tests
* Bump API version
* Fix for serial number clipping
* Another tweak
2025-04-15 12:42:25 +10:00
github-actions[bot]
8d44a0d330
New Crowdin translations by GitHub Action ( #9489 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 11:39:30 +10:00