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
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
f5d685dfd4
Fixed coding style.
2020-05-10 21:39:31 +02:00
Jan Böhmer
a8a92b9c5d
Added basic admin page for Label profiles.
2020-04-11 17:34:01 +02:00
Jan Böhmer
ae75e6844f
Fixed coding style.
2020-04-10 13:05:08 +02:00
Jan Böhmer
f116c2f09e
Log AccessDeniedExceptions to event log.
2020-04-10 12:28:15 +02:00
Jan Böhmer
470cd2af9e
Log security related events like password reset, 2FA method added, etc.
2020-04-03 18:27:47 +02:00
Jan Böhmer
eb9b24d5d7
Fixed inspection issues.
2020-03-29 22:47:25 +02: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