Jan Böhmer
2f580c92d1
Declare nativeType of parent property explicitly as workaround for bug in symfony TypeInfo
...
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
Symfony/type-info returns an invalid property type for the parent property based on the @phpstan-var static phpdoc in the parent. It returns some App\Entity\Base\AttachmentType which does not exists.
Symfony issue: https://github.com/symfony/symfony/issues/62922
2026-01-03 00:47:49 +01:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02: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
7ae0fad356
Allow to create attachments and parameters via PATCH operations on their owning elemens as direct POST operations are not possible yet
...
This partly fixes issue #502
2024-01-28 19:50:59 +01:00
Jan Böhmer
717a9fb0a3
Fixed API Platform deprecations
2023-10-25 20:40:41 +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
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
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
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
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
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
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01: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
15a31433e1
Fixed PHPstan warnings.
2022-03-04 13:22:40 +01: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
a4ee46fed4
Dont order collections by attachment_type or supplier as this causes an exception on table views.
2020-04-01 17:00:50 +02:00
Jan Böhmer
63ca177699
Order data structrues in select pickers alphabetically by their names.
2020-04-01 16:43:42 +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
cb0aa7bc7a
Fixed some psalm issues.
2020-03-29 23:13:25 +02:00
Jan Böhmer
ea302ded91
Fixed PHPstan issues.
2020-03-29 15:59:00 +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
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
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
594c694ee0
Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations.
2020-02-01 19:48:07 +01:00
Jan Böhmer
388e847b17
Applied symplify rules to codebase.
2020-01-05 22:49:00 +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
787e498586
Updated copyright headers.
2019-11-01 13:40:30 +01:00
Jan Böhmer
eb1d8fd4e4
Added possibility to add/edit attachments on Admin pages.
2019-09-24 18:28:35 +02:00
Jan Böhmer
ccc345cd1b
Changed DB structure the way, many more elements can have attachments
...
Also every Element has now a preview attachment field. For the user this will be used as profile picture.
2019-09-24 13:39:49 +02:00
Jan Böhmer
e19cd67b88
Show parts count on AdminPages of PartsContainingDBElements
2019-09-04 19:37:35 +02:00
Jan Böhmer
7826e3d2ad
Added entities and properties for some future features.
2019-08-12 15:47:57 +02:00