Commit graph

992 commits

Author SHA1 Message Date
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
59ddf91527 Make PermissionData an embeddable so doctrine can properly track changes to the data array 2022-10-31 21:12:01 +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
33f8d2ba9e Merge branch 'master' into permission_rework 2022-10-30 17:35:57 +01:00
Jan Böhmer
6051c86521 Fixed exception while login 2022-10-09 22:09:43 +02:00
Jan Böhmer
afaa918ce6 Check permissions to view parts on the parts list pagees 2022-10-09 22:01:44 +02:00
Jan Böhmer
0b83d0a0b0 Allow to unset the group of a user
Fetch EAGER seems to be buggy here, so fetch the group lazily
2022-10-09 21:50:56 +02:00
Jan Böhmer
34573bb5e6 Fixed exception when accessing the group admin page 2022-10-09 21:07:51 +02: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
8fe01cf240 Prefer webauthn tfa over google auth if enabled. 2022-10-05 22:32:01 +02:00
Jan Böhmer
c1cb045960 Fixed static analyis issues 2022-10-05 21:59:42 +02:00
Jan Böhmer
9c688e22dc Allow to delete Webauthn Keys 2022-10-04 00:16:10 +02:00
Jan Böhmer
ac978abe1d Allow to register Webauthn Keys 2022-10-04 00:08:58 +02:00
Jan Böhmer
068daeda75 Use jbtronics/2fa-webauthn for u2f two factor authentication 2022-10-03 23:09:50 +02:00
Jan Böhmer
ccc99eba0c Add database indices to improve performance (SQLITE) 2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a Add database indices to improve performance 2022-09-25 18:33:13 +02:00
Jan Böhmer
c5d7f0a5b1 Do not use distinct on table queries.
This should speed up table loading a lot.
2022-09-25 14:43:15 +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
6a6ff152ab Fixed two factor authentication exception 2022-09-25 00:54:31 +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
ab8be58c0d Improved styling of the label dialog editor, so that the appearance is closer to the Label result 2022-09-21 21:49:09 +02:00
Jan Böhmer
f0956da0ea Hide path badge on seletpicker items. 2022-09-21 15:33:07 +02:00
Jan Böhmer
32638777d9 Show the number of parts with this element and all its child elements in Admin pages 2022-09-21 13:20:57 +02:00
Jan Böhmer
a9642b27a6 Show error message if a sub element contains parts while recursive deletion of StructuralDBElement 2022-09-21 13:05:52 +02:00
Jan Böhmer
26cc4b4836 Fixed exception 2022-09-21 12:47:12 +02:00
Jan Böhmer
c2c768b151 Fixed some exceptions introduced earlier. 2022-09-21 12:31:32 +02:00
Jan Böhmer
d09fb3269d Merge branch 'master' into permission_rework 2022-09-18 23:45:22 +02:00
Jan Böhmer
58ada496e4 Fixed static analysis issues. 2022-09-18 23:44:44 +02:00
Jan Böhmer
8bc2c994d2 Removed ElementPermissionListener and ColumnSecurity annotationn 2022-09-18 23:38:01 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
efa4325836 Fixed failing test 2022-09-18 18:11:18 +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
467687fd0f Make filters work on default MySQL servers to by removing the ONLY_FULL_GROUP_BY sql mode 2022-09-11 23:41:31 +02:00
Jan Böhmer
ffa804404c Set compund filter accessible for reflection to fix errors on PHP < 8.1 2022-09-11 19:18:20 +02:00
Jan Böhmer
0d0a04c36f Fixed static analysis issues. 2022-09-11 19:14:16 +02:00
Jan Böhmer
aa719ab79a Allow filter option of LogDataTable to be null (which is the default)
This should fix the failing PHPunit action
2022-09-11 19:04:05 +02:00
Jan Böhmer
d18ee704b8 Allow to filter logs by user who caused them 2022-09-11 18:57:48 +02:00
Jan Böhmer
c7f5c23374 Implement a filter for Log Table (part 1) 2022-09-11 18:45:31 +02:00
Jan Böhmer
017b0f717e Added filter possibility to attachment list 2022-09-11 02:00:22 +02:00
Jan Böhmer
bee057bc4b Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again 2022-09-11 00:46:12 +02:00
Jan Böhmer
f6b8e0e227 Use checkboxes for selections instead of the current full row selection. 2022-09-10 01:26:09 +02:00
Jan Böhmer
1915acf069 Improved formatting of the mass Part Lists column 2022-09-10 00:37:47 +02:00
Jan Böhmer
e96db21ceb Added possibility to apply filters to search results. 2022-09-10 00:08:59 +02:00
Jan Böhmer
c3f144447f Implement searching logic using the new filter system and improved searching logic
This should also fix issue #169 as ordernr is now really searched. Also support for searching in MPN was added.
2022-09-09 23:33:49 +02:00