Jan Böhmer
8bb8118d9f
Use natural sorting for trees and others repository functions
2024-06-17 22:33:40 +02:00
Jan Böhmer
7ad2fab53d
Fixed exception related that Datetimeimmutables were used were doctrine expected mutable ones
...
this prevented the saving of parts from info providers
2024-06-13 23:41:35 +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
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
ccb94c8a13
Fixed problem that all properties in snake_case style were considered readOnly by API Platform
2023-09-19 23:52:11 +02:00
Jan Böhmer
78a6262665
Fixed PHPstan issues
2023-09-19 00:00:25 +02:00
Jan Böhmer
f01ec9dbe4
Improved documentation of entity fields
2023-09-17 12:50:32 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
e04b635c98
Added API endpoints for more data structures
2023-09-03 17:15:18 +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
8ce5f4a796
Do not cache entities directly in NodesListBuilder but cache only the IDs instead
...
Otherwise the doctrine proxies break, and we get issues with loading the preview_images in structural Elements.
2023-07-20 23:20:46 +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
b74ab18a6d
Added possibility to define alternative names on data structures
...
This can be used to find elements, based on the data returned by info providers
2023-07-16 22:59:46 +02:00
Jan Böhmer
edc54aaf91
Added migrations for sqlite and new additional_names field
2023-07-16 20:47:25 +02:00
Jan Böhmer
8a20584e27
Use enum for undo mode
2023-06-18 21:26:28 +02:00
Jan Böhmer
e8771ea118
Fixed some more phpstan issues
2023-06-18 00:00:58 +02:00
Jan Böhmer
78b0e1bf7e
Fixed errors when setting setParent on a proxied AbstractStructuralDBElement
2023-06-13 21:00:25 +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
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
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
1ca839ab26
Added import for storelocations
2023-03-24 22:51:41 +01: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
8f033910ce
Refactored EntityImporter service
2023-03-12 19:16:49 +01:00
Jan Böhmer
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +01:00
Jan Böhmer
b99e6c9a21
Updated serializer discriminator map
2023-03-12 00:35:48 +01:00
Jan Böhmer
3b36b2a4dc
Improved exporter service
2023-03-11 22:40:53 +01:00
Jan Böhmer
7394a23a83
Fixed infinite loop when an element gets assigned itself as parent
...
This fixes issue #230
2023-03-02 22:55:22 +01:00
Jan Böhmer
82aec6f1ee
Fixed problem with failing foreign key constraints on preview pic (1/2)
2023-02-20 00:06:00 +01:00
Jan Böhmer
ba5ae35809
Fixed some inspection issues
2023-02-05 03:01:25 +01:00
Jan Böhmer
60446edd68
Fixed possibility to create nested structure from the part edit page
2023-01-30 22:29:20 +01:00
Jan Böhmer
07f95bc6ea
Added possibility to create nested structures of elements using Mass Import
2023-01-28 23:24:45 +01:00
Jan Böhmer
f2dfe12087
Use new label for ProjectBOMEntry
2023-01-08 19:40:56 +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
33f8d2ba9e
Merge branch 'master' into permission_rework
2022-10-30 17:35:57 +01:00