Commit graph

1512 commits

Author SHA1 Message Date
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
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
2c866186b0 Check permission when changing permissions for users. 2019-09-11 17:00:03 +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
f7fc3dd2cc Added an translation extractor, that extracts permission labels. 2019-09-10 22:48:17 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +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
a6f16315ee Format amounts in part tables using the partUnit 2019-09-08 18:19:29 +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
Jan Böhmer
748905c325 Added links to category, footprint and manufacturer columns 2019-09-08 16:56:05 +02:00
Jan Böhmer
429a4ebd17 Added links to part_lists on part info page. 2019-09-08 16:20:53 +02:00
Jan Böhmer
2040178460 Fixed missing templates for part lists. 2019-09-08 14:32:44 +02:00
Jan Böhmer
c8bc5d5214 Refactored EntityURL generator. 2019-09-08 14:23:49 +02:00
Jan Böhmer
c3fd325645 Allow to show parts for manufacturers and footprints. 2019-09-08 13:59:35 +02:00
Jan Böhmer
8dc9c7b9ae Added an info panel to categories list. 2019-09-08 13:37:11 +02:00
Jan Böhmer
e9a6649b5c Fixed exception on part tables. 2019-09-07 16:53:57 +02:00
Jan Böhmer
b8f5b7628c Use a own column type for entities. 2019-09-07 15:23:03 +02:00
Jan Böhmer
01eff5e873 Show manufacturer, partUnit and footprint in parts table. 2019-09-07 13:12:24 +02:00
Jan Böhmer
41a0317736 Format datetimes in parts tables using a IntlDatetimeFormatter. 2019-09-07 12:48:49 +02:00
Jan Böhmer
720e1cd04e Added some additional columns to part list.
They are hidden by default but can be shown by a colvis button.
2019-09-06 18:25:24 +02:00
Jan Böhmer
6e68ff5b44 Fixed exception when creating a new part. 2019-09-06 15:09:47 +02:00
Jan Böhmer
fe7ce39042 Removed dump functions. 2019-09-05 22:31:23 +02:00
Jan Böhmer
4c5b5b6df0 Added some simple tables for searching, subcategories and tags. 2019-09-05 22:27:18 +02:00
Jan Böhmer
940b834057 Added translations for validator strings. 2019-09-04 23:56:18 +02:00
Jan Böhmer
b62b0918d7 Added validator for the isFull/onlyExisting/singlePart options of locations. 2019-09-04 23:20:10 +02:00
Jan Böhmer
cd2534335a Add inversedby attribute to part->measurement unit relation association 2019-09-04 23:04:35 +02:00
Jan Böhmer
e19cd67b88 Show parts count on AdminPages of PartsContainingDBElements 2019-09-04 19:37:35 +02:00
Jan Böhmer
758a2ba25d Explicitly call translator interface for form labels.
This helps us to extract the translation keys.
2019-09-04 15:53:18 +02:00
Jan Böhmer
f132c65964 Added some translations. 2019-09-02 23:44:59 +02:00
Jan Böhmer
b7b7bf3a8b Show a useful message, when a master attachment is not valid because it is not a picture. 2019-09-02 23:13:50 +02:00
Jan Böhmer
e2b643c52b Allow to select the master picture attachment. 2019-09-02 23:09:58 +02:00
Jan Böhmer
59c981ad0d Show MPN and manufacturer link on part info page. 2019-09-02 18:53:31 +02:00