Commit graph

46 commits

Author SHA1 Message Date
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
820be46ed3 Make more fiields importable 2023-03-13 00:52:22 +01:00
Jan Böhmer
2c67586873 Improved serialized fields 2023-03-12 01:12:35 +01: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
c2c768b151 Fixed some exceptions introduced earlier. 2022-09-21 12:31:32 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
8338c0f2d6 Fix exception with AmountFormatter if Si prefix were enabled and no unit symbol were set.
Also this case is now prevented by Validator (as it is not very useful). Fixes issue #171.
2022-09-17 17:58:01 +02:00
Jan Böhmer
8e6bc25d2e Fixed some inspection issues. 2022-08-14 19:39:07 +02:00
Jan Böhmer
15a31433e1 Fixed PHPstan warnings. 2022-03-04 13:22:40 +01:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02: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
96d7e4c9f4 Fixed inspection issues. 2020-02-02 14:05: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
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +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
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
1629f31fed Fixed some inspection issues. 2019-08-20 18:39:57 +02:00
Jan Böhmer
fd4b474dbd Added admin page for measurement unit. 2019-08-14 18:31:46 +02:00
Jan Böhmer
e274d6aa9e Remove unique keys on currency and MeasurementUnit
This caused problems on older MySQL versions.
2019-08-14 00:02:41 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +02:00