Commit graph

152 commits

Author SHA1 Message Date
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
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
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
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
3beba96e39 Added Code93 and Datamatrix as valid barcode types. 2020-04-24 23:58:19 +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
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
85eafd47aa Fixed PHPunit errors. 2020-04-15 12:51:12 +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
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
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
Jan Böhmer
1b21bf5ddd Do not translate theme names. 2020-04-03 17:54:11 +02:00
Jan Böhmer
0e57c0a6d5 Fixed PHPstan issues. 2020-04-02 14:15:54 +02:00
Jan Böhmer
f0a3e9b5af Reindex the collections in CollectionType to prevent issues related of changing the order between the requests. 2020-04-01 15:10:06 +02:00
Jan Böhmer
e83d72ec10 Added a permission to control which users can access private attachments. 2020-03-30 16:56:58 +02:00
Jan Böhmer
25a4f804d7 Allow to leave amount field empty when adding a new part lot. 2020-03-30 15:13:23 +02:00
Jan Böhmer
cb0aa7bc7a Fixed some psalm issues. 2020-03-29 23:13:25 +02:00
Jan Böhmer
0fe83c7b3a Removed unused variables. 2020-03-29 22:37:27 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
7ed1836d59 Fixed timezone issue related to expiration date. Also only date is editable and shown now.
Fixes issue #30.
2020-03-29 19:16:48 +02:00
Jan Böhmer
a47afdda93 Added translations for parameters. 2020-03-28 17:47:15 +01:00
Jan Böhmer
4459ea6bca Dont translate entity names in choice widgets. 2020-03-28 17:25:36 +01:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00
Jan Böhmer
e72fc2716b Disable parameters fields when user is not allowed to edit data structures. 2020-03-25 15:19:09 +01:00
Jan Böhmer
ff05868051 Allow to edit parameters for data structures. 2020-03-24 21:49:09 +01:00
Jan Böhmer
2899db0206 Allow to put parameters in different groups. 2020-03-24 15:08:56 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
bc8748e6f4 Show parameters on info page & improved parameter editing. 2020-03-14 22:12:19 +01:00
Jan Böhmer
719e21c0df Save element parameters in its own database table (dont use JSON)
This makes it easier to query for specific parameters.
2020-03-11 21:48:47 +01:00
Jan Böhmer
a6e0f1738b Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
Jan Böhmer
31290c070a Allow timetraveling on data structures admin pages. 2020-03-04 21:54:03 +01:00
Jan Böhmer
b6f95ebe48 Allow to add a comment when editing/creating/deleting an element. 2020-02-23 00:44:52 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
6369ee2e61 Extracted some entity methods into contract interfaces. 2020-02-02 13:03:45 +01:00
Jan Böhmer
594c694ee0 Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations. 2020-02-01 19:48:07 +01:00
Jan Böhmer
dd1f806c4e Fixed some issues detected by PHPstan. 2020-02-01 17:00:03 +01:00
Jan Böhmer
f2ff77a8b3 Fixed coding style. 2020-02-01 16:17:20 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
67a0dc8131 Fixed exceptions occuring cause of strict_types. 2020-01-05 21:09:19 +01:00
Jan Böhmer
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +01:00
Jan Böhmer
d9b15ddbb9 Use new cached treeview nodes for twig inline generator (admin pages) 2020-01-02 22:55:28 +01:00
Jan Böhmer
1016f0d4ee Merge branch '2fa' into master 2020-01-01 15:49:42 +01:00