Commit graph

1512 commits

Author SHA1 Message Date
Jan Böhmer
54fa445f06 Added a workaround for an symfony issue with collectiontype. 2020-05-31 19:42:44 +02:00
Jan Böhmer
3021d0d67a Fixed bug that wrong function was called. 2020-05-31 15:03:27 +02:00
Jan Böhmer
d9c83d8bb2 Use LogoutEvent listener instead of deprecated LogoutHandler. 2020-05-31 13:48:36 +02:00
Jan Böhmer
7f263e9916 Use $session->getFlashBag() instead of deprcated FlashBag service. 2020-05-31 13:48:12 +02:00
Jan Böhmer
f53c80c442 Fixed PHPUnit issues. 2020-05-31 13:10:44 +02:00
Jan Böhmer
6602015a5a Added option to "save and clone" a part, which is especially useful, when creatiing multiple similar parts.
This should (partly) fix issue 45.
2020-05-30 23:50:50 +02:00
Jan Böhmer
e19594f500 Show additional infos about the part picture, when hovering it. 2020-05-27 22:51:43 +02:00
Jan Böhmer
19e132c746 Show attachment name and filename when hovering over an table picture. 2020-05-27 21:54:08 +02:00
Jan Böhmer
dea7ffcabd Fixed PHPstan issue. 2020-05-24 21:26:51 +02:00
Jan Böhmer
9d6ca8be31 Added missing translation for action success. 2020-05-24 20:20:44 +02:00
Jan Böhmer
ca74dd84f0 Added basic possibility to change the manufacturer, footprint, category and part unit of multiple parts. 2020-05-24 18:26:10 +02:00
Jan Böhmer
6f6ac0f128 Added simple possibility to favorite/unfavorite and delete multiple parts at once. 2020-05-23 19:06:46 +02:00
Jan Böhmer
123b229638 Added quick edit link column to Parts tables. 2020-05-22 22:31:19 +02:00
Jan Böhmer
8b43faeeac Correctly show external picture attachments. 2020-05-22 22:24:36 +02:00
Jan Böhmer
e6a3c41cee Pass typeahead ressource search as query param instead of URL part.
This hopefully fixes the 404 bugs, when putting an URL in the typeahead field...
2020-05-22 12:39:12 +02:00
Jan Böhmer
a27a6ea675 Dont try to generate thumbnails for SVG files, as GD does not support them... 2020-05-21 22:09:13 +02:00
Jan Böhmer
403dacbb25 Fixed DataFixture. 2020-05-21 13:46:17 +02:00
Jan Böhmer
db956fc5ad Fixed the timetravel function for big_decimal fields. 2020-05-20 23:42:01 +02:00
Jan Böhmer
dbf770f784 Update timestamp of the associated element.
For example the lastModified timestamp of a part is now updated, when the user changes a price information. This should represent more what a user expects under a last Modified field and should improve also sorting...
2020-05-20 23:36:44 +02:00
Jan Böhmer
2b21d4039a Use current timezone to show formatted datetimes in datatables. 2020-05-20 23:04:47 +02:00
Jan Böhmer
c60f27ef86 Fixed wrongly detected changes of prices caused by not identical objects. 2020-05-20 22:45:41 +02:00
Jan Böhmer
f92802a3c7 Fixed empty message for CurrencyEntityType. 2020-05-20 22:13:47 +02:00
Jan Böhmer
b1db89e3b4 Use BigDecimal for Pricedetail price field. 2020-05-20 22:02:07 +02:00
Jan Böhmer
db4d7dc5fc Use BigDecimal for Currency exchange rate. 2020-05-20 20:57:16 +02:00
Jan Böhmer
08267b88b0 Use BigDecimal object type for Supplier shipping costs, instead of bcmath string. 2020-05-18 22:07:09 +02:00
Jan Böhmer
ae23a82105 Initialize associated attachments collection for attachment types. 2020-05-18 11:26:04 +02:00
Jan Böhmer
8951940be1 Show messages, when an element can not be deleted.
Fixes issue #43.
2020-05-17 21:52:47 +02:00
Jan Böhmer
be47680b60 Show error, if null category is assigned to part.
Fixes issue #42.
2020-05-17 21:14:01 +02:00
Jan Böhmer
4f70e9fe5a Only retrieve parts, when partLot has already an ID.
Fixes issue #59.
2020-05-17 20:58:58 +02:00
Jan Böhmer
34760a068c Fixed doctrine mapping. 2020-05-17 20:49:43 +02:00
Jan Böhmer
cad9534b04 Fixed an exception on admin pages, if the element does not contain parts. 2020-05-16 21:14:05 +02:00
Jan Böhmer
14adb77a97 Moved getParts() and getPartsCount() to a repository (instead of a class method). 2020-05-16 20:53:35 +02:00
Jan Böhmer
8b6fe757a0 Removed unnecessary getIDString() function in AbstractDBElement. 2020-05-13 21:19:23 +02:00
Jan Böhmer
a3af55d4e2 Clone parameters if part is cloned.
Fixed issue #46
2020-05-13 21:08:09 +02:00
Jan Böhmer
c0b4172f22 Ensure that attachments are not used in preview when deleting, so we do not encounter integrity violations.
This fixes issue #50.
2020-05-13 20:46:13 +02:00
Jan Böhmer
7b108f8d4b Format last modified and creation date label placeholders using the correct timezone.
Fixes issue #54
2020-05-13 20:12:51 +02:00
Jan Böhmer
5302087eba Use server side library to generate QR-Code for Google authenticator.
This saves us 50KB in javascript assets...
2020-05-13 19:58:12 +02:00
Jan Böhmer
6db3f454e3 Fixed missing parameter in CurrencyAdminForm 2020-05-13 08:40:53 +02:00
Jan Böhmer
decc4e90fc Organized parameters better.
Parameters can now be found in their own file config/parameters.yaml. They are prefixed with partdb. and structured into different sections.
2020-05-12 22:53:42 +02:00
Jan Böhmer
73ac4f1641 Added missing translations.
Fixes issue #56.
2020-05-12 00:27:48 +02:00
Jan Böhmer
f5d685dfd4 Fixed coding style. 2020-05-10 21:39:31 +02:00
Jan Böhmer
6a40f04243 Fixed exception from wrong 'disable' parameter. 2020-05-10 16:58:53 +02:00
Jan Böhmer
7e656be246 Added some tests to check if LabelSystem and scanner pages are available. 2020-05-10 13:28:01 +02:00
Jan Böhmer
df6546d94d Added translations. 2020-05-09 22:33:19 +02:00
Jan Böhmer
236249e4a1 Added tests for various label services. 2020-05-09 20:24:07 +02:00
Jan Böhmer
e925bec5b6 Make LabelGenerator services final. 2020-05-09 18:17:23 +02:00
Jan Böhmer
28187f1ef2 Fixed PHPstan issues. 2020-05-09 18:02:26 +02:00
Jan Böhmer
bd6a0de0a2 Added possibility to generate labels for storelocations. 2020-05-08 13:49:44 +02:00
Jan Böhmer
9a9cd8e887 Added permission to control who can access label scanner. 2020-05-08 12:50:44 +02:00
Jan Böhmer
1f48247474 Added possibility to load profiles from label generator dialog. 2020-05-08 12:43:04 +02:00