Jan Böhmer
df23ba07ba
Fixed excpetion that no IRI could be generated if a new Part was created via POST operation via API
...
This was because the objectSerializer in PartNormalizer messed up the JSONLD IRI generation of the paramaters property. It tried to generate this IRI via the Part ressource class, which is not possible
2024-01-05 23:38:49 +01:00
Jan Böhmer
59f62d4a4c
Show lots, order and pricedetails in part response
2023-09-18 21:31:55 +02:00
Jan Böhmer
f01ec9dbe4
Improved documentation of entity fields
2023-09-17 12:50:32 +02:00
Jan Böhmer
09acca950d
Added simple endpoint for basic part infos and partlots
2023-09-03 23:58:09 +02:00
Jan Böhmer
b7c8ca2a48
Improved typing and phpdoc type annotations
2023-06-18 15:37:42 +02:00
Jan Böhmer
e8771ea118
Fixed some more phpstan issues
2023-06-18 00:00:58 +02:00
Jan Böhmer
19530a9102
Fixed some PHPStan level 5 issues
2023-06-13 20:24:54 +02:00
Jan Böhmer
5629215ce4
Use imports instead of FQNs
2023-06-11 15:00:28 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
0bc4699cdc
Started to move doctrine annotations to attributes (rector automated)
2023-05-28 01:33:45 +02:00
Jan Böhmer
a43af180a7
Applied rector rules up to symfony 6.2
2023-05-28 01:21:05 +02:00
Jan Böhmer
334d81db08
Mark that amount is unknown in part tables and info page
...
Fixes issue #282
2023-04-29 22:33:46 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
5330476dbe
Highlight amount sum in part tables and part info page, when amount is less than minAmount
2023-04-03 23:15:29 +02:00
Jan Böhmer
27b43041f9
Allow to import orderdetails and partLots of parts
2023-04-02 01:00:40 +02:00
Jan Böhmer
61e2dde400
Allow to import category, footprint and manufacturer by giving a string in the CSV file
2023-03-12 21:10:48 +01:00
Jan Böhmer
85ae862381
Allow to set basic data via import
2023-03-12 20:01:29 +01:00
Jan Böhmer
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
bd12185b44
Show expired lot sum in parts table in parenthesis
2022-11-28 23:59:01 +01:00
Jan Böhmer
8bc2c994d2
Removed ElementPermissionListener and ColumnSecurity annotationn
2022-09-18 23:38:01 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +02:00
Jan Böhmer
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +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
a4802e290f
Order attachments and part lots by a reasonable parameter.
2020-04-01 15:37:06 +02:00
Jan Böhmer
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
96d7e4c9f4
Fixed inspection issues.
2020-02-02 14:05:36 +01:00
Jan Böhmer
f861de791f
Applied code style rules to src/
2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301
Fixed code style.
2020-01-04 20:24:09 +01:00
Jan Böhmer
b0fd346369
Use the right permission for minamount part field.
2019-11-15 19:02:11 +01:00
Jan Böhmer
6ddc937ec5
Fixed some inspection issues.
2019-11-10 14:00:56 +01:00
Jan Böhmer
e557bdedd5
Added an PHP CS fixer config file and applied it to files.
...
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
89258bc102
Added some tests for important entity methods.
2019-11-09 00:31:42 +01:00
Jan Böhmer
787e498586
Updated copyright headers.
2019-11-01 13:40:30 +01:00
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
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