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
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
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
Oliver
c815455461
Datamatrix ( #8853 )
...
* Implement datamatrix barcode generation
* Update documentation
* Update package requirements
* Add unit test
* Raise error on empty barcode data
* Update docs/hooks.py
2025-01-08 12:06:00 +11:00
Oliver
9138e31e58
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
2025-01-08 10:07:38 +11:00
Oliver
296c54a1d7
[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
2025-01-08 07:34:06 +11:00
Oliver
3a62bdd276
Ensure error is raised ( #8849 )
2025-01-07 17:07:07 +11:00
Oliver
b42edbf2ab
Fix for notification ( #8840 )
...
label -> title
2025-01-07 15:00:48 +11:00
Oliver
dcf0bb103e
Order creation fix ( #8846 )
...
* Bug fix for PurchaseOrder
- Correctly record the user who created a PO
- Code refactoring
* Updated unit tests
2025-01-07 14:59:22 +11:00
Oliver
94f7890a41
Fix for test results in stock item report context ( #8843 )
...
- Allow for "cascade" installed items
- i.e. support multi-level installed items
2025-01-07 10:34:47 +11:00
Oliver
ce617b7792
[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 <code@mjmair.com>
2025-01-06 14:14:38 +11:00
Oliver
40cff05864
Tasks cleanup ( #8838 )
...
* Pretty print and typo fix
* Improved output
* Improve logging
2025-01-06 10:06:38 +11:00
Matthias Mair
6b5e0dbb29
remove structlog from internal paths ( #8836 )
2025-01-06 07:28:28 +11:00
Oliver
ae1f9bf274
Navigate to index when deleting a company ( #8831 )
2025-01-05 22:43:20 +11:00
github-actions[bot]
8b343e570e
New Crowdin translations by GitHub Action ( #8826 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-05 20:21:50 +11:00
Oliver
b2a3f6d311
Remove old PanelMixin class ( #8828 )
...
- Custom panels for legacy UI
- No longer needed
2025-01-05 14:58:07 +11:00
Matthias Mair
7125261bbc
Remove admin shell ( #8816 )
2025-01-05 12:57:20 +11:00
Matthias Mair
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
github-actions[bot]
5eeb150828
New Crowdin translations by GitHub Action ( #8786 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-01 10:41:30 +11:00
Oliver
16e9729308
Allow barcode linking for stock location ( #8802 )
2024-12-31 15:48:41 +11:00
Oliver
23e4f2f2a2
[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
2024-12-31 12:33:17 +11:00
Oliver
1c2ad94bb7
Remove old script for calculating translation stats ( #8787 )
...
* Remove old script for calculating translation stats
* Update tasks.py
* Adjust unit test call
2024-12-29 20:41:14 +11:00
Oliver
5e79c6906c
[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
2024-12-29 17:00:27 +11:00
Oliver
cd0ee7dbab
Url refactor ( #8784 )
...
* Cleanup config template
* Small refactor
- Fix for frontend_base_url setting
* Revert base url
* Fix reverse URL lookup
2024-12-29 14:54:02 +11:00
Oliver
964984ccac
[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 06c858ae7c .
* Fix save method
* Unit test fixes
* Fix for ReturnOrderLineItem
* Reorganize code
* Adjust unit test
2024-12-29 08:45:23 +11:00
Matthias Mair
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
Oliver
3e73162368
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
2024-12-28 20:38:53 +11:00
github-actions[bot]
0765b00520
New Crowdin translations by GitHub Action ( #8752 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-27 19:43:52 +11:00
Oliver
189f2303b8
[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
2024-12-27 11:01:48 +11:00
Matthias Mair
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
Oliver
d4ee8c53b2
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)
2024-12-26 11:25:58 +11:00
Oliver
ae7f4e33d5
Zero stock fix ( #8766 )
...
* Change backend validation
- Allow stock adjustments with zero quantity
* Frontend changes
2024-12-26 10:42:07 +11:00
Oliver
c79fc281fd
Fix typo ( #8757 )
...
- registraton -> registration
2024-12-25 07:38:39 +11:00
Matthias Mair
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
dependabot[bot]
02e43061b2
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] <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-24 11:54:10 +11:00
Matthias Mair
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
Oliver
8fcebefa0b
Handle error when loading icon pack ( #8753 )
...
* Handle error when loading icon pack
* Update
2024-12-24 10:18:00 +11:00
Matthias Mair
ec6280dacd
MFA add better logging ( #8745 )
...
* add better logging
* use structlog
2024-12-24 07:22:28 +11:00
Matthias Mair
728e0894aa
Factor out helper ( #8744 )
...
* facour out helper
* fix import path
2024-12-24 07:20:27 +11:00
Oliver
71eb2814d4
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
2024-12-24 07:19:36 +11:00
Oliver
f31ba657cc
API error handling ( #8739 )
...
* API error handling
- Add error handlers to various API calls
* Fix return type
2024-12-24 07:18:56 +11:00
github-actions[bot]
933330fa51
New Crowdin translations by GitHub Action ( #8683 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-23 10:36:39 +11:00
Matthias Mair
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
Joe Rogers
0bcad6b340
Add separate dialog for 'Ship Order' button ( #8734 )
2024-12-22 16:08:45 +11:00
Oliver
d8207c88f0
Remove unused setting ( #8731 )
2024-12-21 08:33:31 +11:00
Oliver
aabcf52cd2
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
2024-12-20 14:53:39 +11:00
Oliver
68ac4118e9
[UI] Link fix ( #8726 )
...
- Fixes anchor issues in stock tracking table
2024-12-20 12:21:21 +11:00
Oliver
130bc84b44
Badge fix ( #8725 )
...
- Fix badge rendering for SalesOrderShipment
2024-12-20 12:13:00 +11:00
Matthias Mair
aad5575cd2
Fix MFA auth flow ( #8720 )
...
* Re-add html account base
Fixes #8690
* fix base template
2024-12-20 07:21:22 +11:00
Oliver
53792693f5
Allow backup_value to be specified to the 'getkey' report helper ( #8719 )
2024-12-19 09:24:01 +11:00
Matthias Mair
17fd7f32a4
consider INVENTREE_RESTRICT_ABOUT setting ( #8717 )
2024-12-19 08:37:39 +11:00
Oliver
6634bc54bd
Remove javascript rendering ( #8713 )
2024-12-19 07:34:01 +11:00
Oliver
88bfb23362
Cleanup tags ( #8712 )
...
* Remove part_allocation_count tag
* Remove more dead tags
2024-12-19 07:33:48 +11:00
Oliver
e37e72357a
Cleanup old settings ( #8709 )
...
* Use LABEL_ENABLE and REPORT_ENABLE settings in PUI
* Cleanup base.html
- Should reduce db hits slightly
* Remove defunct homepage settings
* Cleanup old settings
* Adjust unit test
2024-12-19 07:31:59 +11:00
Matthias Mair
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
Oliver
1493bbaac6
[Refactor] Template fix ( #8710 )
...
* Commonize favicon template
* Cleanup templates
2024-12-19 01:18:13 +11:00
Oliver
378d69f0b3
[UI] Enhanced null checks ( #8706 )
...
* Extra null check in SettingList.tsx
* Null checks on error responses
2024-12-19 00:59:56 +11:00
Oliver
1eaf3a4594
Image upload error ( #8700 )
...
* Add helper function for displaying API error message
* Provide feedback on image upload
* Update notification
2024-12-18 23:24:18 +11:00
Oliver
4569fd273d
Cast barcode scan IDs to list ( #8701 )
...
- Fixes issues with limitations on old MySQL server
2024-12-18 16:51:32 +11:00
Oliver
1910612725
Fix for table update ( #8698 )
...
- Retain data when updating a single record
- Fixes https://github.com/inventree/InvenTree/issues/8693
2024-12-18 14:21:31 +11:00
Oliver
9f1d1abd5b
Remove "crispy forms" integration ( #8684 )
...
* Remove "crispy forms" integration
- No longer doing any back-end form rendering
* Remove django-formtools package
* Fix comment in settings.py
---------
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-12-18 09:25:14 +11:00
Oliver
886d1b39cf
Remove old javascript file ( #8697 )
2024-12-18 09:14:45 +11:00
Matthias Mair
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
Oliver
acb756eacc
Remove custom context processors ( #8540 )
...
* Remove custom context processors
- Only merge after 0.17.0 release
- Remove code which injects custom context variables into CUI requests
- Not needed for new API-based PUI code
- Speeds up requests - remove unnecessary DB hits
* Remove broken import
* Remove custom staticfile processing
- No longer needed as CUI is gone
2024-12-17 13:48:43 +11:00
Matthias Mair
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
d4be203b03
small style changes ( #8681 )
2024-12-17 10:31:21 +11:00
github-actions[bot]
5d2329651a
New Crowdin translations by GitHub Action ( #8668 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-17 10:09:12 +11:00
Oliver
3041d9050b
Bump version number ( #8677 )
...
- Update to 0.18.0 dev
- Will likely become 1.0.0 dev
2024-12-17 09:16:38 +11:00
Oliver
d42435c841
[Refactor] Barcode scanning ( #8658 )
...
* Enhance SupplierPart barcode mixin
- Provide richer response based on available data
* Add comment
* Add new fields to BarcodePOReceiveSerializer
* Add "supplier" information to serializer
* Add 'is_completed' method for PurchaseOrderLineItem
* Refactor SupplierBarcodeMixin
* Tweak error message
* Logic fix
* Fix response data
* Improved error checking
* Bump API version
* Bump API version
* Error handling
- Improve get_supplier_part method
- Error handling
- Wrap calls to external plugins
* Enhanced unit testing and exception handling
* More exception handling
* Fix circula imports
* Improve unit tests
* Adjust filtering
* Remove outdated tests
* Remove success code for matching item
2024-12-17 07:39:49 +11:00
Oliver
169f4f8350
[PUI] Order Parts Wizard ( #8602 )
...
* Add generic <WizardDrawer />
* Add a wizard hook
- Similar to existing modal form hook
* Slight refactor
* Simple placeholder table
* Only purchaseable parts
* Add callback to remove selected part
* Add step enum
* Improve wizard
* Render supplier image
* Add validation checks for wizard
* Further wizard improvements
* add error support
* Improvements
* Refactoring
* Add error checking
* Order from part detail page
* Implement from SalesOrder view
* Implement from build line table
* Implement from StockItem table
* Add to StockDetail page
* Cleanup PartTable
* Refactor to use DataTable interface
* Simplify wizard into single step
* Refactoring
* Allow creation of new supplier part
* Cleanup
* Refactor <PartDetail>
* Fix static hook issue
* Fix infinite useEffect
* Playwright tests
2024-12-16 23:07:33 +11:00
Oliver
34b70d0a39
PUI: Adjust test result table ( #8667 )
...
- Allow disable of results for "disabled" tests
- Controlled via additional table filter
2024-12-16 14:28:27 +11:00
github-actions[bot]
88ab59359f
New Crowdin translations by GitHub Action ( #8654 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-12-16 09:50:27 +11:00
Matthias Mair
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
dd83735710
Fix vulnerable dependencies ( #8655 )
...
* bump container reqs
* bump vul frontend dep
* fix tests
2024-12-12 08:38:11 +11:00
Oliver
1adc42d422
Filter fix ( #8652 )
...
* Allow ordering by IPN
* Update table
2024-12-11 15:44:00 +11:00