Jan Böhmer
0cb46039dd
Allow to retrieve price and shopping informations from info providers
2023-07-14 00:09:22 +02:00
Jan Böhmer
9e3cb4d694
Use enum for manufacturing status
2023-07-08 23:49:47 +02:00
Jan Böhmer
8a4ede9d43
Write to event log, when a user gets impersonated
2023-07-08 23:07:06 +02:00
Jan Böhmer
e7a1b33ae6
Allow to set the exchange rate of a currency to null (not existing) after it was set once
2023-07-03 22:15:58 +02:00
Jan Böhmer
2d5f23271f
Force that an currency has an iso currency code
...
Otherwise it will crash a lot of formatter code (and a currency which is not existing is not really useful)
2023-07-03 22:11:12 +02:00
Jan Böhmer
e72b120c12
Use new UniqueObjectCollection constraint to ensure that BOM entries does not contain duplicate items
2023-07-02 20:49:10 +02:00
Jan Böhmer
8a20584e27
Use enum for undo mode
2023-06-18 21:26:28 +02:00
Jan Böhmer
7d99607919
Use an enum for the part stock change type
2023-06-18 20:42:05 +02:00
Jan Böhmer
9adfcc7aec
Use an enum for target_type in log entries
2023-06-18 18:31:39 +02:00
Jan Böhmer
2da7463edf
Use a enum for level in LogEntries
2023-06-18 17:25:55 +02:00
Jan Böhmer
cbdf0a9392
Fixed some errors introduced by earlier typings
2023-06-18 16:01:28 +02:00
Jan Böhmer
b7c8ca2a48
Improved typing and phpdoc type annotations
2023-06-18 15:37:42 +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
71cd4057a7
Use enums for LabelOptions
2023-06-12 23:39:30 +02:00
Jan Böhmer
485b35fbd4
Fixed static analysis issues
2023-06-11 23:16:07 +02:00
Jan Böhmer
3d7cf8f7f3
Removed remaining annotations
2023-06-11 19:42:02 +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
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