Commit graph

55 commits

Author SHA1 Message Date
Jan Böhmer
20f32c7f12 Applied rector suggestions 2024-06-22 00:31:43 +02:00
Jan Böhmer
9db822eabd Use natural sorting for string datatables columns when using postgres
The natural sorting solution is quite portable, so this should be possible for other database types too later
2024-06-17 21:38:16 +02:00
Jan Böhmer
d49bb1f4b5 Removed unused import statements 2024-03-03 20:34:36 +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
e2dbd3d873 Fixed bug, that prevented all related history entries for an element
As the query param had the same name for each iteration, it got overwritten every time
2023-07-19 00:01:42 +02:00
Jan Böhmer
55aabddd41 Allow to sort by user in log data table 2023-07-18 23:45:52 +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
e8771ea118 Fixed some more phpstan issues 2023-06-18 00:00:58 +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
a43af180a7 Applied rector rules up to symfony 6.2 2023-05-28 01:21:05 +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
63df16a369 Removed unused imports 2023-04-15 22:27:19 +02:00
Jan Böhmer
4107535b19 Added basic log entry info page 2023-04-10 00:30:23 +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
6b06ce9ac3 Started to make changed fields names in element edited log entry extra data translatable 2023-02-11 23:39:11 +01:00
Jan Böhmer
08b60cd149 Restrict small user avatar picture size to square 2023-02-05 20:06:53 +01:00
Jan Böhmer
04c6d582f2 Make small user pictures hoverable to show larger version of profile picture. 2023-01-25 00:16:10 +01:00
Jan Böhmer
97b87dee5f Show user avatar next to its name, in all possible locations 2023-01-23 23:01:57 +01:00
Jan Böhmer
137c6430b1 Write the stock change comment also in the elementEdited log entry 2023-01-08 01:45:34 +01:00
Jan Böhmer
5d6b7a9470 Improved the rendering of a part instock change log entry 2023-01-08 01:41:04 +01:00
Jan Böhmer
1135bfcbef Color a part row if the part is favorite or needs review. 2022-12-17 01:19:52 +01:00
Jan Böhmer
618a6e49dd Coloring on log level in log tables now work again. 2022-12-17 01:03:22 +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
68462185ba Removed old GPLv2 copyright header 2022-11-29 22:28:53 +01:00
Jan Böhmer
ae4cb23b18 Removed timetravel permission
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +01:00
Jan Böhmer
c5d7f0a5b1 Do not use distinct on table queries.
This should speed up table loading a lot.
2022-09-25 14:43:15 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
aa719ab79a Allow filter option of LogDataTable to be null (which is the default)
This should fix the failing PHPunit action
2022-09-11 19:04:05 +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
bee057bc4b Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again 2022-09-11 00:46:12 +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
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +02:00
Jan Böhmer
fca2ad9d99 Show user history in user info page. 2020-04-04 15:45:14 +02:00
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
9035d97996 Link to associated element in log column field if possible 2020-03-28 18:46:15 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
0a7bd0bffa Dont show changes to users or groups on last activity on homepage. 2020-03-07 22:30:28 +01:00
Jan Böhmer
8a61b465d0 Check permissions for time travel and element undo. 2020-03-07 20:49:52 +01:00
Jan Böhmer
254d4e6c69 Show log level in popover of icon. 2020-03-07 17:20:01 +01:00
Jan Böhmer
41074f70ed Show last activity to elements on homepage. 2020-03-07 17:15:16 +01:00
Jan Böhmer
5a5d7b24be Allow to undo a change from event log. 2020-03-01 19:46:48 +01:00
Jan Böhmer
f604022e49 Allow to show collection elements that were deleted before by timetravel 2020-02-29 22:53:53 +01:00
Jan Böhmer
c14d6d91ff Show element history on part info page in history tab. 2020-02-22 20:04:43 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
f2ff77a8b3 Fixed coding style. 2020-02-01 16:17:20 +01:00