Fixes#10701
The issue was that the table row key was using 'props.item.pk', but the
API returns 'id' instead. This caused React to not properly render the
rows with their values.
Changed the key to use 'props.item.id' with a fallback to 'props.idx'
for new rows that don't have an ID yet.
(cherry picked from commit 8d1f7f39b4)
Signed-off-by: Akhil Singh <singhakhil69@gmail.com>
Co-authored-by: Akhil Singh <35478226+akhilsingh-git@users.noreply.github.com>
* bump vers
* fix ssl?
Added build dependencies for libbz2, libffi, and libssl.
* try empty buildpack
* clean up
* fix ref
* remove things we now do not need anymore
* add 22.04 as a target
* cleanup installer
* add changelog entry
* add dotenv
* update skript
* make task more robust for package usage
* ensure we have a site-url set
* fix style
* fix syntax
(cherry picked from commit f47a1a4675)
* Improve rendering of SupplierPart in forms
- Display pack_quantity
* Ensure boolean values have default
(cherry picked from commit 636477ac13)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Cleaner handling of inputs
* Fix for frontend form:
- Fix typo in field
- Better option defaults
* Tweak part category delete form
* Add frontend tests
(cherry picked from commit 23d580c4a9)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [docker] Allow HTTPS port to be specified for Caddy proxy
* Fix naming collision for INVENTREE_WEB_PORT
* Push InvenTree version first
* Adjust Caddyfile
- Change backup server
* Fix docstring
* Tweak for site URL check:
- Ignore port if SITE_LAX_PROTOCOL_CHECK is set
- Invert logic for readability
* Additional checks for port mismatch
* Adjust middleware checks
- Allow for less strict checking of CSRF_TRUSTED_ORIGINS
* Slight refactor
(cherry picked from commit f9ce9e20b2)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Remove TODO entry
- Placeholder when adding external build order support
(cherry picked from commit a466926aef)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Clear selected records when search term changes
* Clear selection after performing stock actions
(cherry picked from commit f22417fd1f)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Adjust config template
- Don't hard-code cookie mode into template
- Revert to the "default" values (which are the same)
* [ui] better feedback on login error
- Show error code, at least
* Revert removed code
* Adjust playwright tests
(cherry picked from commit 6badc0148f)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Better formatting
* Tweak setup docs
* Add information on process control and logs
* Fix typo
* Change `cli` to `invoke`
* Update docs/docs/start/installer.md
* Update docs/docs/start/installer.md
* Remove available commands section from installer.md
Removed section on available commands for InvenTree services.
---------
(cherry picked from commit 30e91eb226)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
* implement version loading in more contexts
closes#10554
* factor version file out
* ensure results do not contain new strings
(cherry picked from commit 6327707c0e)
Co-authored-by: Matthias Mair <code@mjmair.com>
- Prevent process interlock
- Prevent migration check if already running migrations
(cherry picked from commit 067cb1fccb)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [UI] Prevent warning flash
- Display warning element after a delay
* Support no-javascript
(cherry picked from commit 1a171b5705)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* show warning text
* fix formatting
* try to gather site-url correctly
* protect envs that are set in the config
* raise issue if they appear
* prefer app setting over file config
* preserve setting if injected via envs
(cherry picked from commit c83a9b01ce)
Co-authored-by: Matthias Mair <code@mjmair.com>