Commit graph

58 commits

Author SHA1 Message Date
Jan Böhmer
1460894946 Fixed some exceptions. 2022-03-07 00:47:41 +01:00
Jan Böhmer
ae24fb5eb1 Use renderForm for proper return codes for turbo 2022-03-04 21:20:18 +01:00
Jan Böhmer
193ecd252b Fixed some deprecations. 2021-10-02 20:41:14 +02:00
Jan Böhmer
1caaad908b Use correct Attachment class for Storelocation Controller.
This fixes issue #81.
2020-10-03 13:31:05 +02:00
Jan Böhmer
3328dd968d Fixed some higher level PHPstan issues. 2020-10-02 12:42:15 +02:00
Jan Böhmer
e01b06fb85 Fixed some inspection issues. 2020-08-21 22:43:37 +02:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02:00
Jan Böhmer
a8786341d5 Refactored Admin Page controllers a bit... 2020-06-07 21:11:09 +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
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
e925bec5b6 Make LabelGenerator services final. 2020-05-09 18:17:23 +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
3804e2534d Added preview with example elements, on LabelProfile Admin Pages. 2020-05-01 21:19:13 +02:00
Jan Böhmer
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +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
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
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
ff05868051 Allow to edit parameters for data structures. 2020-03-24 21:49:09 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56: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
Jan Böhmer
31290c070a Allow timetraveling on data structures admin pages. 2020-03-04 21:54:03 +01:00
Jan Böhmer
f9bb2d57e9 Added history tab to admin pages. 2020-03-04 21:09:01 +01:00
Jan Böhmer
181e0f72ed Fixed entity export. 2020-02-23 19:45:06 +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
96d7e4c9f4 Fixed inspection issues. 2020-02-02 14:05:36 +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
da72f5b3ec Fixed PHPstan issues for level 5. 2020-02-01 19:42:28 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
89acfff857 Dont call translator inside the form classes.
Translation is already done in the templates, so translator calls in form classes, are bad for performance and readability.
2019-12-26 14:53:13 +01:00
Jan Böhmer
6ddc937ec5 Fixed some inspection issues. 2019-11-10 14:00:56 +01:00
Jan Böhmer
3438f15274 Added some more tests. 2019-11-09 16:14:57 +01:00
Jan Böhmer
e557bdedd5 Added an PHP CS fixer config file and applied it to files.
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01:00
Jan Böhmer
dd1dc54d97 Test the admin pages, if read/list/delete is working. 2019-10-26 22:27:04 +02:00
Jan Böhmer
c955a3a221 Moved attachment related services into their own namespaces 2019-10-19 23:29:51 +02:00
Jan Böhmer
9385d28e40 Uploading now works everywhere. Show an flash message if the download fails. 2019-10-19 18:50:17 +02:00
Jan Böhmer
27a001b1d2 Added an option to download a attachment via URL. Implemented secure attachments, which can not be accessed by URL and requires authentication. 2019-10-19 18:42:06 +02:00
Jan Böhmer
d382021fee Moved attachment form submit logic to a seperate service. 2019-10-19 17:13:13 +02:00
Jan Böhmer
eb1d8fd4e4 Added possibility to add/edit attachments on Admin pages. 2019-09-24 18:28:35 +02:00
Jan Böhmer
006cd9c7e5 Allow admins to set passwords in users admin page. 2019-09-19 12:35:28 +02:00
Jan Böhmer
21a81486df Fixed some inspection issues. 2019-09-16 22:04:59 +02:00