Commit Graph
1822 Commits
Author SHA1 Message Date
Oliver 839cd571f4 Supplier price note (#13027)
* add extra information to form

* Updated documentation

* Updated UI

* Fix broken link
2026-10-17 08:11:56 +11:00
Matthias Mair 7e3f1e3a65 fix #12661 (#13020) 2026-10-16 23:38:05 +11:00
Oliver ad0828a8fe [UI] Prevent duplicate search queries (#13024)
Prevent search query from re-firing and cancelling previous query
2026-10-16 22:14:25 +11:00
github-actions[bot] a151d22a9c New Crowdin translations by GitHub Action (#13018)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-16 19:21:59 +11:00
Matthias Mair 2f139f94b4 feat: Add First Time User Guide and tipp backend data structure (#12978)
* add backend stuff

* update str method

* add to admin

* [FR] Add FTUE
Fixes #2907

* bump deps

* bump api

* add missing ruleset entry

* fix init

* add jumpoff to nav

* try disableing specific test

* fix lookup

* fix mounting

* disable more

* make tour conditional

* only show ftue once

* remove temp disable

* add actual content

* enable using the menu as well

* reorder steps

* finish propagation

* only allow delete

* lower testing runtime for now

* fix nitpicks

* revert frontend debug changes

* fix migration

* patch out ftu behaviour on the backend

* rename to first time use guide

* change tipp (DE) to tip (EN)

* deduplicate notification
2026-10-15 19:46:06 +11:00
OliverandMatthias Mair 9b8fdeb06d Internal company support (#13017)
* Add internal company flag

* Unit tests

* Add changelog entry and update API version

* add global company table

* Expose model_filters for internal settings

* Update API version

* Update CHANGELOG

* update assert

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-10-15 11:20:59 +11:00
Oliver 720ba157bb Shipment contact info (#13016)
* Add 'contact' field to SalesOrderShipment model

* add unit test

* Update shipment table

* improve UI form

* Add 'phone' and 'email' fields to Address model

* Bump API version

* Update CHANGELOG

* Updated docs
2026-10-14 19:33:33 +11:00
github-actions[bot] dec51eab52 New Crowdin translations by GitHub Action (#13011)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-14 18:02:57 +11:00
Oliver de962f5144 Tweak playwright tests (#13012)
Robustify / reduce flakiness
2026-10-14 11:48:59 +11:00
github-actions[bot] 6739bfea89 New Crowdin translations by GitHub Action (#12983)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-14 10:02:36 +11:00
Oliver 99893f3453 [UI] Nested bom (#12952)
* [UI] Replace BOM subassembly table

- Do not render as a separate table
- Dynamically load and insert subassembly data
- Retains single table layout
- Observe same column setup

* Adjust alignment of icons

* Hide certain icons for nested rows

* Display subassembly quantity chain

* Display full multiplication chain

* Add nested pricing multipliers

* Display the multiplied "can-build" quantity

* Updated BOM docs

* Playwright tests

* Handle case where can_build is zero

* Refresh nested BOM when underlying records change

* Remove trunc for display

* fix playwright test
2026-10-13 22:59:51 +11:00
Matthias Mair 104adebbf4 fix style nitpicks (#12995)
* disable restriction (for now)

* reduce duplication

* remove duplication in scim view

* fix diff

* fix reassign

* remove statment that is always wrong

* log with full context

* allign order to anguage defaults

* adress shelldre:S7688
2026-10-13 10:02:02 +11:00
Matthias Mair 600dc1a75b feat(frontend): optional nav tree sidebyside (#12974)
* disable restriction (for now)

* add option for a permanent navigation tree

* revert unintended change

* adjust search text to be less confusing when pinned
2026-10-13 09:26:57 +11:00
Petr Ledvina 47f2e6acdd Show allocated part full names when BOM parts differ (#12981)
Keep the BOM requirement on parent rows. In allocation subtables, use
the shared part renderer with full_name when the allocated part differs
from the requirement, respecting PART_NAME_FORMAT. Exact matches keep
the compact name; shared copy, thumbnail and status behavior is retained.

Mark differing parts with a neutral information icon and scope output
allocation tables to the selected output. Cover revision differences,
family descendants, empty fields, custom formats, copying and refresh.
2026-10-13 09:23:24 +11:00
Max Grollmannandmg 0a0cccedd9 strip query strings when deriving file names from media URLs (#12993)
fixes #12992

Co-authored-by: mg <mg@layerx-defence.com>
2026-10-12 14:12:54 +11:00
github-actions[bot] fcd8af4283 New Crowdin translations by GitHub Action (#12942)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-10 05:57:44 +12:00
dependabot[bot] 3ae99490fc chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /src/frontend (#12980)
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-09 06:39:25 +12:00
dependabot[bot] 6c4d2ef347 chore(deps): bump undici from 6.28.0 to 8.11.2 in /src/frontend (#12962)
Bumps [undici](https://github.com/nodejs/undici) from 6.28.0 to 8.11.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.28.0...v8.11.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.11.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-03 07:54:53 +12:00
dependabot[bot] 3d750efa0e chore(deps): bump moment from 2.30.1 to 2.31.0 in /src/frontend (#12964)a
Bumps [moment](https://github.com/moment/moment) from 2.30.1 to 2.31.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.30.1...2.31.0)

---
updated-dependencies:
- dependency-name: moment
  dependency-version: 2.31.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-03 07:54:28 +12:00
dependabot[bot] 43088c4596 chore(deps): bump brace-expansion from 5.0.9 to 5.0.12 in /src/frontend (#12963)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.9 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.9...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-03 07:54:04 +12:00
dependabot[bot] 9230ff29f4 chore(deps): bump dompurify from 3.4.14 to 3.4.16 in /src/frontend (#12960)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.4.14 to 3.4.16.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.4.14...3.4.16)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.16
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-03 07:52:36 +12:00
Oliver afab76835f [UI] Details tweaks (#12949)
* Fix hover div element

* Improve badge formatting

* Set staleTime for useQuery in NameBadge

* add staleTime elsewhere

* Improved error handlign for badges

* Better caching for parameterTemplate useQuery

* Disable remoteInstance query without pk
2026-09-29 19:58:31 +10:00
dependabot[bot] aa78504750 chore(deps): bump undici from 8.10.1 to 8.10.2 in /src/frontend (#12948)
Bumps [undici](https://github.com/nodejs/undici) from 8.10.1 to 8.10.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v8.10.1...v8.10.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.10.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 12:44:52 +10:00
github-actions[bot] c2b7f71f2f New Crowdin translations by GitHub Action (#12941)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-28 13:04:17 +10:00
github-actions[bot] d3c23f37ca New Crowdin translations by GitHub Action (#12909)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-27 14:14:58 +10:00
d33d77d679 feat: add plugin support for custom page integration (#12900)
* Added plugin UI route functionality.

* Updated Sample UI plugin with route example.

* Added UI route tests.

* Plugin name added to UI Route URL.

* Updated docs.

* Docs fix.

* Updated sample_route text.

* Update src/backend/InvenTree/plugin/base/ui/mixins.py

Co-authored-by: Matthias Mair <code@mjmair.com>

* Fixed nav dynamic link highlighting.

* Added changelog entry.

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-27 08:13:54 +10:00
Oliver 402cbfc6cc [UI] Order lines table (#12362)
* Add line items progress column to TransferOrderTable

* Add line item overview to order detail pages
2026-09-26 16:21:38 +10:00
44b97e5c3b Improve barcode scanning with native BarcodeDetector (#12784)
* Improve barcode scanning with native BarcodeDetector

Use the browser-native BarcodeDetector (Shape Detection API) for camera
barcode scanning when available, falling back to html5-qrcode. Native
decoding is hardware-accelerated and far more robust to low light, blur
and small codes than the pure-JS software decoder.

Also:
- Prefer the rear camera and higher resolution for better recognition
- Add a flashlight (torch) toggle for low-light scanning
- Full-frame detection (no aiming box) with multi-code support
- Auto-select a camera so scanning starts without manual selection
- Relax camera constraints (ideal instead of exact) for mobile robustness
- Fix a bug where the native <video> element was not rendered before
  scanning started, making the play button unresponsive

* Honor selected camera instead of forcing rear camera

The videoConstraints.facingMode override in the legacy html5-qrcode
path replaced the selected camera ID entirely, so selfie/front cameras
could not be used. Remove the facingMode preference from both scan
paths and rely on the camera selector, which already auto-selects the
rear camera when available.

* Adjust camera input settings for barcode scanning

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-26 16:21:30 +10:00
Fran QuintoandOliver 600c2cc053 Add Catalan language support (#12926)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-26 14:29:44 +10:00
Oliver 979ddb3f06 Default receive location (#12911)
* Add global setting

* docs

* Dynamically set API field default

* UI elements

* regression testing

* Add CHANGELOG entry

* Fix unit test
2026-09-26 11:39:44 +10:00
Oliver 7ece9e8487 [UI] Fix BOM pricing tooltip (#12931)
* [UI] Fix BOM pricing tooltip

* Add delay for playwright test
2026-09-26 09:50:13 +10:00
Oliver c4c493d3fd Global batch code (#12912)
* Add top-level batch code when receiving items

* Add API test

* Bump API version
2026-09-24 07:32:12 +10:00
Oliver 63f81714fb Test result bug (#12918)
* [UI] Fix for test results

* Display all results in expanded table row

* Fix uni ttest
2026-09-23 22:09:50 +09:30
github-actions[bot] 0a09fd582c New Crowdin translations by GitHub Action (#12895)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-22 09:51:26 +10:00
Matthias Mair c86df83c01 try fixing leaky firefox tests (#12904) 2026-09-21 16:56:42 +10:00
Oliver fb0cc89fc3 [UI] Fix Background Tasks panel (#12899)
- Prevent visual flicker of "background worker not running"
2026-09-21 15:03:20 +10:00
github-actions[bot] bc005959f5 New Crowdin translations by GitHub Action (#12865)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-20 10:40:45 +10:00
Oliver 2f9064a5c2 Improved API error handling (#12884)
* Improved API error handling

* Remove comment

* Fixes for playwright
2026-09-19 16:24:22 +10:00
Matthias Mair ad69a35dfb feat: support password change well-known (#12878)
as per https://adamj.eu/tech/2026/09/16/django-change-password-url/
2026-09-19 08:26:07 +10:00
Oliver e37045ac41 Display user fix (#12869)
* Add 'created-by' badge to order pages

* Update playwright tests

* fix icons
2026-09-18 07:39:18 +10:00
github-actions[bot] 3a0ade3265 New Crowdin translations by GitHub Action (#12782)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 22:32:45 +10:00
Oliver fe7ed8028e [UI] Enable copyable cell for BOM table (#12863) 2026-09-16 12:52:05 +10:00
Matthias Mair dca516b318 feat(backend): switch API token storage to hmac digest (#12850)
* [FR] switch API token storage to hmac digest
Fixes #12027

* add pr number

* fix implementation details
allign token prefix and token end (add date issuance)

* fix missing re-issuance

* ensure we raise if not exsistant

* fix test

* add ignore

* extend test

* add information regarding v2 tokens

* add fields for:
- revocation details (reason, revoker)
- issueance
- version
- pepper

* bump apiversion

* make revocation mesagge clearer

* add missing update fields

* ensure this only triggers for v2

* move comment

* re-add v1 coverage

* add missing annotation to api schema
2026-09-16 10:35:12 +10:00
Matthias MairandOliver eb1392fea9 feat(frontend): remove old deps (#12857)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-16 08:59:45 +10:00
Matthias Mair 63a434c652 feat: Add facility to completely hide parts of the interface (#12842)
* fix typing issue for pylance engine

* add flags to mark rough function of setting

* update pr version

* fix settings serialisation

* render security warnings

* move Transfer Orders

* respect return order hiding

* almost all confirm texts will have a warning

* add settings for sales, purchase and buildorder deactivation

* make permission check also ensure gloablsetting for view is available; reduce number of chained gates

* document possible missing check

* ensure we can still show the sales tab

* add additional warning to group cleanup

* hide more ui parts conditionally

* add tests for new code and remove duplication

* fix test

* alternative approach to fix SSO path

* remove patch; now done in serializer

* ignore ldap section
2026-09-15 21:13:59 +10:00
Leonid ZaliubovskyiandOliver 13cc62567c Fix 12844 notification external link (#12845)
* Fix external notification links

* Add notification link regression test

* Preserve fallback for empty notification links

* Satisfy Biome optional-chain check

* Apply Biome formatting

* Retrigger CI

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2026-09-13 11:37:55 +00:00
wyyd-yxcandMatthias Mair 9181097194 Add user option to rotate table column headers (#12837)
* Add user option to rotate table column headers (#12558)

Wide column titles (e.g. "Temperature coefficient [±ppm/°C]") take a
lot of horizontal space for narrow data. Add a ROTATE_TABLE_HEADERS
user setting (Display Options) which renders table header titles
vertically via a scoped CSS class, following the implementation
sketch from the issue discussion.

* Format ROTATE_TABLE_HEADERS description per ruff-format

* add missing doc place

* Document ROTATE_TABLE_HEADERS setting in user settings docs

* docs: add changelog entry for rotated table headers option

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
2026-09-12 14:12:39 +10:00
wyyd-yxc 27f89d25a3 Fix global search "view all results" omitting notes matches (#12482) (#12832)
The search drawer searches notes when the notes-search setting is
enabled, but the "view all results" link only carried the plain
search term - so results that matched only via their notes were
missing from the full results table.

Pass the search_notes flag through to the overview table URL when
notes search is active; the table forwards URL query parameters to
the API, where InvenTreeSearchFilter already supports search_notes.
2026-09-12 14:12:30 +10:00
wyyd-yxc 028d1cba1f Add owner field to stock location create/edit form (#12826)
* Add owner field to stock location create/edit form (#12537)

The platform UI form for stock locations is built from the explicit
field list in stockLocationFields(), which did not include 'owner'.
The StockLocation model (migration 0057), LocationSerializer and the
documentation all support the owner field, so restore UI parity by
adding it, following the same pattern as the stock item form.

* Hide owner field when stock ownership is disabled (#12537)

Per review: only render the owner field in the stock location
create/edit forms when the STOCK_OWNERSHIP_CONTROL global setting is
enabled. stockLocationFields() becomes the useStockLocationFields()
hook so the form can react to the setting, following the same pattern
as the expiry date field in useStockFields().
2026-09-10 15:40:07 +10:00
Oliver e8af71ae5a Bug fixes for Note model (#12835)
* Bug fixes for Note model

- Allow note to be created as "primary"
- Reset note creation fields in editor

* Tweak to ensure that the API spec does not change
2026-09-10 14:22:55 +10:00