Matthias Mair
f7f6e27c6e
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
2025-01-28 09:42:13 +11:00
Oliver
16b03a7371
Fix for 'issued_by' field on BuildDetail page ( #8962 )
2025-01-27 23:45:48 +11:00
Oliver
a13f5681a1
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 <code@mjmair.com>
2025-01-27 21:01:02 +11:00
Matthias Mair
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
Oliver
630d165c22
[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
2025-01-27 14:45:11 +11:00
Oliver
ddcb7980ff
[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
2025-01-27 14:03:40 +11:00
Matthias Mair
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
77cb8c1f47
Remove theme doc ( #8958 )
2025-01-27 07:33:02 +11:00
dependabot[bot]
98d2dd7930
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2025-01-27 00:31:26 +11:00
Oliver
d5928f038d
Add check for minimum invoke version ( #8952 )
2025-01-26 11:44:57 +11:00
Oliver
640d5852e4
Docs updates: ( #8951 )
...
* Docs updates:
- Fix error related to key access
- Fix rendering of settings tables
- Add setting key as mouseover text
* Revert config
2025-01-26 11:00:14 +11:00
Oliver
ab7e6385c2
Notification cleanup ( #8945 )
...
- Prevent spamming of duplicate notifications
2025-01-26 07:18:38 +11:00
dependabot[bot]
94a0e11702
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] <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-01-26 07:18:05 +11:00
Oliver
e9bc4645ca
Build category filter ( #8940 )
...
* Add 'category' filter to BuildList
- Allows filtering by part category
* Add filter element to build table
* Bump API version
2025-01-22 22:22:03 +11:00
Oliver
19d7825fa6
Cleanup dead code ( #8939 )
...
- Used for old UI plugins
- No longer referenced
2025-01-22 21:04:39 +11:00
dependabot[bot]
6d758e8e9f
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:18:33 +11:00
Oliver
8e8b7158b7
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
2025-01-22 16:34:13 +11:00
github-actions[bot]
4a9785d5e9
New Crowdin translations by GitHub Action ( #8916 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-21 16:00:40 +11:00
dependabot[bot]
2f2e47987e
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](8dfaf9c206...d1632879d4
)
---
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 14:47:15 +11:00
Oliver
fddaaf9844
Code cleanup ( #8931 )
...
- Remove TemplatePrintBase class
- Not referenced in code
2025-01-21 09:55:44 +11:00
Oliver
f602c439ca
Fix docstring for Build model ( #8928 )
2025-01-21 01:56:57 +11:00
Oliver
68d3620bb2
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
2025-01-21 01:41:13 +11:00
Oliver
2575c7276c
Import fix ( #8924 )
...
* Exclude "tags" fields from data import
- May reintroduce at a later date
- Currently, no support for editing tags in frontend
* Refactor
2025-01-21 01:24:36 +11:00
Oliver
95874d9097
Update SalesOrderAllocationTable ( #8911 )
...
* Update SalesOrderAllocationTable
- Add 'description' column for part
- Add 'IPN' column for part
* Fix unit test
2025-01-21 00:37:36 +11:00
Oliver
7ad49949c8
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
2025-01-21 00:37:23 +11:00
Oliver
87ccf52562
Reintroduce setting for project codes ( #8920 )
...
* Re-introducde old setting
* Optionally hide project code column
* Control visibility of table filters
* Hide fields from forms
2025-01-20 23:29:20 +11:00
Oliver
37c8418f0e
Pass locale information through to plugins ( #8917 )
2025-01-20 15:40:32 +11:00
Oliver
40c5910311
Cleanup UserManagementPanel ( #8914 )
...
- Split items using <Accordion />
2025-01-20 13:18:31 +11:00
Matthias Mair
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
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
github-actions[bot]
46ebe81304
New Crowdin translations by GitHub Action ( #8882 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-19 21:58:50 +11:00
Matthias Mair
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
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
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
Matthias Mair
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
Matthias Mair
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
Oliver
5de65891c3
Allow CORS for /plugin/ URLs ( #8898 )
...
- Ref: https://github.com/inventree/inventree-order-history/issues/17#issuecomment-2591275055
2025-01-15 14:45:58 +11:00
Oliver
c7e960728d
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
2025-01-15 14:02:43 +11:00
Oliver
412bba50ba
Slight tweak to <DetailsTable> ( #8890 )
...
* Slight tweak to <DetailsTable>
* Responsive layout for user settings
* Make menu links responsive
* Update <FactCollection />
* Update part pricing panels
2025-01-14 13:42:03 +11:00
Oliver
46f6450ee1
[UI] Responsiveness Improvements ( #8885 )
...
* Shorten string in page title
* Style fixes
* Adjust cell width props
* Refactor <PageDetail> component
- Improve responsiveness
* Simplify <ItemDetailsGrid />
* Refactor <DetailsImage>
2025-01-14 10:38:48 +11:00
dependabot[bot]
ea1b2e3079
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](49b3bc8e6b...53851d1459
)
Updates `actions/upload-artifact` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](6f51ac03b9...65c4c4a1dd
)
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](8621497c8c...e348103e90
)
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](48ab28a6f5...b6a472f63d
)
---
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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 07:05:21 +11:00
Oliver
dd5aa5f4e4
Allow null value for expiry_date field ( #8886 )
...
* Allow null value for expiry_date field
* Bump API version
2025-01-13 14:31:03 +11:00
Oliver
b06b762895
[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
2025-01-12 14:58:52 +11:00
Jacob Felknor
e8c1417b15
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 <code@mjmair.com>
2025-01-12 13:56:30 +11:00
Oliver
c75630d1bd
Add Serbian to LanguageContext.tsx ( #8880 )
2025-01-12 09:06:44 +11:00
github-actions[bot]
4390c01cc1
New Crowdin translations by GitHub Action ( #8857 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-12 09:06:29 +11:00
Oliver
7eac3d7d42
Forms refactor ( #8876 )
...
- Use dayjs for cleaner code
2025-01-12 08:18:42 +11:00
Oliver
000419255a
Adjust StockItem form ( #8869 )
...
- Auto-set expiry date
2025-01-11 09:22:53 +11:00
Oliver
c99aae5a28
Updated docstring ( #8868 )
2025-01-10 18:10:42 +11:00
Oliver
dcff7a5ccd
Simplify translated string ( #8860 )
2025-01-08 12:55:56 +11:00