From: Bram Matthys Date: Fri, 5 May 2023 13:12:58 +0000 (+0200) Subject: Logs: filter past logs as well. End users must run 'composer install' X-Git-Tag: 0.9~44 X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/commitdiff_plain/4d3fa51f8820f5490f19b21209908da7dc4a0a4c?ds=inline;hp=27fba7fa81b6ffc56ad028271ba2b077ace73b1a Logs: filter past logs as well. End users must run 'composer install' --- diff --git a/api/log.php b/api/log.php index 098d855..7fbb90c 100644 --- a/api/log.php +++ b/api/log.php @@ -22,7 +22,7 @@ array_push($log_list, "!kick.REMOTE_CLIENT_KICK", ); -$response = $rpc->log()->getAll(); +$response = $rpc->log()->getAll($log_list); if ($response !== false) { /* Only supported in later UnrealIRCd versions */ diff --git a/composer.lock b/composer.lock index c30d084..ae74b77 100644 --- a/composer.lock +++ b/composer.lock @@ -407,12 +407,12 @@ "source": { "type": "git", "url": "https://github.com/unrealircd/unrealircd-rpc-php.git", - "reference": "101a298c6b6bed0ef6191cccbbad9358fb641746" + "reference": "4724b28b1c5d862414db89a8671c4e918cad70d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/101a298c6b6bed0ef6191cccbbad9358fb641746", - "reference": "101a298c6b6bed0ef6191cccbbad9358fb641746", + "url": "https://api.github.com/repos/unrealircd/unrealircd-rpc-php/zipball/4724b28b1c5d862414db89a8671c4e918cad70d1", + "reference": "4724b28b1c5d862414db89a8671c4e918cad70d1", "shasum": "" }, "require": { @@ -446,7 +446,7 @@ "issues": "https://github.com/unrealircd/unrealircd-rpc-php/issues", "source": "https://github.com/unrealircd/unrealircd-rpc-php/tree/main" }, - "time": "2023-04-27T18:42:21+00:00" + "time": "2023-05-05T13:11:38+00:00" } ], "packages-dev": [],