Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
002d29a53e
Fixed PHPstan issues
2024-06-22 16:53:59 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +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
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
9e69a09a19
Fixed translation of stock change type in log table
2023-11-25 19:16:54 +01:00
Jan Böhmer
b447a69dae
Allow to specify an informational field during a part stock operation, where the user can specify, when this operation was really performed
...
Fixes issue #416
2023-11-25 19:10:18 +01:00
Jan Böhmer
8ab9cf1417
Added very basic possibility to add an association
2023-11-13 00:11:58 +01:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +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
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
fc3290271c
Started to increase the phpstan level
2023-06-13 10:36:34 +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
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
1dbf36b86b
Use str_contains and similar instead of strpos
2023-05-27 23:58:28 +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
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
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
69fc28d5d6
Added better formatted extra section for certain log types
2023-04-10 23:13:09 +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
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +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
4c94d9c150
Write a special log entry to DB when a user withdraws/add/move parts stock
2023-01-08 01:22:02 +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
a0f934169c
Allow to delete users while keeping log entries.
2022-12-17 00:25:54 +01:00
Jan Böhmer
81abf36867
Allow to undelete attachments and parameters
...
Before they were just mapped to the abstract base class, which is not instantiable. Now we properly map them to the correct sub class and no error occurs.
2022-11-30 23:49:27 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
ed91ffc60a
Add database indices to improve performance
2022-09-25 18:33:13 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
c7f5c23374
Implement a filter for Log Table (part 1)
2022-09-11 18:45:31 +02:00
Jan Böhmer
8e6bc25d2e
Fixed some inspection issues.
2022-08-14 19:39:07 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +02:00
Jan Böhmer
e73a90a234
Fixed code style.
2020-08-21 22:44:38 +02:00
Jan Böhmer
e01b06fb85
Fixed some inspection issues.
2020-08-21 22:43:37 +02:00