Commit graph

1877 commits

Author SHA1 Message Date
Jan Böhmer
7f6c9b614f Added an button to hide the sidebar.
Feature wished by Mr.AtiX. That way you can view tables in full screen.
2019-09-20 13:55:52 +02:00
Jan Böhmer
1301459718 Redirect user after login to user settings, if he needs to change password. 2019-09-19 14:48:49 +02:00
Jan Böhmer
a8612d9609 Forbid to delete the anonymous user. 2019-09-19 13:49:10 +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
694beca825 Allow admins to change the users configuration via the admin menu. 2019-09-19 12:12:12 +02:00
Jan Böhmer
d935e625d3 Upgraded yarn dependencies. 2019-09-19 11:54:49 +02:00
Jan Böhmer
1a0e5408af Removed bootstrap aweseome checkbox
We now use Bootstrap 4's custom controls.
2019-09-18 18:40:59 +02:00
Jan Böhmer
2d34649ae6 Allow user to set a currency in which every price is shown for him. 2019-09-18 18:17:17 +02:00
Jan Böhmer
01da705b54 Collect backtrace for each doctrine query. 2019-09-18 17:53:48 +02:00
Jan Böhmer
f36b95c351 Fixed deprecation for twig base.html.twig template
Using the filter tag is deprecated, replaced with apply tag which does the same thing.
2019-09-18 16:22:09 +02:00
Jan Böhmer
2441a25daa Enforce packages with compatibility with the minimum supported PHP version. 2019-09-18 16:06:51 +02:00
Jan Böhmer
842ee145bc Check also inheritance in type checking of isChild to prevent exceptions 2019-09-18 12:48:27 +02:00
Jan Böhmer
2cfad83ee8 Fixed problem that history url was not updated after pop state. 2019-09-17 22:59:18 +02:00
Jan Böhmer
edabaeaced Keep the opened tab open after submit or reload of a page.
Also we can now jump to tabs using a hash link, which is useful, for editing quickjumps.
2019-09-17 22:43:33 +02:00
Jan Böhmer
c94d3cdc68 Explicitly set that our utc datetypes does not need an comment
This fixes an deprecation warning.
2019-09-17 14:02:30 +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
7a9bfdf7f9 Added an comment about the recursive array_merge. 2019-09-16 22:23:02 +02:00
Jan Böhmer
21a81486df Fixed some inspection issues. 2019-09-16 22:04:59 +02:00
Jan Böhmer
f7c2f1032f Split Part entity class into multiple traits.
The part class has become very big and clumsy, that way it should be easier to maintain this entity...
2019-09-16 21:40:47 +02:00
Jan Böhmer
3ecbe19fd6 Check read property on part entity objects. 2019-09-16 13:27:53 +02:00
Jan Böhmer
44bad9029b Hide nodes in tools menu, for which the user does not have permissions. 2019-09-13 19:58:38 +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
1f005b25f7 Set useful default permission values for the default groups, when migrating. 2019-09-13 19:04:48 +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
d2bae3a4f2 Use the users timezone for showing dates from the database.
In the database the values are now saved in UTC.
2019-09-12 22:16:33 +02:00
Jan Böhmer
adf5db1a0a Fixed redirection, when no locale and no valid path were given 2019-09-12 21:41:38 +02:00
Jan Böhmer
6e74eb8276 Match only valid locales for localized routes. 2019-09-12 18:30:12 +02:00
Jan Böhmer
0bfcec77fb Use language setting of users when logging in. 2019-09-12 17:50:33 +02:00
Jan Böhmer
0dd20394cb Fixed an error that prevented to create a new user.
Also added some validation constraints.
2019-09-11 19:04:09 +02:00
Jan Böhmer
90d449ea22 Prevent a user from lock itself out from the user system. 2019-09-11 18:50:23 +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
959e79b9fb Use better card title for user editing. 2019-09-11 17:04:08 +02:00
Jan Böhmer
2c866186b0 Check permission when changing permissions for users. 2019-09-11 17:00:03 +02:00
Jan Böhmer
c2c9f3a938 Fixed compile error in event listeners. 2019-09-11 16:55:52 +02:00
Jan Böhmer
e7a95926f6 Show legend for permission values. 2019-09-11 16:54:12 +02:00
Jan Böhmer
35dd1fabc0 Added an checkbox to change all operations of a permission. 2019-09-11 16:46:59 +02:00
Jan Böhmer
ac302ab16a Allow to specify operations that also need to be set.
When the edit operation is set, the read permission is now set too.
2019-09-11 13:37:51 +02:00
Jan Böhmer
55983102ed Added translations for permissions. 2019-09-10 23:28:08 +02:00
Jan Böhmer
f7fc3dd2cc Added an translation extractor, that extracts permission labels. 2019-09-10 22:48:17 +02:00
Jan Böhmer
8b8afb63f6 Added labels to permissions. 2019-09-10 18:35:24 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
8e61b06abc Dont show comment tab content by default. 2019-09-08 18:52:47 +02:00
Jan Böhmer
09329a158b Dont use SI Prefixes for part amounts without unit. 2019-09-08 18:45:39 +02:00
Jan Böhmer
243bc7b3c7 Show colvis button also on bottom of the parts table. 2019-09-08 18:34:06 +02:00
Jan Böhmer
a6f16315ee Format amounts in part tables using the partUnit 2019-09-08 18:19:29 +02:00
Jan Böhmer
718e472e04 Added translations. 2019-09-08 18:08:20 +02:00
Jan Böhmer
7a9bc224a7 Show storelocations in part table. 2019-09-08 17:52:50 +02:00
Jan Böhmer
1e48c552dc Use cached nodeslist when querying for subcategories.
This should increase performance for part lists.
2019-09-08 17:39:24 +02:00
Jan Böhmer
31e89e2e36 Allow to show parts in a storelocation or an supplier. 2019-09-08 17:30:58 +02:00