Commit graph

265 commits

Author SHA1 Message Date
Jan Böhmer
8fe01cf240 Prefer webauthn tfa over google auth if enabled. 2022-10-05 22:32:01 +02:00
Jan Böhmer
c1cb045960 Fixed static analyis issues 2022-10-05 21:59:42 +02:00
Jan Böhmer
ac978abe1d Allow to register Webauthn Keys 2022-10-04 00:08:58 +02:00
Jan Böhmer
068daeda75 Use jbtronics/2fa-webauthn for u2f two factor authentication 2022-10-03 23:09:50 +02:00
Jan Böhmer
ccc99eba0c Add database indices to improve performance (SQLITE) 2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a Add database indices to improve performance 2022-09-25 18:33:13 +02:00
Jan Böhmer
6a6ff152ab Fixed two factor authentication exception 2022-09-25 00:54:31 +02:00
Jan Böhmer
32638777d9 Show the number of parts with this element and all its child elements in Admin pages 2022-09-21 13:20:57 +02:00
Jan Böhmer
26cc4b4836 Fixed exception 2022-09-21 12:47:12 +02:00
Jan Böhmer
c2c768b151 Fixed some exceptions introduced earlier. 2022-09-21 12:31:32 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
8338c0f2d6 Fix exception with AmountFormatter if Si prefix were enabled and no unit symbol were set.
Also this case is now prevented by Validator (as it is not very useful). Fixes issue #171.
2022-09-17 17:58:01 +02:00
Jan Böhmer
c7f5c23374 Implement a filter for Log Table (part 1) 2022-09-11 18:45:31 +02:00
Jan Böhmer
b0d29eaeaf Dont change the original collection when calling getOrderdetails with $hide_obsolete = true
This caused the orderdetails tab to be hidden on part info, when the orderdetail was obsolete
2022-09-08 00:35:39 +02:00
Jan Böhmer
9a7e47863b Added autocomplete for part parameters 2022-09-05 17:02:57 +02:00
Jan Böhmer
8e6bc25d2e Fixed some inspection issues. 2022-08-14 19:39:07 +02:00
Jan Böhmer
639829f5c5 Fixed some inspection issues. 2022-08-14 19:32:53 +02:00
Jan Böhmer
5fd608f42a Fixed some deprecations. 2022-08-14 19:09:07 +02:00
Jan Böhmer
d9d7e09866 Fixed some deprecation notices. 2022-07-23 22:21:29 +02:00
Jan Böhmer
2ac45fd869 Disallow orderdetails without supplier info.
Fixes issue #116
2022-07-23 21:41:54 +02:00
Jan Böhmer
082cd16486 Disallow attachments without attachment types.
This should partly fixes issue #131. TODO: Change database structure so attachment_type is not nullable.
2022-07-22 00:48:51 +02:00
Jan Böhmer
61bd0bd15c Fixed more PHPstan warnings. 2022-03-04 18:37:42 +01:00
Jan Böhmer
15a31433e1 Fixed PHPstan warnings. 2022-03-04 13:22:40 +01:00
Jan Böhmer
193ecd252b Fixed some deprecations. 2021-10-02 20:41:14 +02:00
Jan Böhmer
3328dd968d Fixed some higher level PHPstan issues. 2020-10-02 12:42:15 +02:00
Jan Böhmer
3809539587 Implemented a stub DeviceRepository to prevent exception when try to delete a device.
Now the devices can not be deleted (but no exception), to prevent users to accidentally delete still useful devices from old Part-DB versions (as currently it is not possible to view which infos a device contains). This fixes issue #60.
2020-08-21 23:28:46 +02:00
Jan Böhmer
e73a90a234 Fixed code style. 2020-08-21 22:44:38 +02:00
Jan Böhmer
e01b06fb85 Fixed some inspection issues. 2020-08-21 22:43:37 +02:00
Jan Böhmer
349ab706cc Apply symplify checkers. 2020-08-21 21:38:31 +02:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02:00
Jan Böhmer
3021d0d67a Fixed bug that wrong function was called. 2020-05-31 15:03:27 +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
c60f27ef86 Fixed wrongly detected changes of prices caused by not identical objects. 2020-05-20 22:45:41 +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
34760a068c Fixed doctrine mapping. 2020-05-17 20:49:43 +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
f5d685dfd4 Fixed coding style. 2020-05-10 21:39:31 +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
bd6a0de0a2 Added possibility to generate labels for storelocations. 2020-05-08 13:49:44 +02:00
Jan Böhmer
f64910374f Added support for Code128 barcode. 2020-05-07 23:27:40 +02:00
Jan Böhmer
fde1d7be4f Added the possibility to add additional CSS to label. 2020-05-04 22:19:06 +02:00
Jan Böhmer
8b372a3443 Allow to specify which label profiles are shown in dropdown. 2020-05-02 19:47:31 +02:00