Jan Böhmer
05ee3157fb
Correctly handle nullable infoURL in ScanController
2026-02-22 14:33:44 +01:00
Jan Böhmer
bfa9b9eee0
Improved augmentented info styling and allow to use it with normal form submit too
2026-02-22 14:16:01 +01:00
Jan Böhmer
8dd972f1ad
Moved barcode to info provider logic from Controller to BarcodeScanResultHandler service
2026-02-22 12:37:59 +01:00
Jan Böhmer
caa71bbdda
Refactored BarcodeScanResultHandler to be able to resolve arbitary entities from scans
2026-02-22 11:50:33 +01:00
Jan Böhmer
35222f19cc
Fixed BarcodeScanResultHandler test
2026-02-22 01:38:41 +01:00
Jan Böhmer
f45960e4be
Refactored BarcodeRedirector logic to be more universal
2026-02-22 01:28:41 +01:00
Jan Böhmer
e0345076c1
Fixed test errors
2026-02-22 00:42:50 +01:00
Jan Böhmer
f22bff7adc
Fixed modeEnum parsing
2026-02-22 00:28:58 +01:00
Jan Böhmer
f77d201563
Moved database queries from BarcodeRedirector to PartRepository
2026-02-22 00:27:09 +01:00
Jan Böhmer
a9a1f1d265
Made BarcodeSourceType a backed enum, so that it can be used in Request::getEnum()
2026-02-21 23:58:05 +01:00
Jan Böhmer
851061aae3
Fixed exception when submitting form for info mode
2026-02-21 23:53:25 +01:00
Jan Böhmer
a8520b7870
Added test for LCSCBarcodeScanResult
2026-02-21 23:37:46 +01:00
Jan Böhmer
338c5ebf0b
Refactored LCSCBarcocdeScanResult to be an value object like the other Barcode results
2026-02-21 23:26:25 +01:00
Jan Böhmer
76584c3d99
Use native request functions for request param parsing
2026-02-21 22:52:08 +01:00
Jan Böhmer
5100469751
Use symfony native functions to generate the routes for part creation
2026-02-21 22:43:42 +01:00
swdee
0010ee8de1
fixed translation messages
2026-02-20 11:02:50 +13:00
swdee
c5ea4d243f
fix bug with manual form submission where a part does not exist but decodes properly which causes the camera to not redraw on page reload due to unclean shutdown. this is an existing bug in the scanner interface.
...
steps to produce the issue:
- have camera active
- put in code in Input
- info mode ticked
- click submit button
on page reload the camera does not reactivate
2026-02-19 12:19:46 +13:00
swdee
4865f07a09
fix @d-buchmann bug: make barcode decode table 100% width of page
2026-02-19 11:15:01 +13:00
swdee
b31cbf8234
fix @d-buchmann bug: after scanning in Info mode, if Info mode is turned off when scanning a part that did not exist, it now redirects user to create part page
2026-02-19 10:55:12 +13:00
swdee
a39eeb47be
fix @d-buchmann bug: clear 'scan-augmented-result' field upon rescan of new barcode
2026-02-18 23:00:02 +13:00
swdee
2d55b90311
fix @MayNiklas reported bug: when manually submitting the form (from a barcode scan or manual input) redirect to Create New part screen for the decoded information instead of showing 'Format Unknown' popup error message
2026-02-18 21:53:54 +13:00
swdee
4881418af3
added unit tests for meeting code coverage report
2026-02-18 17:56:02 +13:00
swdee
1484cea458
fix static analysis errors
2026-02-18 17:56:02 +13:00
swdee
8f63a9fb9e
fix scanning of part-db barcodes to redirect to storage location or part lots. made scan result messages conditional for parts or other non-part barcodes
2026-02-18 17:56:02 +13:00
swdee
5885ac130c
removed augmented checkbox and combined functionality into info mode checkbox. changed barcode scanner to use XHR callback for barcode decoding to avoid problems with form submission and camera caused by page reloaded when part not found.
2026-02-18 17:56:02 +13:00
swdee
c07d4ab23a
handle momentarily bad reads from qrcode library
2026-02-18 17:56:02 +13:00
swdee
df68e3ac80
shrink camera height on mobile so augmented information can been viewed onscreen
2026-02-18 17:56:02 +13:00
swdee
1571e7565e
added augmented mode to label scanner to use vendor labels for part lookup to see part storage location quickly
2026-02-18 17:56:02 +13:00
swdee
7900d309c5
added redirection to part page on successful scan of lcsc, digikey, and mouser barcodes. added create part button if part does not exist in database
2026-02-18 17:56:02 +13:00
swdee
86a6342b86
when a part is scanned and not found, the scanner did not redraw so scanning subsequent parts was not possible without reloading the browser page. fixed the barcode scanner initialization and shutdown so it redraws properly after part not found
2026-02-18 17:56:02 +13:00
swdee
0e70f2f672
added handling of LCSC barcode decoding and part loading on Label Scanner
2026-02-18 17:55:21 +13:00
Jan Böhmer
70cde4c3a8
Bumped version to 2.7.1
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / build (linux/amd64, amd64, ubuntu-latest) (push) Has been cancelled
Docker Image Build / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/amd64, amd64, ubuntu-latest) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Has been cancelled
Docker Image Build (FrankenPHP) / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Has been cancelled
Docker Image Build / merge (push) Has been cancelled
Docker Image Build (FrankenPHP) / merge (push) Has been cancelled
2026-02-16 18:34:20 +01:00
Jan Böhmer
28e6ca52fe
New translations messages.en.xlf (German) ( #1249 )
2026-02-16 18:30:41 +01:00
Jan Böhmer
5b4c1505b7
Fixed visual bug of tags column in parts lot
2026-02-16 18:29:34 +01:00
Jan Böhmer
8ad3c2e612
Allow stocktake date to be empty on part lot form
...
Fixes issue #1250
2026-02-16 18:25:41 +01:00
Jan Böhmer
d7ed2225b4
Ensure that part tables are correctly sorted on initial load
2026-02-16 15:09:55 +01:00
Jan Böhmer
7d6b84af3d
Bumped version to 2.7.0
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build / merge (push) Blocked by required conditions
Docker Image Build (FrankenPHP) / build (linux/amd64, amd64, ubuntu-latest) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm/v7, armv7, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / build (linux/arm64, arm64, ubuntu-24.04-arm) (push) Waiting to run
Docker Image Build (FrankenPHP) / merge (push) Blocked by required conditions
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-02-16 13:32:13 +01:00
Copilot
80492a7b68
Use native ARM runners for ARM Docker image builds ( #1248 )
...
* Initial plan
* Use ARM runners for ARM Docker image builds
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Fix artifact naming and add comments for latest=false flavor
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Remove trailing commas from tag configuration in merge job
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Remove duplicate tag entries and clean up configuration
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
2026-02-16 13:15:52 +01:00
Copilot
7069af4054
Updated dockerfiles to not rely on node deb packages, that are not supported for armhf anymore
...
* Initial plan
* Refactor Dockerfiles to use Node.js multistage builds
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Fix node-builder stage with stub translations file
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Improve stub translations file creation using heredoc
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Build real translations in node-builder stage via cache warmup
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Improve error handling for cache warmup fallback
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Use native build platform for node-builder stage
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
* Do not include fallback for case that translations not exist
* Use newer format for dockerfile-frankenphp
* Dockfile added caching to package managers
* Fixed frankenphp build
* Fixed complain about missing symfony runtime
* Use caching for frankenphp dockerfile
* add target arch to dockerfile caches, to avoid problems
* add targetarch arg
* moved targetarch argument to correct position
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2026-02-16 12:50:52 +01:00
Jan Böhmer
05a9e4d035
Merge remote-tracking branch 'origin/master'
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-02-15 22:33:23 +01:00
Jan Böhmer
be808e28bc
Updated dependencies
2026-02-15 22:29:16 +01:00
Jan Böhmer
7354b37ef6
New Crowdin updates ( #1228 )
...
* New translations messages.en.xlf (German)
* New translations messages.en.xlf (German)
* New translations validators.en.xlf (Polish)
* New translations security.en.xlf (Danish)
* New translations security.en.xlf (Ukrainian)
* New translations security.en.xlf (German)
* New translations security.en.xlf (Hungarian)
* New translations security.en.xlf (Dutch)
* New translations security.en.xlf (Chinese Simplified)
* New translations messages.en.xlf (English)
* New translations validators.en.xlf (English)
* New translations security.en.xlf (English)
* New translations frontend.en.xlf (Danish)
* New translations frontend.en.xlf (German)
* New translations frontend.en.xlf (Hungarian)
* New translations frontend.en.xlf (Ukrainian)
* New translations frontend.en.xlf (Chinese Simplified)
* New translations frontend.en.xlf (English)
* New translations messages.en.xlf (German)
2026-02-15 22:24:00 +01:00
Jan Böhmer
6afca44897
Use xxh3 hashes instead of encoding for info provider cache keys
2026-02-15 22:19:44 +01:00
Jan Böhmer
c17cf2baa1
Fixed rendering of tristate checkboxes
2026-02-15 21:49:18 +01:00
Jan Böhmer
c00556829a
Focus the first newly created number input for collection_types
...
Improves PR #1240
2026-02-15 21:43:47 +01:00
Jan Böhmer
f024c4b09e
Merge branch 'autofocus-fields'
2026-02-15 21:37:12 +01:00
Jan Böhmer
8e0fcdb73b
Added some part datatables optimization
2026-02-15 20:07:38 +01:00
Jan Böhmer
e19929249f
Mark parts datatables query as read only for some memory optimizations
2026-02-15 19:30:53 +01:00
Jan Böhmer
f6764170e1
Fixed phpstan issues
2026-02-15 16:16:15 +01:00
Niklas
1641708508
Added API endpoint for generating labels ( #1234 )
...
* init API endpoint for generating labels
* Improved API docs for label endpoint
* Improved LabelGenerationProcessor
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2026-02-15 16:03:07 +01:00