dependabot[bot]
47b8f8fb32
Bump pyjwt from 2.10.0 to 2.10.1 in /src/backend ( #8619 )
...
* Bump pyjwt from 2.10.0 to 2.10.1 in /src/backend
Bumps [pyjwt](https://github.com/jpadilla/pyjwt ) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.10.0...2.10.1 )
---
updated-dependencies:
- dependency-name: pyjwt
dependency-type: indirect
...
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>
2024-12-03 14:04:39 +11:00
dependabot[bot]
893a54c38a
Bump the dependencies group across 2 directories with 3 updates ( #8621 )
...
* Bump the dependencies group across 2 directories with 3 updates
Bumps the dependencies group with 1 update in the /contrib/dev_reqs directory: [jc](https://github.com/kellyjonbrazil/jc ).
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Updates `jc` from 1.25.3 to 1.25.4
- [Release notes](https://github.com/kellyjonbrazil/jc/releases )
- [Changelog](https://github.com/kellyjonbrazil/jc/blob/master/CHANGELOG )
- [Commits](https://github.com/kellyjonbrazil/jc/compare/v1.25.3...v1.25.4 )
Updates `mkdocs-include-markdown-plugin` from 7.1.1 to 7.1.2
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.1...v7.1.2 )
Updates `mkdocs-material` from 9.5.46 to 9.5.47
- [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.46...9.5.47 )
---
updated-dependencies:
- dependency-name: jc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: mkdocs-include-markdown-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: 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>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-12-03 09:08:27 +11:00
Matthias Mair
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
4f3e8cb0a0
[PUI] infinite loop if classic frontend is disabled ( #8614 )
...
Fixes #8575
2024-12-02 21:42:31 +11:00
Oliver
21cd285599
[PUI] Url fixes ( #8615 )
...
* Refactor URL generation
- Use built-in URL function
- Refactor "admin" button
- Refactor API image
- Refactor printing actions
- Refactor attachment link
* Refactor URL generation for icon packs
2024-12-02 18:49:15 +11:00
Oliver
147ca53629
Build required widget ( #8610 )
...
* Implement "required for build orders" dashboard widget
* Allow dashboard widges to be optionally disabled
* Fix for enabled check
2024-12-02 13:41:31 +11:00
Matthias Mair
f7697bd481
make logic simpler ( #8613 )
2024-12-02 10:49:28 +11:00
Matthias Mair
f9487597fb
[PUI] Make dashboard header look less like a widget ( #8611 )
...
* blend in header
* move indicator
2024-12-02 10:48:44 +11:00
Michael
8ac852728e
Added a comment on database creation for local testing ( #8603 )
...
* New pic
* Marked external icon in picture
* Added a comment on database creation for unittest
* Update contributing.md
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-12-02 09:47:49 +11:00
Oliver
7a3ceb9d6e
Fix for hasOwn ( #8600 )
...
- Also add null check on function call
- Closes https://github.com/inventree/InvenTree/issues/8595
2024-11-30 21:32:48 +11:00
Oliver
3149ae79ce
Allow settings value to be nullified ( #8596 )
...
* Allow settings value to be nullified
* Additional null check
* Bump API version
* Fix for unit test
2024-11-30 15:30:28 +11:00
Oliver
327884ca26
[PUI] Barcode title ( #8591 )
...
* Increase query limit
* PUI: Barcode UI tweaks
- Small visual tweaks to barcode dialogs
2024-11-29 17:32:15 +11:00
Oliver
20d862e350
Return Order - Improvements ( #8590 )
...
* Increase query limit
* Add "quantity" field to ReturnOrderLineItem model
* Add 'quantity' to serializer
* Optionally split stock when returning from customer
* Update the line item when splitting
* PUI updates
* Bump API version
* Add unit test
2024-11-29 17:06:35 +11:00
Oliver
dd9a6a8a2d
Event enum ( #8573 )
...
* Add enumeration for stock events
* Update function def
* Refactor build events
* Plugin events
* Update order events
* Overdue order events
* Add documentation
* Revert mkdocs.yml
* Stringify event name
* Enum cleanup
- Support python < 3.11
- Custom __str__
* Add unit tests
* Fix duplicated code
* Update unit tests
* Bump query limit
* Use proper enums in unit tests
2024-11-29 12:05:05 +11:00
Oliver
390828d166
Hide "location" column in certain conditions ( #8587 )
2024-11-29 10:45:24 +11:00
github-actions[bot]
ced695b099
New Crowdin translations by GitHub Action ( #8536 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-29 10:45:13 +11:00
Oliver
b27820250a
Add extra section to release notes ( #8586 )
2024-11-29 10:08:40 +11:00
Matthias Mair
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 e7ff5aa3984d6824d7cb29586aa22312cd8a76c6.
2024-11-29 07:48:19 +11:00
Oliver
db128f9322
Bug fix: record shipment date ( #8580 )
...
* Bug fix: record shipment date
- Ref: https://github.com/inventree/InvenTree/pull/6449
* Update unit test
2024-11-28 15:48:06 +11:00
Oliver
49cb63cb54
Add "stock" table to "category" page ( #8579 )
...
- Ref: https://github.com/inventree/InvenTree/discussions/8578
2024-11-28 15:15:04 +11:00
Oliver
c074250ce6
Stock Transfer Improvements ( #8570 )
...
* Allow transfer of items independent of status marker
* Update test
* Display errors in stock transsfer form
* Add option to set status when transferring stock
* Fix inStock check for stock actions
* Allow adjustment of status when counting stock item
* Allow status adjustment for other actions:
- Remove stock
- Add stock
* Revert error behavior
* Enhanced unit test
* Unit test fix
* Bump API version
* Fix for playwright test
- Added helper func
* Extend playwright tests for stock actions
2024-11-28 07:06:58 +11:00
Oliver
28ea275d1a
Consumed filter ( #8574 )
...
* Add API filter for 'consumed' status
* Add filter to table
* Bump API vession
2024-11-28 00:59:14 +11:00
Oliver
a48d23b161
Set status when returning from customer ( #8571 )
...
* Set status when returning from customer
* Fix default customer for return order table
* Set status when receiving items against a ReturnOrder
* Bump max query time for currency endpoint
* Bump API version
2024-11-28 00:09:18 +11:00
Oliver
81e87a65e2
[PUI] Fix stock actions ( #8569 )
...
* Fix useAssignStockItems
- Only allow "salable" parts
* Assign item to customer
* Adjust playwright tests
2024-11-27 15:01:07 +11:00
Matthias Mair
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
Oliver
20fb1250f8
Add new report filters for accessing database tables ( #8560 )
...
* Add new report filters for accessing database tables
* Simplify
* Handle exception
* Add docs
* Update docstrings
2024-11-27 07:51:27 +11:00
Oliver
368f3b7bd4
Remove regex dependency ( #8547 )
...
* Remove regex from requirements file
* Fix order of operations
- Remove hidden chars before removing HTML tags
* Remove requirement for regex package
* Additional unit tests
* Remove debug msg
* Fix for newline removal
* Fix variable shadowing
* Defer import of PIL.Image
2024-11-26 20:29:51 +11:00
Oliver
9d2ca5e617
Set null location on stock item: ( #8565 )
...
- When consumed by a build order
- When shipped to a customer
2024-11-26 20:29:37 +11:00
Oliver
7b1b476851
Handle pre-rendering when classic frontend is disabled ( #8563 )
2024-11-26 20:29:19 +11:00
Oliver
86c4a67bf3
Add location when creating multiple serials ( #8564 )
2024-11-26 20:29:07 +11:00
dependabot[bot]
708af682e7
Bump the dependencies group across 1 directory with 2 updates ( #8558 )
...
* Bump the dependencies group across 1 directory with 2 updates
Bumps the dependencies group with 2 updates in the /docs directory: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material ).
Updates `mkdocs-include-markdown-plugin` from 7.0.1 to 7.1.1
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.0.1...v7.1.1 )
Updates `mkdocs-material` from 9.5.44 to 9.5.46
- [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.44...9.5.46 )
---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: 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>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-11-26 09:25:29 +11:00
Matthias Mair
594dc49b84
Bump backend deps ( #8559 )
...
* bump backend deps
* bump api
2024-11-26 09:25:06 +11:00
Matthias Mair
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
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
dependabot[bot]
0fa7ed2742
Bump the dependencies group with 5 updates ( #8556 )
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [docker/metadata-action](https://github.com/docker/metadata-action ) | `5.5.1` | `5.6.1` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `5.0.2` | `5.0.7` |
| [anchore/sbom-action](https://github.com/anchore/sbom-action ) | `0.17.7` | `0.17.8` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `3.27.4` | `3.27.5` |
| [crowdin/github-action](https://github.com/crowdin/github-action ) | `2.3.0` | `2.4.0` |
Updates `docker/metadata-action` from 5.5.1 to 5.6.1
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Commits](8e5442c4ef...369eb591f4
)
Updates `codecov/codecov-action` from 5.0.2 to 5.0.7
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](5c47607acb...015f24e681
)
Updates `anchore/sbom-action` from 0.17.7 to 0.17.8
- [Release notes](https://github.com/anchore/sbom-action/releases )
- [Changelog](https://github.com/anchore/sbom-action/blob/main/RELEASE.md )
- [Commits](fc46e51fd3...55dc4ee224
)
Updates `github/codeql-action` from 3.27.4 to 3.27.5
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ea9e4e3799...f09c1c0a94
)
Updates `crowdin/github-action` from 2.3.0 to 2.4.0
- [Release notes](https://github.com/crowdin/github-action/releases )
- [Commits](2d540f18b0...a9ffb7d5ac
)
---
updated-dependencies:
- dependency-name: docker/metadata-action
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: anchore/sbom-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-patch
dependency-group: dependencies
- dependency-name: crowdin/github-action
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>
2024-11-26 07:34:51 +11:00
Oliver
d26a683cf1
Add unit test ( #8550 )
...
- Unit test to ensure event is fired when stock item is created OR updated
- Ref: https://github.com/inventree/InvenTree/pull/8546
- Ref: https://github.com/inventree/InvenTree/issues/8452
2024-11-25 22:43:17 +11:00
Oliver
51d981a102
Add playwright tests ( #8549 )
...
- Add checks for invalid logins
2024-11-25 22:34:35 +11:00
Volker
ee9980e481
after_save_stock_item ( #8546 )
...
This pull request addresses the issue discussed in #8452
2024-11-25 22:02:22 +11:00
Oliver
809a978f7d
API date filter updates ( #8544 )
...
* Add 'stocktake_before' and 'stocktake_after' filters for StockItem API
* Enable new filters for StockItemTable
* Update CUI table filters
* Add more date filter options for orders
* Add date filters to BuildList
* Update BuildOrderTable filters
* Add more order date filters
* Cleanup PurchaseOrderFilter code
* Implement more PUI table filters
* Add "Completion Date" column to PurchaseOrderTable
* Update ReturnOrderTable
* Add 'text' option for TableFilter
* filter state management
* Bump API version
* Sorting for table filters
* Add playwright tests for stock table filtering
* Playwright updates
- Add some helper functions for common operations
* Refactoring for Playwright tests
2024-11-25 21:36:31 +11:00
Michael
5e762bc7f7
Change picture for external stock location ( #8543 )
...
* New pic
* Marked external icon in picture
2024-11-25 12:40:55 +11:00
Matthias Mair
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
Oliver
f6124fc4a1
Add info on --skip-backup ( #8541 )
2024-11-24 15:50:23 +11:00
Oliver
e2e0ecc674
Remove dummy migration file ( #8537 )
2024-11-22 09:51:44 +11:00
Jacob Felknor
94089c94b7
Add PO wildcard default setting ( #8532 )
...
* add PO wildcard default setting
* Revert "add PO wildcard default setting"
This reverts commit 6cc577fa733709fe6b38f2f63244ebcb9a1fb8e5.
* use custom format spec for "wildcard with default" reference pattern
* add wildcard with default to docs
* add test for wildcard with default
2024-11-22 09:27:06 +11:00
github-actions[bot]
6250901c2f
New Crowdin translations by GitHub Action ( #8491 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-21 15:00:52 +11:00
Oliver
01aa8bb2ba
Plugins installation improvements ( #8503 )
...
* Append plugins dir to pythonpath
* Error handling in plugin helpers
* Install plugin into "plugins" directory
* Use plugins dir when installing from plugins.txt
* Implement removal of plugin from plugins dir
* Remove the dist-info dirs too
* Cleanup
* Catch errors
* Specify plugin location for CI
* Remove plugins.txt support
* Improve regex for plugin matching
* Revert "Remove plugins.txt support"
This reverts commit 02783503513673574255bd1a809ce17c6f0cee6c.
* Remove PLUGIN_ON_STARTUP support
* Better error catching for broken packages
* Cleanup
* Revert "Cleanup"
This reverts commit a40c85d47d9446cf4181b9865d2fce6a63efba92.
* Improved exception handling for plugin loading
* More logging
* Revert uninstall behaviour
* Revert python path update
* Improve check for plugins file
* Revert check on startup
* Better management of plugins file
- Use file hash to determine if it should be reloaded
* Fix docstring
* Update unit tests
* revert gh env
* No cache
* Update src/backend/InvenTree/plugin/installer.py
Co-authored-by: Matthias Mair <code@mjmair.com>
* Use hashlib.file_digest
* Remove --no-cache-dir
* Revert "Use hashlib.file_digest"
This reverts commit bf84c8155e6036da0a529acba44386fed982ae8e.
* Add note for future selves
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-11-21 07:38:26 +11:00
Oliver
13440a6eed
Better handling for undefined values in SettingsList ( #8531 )
2024-11-20 20:17:30 +11:00
Oliver
41a9b6897a
Cleanup format_number ( #8529 )
...
- Removed unused line
2024-11-20 12:26:13 +11:00
Matthias Mair
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
Oliver
3a81e0380d
Improve plugin panels ( #8523 )
...
* Improve plugin panels
- Do not prepend plugin name unless necessary
- Allows for "cleaner" navigation URLs
* Fix typo
2024-11-20 09:28:02 +11:00