* 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
(cherry picked from commit 23e4f2f2a23ec0e17c392187ddc351711d434011)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Default value was previously 'True'
- Documentation indicated that it was 'False'
- Value in config_template.yaml was 'False' (but commented out)
(cherry picked from commit d4ee8c53b21143bdf151010ebb3d3e27e1c3fb09)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* 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
* fix merge issues
* fix merge from https://github.com/inventree/InvenTree/pull/8724
* 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
(cherry picked from commit aabcf52cd26a15c8338d47c8337d2587d8c2d37e)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Fix badge rendering for SalesOrderShipment
(cherry picked from commit 130bc84b4452db4e479477faf8b04b80a6b8e15c)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Extra null check in SettingList.tsx
* Null checks on error responses
(cherry picked from commit 378d69f0b36db3a35b65857a10cf9f56f64eda85)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Add helper function for displaying API error message
* Provide feedback on image upload
* Update notification
(cherry picked from commit 1eaf3a4594b404e08e52bebeef3fd3952d40b0bc)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Fixes issues with limitations on old MySQL server
(cherry picked from commit 4569fd273dbbb28b2e173374e7530b247ab9cf5b)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Retain data when updating a single record
- Fixes https://github.com/inventree/InvenTree/issues/8693
(cherry picked from commit 1910612725b3db8b42b014dbf5f13d86dce0f059)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Start documentation chapter for plugin tests
* Added env variables to the doc
* Fix style errors
* Further style bugs
* Reformat environment variables
* Reformat environment variables
* Add comments from wolflu05
* Add text to the intro
* Added first example the plugin unit test
* Addred line it function
* Typo
* Typo
* Typo
* API fixes for SupplierPart
- Move API filtering into SupplierPartFilter class
- Correct field annotation for detail view
* Add "in stock" and "no stock" badges to SupplierPart detail
* Update details
* Annotate 'on_order' quantity for SupplierPart
* Add "has_stock" filter to SupplierPart API
* Improve API query efficiency
* Add 'has_stock' filter to table
* Update <SupplierPartDetail>
* Bump API version
* 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>
* 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