Commit graph

1008 commits

Author SHA1 Message Date
Jan Böhmer
82bb214d67 Dont filter the content of barcodes in CKeditor.
As the PDF can not execute javascript, it is safe from XSS...
2020-05-10 14:15:08 +02:00
Jan Böhmer
7e656be246 Added some tests to check if LabelSystem and scanner pages are available. 2020-05-10 13:28:01 +02:00
Jan Böhmer
df6546d94d Added translations. 2020-05-09 22:33:19 +02:00
Jan Böhmer
2773d36886 Updated composer dependencies. 2020-05-09 20:33:49 +02:00
Jan Böhmer
236249e4a1 Added tests for various label services. 2020-05-09 20:24:07 +02:00
Jan Böhmer
e925bec5b6 Make LabelGenerator services final. 2020-05-09 18:17:23 +02:00
Jan Böhmer
28187f1ef2 Fixed PHPstan issues. 2020-05-09 18:02:26 +02:00
Jan Böhmer
22a200e261 Use [[PARENT]] instead of [[PARENT_NAME]] placeholder. 2020-05-08 13:57:16 +02:00
Jan Böhmer
bd6a0de0a2 Added possibility to generate labels for storelocations. 2020-05-08 13:49:44 +02:00
Jan Böhmer
9a9cd8e887 Added permission to control who can access label scanner. 2020-05-08 12:50:44 +02:00
Jan Böhmer
1f48247474 Added possibility to load profiles from label generator dialog. 2020-05-08 12:43:04 +02:00
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
c58b36e9c5 Close webcam when leaving scanner page. 2020-05-07 23:19: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
f9f2774f36 Fixed label profile admin page icon. 2020-05-07 22:43:29 +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
99fc7562b7 Updated symfony to version 4.4.8 2020-04-29 21:56:26 +02:00
Jan Böhmer
2652fab2d7 Removed old barcode scanner link using ZXing android app. 2020-04-28 18:38:49 +02:00
Jan Böhmer
48f4a360f4 Integrated barcode scanner via Webcam. 2020-04-28 18:36:30 +02:00
Jan Böhmer
1812e6f5bc Readded accidentially removed RedirectorController to routes. 2020-04-28 17:23:57 +02:00
Jan Böhmer
8525a815c3 Updated composer dependencies. 2020-04-28 16:39:48 +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
2768eb1745 Allow to choose between the different fonts in CKEDITOR. 2020-04-25 19:19:12 +02:00
Jan Böhmer
74b1b7acf5 Use 9pt font size as default for labels. 2020-04-25 18:52:13 +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
cb2d0d9845 Improved CKEditor placeholder plugin. 2020-04-25 18:08:05 +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
4c5820ee22 Revert "Updated dependencies."
This reverts commit 95e10fa24b.
2020-04-20 20:07:24 +02:00
Jan Böhmer
95e10fa24b Updated dependencies. 2020-04-20 19:41:41 +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