Commit graph

262 commits

Author SHA1 Message Date
Jan Böhmer
a3aa8ec2ef Fixed error with loading the permissions.yaml file caused by moving of PermissionManager 2022-11-14 23:32:28 +01:00
Jan Böhmer
b0c027f805 Renamed PermissionResolver service to PermissionService 2022-11-14 20:15:06 +01:00
Jan Böhmer
c5434ba842 Moved PasswordResetManager into Services\UserSystem namespace 2022-11-14 20:04:07 +01:00
Jan Böhmer
1e106a3da1 Moved TwoFactor services into Services\UserSystem namespace 2022-11-14 20:02:58 +01:00
Jan Böhmer
1de88e0494 Added various useful presets for permissions 2022-11-14 00:02:37 +01:00
Jan Böhmer
63a1855eb6 If a user can view parts, he is also allowed to view any subsequent datastructures.
Otherwise it is really difficult to implement permission correct part viewing.
2022-11-13 18:18:08 +01:00
Jan Böhmer
06ae136bae Hide "Show all entry" in tools sidebar if user does not have permissions to view parts. 2022-11-06 01:09:41 +01:00
Jan Böhmer
34fbcec00f Added an page to view infos about the server (Part-DB, PHP and DB config 2022-11-06 01:07:10 +01:00
Jan Böhmer
a30b67e328 Allow to change all permissions at once via the console command. 2022-11-05 23:20:26 +01:00
Jan Böhmer
3e85fc4d42 Improved access control for part lists. 2022-10-31 23:10:21 +01:00
Jan Böhmer
d0f7949bc9 Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints) 2022-10-31 22:47:45 +01:00
Jan Böhmer
10a035fcea Reset the permissions of the admin user. 2022-10-31 21:54:46 +01:00
Jan Böhmer
687ee80255 Save permissions as JSON in user/group entities. 2022-10-30 21:51:24 +01:00
Jan Böhmer
04d89b38b2 Allow null value during decoding of datetimes when time traveling
This should fix some exceptions occuring when viewing historic states of a part.
2022-10-09 20:52:52 +02:00
Jan Böhmer
9c688e22dc Allow to delete Webauthn Keys 2022-10-04 00:16:10 +02:00
Jan Böhmer
86c580f835 Fixed static analysis issue 2022-09-25 02:14:28 +02:00
Jan Böhmer
4c25e85a48 Automatically update the sidebar trees for all users if the trees are changed somehow. 2022-09-25 02:08:54 +02:00
Jan Böhmer
2bd41eee60 Fixed an exception related during undeletion of elements. 2022-09-25 01:14:07 +02:00
Jan Böhmer
3d61e04e5b Added placeholders to insert Barcodes into labels without using the predefined templates. 2022-09-25 00:34:44 +02:00
Jan Böhmer
c2c768b151 Fixed some exceptions introduced earlier. 2022-09-21 12:31:32 +02:00
Jan Böhmer
58ada496e4 Fixed static analysis issues. 2022-09-18 23:44:44 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
a9e527ce2a Refactored TwigExtensions Part 2 2022-09-18 17:50:25 +02:00
Jan Böhmer
b078389381 Refactored TwigExtensions Part 1 2022-09-18 16:45:12 +02:00
Jan Böhmer
8338c0f2d6 Fix exception with AmountFormatter if Si prefix were enabled and no unit symbol were set.
Also this case is now prevented by Validator (as it is not very useful). Fixes issue #171.
2022-09-17 17:58:01 +02:00
Jan Böhmer
0d0a04c36f Fixed static analysis issues. 2022-09-11 19:14:16 +02:00
Jan Böhmer
176d347c82 Readd TagFinder service which was deleted accidentially. 2022-09-07 21:47:03 +02:00
Jan Böhmer
9a7e47863b Added autocomplete for part parameters 2022-09-05 17:02:57 +02:00
Jan Böhmer
c9151c65ba Implemented a filter constraint for entities 2022-08-21 01:34:17 +02:00
Jan Böhmer
8e6bc25d2e Fixed some inspection issues. 2022-08-14 19:39:07 +02:00
Jan Böhmer
639829f5c5 Fixed some inspection issues. 2022-08-14 19:32:53 +02:00
Jan Böhmer
5fd608f42a Fixed some deprecations. 2022-08-14 19:09:07 +02:00
Jan Böhmer
730e18748c Show icons in tools menu 2022-08-13 02:40:43 +02:00
Jan Böhmer
18f41e14e6 Show icons in the root node in sidebar treeviews. 2022-08-13 02:18:32 +02:00
Jan Böhmer
90da7d71b9 Use the entity names as root name text instead of the generic "root node" 2022-08-13 01:53:43 +02:00
Jan Böhmer
796dea33f2 Added an parameter to enable/disable the root node in the sidebar
Fixes issue #158
2022-08-13 01:46:53 +02:00
Jan Böhmer
e7fa1ebcb8 Added an parameter to decide, if the root tree node should be expanded or not
Related to issue #158, but it does not work due to a very buggy treeview...
2022-08-05 00:24:28 +02:00
Jan Böhmer
78e3d36a5c Use tom-select as tagsinput input 2022-08-03 22:44:38 +02:00
Jan Böhmer
79a1715290 Merge branch 'master' into turbo 2022-07-24 01:26:22 +02:00
Jan Böhmer
2ee42b7621 Fail gracefully when Imagine can not produce an thumbnail.
We now just fall back to the original image instead of throwing an exception. (partly) Fixes issue #89. Maybe related to issue #136
2022-07-21 00:31:34 +02:00
Jan Böhmer
f3680ea7de Parse markdown using stimulus controller. 2022-03-06 14:54:08 +01:00
Jan Böhmer
193ecd252b Fixed some deprecations. 2021-10-02 20:41:14 +02:00
Jan Böhmer
9b8b0a978d Fixed static analysis issue. 2021-03-14 19:03:52 +01:00
Jan Böhmer
b97a43ae00 Fixed phpstan issue. 2020-10-03 14:21:45 +02:00
Jan Böhmer
28e7e401d4 Show root node for devices. 2020-10-03 14:04:43 +02:00
Jan Böhmer
c6970505c7 Put sidebar trees under a root node. 2020-10-03 13:56:30 +02:00
Jan Böhmer
3328dd968d Fixed some higher level PHPstan issues. 2020-10-02 12:42:15 +02:00
Jan Böhmer
e73a90a234 Fixed code style. 2020-08-21 22:44:38 +02:00
Jan Böhmer
e01b06fb85 Fixed some inspection issues. 2020-08-21 22:43:37 +02:00
Jan Böhmer
349ab706cc Apply symplify checkers. 2020-08-21 21:38:31 +02:00