Commit graph

26 commits

Author SHA1 Message Date
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
2187f5eac2 Allow to disable a user in admin settings.
When a user is disabled, he can not login.
2019-10-26 23:22:27 +02:00
Jan Böhmer
8cfaee5c62 Added an console command to convert the old BBCode comments to markdown 2019-10-13 00:32:09 +02:00
Jan Böhmer
ac3e5d2669 Fixed exception when try to create a new part. 2019-10-06 15:49:42 +02:00
Jan Böhmer
3d790db559 Fixed orphanRemoval problem with parts collection.
Also ElementPermissionListener was improved, and multiple special cases were unified.
2019-09-17 13:57:40 +02:00
Jan Böhmer
3ecbe19fd6 Check read property on part entity objects. 2019-09-16 13:27:53 +02:00
Jan Böhmer
a078eef649 Show the permissions a user have on the user info page. 2019-09-13 19:38:22 +02:00
Jan Böhmer
3374153b73 Added permission checking for part price edit page. 2019-09-13 17:46:26 +02:00
Jan Böhmer
da14ee942d Added permissions for the new functions. 2019-09-13 17:13:58 +02:00
Jan Böhmer
856e20586f Added an admin page for the user groups. 2019-09-11 17:30:25 +02:00
Jan Böhmer
fd4b474dbd Added admin page for measurement unit. 2019-08-14 18:31:46 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +02:00
Jan Böhmer
05fd753189 Allow to download and view attachments via part info page. 2019-08-10 18:06:28 +02:00
Jan Böhmer
3e7150735d Added a basic dialog for editing/creating attachmentType elements. 2019-03-28 19:24:34 +01:00
Jan Böhmer
943d235b8b Added some unit tests. 2019-03-26 23:34:40 +01:00
Jan Böhmer
df40f712a6 Get a annotaion reader by Symfony. This way the annotations get cached, and it is much faster in production. 2019-03-21 13:09:42 +01:00
Jan Böhmer
3fe452626d Fixed some inspection issues. 2019-03-20 23:24:20 +01:00
Jan Böhmer
e2f7aafa2d Used PHP_CS_Fixer with symfony preset on codebase. 2019-03-20 23:16:07 +01:00
Jan Böhmer
b5fecee465 Use ColumnSecurity for remaing part properties. 2019-03-20 22:30:03 +01:00
Jan Böhmer
47fe76b22e Added a possibility to restrict the access to certain entity columns. 2019-03-20 19:11:34 +01:00
Jan Böhmer
8d36bf913d Check permissions in edit part form. 2019-03-19 19:00:39 +01:00
Jan Böhmer
6ed2eeabae Check for permissions before showing user infos or allow the user to change its own infos. 2019-03-19 18:36:05 +01:00
Jan Böhmer
4d39d5cfb7 Use anonymous user permissions, if nobody is logged in. 2019-03-19 17:17:04 +01:00
Jan Böhmer
01e1f27b68 Added a simple Voter for checking, if a user is allowed, to view/edit/create a part. 2019-03-18 19:05:41 +01:00