Commit graph

284 commits

Author SHA1 Message Date
pezcurrel
6c29f1e24e On first run after 0:0:0 of 26th of month do peerscrawl.php with a 2 months gracetime (it was 1 year, before) 2024-01-02 00:48:06 +01:00
pezcurrel
29919f0867 On 1st of month do crawler.php with a 2 months gracetime (it was 1 year, before); revert to calling mysqldump instead of mariadb-dump 2024-01-02 00:46:37 +01:00
pezcurrel
fac92aefbc Added gracetime in human readable form, graceline too, and graceminfreq 2024-01-02 00:44:23 +01:00
pezcurrel
e1bd0ec900 Added option “functimeout” 2024-01-02 00:41:49 +01:00
pezcurrel
b9ab074e1c Integrated and fixed gracetime/graceline logic 2024-01-02 00:40:26 +01:00
pezcurrel
618ebfa54b Added 'Accept: application/json' to every “gurl” call 2023-12-31 23:16:16 +01:00
pezcurrel
63c619399d Added 'Accept: application/json' to every “gurl” call 2023-12-31 23:15:45 +01:00
pezcurrel
4e5973e874 Fixed a flaw in “dead instances” loading queries 2023-12-31 22:57:07 +01:00
pezcurrel
a9b0e049b4 Changed “conntimeout” default from 5 to 3 and “functimeout” default from 10 to 5 2023-12-31 20:31:41 +01:00
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
83868504d7 Super-optimized it; made it a bit more verbose and clearer 2023-12-29 10:04:05 +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
6a3948783f Began working on checks 2023-12-28 12:37:38 +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
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
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
3069415a2b First commit 2023-12-27 08:39:54 +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
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
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
272f7a2cd2 Added “BlockListAvailable” check 2023-12-24 22:36:38 +01:00
pezcurrel
a416c53915 Fixed “find+rm” command 2023-12-07 09:21:04 +01:00
pezcurrel
ce5280af47 Use “find -exec” instead of plain “rm” to delete all files in “run/” directory, to avoid hitting kernel ARG_MAX 2023-12-04 16:01:26 +01:00
pezcurrel
0ad282329d Made it consider site/lib/*.php too 2023-11-02 22:16:48 +01:00
pezcurrel
1be1194b62 Automatically add language code in masthelp.pot and fix “{singular}” and “{plural}” in en.masthelp.po 2023-11-02 20:58:56 +01:00
pezcurrel
b0e2ac7a5a Check if lang is defined in supplangs 2023-11-02 20:57:21 +01:00
pezcurrel
49a923e95f Using supplangs; other minor changes 2023-11-02 08:10:56 +01:00
pezcurrel
c45e8058c2 Using supplangs; other, minor changes 2023-11-02 08:09:50 +01:00
pezcurrel
41182ecb5b Renamed from “utstodate.php” 2023-11-02 08:07:55 +01:00
pezcurrel
9a606c059a Renamed from “uts2date.php” 2023-11-02 08:05:05 +01:00