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
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
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
8c430a3af0
Fixed tests
2023-06-11 13:42:45 +02:00
Jan Böhmer
7191ece7a5
Configure doctrine to use attributes instead of annotations
2023-05-28 01:55:30 +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
1dbf36b86b
Use str_contains and similar instead of strpos
2023-05-27 23:58:28 +02:00
Jan Böhmer
c24019fd57
Fixed error preventing the service container from compiling
2023-05-27 20:46:02 +02:00
Jan Böhmer
923e40ed8f
Add the data after the change to a element edited log entry, so you can easily view the changes in log detail pages
2023-05-14 21:41:00 +02:00
Jan Böhmer
4c6ceab8e8
Merge branch 'master' into log_detail_page
2023-04-29 22:46:38 +02:00
Jan Böhmer
334d81db08
Mark that amount is unknown in part tables and info page
...
Fixes issue #282
2023-04-29 22:33:46 +02:00
Jan Böhmer
7baad04e39
Updated dependencies
2023-04-16 23:58:03 +02:00
Jan Böhmer
273293479d
Hopefully fix phpunit issue on github actions
2023-04-16 01:46:44 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +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
5f29ee9052
Fixed some deprecation messages
2023-04-15 21:18:11 +02:00
Jan Böhmer
69fc28d5d6
Added better formatted extra section for certain log types
2023-04-10 23:13:09 +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
342ed382e3
Properly mark the tinyint column with a comment, so that migrations can properly detect that no changes are needed
2023-04-09 00:04:13 +02:00
Jan Böhmer
577b841ee0
Fixed TypeError on certain old ElementCreatedLogEntries
...
Fixes issue #261
2023-04-08 22:57:07 +02:00
Jan Böhmer
5b5e8a4fd5
Allow users (and admins) to decide whether their email should be shown on their public profile
2023-04-08 19:53:05 +02:00
Jan Böhmer
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +02:00
Jan Böhmer
bcda71cb25
Ensure that the a lot / storage location owner is not the anonymous user
2023-04-08 00:50:42 +02:00
Jan Böhmer
6443d8e2bf
Log the name of the CLI user, when actions were done from the CLI.
2023-04-07 22:44:59 +02:00
Jan Böhmer
5330476dbe
Highlight amount sum in part tables and part info page, when amount is less than minAmount
2023-04-03 23:15:29 +02:00
Jan Böhmer
9244fe5944
Fixed internal server error, when using owner placeholder on stored label profile
2023-04-03 22:23:53 +02:00
Jan Böhmer
8e2f297839
Added migrations for sqlite
2023-04-03 00:47:51 +02:00
Jan Böhmer
1acceae81e
Enforece that part lot owner matches storage location owner, if option is selected
2023-04-02 23:58:15 +02:00
Jan Böhmer
065417038c
Added possibility to edit and view the aboutMe information of users
2023-04-02 20:26:42 +02:00
Jan Böhmer
047c82791b
Added basic fields and migration for MySQL
2023-04-02 19:10:36 +02:00
Jan Böhmer
27b43041f9
Allow to import orderdetails and partLots of parts
2023-04-02 01:00:40 +02:00
Jan Böhmer
563d6bccd3
Added possibility to import users and projects
2023-03-25 21:09:02 +01:00
Jan Böhmer
1ca839ab26
Added import for storelocations
2023-03-24 22:51:41 +01:00
Jan Böhmer
bd2559c37b
Added the basic possibility to import KiCAD BOMs into projects
2023-03-16 00:05:46 +01:00
Jan Böhmer
be5663c468
Allow import/export of users
2023-03-13 22:16:02 +01:00
Jan Böhmer
820be46ed3
Make more fiields importable
2023-03-13 00:52:22 +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
85ae862381
Allow to set basic data via import
2023-03-12 20:01:29 +01:00
Jan Böhmer
8f033910ce
Refactored EntityImporter service
2023-03-12 19:16:49 +01:00
Jan Böhmer
38b5e95842
Improved serialization result for parts
2023-03-12 01:41:44 +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