fixes #2386 update filters in users activity logs (#2399)

* Add an action filter and a date filter. 

* Additional filters on a specific object (photo/album/group) are available from their dedicated administration page.

* Performances of the page was improved : instead of loading 100k lines in activity table, we loop on 500 activity lines until 100 aggregated lines are found for the current page.
This commit is contained in:
Perrom
2025-08-08 15:17:50 +02:00
committed by GitHub
parent 2465654752
commit 4dc2fc9f8d
16 changed files with 1238 additions and 740 deletions

View File

@@ -402,6 +402,7 @@ SELECT
'tag_selection' => $tag_selection,
'U_DOWNLOAD' => 'action.php?id='.$row['id'].'&part=e&pwg_token='.get_pwg_token().'&download',
'U_HISTORY' => get_root_url().'admin.php?page=history&filter_image_id='.$row['id'],
'U_ACTIVITY' => get_root_url().'admin.php?page=user_activity&photo='.$row['id'],
'U_DELETE' => $admin_url_start.'&delete=1&pwg_token='.get_pwg_token(),
'U_SYNC' => $admin_url_start.'&sync_metadata=1',
'PATH'=>$row['path'],