Commit graph

77 commits

Author SHA1 Message Date
pezcurrel
8fbec0a4dc Updated to cope with new “gettlds” version 2024-10-24 07:50:26 +02:00
pezcurrel
20ff553d5c Updated “ckrl()” to the “lib” version 2024-09-28 05:45:03 +02:00
pezcurrel
ed2d7182d9 Now uses “../lib/ckratelimit.php”; minor changes 2024-08-27 19:37:22 +02:00
pezcurrel
a143bad33d Fetch “extended description” from “/api/v1/instance/extended_description”; fetch “domain count” from “/api/v1/instance” 2024-08-25 19:01:32 +02:00
pezcurrel
281ca2ab02 Instead of fetching “/api/v1/instance/extended_description”, now it fetches “/api/v1/instance” even when “/api/v2/instance” is fetched, to retrieve both extended description and domain count 2024-08-25 09:15:37 +02:00
pezcurrel
17fc617a80 Fixed some flaws and a bug 2024-08-23 22:03:21 +02:00
pezcurrel
059c311f68 Don’t ever set “PublicBlocksList” to old value 2024-08-23 20:42:27 +02:00
pezcurrel
494eabf233 Added “useproxyfor” option 2024-08-21 10:54:55 +02:00
pezcurrel
924663e865 Added socks5 proxy support; minor changes 2024-08-21 10:24:41 +02:00
pezcurrel
574182c9e8 Changed a comment 2024-08-19 17:45:01 +02:00
pezcurrel
55e7890222 Truncate instead of saying if you will; minor changes 2024-08-19 13:46:35 +02:00
pezcurrel
ba0397cb35 Added “PublicBlocksList” column management; minor changes 2024-08-19 10:42:05 +02:00
pezcurrel
0c613cd04f Moved “gethttpcode()” to lib, minor changes to “ckratelimit()” 2024-08-12 19:39:46 +02:00
pezcurrel
05c2c1da47 Replaced “ …” with “ [continues…]” when announcement toot is too long 2024-08-07 18:10:18 +02:00
pezcurrel
8aaf00b82f Added fnum() to format numbers in the announcement toot 2024-08-07 17:48:53 +02:00
pezcurrel
ccd4a22688 Minor changes 2024-08-07 17:30:42 +02:00
pezcurrel
3f08fbbca2 Changed “new instance announcement toot” visibility from “direct” to “public” 2024-08-06 14:41:23 +02:00
pezcurrel
d2743164d3 Added “new instance announcement toot” function 2024-08-06 14:14:43 +02:00
pezcurrel
e1bd0ec900 Added option “functimeout” 2024-01-02 00:41:49 +01:00
pezcurrel
63c619399d Added 'Accept: application/json' to every “gurl” call 2023-12-31 23:15:45 +01:00
pezcurrel
e0a3c8cfa7 Added “functimeout” for “gurl”; updated “ght” calls 2023-12-31 20:29:31 +01:00
pezcurrel
8e5cc30412 Optimized “dryrun” behavior, fixed some flaws 2023-12-27 16:40:32 +01:00
pezcurrel
7e6048f939 Fixed a bug in “Threads” status detection code 2023-12-27 08:50:19 +01:00
pezcurrel
bfbd28d8d3 Fixed some flaws 2023-12-27 00:46:49 +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
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
c45e8058c2 Using supplangs; other, minor changes 2023-11-02 08:09:50 +01:00
pezcurrel
c1a4a29edc Added waituntilonline function 2023-01-18 07:55:41 +01:00
pezcurrel
50b1b880a4 Made error messages in case of failed charset setting report mysql error number too 2023-01-06 22:06:40 +01:00
pezcurrel
662e789bbf Removed useless ability to write to a log file; other minor changes 2023-01-06 17:05:47 +01:00
pezcurrel
3f86fc689b “$instanswered” got set to true if nodeinfo responded; now it gets set to true only if api/v2/instance or api/v1/instance responded 2023-01-04 13:39:10 +01:00
pezcurrel
1d754f9588 Fixed getlangid: it used $lang instead of $code 2023-01-03 00:11:59 +01:00
pezcurrel
95bd83786e Fixed a bug that caused “languages” to be always saved as “ourlanguages” 2023-01-02 08:37:07 +01:00
pezcurrel
6f296a1d27 Fixed writing langs ids to InstOurLangs; made detected languages fall back to declared languages when they can't be detected 2023-01-01 19:50:57 +01:00
pezcurrel
fa97078fe4 Passing calling __LINE__ through getlangsidsarr and getlangsid the right way 2023-01-01 19:26:39 +01:00
pezcurrel
87fbbbd2f9 Added validity check on declared and detected lang codes to getlangid function - when lang code is not valide it falls back to “en” default; added a getlangsidsarr function to cope with possible dupes and spare code 2023-01-01 19:21:21 +01:00
pezcurrel
24b9f9b911 Made it canonicalize lang codes in getlangid 2023-01-01 18:22:48 +01:00
pezcurrel
a4486403c7 Made language fetching normalize language code to a form with _ insted of - 2023-01-01 16:51:20 +01:00
pezcurrel
a4215c943d Added a notify() to getlangid() to be done if Languages contains more than 1 record with given language code 2022-12-31 07:19:00 +01:00
pezcurrel
0c2f4e6b27 Added “intness” check on values from “tag trands history” 2022-12-31 07:13:02 +01:00
pezcurrel
b8e84c72c5 Fixed a misleading comment 2022-12-30 19:20:48 +01:00
pezcurrel
b40e474e76 Added code to set TotChecks and OkChecks 2022-12-30 18:12:07 +01:00
pezcurrel
f2d4119dfa Fixed bug on domain block entity format check 2022-12-30 14:07:22 +01:00
pezcurrel
b39eafdb80 Fixed getlangid missing $opts; fixed array_pop on inexistent $languages var 2022-12-29 12:49:38 +01:00
pezcurrel
ec33912ff8 Restructured a bit the language management code 2022-12-28 23:47:23 +01:00
pezcurrel
db749d2e7d Consider the possibility that “our languages” have been locked 2022-12-28 19:17:05 +01:00
pezcurrel
b929d06302 Don’t INSERT an instance if it did not respond: it was useful before instance “deadness” was autonomously managed by peerscrawl.php 2022-12-28 18:59:09 +01:00
pezcurrel
e8d588c0f2 Refactored language management 2022-12-28 18:34:57 +01:00