Commit graph

1801 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
f8aee65d9e Simplified the available permissions 2022-10-31 21:13:27 +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
1013d2620d Updated dependencies. 2022-10-30 17:34:17 +01:00
Jan Böhmer
634d635c57 Updated symfony/security bundle recipe. 2022-10-22 22:13:20 +02:00
Jan Böhmer
e718e3c043 Updated doctrine-migrations recipe 2022-10-22 22:11:25 +02:00
Jan Böhmer
3c657ca959 Updated doctrine-bundle recipe 2022-10-22 22:07:57 +02:00
Jan Böhmer
6f7111f572 Updated webpack-encore recipe 2022-10-22 22:06:27 +02:00
Jan Böhmer
330f6b53ce Updated webpack encore 2022-10-22 22:03:27 +02:00
Jan Böhmer
8953f018b5 Update yarn depedencies.
This fixes the issue that search requests did not cause the url in navbar to update.
2022-10-22 21:57:30 +02:00
Jan Böhmer
86a51fc7b9 Do not use doctrine/dbal 3.5 (yet), as it has a bug with mariadb
It will always show the "sync-metadata-storage" issue.
2022-10-22 21:51:02 +02:00
Jan Böhmer
422b8d3f5d Updated composer dependencies. 2022-10-22 21:38:24 +02:00
Jan Böhmer
12f7cd9a8c Removed unnecessary git repo reference 2022-10-22 21:35:06 +02: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
e83f14f1ee Fixed exception when accessing user admin pagee 2022-10-09 21:14:00 +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
34d0381e83 Updated composer dependencies 2022-10-09 20:54:48 +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
9adebc35c5 Moved attachment_icon logic to attachment.macro.html.twig 2022-10-09 20:49:24 +02:00
Jan Böhmer
a01ed3acf6 Moved quick link logic into an macro 2022-10-09 20:39:51 +02:00
Jan Böhmer
74a563a75a Removed not needed template file 2022-10-09 20:32:34 +02:00
Jan Böhmer
38ff9bae4a Use common settings for all element history tables 2022-10-09 20:27:31 +02:00
Jan Böhmer
f50959837f Fixed issue that change of language via language selector did not changed the navbar and sidebar 2022-10-09 20:11:48 +02:00
Jan Böhmer
055752a24d Update the navbar on logout 2022-10-09 19:47:03 +02:00
Jan Böhmer
ed87f81a69 Try to fix template loading issue on linux 2022-10-05 23:24:42 +02:00
Jan Böhmer
f2a621e066 Fixed error page styling 2022-10-05 23:01:19 +02:00
Jan Böhmer
ff84fb8219 Improved error pages 2022-10-05 22:55:05 +02:00
Jan Böhmer
fefe36851e Removed not needed u2f-api package and upgraded yarn packages 2022-10-05 22:45:11 +02:00
Jan Böhmer
acd3ed1fc6 Updated composer dependencies 2022-10-05 22:42:38 +02:00
Jan Böhmer
27bf7c3be9 Merge branch 'webauthn_tfa' 2022-10-05 22:41:39 +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
485ca2c388 Fixed unit tests 2022-10-05 22:30:05 +02:00
Jan Böhmer
8d9e229737 Improved translations 2022-10-05 22:28:31 +02:00
Jan Böhmer
5773073e8d Fixed unit tests 2022-10-05 22:21:34 +02:00
Jan Böhmer
720903c46a Added webauthn key migrations for sqlite 2022-10-05 22:11:28 +02:00
Jan Böhmer
c1cb045960 Fixed static analyis issues 2022-10-05 21:59:42 +02:00
Jan Böhmer
9e837b6c80 Use jbtronics/2fa-webauthn package from packagegist 2022-10-04 00:35:05 +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
a8766a85b0
Fixed migration error on MySQL 8
Upwards from MySQL 8.0.2 groups is an reserved keyword and the table names need to be escaped.
2022-09-26 15:04:35 +02:00
Jan Böhmer
03aaff3c79 Fixed migration error, when we did not migrated from an legacy Part-DB version 2022-09-25 21:22:37 +02:00
Jan Böhmer
8dcfbe3c91 Added currency table to row_format migration which were missing before. 2022-09-25 19:48:24 +02:00
Jan Böhmer
cebf244e0a Normalize table character sets as old Part-DB version produced different encoding 2022-09-25 19:35:33 +02:00