Commit graph

123 commits

Author SHA1 Message Date
pezcurrel
9bee2ee027 Minor changes 2024-08-28 10:53:16 +02:00
pezcurrel
c1f0e8779e Refined “strip” function a bit again (added some regex, modified a bit some others) 2024-08-25 19:55:58 +02:00
pezcurrel
1558507795 I forgot to turn off html spitting for long descriptions, now it is turned off 2024-08-25 19:08:01 +02:00
pezcurrel
3aca654d83 Made the regex to strip paragraphs and divs ungreedy 2024-08-25 19:05:58 +02:00
pezcurrel
132ab498b5 Big revision of the “strip” function: now it strips more, so bad html in instances’ extended descriptions is less likely to break results pages 2024-08-25 17:51:20 +02:00
pezcurrel
468ca37cc0 Now the logic to set the language for instances to be returned by default to the browser’s one is autonomous from the one to set the locale for text translation 2024-08-25 13:45:53 +02:00
pezcurrel
15362db8e3 Changed again the intro text a bit, to make it clearer 2024-08-25 11:45:40 +02:00
pezcurrel
4111887fbc Changed a bit the intro text to make it clearer 2024-08-25 10:30:24 +02:00
pezcurrel
6f7dfa5d4e Added a missing “</p>” in intro text 2024-08-25 10:25:44 +02:00
pezcurrel
24556ea1c6 Extended the intro text 2024-08-25 10:23:16 +02:00
pezcurrel
7909ecdfdd Added tips about moderated and moderating instances; fixed a flaw in max toot chars display (it didn’t use “fnum” before); minor changes 2024-08-25 09:21:16 +02:00
pezcurrel
228610997e Changed lists for moderated and moderating instances from unordered to ordered 2024-08-25 01:09:06 +02:00
pezcurrel
833b097f3d Moderated instances and instances moderating are now linked to their card only if they run Mastodon and the last successful check on them is after the graceline 2024-08-25 00:00:08 +02:00
pezcurrel
49a0da0982 Some little improvements in description display 2024-08-24 13:56:24 +02:00
pezcurrel
d5c8b70abf Changed first option text in “lang” select in “instances.php” from “Irrelevant” to “Any” and updated accordingly the italian translation 2024-08-23 22:41:48 +02:00
pezcurrel
9b79a0b4da Using “text2html()” to format “NoxReason” 2024-08-22 11:28:40 +02:00
pezcurrel
7a21407164 Added the missing “/” to an “<i>” closing tag 2024-08-21 11:52:30 +02:00
pezcurrel
6b3d9153a1 Now the urls of moderated instances and of instances moderating an instance are linked to the instance card, when possible 2024-08-21 09:06:47 +02:00
pezcurrel
817a63368c Added “certainly” before “moderating” to “Instances moderating this instance” 2024-08-19 11:01:20 +02:00
pezcurrel
09dd49ab63 Added “Instances moderating this instance” 2024-08-19 10:43:12 +02:00
pezcurrel
51cfcc931c Replace all “%” with “%%” before passing “$query” to “sprintf” 2024-07-29 16:50:44 +02:00
pezcurrel
d6dabebd50 Commented out Threads statistics related to all instances 2024-07-26 22:18:41 +02:00
pezcurrel
18cf54fb62 Changed “minaudef” from 10 to 5 2024-01-02 08:37:01 +01:00
pezcurrel
5ef21502c3 Removed explicit “graceline” calculation since it’s done directly in grace.php; added a “todo” comment 2024-01-02 01:10:09 +01:00
pezcurrel
c3d5050b42 Added comment to explain why we are using “realfloat” 2023-12-29 10:03:11 +01:00
pezcurrel
d998837828 Using realfloat.php “rf()” function tu workaround php 7.3 echoing floats with “,” instead of “.” as a decimal separator 2023-12-28 14:52:08 +01:00
pezcurrel
89f4d38704 Added check for “Visible” column to every query; added btu variable; changed fnum syntax everywhere according to fnum modifications; made “debug” function output human readable times even when they are very short 2023-12-28 12:34:43 +01:00
pezcurrel
5e4907674e Some tinkering on strings related to threads moderation and their look 2023-12-27 23:57:19 +01:00
pezcurrel
5c70c8c55c Fixed a flaw in instances.php introductory text 2023-12-27 19:58:26 +01:00
pezcurrel
641eb734fc Now, when “Include only if Threads is surely suspended” is active, it returns also instances listed into Anti-Meta Fedi Pact page; also, made the “Meta’s Threads moderation” text more detailed 2023-12-27 19:19:18 +01:00
pezcurrel
2e5a1619df Integrated Anti-Meta Fedi Pact’s list; optimized debug; some more little changes 2023-12-27 16:44:25 +01:00
pezcurrel
eb831bb177 Fixed a typo in a comment 2023-12-27 08:40:19 +01:00
pezcurrel
1c2d9eb4b1 In function “hrte”, made it use “bc” math only if available 2023-12-27 01:00:14 +01:00
pezcurrel
e185720a4c Made “Exclude instances not surely suspending Threads” “Include only if Threads is surely suspended” 2023-12-26 23:59:11 +01:00
pezcurrel
7a7bdf97ec Fixed a bug in “Threads” moderation reporting 2023-12-26 23:42:11 +01:00
pezcurrel
043ef60cf5 Made it know when among instances with a given language there’s at least one recommended instance; if so, made it use “random, recommended first” order; otherwise, made it use just “random” order; made it know to javascript too, so the first entry in the order menu gets its text changed accordingly; added a checkbox to exclude instances not blocking threads (or instances about which it is unknown if they are blocking Threads); some layout flaws fixing; some tidying of code 2023-12-26 23:19:52 +01:00
pezcurrel
721d892f64 Refactored directory tree 2023-12-26 11:17:54 +01:00
pezcurrel
d90801637b Changed “Meta’s Threads moderation” statuses text 2023-12-25 19:53:02 +01:00
pezcurrel
b5f625f856 Added “Meta’s Threads moderation” field 2023-12-25 17:40:22 +01:00
pezcurrel
38aa09ce9b Fixed a little cosmetic bug 2023-12-25 13:49:02 +01:00
pezcurrel
9207497413 Enclosed show/hide link for stats about Threads in “[]”; added a transparent separator between stats “blocks” 2023-12-25 13:40:18 +01:00
pezcurrel
6259a63552 Refined query for Threads stats 2023-12-25 13:04:54 +01:00
pezcurrel
ca9a248112 Added gettext function to text which was “hardcode” before 2023-12-25 12:44:02 +01:00
pezcurrel
734f33dd48 Made “Threads stats” show better 2023-12-25 12:24:01 +01:00
pezcurrel
aacbafd942 Added code for Threads stats; fixed a little bug 2023-12-25 11:58:34 +01:00
pezcurrel
20de673e18 Added code for Threads suspending/silencing stats 2023-12-25 00:29:33 +01:00
pezcurrel
36b3925ab2 Some cosmetic changes 2023-11-02 23:37:34 +01:00
pezcurrel
c85d8916a3 Changed “Back to search” to “Go to search”; minor changes 2023-01-18 08:38:32 +01:00
pezcurrel
2b0bfde063 Don’t show search interface when showing a single instance 2023-01-18 07:56:28 +01:00
pezcurrel
c267f96be1 Made the string about missing server thumbnail hopefully clearer 2023-01-07 17:51:19 +01:00