Jan Böhmer
06c8e584a4
Allow to import attachments and parameters via entity import
...
This fixes issue #363
2024-06-23 00:41:25 +02:00
Jan Böhmer
b70d74ae4b
Perform the duplicate check of parameter names already on initial creation
...
This fixes issue #568
2024-04-28 19:38:39 +02:00
Jan Böhmer
da75cca97c
Fixed missing/wrong group attributes on Parameters
...
This fixes issue #584
2024-04-02 22:41:30 +02:00
Jan Böhmer
dc7c13479c
Add proper length constraint validations to all string mapped ORM fields, so they show a nice validation error, instead of a 500 error
...
Fixes issue #544
2024-03-06 19:46:11 +01:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
e843286ea7
Allow to create parameters via the API
2024-03-02 21:49:16 +01:00
Jan Böhmer
3cc1fb40f0
Fixed problem that no datastructures with an parent element could be created/edited via API
...
This fixes issue #512 .
The error was introduced when trying to allow the modification of attachments/parameters throught the parent element. We need a seperate write scope to the element, or we end up with an infinite loop.
2024-02-06 22:42:25 +01:00
Jan Böhmer
aad62f2599
Disable POST operations for Attachment and AbstractParameter groups for now, as they can not work properly
...
As they work on abstract classes, they can not be initialized directly currently and you need to create them via a PATCH operation on their owning elements.
2024-01-28 19:53:33 +01:00
Jan Böhmer
2f958dafae
Fixed PHPstan issues
2023-10-03 16:41:03 +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
f285061a76
Allow to view and edit parameters of elements
2023-09-19 11:44:22 +02:00
Jan Böhmer
3738cb6025
Fixed error in paramater discriminator map
2023-09-04 23:01:54 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
219b57a362
Fixed some deprecations
2023-06-11 17:38:08 +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
dc6a67c2f0
Made the ALLOWED_ELEMENT_CLASS protected so we can apply rector
...
Its bad style to override a public const in a child class
2023-06-11 14:02:59 +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
d04d743520
Fixed typos
2023-04-15 23:14:53 +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
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +01:00
Jan Böhmer
0c7ec9f0c7
Added some basic DB fields for the new project system
2022-12-18 20:34:25 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
ed91ffc60a
Add database indices to improve performance
2022-09-25 18:33:13 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +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
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +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
8b6fe757a0
Removed unnecessary getIDString() function in AbstractDBElement.
2020-05-13 21:19:23 +02:00
Jan Böhmer
eb9b24d5d7
Fixed inspection issues.
2020-03-29 22:47:25 +02:00
Jan Böhmer
3671c94844
Fixed code style.
2020-03-29 22:16:06 +02:00
Jan Böhmer
2899db0206
Allow to put parameters in different groups.
2020-03-24 15:08:56 +01:00
Jan Böhmer
fd61c8d9e2
Fixed coding style.
2020-03-15 13:56:31 +01:00
Jan Böhmer
bc8748e6f4
Show parameters on info page & improved parameter editing.
2020-03-14 22:12:19 +01:00
Jan Böhmer
719e21c0df
Save element parameters in its own database table (dont use JSON)
...
This makes it easier to query for specific parameters.
2020-03-11 21:48:47 +01:00