From 916bcc6443c2eb9eae1a55e84c64c89425d943bd Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Tue, 27 Dec 2022 23:09:25 +0100 Subject: [PATCH] Updated --- todo.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/todo.txt b/todo.txt index 7b90d1b..e808f9e 100644 --- a/todo.txt +++ b/todo.txt @@ -24,6 +24,8 @@ --- Tech --- % grep peerscrawl.php and getinstinfo.php logs on the server after a run to check for php errors and warnings +- instances.php: make it possible to search only in uri, name, desc +- instances.php: report LastOkCheckTS * VERY IMPORTANT: make a script to set Instances.LastOkCheckTS to the last ok check based on InstChecks (NULL if never) * getinstinfo.php, instances.php: use the same method that is used in peerscrawl.php to determine if an instance is dead - mustool.php: could clean InstChecks too now, since we dropped Instances.Dead and use Instances.LastOkCheckTS @@ -34,11 +36,11 @@ * death to akeavinn! - don't use truncs, use willtrunc or even better check mastodon docs/source for maximum length of values and modify the database accordingly * getinstinfo.php, instances.php: retrieve and show "server rules" (/api/v1/instance/rules, when ver. >= 3.4.0) -- getinstinfo.php, instances.php: retrieve and show "blocked list" (/api/v1/instance/domain_blocks, when ver. >= 4.0.0) (https://docs.joinmastodon.org/methods/instance/#domain_blocks) +* getinstinfo.php, instances.php: retrieve and show "blocked list" (/api/v1/instance/domain_blocks, when ver. >= 4.0.0) - "Severity" should be called "Level" in the "Notifications" table * getinstinfo.php: thoroughly test what happens when instance can't be fetched (when $instaswered is not true) * getinstinfo.php: "notify" must do "eecho" only optionally; it doesn't need to be preceded by "if (!$opts['dryrun'])" since it contains it -- NoIndex should be a column in Instances table... +? NoIndex for admin account should perhaps be a column in Instances table... - use indexes in database for every column involved in "order by" * use indexes in database for every column involved in joins * dupes: 771; check they don't groe - no it was that bug, most probably @@ -53,7 +55,7 @@ - important notifications: write them into a file and send its content by mail * crawler.php: make it faster - peerscrawl.php: make it faster (if possible) -- instances.php: if there's no "long desc", don't show it: since 4.0.? the admin interface doesn't let admins set it +* instances.php: if there's no "long desc", don't show it: since 4.0.? the admin interface doesn't let admins set it - used for new "description" value ~ (id 7613), per es., è nel db, ma non ha alcun record in instchecks: perché? dovrebbe essere risolto ora, testare * getinstinfo.php: fare che fetchuser oltre a noindex onora #nobot(s) ma se c'è #okindex e altre simili, compresa una tag specifica per masthelp, non onora né noindex né #nobot ! instances.php: dire in chiaro che i campi numerici si disabilitano lasciandoli vuoti (ora che c'è possibilità di disabilitarli da tasto forse sarebbe meno utile)