Commit graph

264 commits

Author SHA1 Message Date
Jan Böhmer
e6a3c41cee Pass typeahead ressource search as query param instead of URL part.
This hopefully fixes the 404 bugs, when putting an URL in the typeahead field...
2020-05-22 12:39:12 +02:00
Jan Böhmer
8951940be1 Show messages, when an element can not be deleted.
Fixes issue #43.
2020-05-17 21:52:47 +02:00
Jan Böhmer
cad9534b04 Fixed an exception on admin pages, if the element does not contain parts. 2020-05-16 21:14:05 +02:00
Jan Böhmer
14adb77a97 Moved getParts() and getPartsCount() to a repository (instead of a class method). 2020-05-16 20:53:35 +02:00
Jan Böhmer
decc4e90fc Organized parameters better.
Parameters can now be found in their own file config/parameters.yaml. They are prefixed with partdb. and structured into different sections.
2020-05-12 22:53:42 +02:00
Jan Böhmer
f5d685dfd4 Fixed coding style. 2020-05-10 21:39:31 +02:00
Jan Böhmer
6a40f04243 Fixed exception from wrong 'disable' parameter. 2020-05-10 16:58:53 +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
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
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
1a35adab17 Added permission system, to control who can edit Twig labels. 2020-05-07 22:29:45 +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
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
85821ec673 Added basic scan dialog. 2020-04-26 21:26:11 +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
6bd3ad6138 Added basic support for label barcodes (C39 and QR). 2020-04-24 22:10:49 +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
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
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
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
fca2ad9d99 Show user history in user info page. 2020-04-04 15:45:14 +02:00
Jan Böhmer
fe958781ea Fixed PHPstan issue. 2020-04-04 13:12:22 +02:00
Jan Böhmer
470cd2af9e Log security related events like password reset, 2FA method added, etc. 2020-04-03 18:27:47 +02:00
Jan Böhmer
2dd807bbe6 Use twig global AttachmentManager in templates. 2020-04-03 14:56:48 +02:00
Jan Böhmer
0e57c0a6d5 Fixed PHPstan issues. 2020-04-02 14:15:54 +02:00
Jan Böhmer
6ad24aa9f8 Added an button to parts tables to directly add a new part in the selected category. 2020-04-01 18:02:56 +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
eb9b24d5d7 Fixed inspection issues. 2020-03-29 22:47:25 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00
Jan Böhmer
ff05868051 Allow to edit parameters for data structures. 2020-03-24 21:49:09 +01:00
Jan Böhmer
b66aabd153 Tries to extract parameters from part description and comment. 2020-03-24 16:57:02 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
f09ddb46b8 Fixed PHPstan issue. 2020-03-15 13:40:04 +01:00
Jan Böhmer
a3c626d0ab Perform deep clone when cloning a part.
Fixes issue #25.
2020-03-08 18:56:00 +01:00
Jan Böhmer
86ee10e582 Search options now working. Added Regex search. 2020-03-08 13:05:53 +01:00
Jan Böhmer
120eb30b11 Fixed search function. 2020-03-08 11:46:31 +01:00
Jan Böhmer
774e025a24 Fixed permission denied exception when time traveling. 2020-03-07 23:04:41 +01:00
Jan Böhmer
84d268aba3 Fixed Travis errors. 2020-03-07 21:36:33 +01:00
Jan Böhmer
8a61b465d0 Check permissions for time travel and element undo. 2020-03-07 20:49:52 +01:00