Commit graph

574 commits

Author SHA1 Message Date
Jan Böhmer
e8f83f188a Fixed issue that U2F keys did not work.
The DB length for this field was too short, so the key handles were cut off and devices were not recognized.
2020-04-09 15:17:46 +02:00
Jan Böhmer
dae29cadd0 Test part cloning and creation page availability. 2020-04-09 14:23:26 +02:00
Jan Böhmer
b13d209051 Use correct ID to find a preset footprint when creating new part.
Fixes issue #40.
2020-04-09 14:22:58 +02:00
Jan Böhmer
b53e1f0a66 Use proper option injection for StructuralEntityType generate* functions.
Otherwise we get problems, if a page has multiple types with different options. This fixes issue #39
2020-04-09 13:46:28 +02:00
Jan Böhmer
b694ca8861 Fixed wrong permission name in StructureVoter. 2020-04-09 13:07:36 +02:00
Jan Böhmer
a28747b7ba Dont return null in getPartsInstockSum() function, when no part lots are defined yet.
This should fix issue #38.
2020-04-08 16:41:04 +02:00
Jan Böhmer
919e40e1a8 Don't add strange looking space in full name if a user does not have an first or last name. 2020-04-08 16:18:53 +02:00
Jan Böhmer
887ac83f83 Fixed an exception when a pricedetail has a currency without exchange rate.
Fixes issue #37
2020-04-08 16:06:32 +02:00
Jan Böhmer
da83314d69 Fixed a wrong AccessDenied exception related to data structures
StructureVoter now can work with ProxyClasses (child classes of "our" classes)
2020-04-08 15:54:07 +02:00
Jan Böhmer
5a733b3261 Removed left over dump() from debugging.
Should fix issue #35.
2020-04-06 18:15:45 +02:00
Jan Böhmer
e654c46e11 Added a duplicate button in data structures (categories, footprints, etc.) Admin pages. 2020-04-06 13:14:47 +02:00
Jan Böhmer
315cc30a1a Fix error with reindexed collectionType when multiple parts dont have IDs yet. 2020-04-06 11:52:42 +02:00
Jan Böhmer
fca2ad9d99 Show user history in user info page. 2020-04-04 15:45:14 +02:00
Jan Böhmer
fe958781ea Fixed PHPstan issue. 2020-04-04 13:12:22 +02:00
Jan Böhmer
470cd2af9e Log security related events like password reset, 2FA method added, etc. 2020-04-03 18:27:47 +02:00
Jan Böhmer
1b21bf5ddd Do not translate theme names. 2020-04-03 17:54:11 +02:00
Jan Böhmer
2dd807bbe6 Use twig global AttachmentManager in templates. 2020-04-03 14:56:48 +02:00
Jan Böhmer
0e57c0a6d5 Fixed PHPstan issues. 2020-04-02 14:15:54 +02:00
Jan Böhmer
6ad24aa9f8 Added an button to parts tables to directly add a new part in the selected category. 2020-04-01 18:02:56 +02:00
Jan Böhmer
a4ee46fed4 Dont order collections by attachment_type or supplier as this causes an exception on table views. 2020-04-01 17:00:50 +02:00
Jan Böhmer
63ca177699 Order data structrues in select pickers alphabetically by their names. 2020-04-01 16:43:42 +02:00
Jan Böhmer
a4802e290f Order attachments and part lots by a reasonable parameter. 2020-04-01 15:37:06 +02:00
Jan Böhmer
f0a3e9b5af Reindex the collections in CollectionType to prevent issues related of changing the order between the requests. 2020-04-01 15:10:06 +02:00
Jan Böhmer
e83d72ec10 Added a permission to control which users can access private attachments. 2020-03-30 16:56:58 +02:00
Jan Böhmer
9769915b34 Fixed exception when uploading a file. 2020-03-30 16:29:31 +02:00
Jan Böhmer
41df76e8e6 Enforce unique names for attachments (per attachment type and part) 2020-03-30 16:01:00 +02:00
Jan Böhmer
7d72f2416a Show error message next to discount quantity, when a error casued by duplicate prciedetail occurs. 2020-03-30 15:24:32 +02:00
Jan Böhmer
3b4d6e0736 Allow only a single orderinfo with a supplier and order nr. 2020-03-30 15:21:21 +02:00
Jan Böhmer
25a4f804d7 Allow to leave amount field empty when adding a new part lot. 2020-03-30 15:13:23 +02:00
Jan Böhmer
1a0e07fbaf Ensure that git head is really a file (and not a dir) 2020-03-30 14:57:16 +02:00
Jan Böhmer
e3800e4a24 Fixed exception. 2020-03-29 23:54:14 +02:00
Jan Böhmer
a28e81065f Fixed some more psalm issues. 2020-03-29 23:36:53 +02:00
Jan Böhmer
cb0aa7bc7a Fixed some psalm issues. 2020-03-29 23:13:25 +02:00
Jan Böhmer
eb9b24d5d7 Fixed inspection issues. 2020-03-29 22:47:25 +02:00
Jan Böhmer
0fe83c7b3a Removed unused variables. 2020-03-29 22:37:27 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
b6e88db35f Fixed invalid offset notice in GitVersionInfo. 2020-03-29 22:12:26 +02:00
Jan Böhmer
7ed1836d59 Fixed timezone issue related to expiration date. Also only date is editable and shown now.
Fixes issue #30.
2020-03-29 19:16:48 +02:00
Jan Böhmer
7c424eb548 Removed remaining dump(). 2020-03-29 18:55:01 +02:00
Jan Böhmer
b6dfea9c7d Fixed a invalid offset notice that can be occuring in GitVersionInfo. 2020-03-29 18:34:01 +02:00
Jan Böhmer
ea302ded91 Fixed PHPstan issues. 2020-03-29 15:59:00 +02:00
Jan Böhmer
09683dd8e7 Fixed wrong type in Test Fixtures. 2020-03-29 15:25:19 +02:00
Jan Böhmer
88580aad79 Dont log that shipping costs or price has been changed when just saving a part.
Fixes issue #26
2020-03-28 19:30:57 +01:00
Jan Böhmer
7cf500279e Show part lots and orderdetails with a name in target column if it exists. 2020-03-28 18:55:02 +01:00
Jan Böhmer
71fa827784 Show associated part for PartLots in log target column. 2020-03-28 18:50:16 +01:00
Jan Böhmer
9035d97996 Link to associated element in log column field if possible 2020-03-28 18:46:15 +01:00
Jan Böhmer
a47afdda93 Added translations for parameters. 2020-03-28 17:47:15 +01:00
Jan Böhmer
4459ea6bca Dont translate entity names in choice widgets. 2020-03-28 17:25:36 +01:00
Jan Böhmer
70c1fb7cc4 Improved history handling of parameters. 2020-03-28 17:19:02 +01:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00