Jan Böhmer
717a9fb0a3
Fixed API Platform deprecations
2023-10-25 20:40:41 +02:00
Jan Böhmer
64c38042a0
Added missing lastModified and creationDate fields to API response
2023-10-04 00:08:10 +02:00
Jan Böhmer
852624ae7e
Added filter to filter parts by storage location
2023-10-03 21:59:33 +02:00
Jan Böhmer
00708608cd
Added entity filter to filter part response by categories, etc.
2023-10-03 21:37:58 +02:00
Jan Böhmer
3df47ed748
Added filters to various endpoints to allow searching for parts
2023-10-03 16:29:04 +02:00
Jan Böhmer
7bd44484be
Added documentation for virtual fields of Attachment and Part entity
2023-10-02 00:22:15 +02:00
Jan Böhmer
f285061a76
Allow to view and edit parameters of elements
2023-09-19 11:44:22 +02:00
Jan Böhmer
78a6262665
Fixed PHPstan issues
2023-09-19 00:00:25 +02:00
Jan Böhmer
87e881f8e0
Show attachments and preview image in API response
2023-09-18 23:38:06 +02: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
4e57750214
Added endpoint for storage locations
2023-09-04 23:05:30 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +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
e04b635c98
Added API endpoints for more data structures
2023-09-03 17:15:18 +02:00
Jan Böhmer
17b49e7ae5
Added security to manufacturer and suppliers API endpoint
2023-08-28 23:46:55 +02:00
Jan Böhmer
3486957447
Added endpoint for suppliers
2023-08-06 20:57:32 +02:00
Jan Böhmer
6b5c51bdc5
Improved schema infos of Manufacturer endpoints
2023-08-06 20:50:19 +02:00
Jan Böhmer
676c8eeefb
Added basic API to access and edit manufacturer entities
2023-08-06 20:18:57 +02:00
Jan Böhmer
c981476706
Use proper way of overriding doctrine attributes
...
In older versions doctrine allowed overriding attributes, by simply redifining them in subclasses. In 2.16 this throws an exception. We now use the proper way using the AttributeOverrides attribute
2023-08-01 15:55:21 +02:00
Jan Böhmer
0f336b6f89
Allow for longer manufacturer and supplier URLs
2023-07-31 00:00:57 +02:00
Jan Böhmer
d59b8817c3
Do not use fetch join, as even with the N+1 problem the queries are faster than with the very complex and slow expressions needed for the fetch Join pagination
2023-07-22 23:51:06 +02:00
Jan Böhmer
2e8cb35acc
Use ManyToOne instead of OneToOne for master_picture_attachment like before
2023-07-20 21:54:13 +02:00
Jan Böhmer
2ddfe48aba
Do the doctrine definitions of the master preview attachment in the sub classes
...
This makes lazy fetching works and saves some db queries.
2023-07-19 22:49:40 +02:00
Jan Böhmer
3a8c5a788f
Fixed phpstan issues
2023-07-17 00:43:35 +02:00
Jan Böhmer
f423fdf7f8
Fixed bug in DB schema, which prevented the creation of parts without info provider reference
2023-07-16 23:48:55 +02:00
Jan Böhmer
a95ba1acc4
Add a reference to the used info provider to a part
2023-07-16 01:24:49 +02:00
Jan Böhmer
9e3cb4d694
Use enum for manufacturing status
2023-07-08 23:49:47 +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
fc3290271c
Started to increase the phpstan level
2023-06-13 10:36:34 +02:00
Jan Böhmer
930adaf439
Moved custom validators from annotations to attributes
2023-06-11 19:32:15 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
684334ba22
Improved code style of tests
2023-06-11 15:02:59 +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
0837f84a43
Migrated doctrine annotations to attributes
2023-05-28 01:51:13 +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
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
13209c3236
Improved typing of properties
2023-04-15 22:25:03 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
de96aae9a5
Fixed inspection issues
2023-04-15 21:49:19 +02:00
Jan Böhmer
fc1d2269d0
Fixed error with default values on older MySQL version
...
We have removed the default values for the columns completly, as it were only needed on SQLite when adding the column to existing row.
As this was done in an earlier migration, we can now safely remove it.
The MySQL now correctly detects no more changes. SQLite however still generates some wrong migration changes.
2023-04-09 01:17:48 +02:00
Jan Böhmer
bcda71cb25
Ensure that the a lot / storage location owner is not the anonymous user
2023-04-08 00:50:42 +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
9244fe5944
Fixed internal server error, when using owner placeholder on stored label profile
2023-04-03 22:23:53 +02:00