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
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
d-buchmann
97a74815d3
Fix fallback filename ( #1238 )
...
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
Fixes #1231 .
Modify tests to account for this case.
2026-02-15 14:41:25 +01:00
Jan Böhmer
5e9f7a11a3
Catch more errors of twig labels
2026-02-15 14:11:31 +01:00
Jan Böhmer
1c6bf3f472
Allow more useful functions in twig labels
2026-02-15 14:07:50 +01:00
Jan Böhmer
aed2652f1d
Added functions to retrieve associated parts of an element within twig labels
...
This fixes #1239
2026-02-15 13:52:56 +01:00
Jan Böhmer
233c5e8550
Fixed phpunit and phpstan issues
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 00:49:12 +01:00
Jan Böhmer
6b83c772cc
Moved user twig functions requiring repo access to its own extension service
2026-02-15 00:28:40 +01:00
Jan Böhmer
1996db6a53
Moved remaining twig extensions to new attributes system
2026-02-15 00:23:30 +01:00
Jan Böhmer
f69b0889eb
Ran rector to convert some our twig extensions to use #[AsTwigXX] attributes
2026-02-14 23:53:31 +01:00
Jan Böhmer
097041a43a
Ran rector
2026-02-14 23:33:40 +01:00
Jan Böhmer
7a83581597
Merge branch 'gtin'
2026-02-14 22:12:39 +01:00
buchmann
47c0d78985
only autofocus if new
2026-02-11 14:26:36 +01:00
buchmann
76f0b05a09
Autofocus for frequently used input fields
...
Fixes #1157 .
- Focus `name` field on new part
- Focus `amount` on add/withdraw modal
- Focus first "number type" input on any newly added collectionType table row... (debatable)
It would be even more favorable if the user could configure if they want to use autofocus and/or for which fields/dialogs it should be enabled.
2026-02-11 14:10:05 +01:00
Jan Böhmer
35598df354
Automatically set the stocktake permission if a user can already add and withdraw from a lot
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (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
2026-02-10 23:24:40 +01:00
Jan Böhmer
d8fdaa9529
Added a modal to stocktake / set part lots amount from info page
2026-02-10 23:17:10 +01:00
Jan Böhmer
2f9601364e
Allow to set stocktake date for part lots
2026-02-10 22:23:54 +01:00
Jan Böhmer
e5231e29f2
Allow to set a global default if new orderdetails should contain VAT or not
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-10 17:13:54 +01:00
Jan Böhmer
586375d921
Moved VAT include info from pricedetail to orderdetail level
...
That makes implementing the form easier
2026-02-10 16:53:41 +01:00
Marc
41252d8bb9
Implement URLHandlerInfoProviderInterface in BuerklinProvider ( #1235 )
...
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (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
* Implement URLHandlerInfoProviderInterface in BuerklinProvider
Added URL handling capabilities to BuerklinProvider.
* Refactor ID extraction logic in BuerklinProvider
* Add tests for BuerklinProvider URLHandlerInfoProviderInterface
* Revert "Refactor ID extraction logic in BuerklinProvider"
This reverts commit 5f65176636 .
* Exclude 'p' from valid ID return in BuerklinProvider
2026-02-10 15:26:26 +01:00
Jan Böhmer
5a47b15c97
Use the information from info provider whether prices includes VAT or not
2026-02-08 21:58:14 +01:00
Jan Böhmer
3bff5fa8bd
Allow to set if prices contain VAT or not in orderdetail
2026-02-08 21:54:34 +01:00
Jan Böhmer
f95e39748e
Fixed PHPstan issue
2026-02-08 19:37:44 +01:00
Jan Böhmer
90c82aab2e
Only show the created avatar attachment type for user attachments
2026-02-08 19:31:45 +01:00
Jan Böhmer
a4c2b8f885
Added the option to only show attachment types for certain element classes
2026-02-08 19:30:06 +01:00
Jan Böhmer
35e844dd7b
Allow to scan gtin barcodes and find parts via it
2026-02-08 16:06:01 +01:00
Jan Böhmer
a962e5e019
Allow to order and filter by GTIN in part tables
2026-02-08 15:51:39 +01:00
Jan Böhmer
1130f71075
Added ability to get GTINs for reichelt and Generic WebURL
2026-02-08 15:43:50 +01:00
Jan Böhmer
fd76ca12fc
Allow to import GTIN from info providers
2026-02-08 15:32:35 +01:00
Jan Böhmer
57c8368b5e
Allow to edit the GTIN property of a part and validate the GTIN
2026-02-08 14:44:56 +01:00
Jan Böhmer
7fd7697c02
Added GTIN fields and others to DB
2026-02-08 14:17:58 +01:00
Jan Böhmer
aec53bd1dd
Do not output HTML chars in translations escaped in CDATA to ensure consistentcy with crowdin XMLs
...
This should avoid some unnecessary diffs in the future
2026-02-07 17:33:32 +01:00
Jan Böhmer
7bffe66b73
Removed Translator that became obsolete with Symfony 7.2
2026-02-07 17:11:05 +01:00
Jan Böhmer
061af28c48
Fixed phpstan issues in GenericWebProvider
2026-02-07 17:07:53 +01:00
Jan Böhmer
7d19ed3ca8
Try to get a category from a webshop based on the breadcrumbs
2026-02-03 23:20:13 +01:00
Jan Böhmer
b48de83a32
Use brick schema to implement GenericWebProvider
...
This is less error prone than our own parser and also allows to parse Microdata and rdfa lite to support more webshops
2026-02-03 23:04:18 +01:00
Jan Böhmer
c34acfe523
Allow to view progress view while update is running
2026-02-03 20:34:03 +01:00
Jan Böhmer
cad5261aba
Fixed phpstan issues
2026-02-02 23:26:18 +01:00
Jan Böhmer
a755287c3b
Make maintenance command available under partdb:maintenance-mode to make it more consistent with other hyphen command tools
2026-02-02 23:09:52 +01:00
Jan Böhmer
58d574a33a
Only use the simple maintenance page, and made this a bit more generic
2026-02-02 22:10:52 +01:00
Jan Böhmer
1adfec16e2
Added an console command to turn maintenance mode on or off
2026-02-02 21:53:55 +01:00
Jan Böhmer
f327688f0a
Put update manager under /system route instead of admin
2026-02-02 21:29:07 +01:00
Jan Böhmer
883e3b271d
Fixed git commit hash logic
2026-02-02 21:02:08 +01:00
Jan Böhmer
29a08d152a
Use version info from updateChecker to be consistent
2026-02-02 20:52:42 +01:00
Jan Böhmer
2b94ff952c
Use different symbol for update manager
2026-02-02 20:49:21 +01:00
Jan Böhmer
7a856bf6f1
Try to emulate nohup behavior on windows
2026-02-02 20:37:02 +01:00