Commit graph

1512 commits

Author SHA1 Message Date
Jan Böhmer
d8adc26b03 Use twigs builtin filter to inline data urls, instead of a custom one. 2020-05-07 23:35:20 +02:00
Jan Böhmer
f64910374f Added support for Code128 barcode. 2020-05-07 23:27:40 +02:00
Jan Böhmer
3dd0ef26b3 Use shorter format for barcodes, to generate shorter (better readable) barcodes. 2020-05-07 23:11:50 +02:00
Jan Böhmer
0f083abdf4 Added permissions to show history of and revert label profiles. 2020-05-07 22:35:29 +02:00
Jan Böhmer
1a35adab17 Added permission system, to control who can edit Twig labels. 2020-05-07 22:29:45 +02:00
Jan Böhmer
f1a6bc31a1 Improved translations. 2020-05-07 21:39:09 +02:00
Jan Böhmer
d2ed3571e8 Show error next to target_id if no entity was valid. 2020-05-07 13:31:19 +02:00
Jan Böhmer
11225eb9cc Added an "twig" lines mode, where the label lines are processed via a sandboxed twig. 2020-05-06 22:44:21 +02:00
Jan Böhmer
c2db827c9d Show warning, if no valid entity was found to generate a label (don't throw an exception) 2020-05-05 19:55:31 +02:00
Jan Böhmer
5a9be023b1 Added permissions to label system. 2020-05-04 23:21:58 +02:00
Jan Böhmer
fde1d7be4f Added the possibility to add additional CSS to label. 2020-05-04 22:19:06 +02:00
Jan Böhmer
8b372a3443 Allow to specify which label profiles are shown in dropdown. 2020-05-02 19:47:31 +02:00
Jan Böhmer
3804e2534d Added preview with example elements, on LabelProfile Admin Pages. 2020-05-01 21:19:13 +02:00
Jan Böhmer
48ff81a6d1 Added dropdowns for quick generating labels for different profiles. 2020-05-01 20:29:18 +02:00
Jan Böhmer
747962884a Group label profiles by their supported element on admin page. 2020-04-29 22:59:14 +02:00
Jan Böhmer
f16dec51b6 Added label profile edit and scanner dialog to tools menu. 2020-04-29 22:07:17 +02:00
Jan Böhmer
48f4a360f4 Integrated barcode scanner via Webcam. 2020-04-28 18:36:30 +02:00
Jan Böhmer
85821ec673 Added basic scan dialog. 2020-04-26 21:26:11 +02:00
Jan Böhmer
35c788fabc Really generate a Code39 barcode if this is wished. 2020-04-26 19:13:23 +02:00
Jan Böhmer
c200b650a0 Added simple redirect to info page, when scanning an QR code. 2020-04-26 18:59:49 +02:00
Jan Böhmer
3163a7ba09 Use [[PLACEHOLDER]] instead of %%PLACEHOLDER%% for label placeholders. 2020-04-25 18:19:15 +02:00
Jan Böhmer
3beba96e39 Added Code93 and Datamatrix as valid barcode types. 2020-04-24 23:58:19 +02:00
Jan Böhmer
6bd3ad6138 Added basic support for label barcodes (C39 and QR). 2020-04-24 22:10:49 +02:00
Jan Böhmer
a7cfe7b42f Updated argument PHPdoc to fix PHPstan errors. 2020-04-22 10:54:08 +02:00
Jan Böhmer
e51b5c3089 Removed leftover dump() statement. 2020-04-21 23:41:31 +02:00
Jan Böhmer
e89cc4bb01 Allow to generate multiple labels at once (multiple pages in 1 PDF file). 2020-04-21 00:00:29 +02:00
Jan Böhmer
16c1f84eb3 Added placeholders for Part lots. 2020-04-17 21:10:08 +02:00
Jan Böhmer
a4e1a17b4a Added basic label generation dialog. 2020-04-16 19:56:30 +02:00
Jan Böhmer
a39f816422 Added an CKEditor plugin for easy placeholder selection. 2020-04-15 18:20:28 +02:00
Jan Böhmer
726cab1c5a Fixed PHPunit errors. 2020-04-15 13:16:03 +02:00
Jan Böhmer
85eafd47aa Fixed PHPunit errors. 2020-04-15 12:51:12 +02:00
Jan Böhmer
7e39443084 Added tests for LabelPlaceholder Providers. 2020-04-15 12:48:02 +02:00
Jan Böhmer
7ce5776694 Added basic placeholder providers for parts. 2020-04-14 17:21:30 +02:00
Jan Böhmer
dee4094d8b Added a basic text to PDF renderer. 2020-04-14 11:07:07 +02:00
Jan Böhmer
a8a92b9c5d Added basic admin page for Label profiles. 2020-04-11 17:34:01 +02:00
Jan Böhmer
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +02:00
Jan Böhmer
f116c2f09e Log AccessDeniedExceptions to event log. 2020-04-10 12:28:15 +02:00
Jan Böhmer
26737f4b46 Restructured EventSubscriber Folder structure. 2020-04-09 17:24:16 +02:00
Jan Böhmer
e8f83f188a Fixed issue that U2F keys did not work.
The DB length for this field was too short, so the key handles were cut off and devices were not recognized.
2020-04-09 15:17:46 +02:00
Jan Böhmer
dae29cadd0 Test part cloning and creation page availability. 2020-04-09 14:23:26 +02:00
Jan Böhmer
b13d209051 Use correct ID to find a preset footprint when creating new part.
Fixes issue #40.
2020-04-09 14:22:58 +02:00
Jan Böhmer
b53e1f0a66 Use proper option injection for StructuralEntityType generate* functions.
Otherwise we get problems, if a page has multiple types with different options. This fixes issue #39
2020-04-09 13:46:28 +02:00
Jan Böhmer
b694ca8861 Fixed wrong permission name in StructureVoter. 2020-04-09 13:07:36 +02:00
Jan Böhmer
a28747b7ba Dont return null in getPartsInstockSum() function, when no part lots are defined yet.
This should fix issue #38.
2020-04-08 16:41:04 +02:00
Jan Böhmer
919e40e1a8 Don't add strange looking space in full name if a user does not have an first or last name. 2020-04-08 16:18:53 +02:00
Jan Böhmer
887ac83f83 Fixed an exception when a pricedetail has a currency without exchange rate.
Fixes issue #37
2020-04-08 16:06:32 +02:00
Jan Böhmer
da83314d69 Fixed a wrong AccessDenied exception related to data structures
StructureVoter now can work with ProxyClasses (child classes of "our" classes)
2020-04-08 15:54:07 +02:00
Jan Böhmer
5a733b3261 Removed left over dump() from debugging.
Should fix issue #35.
2020-04-06 18:15:45 +02:00
Jan Böhmer
e654c46e11 Added a duplicate button in data structures (categories, footprints, etc.) Admin pages. 2020-04-06 13:14:47 +02:00
Jan Böhmer
315cc30a1a Fix error with reindexed collectionType when multiple parts dont have IDs yet. 2020-04-06 11:52:42 +02:00