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
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +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
22950f2476
Validate that a parts name fullfills the regular expression set in a category
2023-01-28 21:36:19 +01:00
Jan Böhmer
5521995f79
Delete ProjectBOMEntry when the associated part is deleted
2022-12-29 13:27:33 +01:00
Jan Böhmer
7f38095e82
Added a part info tab to show in which projects the part is used.
2022-12-18 23:58:04 +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
b1d359f538
Added internal part number field to parts
2022-12-04 02:28:47 +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
Jan Böhmer
ed91ffc60a
Add database indices to improve performance
2022-09-25 18:33:13 +02: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
d0b1024d80
Fixed code style.
2020-08-21 21:36:22 +02:00
Jan Böhmer
8b6fe757a0
Removed unnecessary getIDString() function in AbstractDBElement.
2020-05-13 21:19:23 +02:00
Jan Böhmer
a3af55d4e2
Clone parameters if part is cloned.
...
Fixed issue #46
2020-05-13 21:08:09 +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
a4802e290f
Order attachments and part lots by a reasonable parameter.
2020-04-01 15:37:06 +02:00
Jan Böhmer
f0a3e9b5af
Reindex the collections in CollectionType to prevent issues related of changing the order between the requests.
2020-04-01 15:10: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
a6e0f1738b
Added a basic possibility to create/edit/delete specifications for parts.
2020-03-08 22:46:29 +01:00
Jan Böhmer
a3c626d0ab
Perform deep clone when cloning a part.
...
Fixes issue #25 .
2020-03-08 18:56:00 +01:00
Jan Böhmer
181e0f72ed
Fixed entity export.
2020-02-23 19:45:06 +01:00
Jan Böhmer
9e8771a4ee
Changed license to AGPL3+
2020-02-22 18:14:36 +01:00
Jan Böhmer
f2ff77a8b3
Fixed coding style.
2020-02-01 16:17:20 +01:00
Jan Böhmer
388e847b17
Applied symplify rules to codebase.
2020-01-05 22:49:00 +01:00
Jan Böhmer
2f20d90041
Fixed code to be analysable by Symplfiy Code style set.
2020-01-05 22:32:19 +01:00
Jan Böhmer
9a7223a301
Fixed code style.
2020-01-04 20:24:09 +01:00
Jan Böhmer
1aed1d1d26
Fixed some inspection issues.
2020-01-04 20:14:42 +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
787e498586
Updated copyright headers.
2019-11-01 13:40:30 +01:00
Jan Böhmer
9d73cc0869
Fixed exception on login.
2019-09-24 16:09:54 +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
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
Jan Böhmer
3ecbe19fd6
Check read property on part entity objects.
2019-09-16 13:27:53 +02:00
Jan Böhmer
da14ee942d
Added permissions for the new functions.
2019-09-13 17:13:58 +02:00
Jan Böhmer
cd2534335a
Add inversedby attribute to part->measurement unit relation association
2019-09-04 23:04:35 +02:00
Jan Böhmer
b7b7bf3a8b
Show a useful message, when a master attachment is not valid because it is not a picture.
2019-09-02 23:13:50 +02:00
Jan Böhmer
e2b643c52b
Allow to select the master picture attachment.
2019-09-02 23:09:58 +02:00
Jan Böhmer
59c981ad0d
Show MPN and manufacturer link on part info page.
2019-09-02 18:53:31 +02:00
Jan Böhmer
d22f9da1f0
Allow to define manufacturing status for a part.
2019-09-02 18:41:57 +02:00
Jan Böhmer
de6df395f4
Replaced the old migrations with one big cleaner one.
2019-09-02 16:34:53 +02:00