Commit graph

1076 commits

Author SHA1 Message Date
pezcurrel
b124326a88 Added option “--single-transaction” to “mariadb-dump” call 2023-12-31 20:30:34 +01:00
pezcurrel
e0a3c8cfa7 Added “functimeout” for “gurl”; updated “ght” calls 2023-12-31 20:29:31 +01:00
pezcurrel
954c351fcf Updated “ght” calls to its new format 2023-12-31 20:27:59 +01:00
pezcurrel
53a03f1c7a Updated “ght” calls to its new format 2023-12-31 20:27:15 +01:00
pezcurrel
6a750a2f3c Added “round [number]” to every status “eecho”; changed all “echo('...')” to “echo '...'” 2023-12-29 13:02:40 +01:00
pezcurrel
ececc8e8c8 Changed “echo” to “eecho” where appropriate; changed all “echo('...')” to “echo '...'” 2023-12-29 13:01:00 +01:00
pezcurrel
d502fde347 Removed useless, redundant code filtering the list of instances at the beginning of the “crawl” function: filtering already happens before adding an instance to next round list 2023-12-29 12:21:50 +01:00
pezcurrel
a677d3301b Added “-i, --includedead” option explanation to help text 2023-12-29 11:05:04 +01:00
pezcurrel
385935c662 Added “locale: ” string to echo the currently set locale (the line remains commented out) 2023-12-29 10:35:11 +01:00
pezcurrel
2b0561c3e2 Added info about the necessity to also add the corresponding locale to the system when adding a language code 2023-12-29 10:33:53 +01:00
pezcurrel
93eba38b45 Added and commented out “pt” and “pt_BR” 2023-12-29 10:32:45 +01:00
pezcurrel
80609f30ed Changed locale subdirs format 2023-12-29 10:12:16 +01:00
pezcurrel
e2bae529f6 Updated translations 2023-12-29 10:09:13 +01:00
pezcurrel
c29e6f5a77 Removed 2023-12-29 10:08:28 +01:00
pezcurrel
fee84db66a Added comment to explain why it is needed 2023-12-29 10:04:40 +01:00
pezcurrel
83868504d7 Super-optimized it; made it a bit more verbose and clearer 2023-12-29 10:04:05 +01:00
pezcurrel
c3d5050b42 Added comment to explain why we are using “realfloat” 2023-12-29 10:03:11 +01:00
pezcurrel
9ece96fcd9 Modified according to new locale directory layout 2023-12-29 10:02:03 +01:00
pezcurrel
560db4d69d Renamed “donefp” var to “resurrfp” 2023-12-29 10:01:16 +01:00
pezcurrel
3b7e818f22 Using preg_replace instead of str_replace to substitute all non-digit characters 2023-12-29 10:00:12 +01:00
pezcurrel
cce037f169 Renamed “timeout” var to “functimeout” 2023-12-29 09:59:08 +01:00
pezcurrel
79e39f6783 Modified a comment 2023-12-29 09:58:08 +01:00
pezcurrel
b898e6bddd Added these systemd units files 2023-12-29 09:56:53 +01:00
pezcurrel
dda5e80a69 Updated “fnum()” calls to new format 2023-12-28 14:56:23 +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
af958a194f Using realfloat.php “rf()” function tu workaround php 7.3 echoing floats with “,” instead of “.” as a decimal separator 2023-12-28 14:52:00 +01:00
pezcurrel
b147447b69 A workaround to php 7.3 echoing floats with “,” instead of “.” as a decimal separator; first commit 2023-12-28 14:50:26 +01:00
pezcurrel
6a3948783f Began working on checks 2023-12-28 12:37:38 +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
a5381f057c Added info to introductory comment about localemap 2023-12-28 12:30:51 +01:00
pezcurrel
e5b56f3e68 Using standard lib version of randstr.php, which is more flexible and fast 2023-12-28 12:29:52 +01:00
pezcurrel
9440903626 Using standard lib ght.php, which is more flexible 2023-12-28 12:28:18 +01:00
pezcurrel
6b705d3b3a Using default ghs.php from lib, it is more precise, manages also terabytes and petabytes 2023-12-28 12:26:35 +01:00
pezcurrel
d0dfd42001 Now it is compatible with every locale 2023-12-28 12:25:43 +01:00
pezcurrel
52621c608e Made “localeset” more standard 2023-12-28 12:21:35 +01:00
pezcurrel
fbed07c5ec Made colors more coherent 2023-12-28 12:19:56 +01:00
pezcurrel
a195c02de2 Added 2023-12-28 12:10:32 +01:00
pezcurrel
9a2a817493 Added 2023-12-28 12:10:22 +01:00
pezcurrel
af31de20e7 Added 2023-12-28 12:10:02 +01:00
pezcurrel
495eb41666 Added 2023-12-28 12:09:23 +01:00
pezcurrel
98d54a1782 First commit 2023-12-28 12:09:01 +01:00
pezcurrel
bf46f1f424 Removed 2023-12-28 12:08:08 +01:00
pezcurrel
0105b7f39e Removed 2023-12-28 12:07:46 +01:00
pezcurrel
4162c98ff1 Removed 2023-12-28 12:07:24 +01:00
pezcurrel
963b03fe15 Removed 2023-12-28 12:07:09 +01:00
pezcurrel
a6398d841b Updated it translation according to modifications to some strings related to threads moderation 2023-12-27 23:58:31 +01:00
pezcurrel
5e4907674e Some tinkering on strings related to threads moderation and their look 2023-12-27 23:57:19 +01:00
pezcurrel
943c65b2ba Added regexps check before adding an inst to “Instances” and “Peers” tables 2023-12-27 21:55:33 +01:00
pezcurrel
738fa8c864 Added “.matdoes.dev” exclusion 2023-12-27 21:54:34 +01:00
pezcurrel
61a621e4d2 Added “checkspam” action 2023-12-27 21:53:44 +01:00
pezcurrel
e94e286b01 Added deletion of InstBlocks records 2023-12-27 20:34:45 +01:00
pezcurrel
6018139a75 Fixed a flaw with translation of instances.php introductory text 2023-12-27 19:59:17 +01:00
pezcurrel
5c70c8c55c Fixed a flaw in instances.php introductory text 2023-12-27 19:58:26 +01:00
pezcurrel
c2ce51ca2d Updated translations after changing and adding some strings in instances.php 2023-12-27 19:20:03 +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
605dd9f06f Updated translations according to new and modified strings after integrating Anti-Meta Fedi Pact’s list of instances blocking Threads 2023-12-27 16:49:27 +01:00
pezcurrel
6a53523a87 A script to download and parse Anti-Meta Fedi Pact’s list of instances blocking Threads; first commit 2023-12-27 16:46:58 +01:00
pezcurrel
6789b7379c Renamed some Threads related classes 2023-12-27 16:45:33 +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
9d3230877e Changed to not eecutable 2023-12-27 16:42:59 +01:00
pezcurrel
540c9d4440 Optimized, fixed a flaw 2023-12-27 16:42:31 +01:00
pezcurrel
0ed8165a53 Added “fedipact.php” 2023-12-27 16:41:29 +01:00
pezcurrel
8e5cc30412 Optimized “dryrun” behavior, fixed some flaws 2023-12-27 16:40:32 +01:00
pezcurrel
f31aeaf1db First commit 2023-12-27 08:50:36 +01:00
pezcurrel
7e6048f939 Fixed a bug in “Threads” status detection code 2023-12-27 08:50:19 +01:00
pezcurrel
eb831bb177 Fixed a typo in a comment 2023-12-27 08:40:19 +01:00
pezcurrel
3069415a2b First commit 2023-12-27 08:39:54 +01:00
pezcurrel
0d86608f07 Changed “Before” to “&lt;” (“<”, “less than”) for instances where “FirstSeen” is less then October 14 2020 UTC, when i implemented it 2023-12-27 01:14:41 +01:00
pezcurrel
1c2d9eb4b1 In function “hrte”, made it use “bc” math only if available 2023-12-27 01:00:14 +01:00
pezcurrel
5e34f0f1f3 Removed executable file property 2023-12-27 00:59:32 +01:00
pezcurrel
bfbd28d8d3 Fixed some flaws 2023-12-27 00:46:49 +01:00
pezcurrel
7840524d0f First commit 2023-12-27 00:46:32 +01:00
pezcurrel
c799f73f05 Dropped “Instances” table “BlockListAvailable” column and added “Threads” column 2023-12-27 00:08:14 +01:00
pezcurrel
d3bdea0399 Updated translations with new strings about Threads 2023-12-27 00:04:42 +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
b2fa12b541 Updated to consider the new directory layout (all library files in “web/lib”) 2023-12-26 23:41:04 +01:00
pezcurrel
5a473b6064 When the list of moderated instances can be accessed, make “Threads” field default to “accessible” 2023-12-26 23:40:18 +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
b2cc0f856c Made font-size a bit bigger for “ssubmit”, “litbut” and “ltibuta” classes; also made font-weight bold for “ssubmit” class 2023-12-26 23:12:35 +01:00
pezcurrel
3ae455a459 Now Threads blocking status gets set for each instance into “Threads” column in “Instances” table 2023-12-26 23:11:01 +01:00
pezcurrel
c62aa9d9bb Removed useless .htaccess files 2023-12-26 11:22:58 +01:00
pezcurrel
721d892f64 Refactored directory tree 2023-12-26 11:17:54 +01:00
pezcurrel
2f3a26a98f Moved 2023-12-26 11:16:24 +01:00
pezcurrel
9ea1579b65 Removed useless “test” table 2023-12-25 22:38:07 +01:00
pezcurrel
a8da4b4ae6 Changed “AuthUserFile” path to absolute path 2023-12-25 22:14:02 +01:00
pezcurrel
0bd1965224 Made “AuthUserFile” path relative 2023-12-25 22:02:21 +01:00
pezcurrel
e6b510ab6d Made it a symlink 2023-12-25 22:01:41 +01:00
pezcurrel
ddb4b2aa35 First commit 2023-12-25 22:01:03 +01:00
pezcurrel
29e84f1aeb Updated after changing “Meta’s Threads moderation” statuses text 2023-12-25 19:53:53 +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
6d159737c0 Updated translations 2023-12-25 13:40:59 +01:00
pezcurrel
800bb17850 Added “sep” class 2023-12-25 13:40:38 +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
72c2a9ea17 Updated translations (since i added gettext function to text which was “hardcode” before) 2023-12-25 12:44:34 +01:00
pezcurrel
ca9a248112 Added gettext function to text which was “hardcode” before 2023-12-25 12:44:02 +01:00
pezcurrel
22eaeecbdf Updated translations with “Threads stats” new strings 2023-12-25 12:24:41 +01:00