Commit graph

906 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
d5ff73b263 Test if statistics page is available. 2020-04-09 13:25:50 +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
64964f3b4d Specify minimum MariaDB/MySQL DB versions in README.
Fixes issue #8
2020-04-08 16:30:42 +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
0b16fd7697 Hide average price row, if we dont have info about it. 2020-04-08 16:10:35 +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
e12ecf774f Added some validator translations. 2020-04-08 15:25:12 +02:00
Jan Böhmer
6556eed364 Dont use a custom repository for U2F bundle.
The only change was another javascript file, we include this manually now.
2020-04-07 12:34:34 +02:00
Jan Böhmer
9a30ea5159 Allow bigger drops on code coverage. 2020-04-06 18:47:04 +02:00
Jan Böhmer
21e34166ba Fixed exception in "Show all parts table". 2020-04-06 18:40:00 +02:00
Jan Böhmer
f04cb9d3e9 Search for function calls to debug functions like dump() with PHPstan
This should (hopefully) issues like #35.
2020-04-06 18:26:42 +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
a50fec2e8b Disable "New part" button if a category is marked as not selectable.
Fixes issue #36.
2020-04-06 18:07:23 +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
3bf346f756 Updated dependencies. 2020-04-04 19:35:02 +02:00
Jan Böhmer
f35a8611e3 Improved placement of tooltips for part description. 2020-04-04 19:16:13 +02:00
Jan Böhmer
7d0776e598 Make expand buttons for treeview bigger on mobile view.
This should make it easier to press it on a touch screen.
2020-04-04 18:52:48 +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
6b99784238 Improved info box on part tables. 2020-04-03 14:53:12 +02:00
Jan Böhmer
0e57c0a6d5 Fixed PHPstan issues. 2020-04-02 14:15:54 +02:00
Jan Böhmer
56100fb64b
Merge pull request #33 from Part-DB/l10n_master
New Crowdin translations
2020-04-02 13:26:37 +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
4ccfeef6ec Fixed shifting of the panel if the dropdown was really big. 2020-04-01 16:34:07 +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
b3805277b9 Revert "Use Opcache preloading on heroku server."
This reverts commit d4d2dece70.
2020-03-31 18:24:35 +02:00
Jan Böhmer
d4d2dece70 Use Opcache preloading on heroku server. 2020-03-31 18:16:30 +02:00
Jan Böhmer
fedb78d44a Updated vulnerable symfony components. 2020-03-30 19:34:07 +02:00
Jan Böhmer
d91eb334f1 Fixed a preloading warning. 2020-03-30 17:17:08 +02:00
Jan Böhmer
99cf371ae5 Show filename as badges on part attachment info page. 2020-03-30 17:09:31 +02:00
Jan Böhmer
7e1247398b Do asset preloading in production mode. 2020-03-30 17:07:51 +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
7bda340368 Show correct validator error position when a new element was added to CollectionType. 2020-03-30 15:49:04 +02:00
Jan Böhmer
5e6b6f08dd Dont log pricedetail infos to web console. 2020-03-30 15:26:44 +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