pezcurrel
|
c6c3feb500
|
Removed leftovers of “jsonwrite” option
|
2022-12-22 07:05:21 +01:00 |
|
pezcurrel
|
277296512c
|
Explicitly set idn_to_ascii flags, otherwise with php 7.3 it complained
|
2022-12-21 22:15:40 +01:00 |
|
pezcurrel
|
9316e686b9
|
Bir rewrite, made it shorter and hopefully a bit more readable
|
2022-12-21 22:07:05 +01:00 |
|
pezcurrel
|
732ea79480
|
Moved $mastodons definition upper
|
2022-12-21 22:06:10 +01:00 |
|
pezcurrel
|
1c524ffd69
|
Moved mysqli_close after the optional loading of dead instances from the db; renamed $eta to $tet
|
2022-12-21 22:05:15 +01:00 |
|
pezcurrel
|
0d74dbf243
|
Got rid of akeavinn; other minor changes
|
2022-12-21 07:54:11 +01:00 |
|
pezcurrel
|
2c86580bfb
|
The regexp to decide whether an instance is Mastodon or not is now based on the Platforms table; made ckratelimit more precise about possible missing headers; added code to set Version from /api/v1/instance when it was not already set from nodeinfo
|
2022-12-21 06:53:31 +01:00 |
|
pezcurrel
|
4fdf287686
|
Little change in delete prompt
|
2022-12-20 23:02:53 +01:00 |
|
pezcurrel
|
d8f15f4b3a
|
Does delete from UserFields much faster
|
2022-12-20 23:01:13 +01:00 |
|
pezcurrel
|
f6dc080ed6
|
Major rewrite: it was a mess, now it is less :-)
|
2022-12-20 23:00:22 +01:00 |
|
pezcurrel
|
f30bcc7e5e
|
Updated to new delinstbyuid function form
|
2022-12-18 18:43:09 +01:00 |
|
pezcurrel
|
e744ae9d20
|
Fixed validhostname; added and using myq function for mysql queries; changed some exit codes; made connection error management better
|
2022-12-18 18:42:11 +01:00 |
|
pezcurrel
|
f29f636a70
|
Added mysql error code to error message that is echoed if a query fails
|
2022-12-18 18:40:22 +01:00 |
|
pezcurrel
|
cd16eabce5
|
Using new form of delinstbyuid function; removed references to New column
|
2022-12-18 18:27:22 +01:00 |
|
pezcurrel
|
835e02c171
|
Removed code referencing New, Good and Chosen columns
|
2022-12-18 18:26:03 +01:00 |
|
pezcurrel
|
f4aa3cb804
|
A script to set InsertTS field to something suitable when it is null
|
2022-12-18 18:24:35 +01:00 |
|
pezcurrel
|
c5debcb463
|
A function to delete an Instance record by ID, and all references to it in other tables; first commit
|
2022-12-18 18:23:52 +01:00 |
|
pezcurrel
|
ccc9f517fd
|
Moved code to delete an Instances record and all its references in other tables to function delinstbyid in lib/delinstbyid.php; minor changes
|
2022-12-18 11:44:11 +01:00 |
|
pezcurrel
|
2b0e2398ae
|
Made validhostname accept only valid hostnames :-)) (no ports or path specs)
|
2022-12-18 11:42:32 +01:00 |
|
pezcurrel
|
32251d1ba8
|
Added “deleteinstswhere” action
|
2022-12-18 11:41:09 +01:00 |
|
pezcurrel
|
7d2875075b
|
Deleted
|
2022-12-18 09:35:24 +01:00 |
|
pezcurrel
|
690b54521b
|
Moved
|
2022-12-18 09:35:04 +01:00 |
|
pezcurrel
|
f269bb901d
|
Little cosmetic change
|
2022-12-18 07:00:49 +01:00 |
|
pezcurrel
|
e9b88d6735
|
Made $jsonfp be written into run dir
|
2022-12-18 07:00:19 +01:00 |
|
pezcurrel
|
a3ada274e7
|
Removed stdout/err redirect in cmd; passing proper descriptor and pipe to proc_open; minor changes
|
2022-12-18 06:59:25 +01:00 |
|
pezcurrel
|
a32a25e095
|
Many many changes :-))
|
2022-12-18 00:34:27 +01:00 |
|
pezcurrel
|
d6dd03694c
|
Removed $context
|
2022-12-17 22:54:32 +01:00 |
|
pezcurrel
|
441d16a42d
|
ckratelimit goes to sleep only when x-ratelimit-remaining==0; can spit debug info; limit fetching chunks from users directories is now 40
|
2022-12-17 22:54:02 +01:00 |
|
pezcurrel
|
ca4367b719
|
Removed the unlinking attempt at lockfp before exit: it was already done before by shutdown; other little changes about open files closing and the like
|
2022-12-17 18:43:13 +01:00 |
|
pezcurrel
|
e5ad18e619
|
Fixed a typo
|
2022-12-17 18:40:55 +01:00 |
|
pezcurrel
|
5c605cbe5b
|
Some little cosmetic (readability of log files) changes
|
2022-12-17 18:40:22 +01:00 |
|
pezcurrel
|
2571396253
|
Tuned to recent changes in crawler.php (and getinstinfo.php)
|
2022-12-17 17:36:46 +01:00 |
|
pezcurrel
|
ad8fa26306
|
Made mysql connection and charset setting errors more graceful; added “users” page to updstats; other minor changes
|
2022-12-17 17:35:35 +01:00 |
|
pezcurrel
|
2d1d28b002
|
Fixed regexp checking if max_charcters is an integer; made mexit use eecho again, moving the closing of logf after eecho(s); made logf be opened only if logminmsglev < 4
|
2022-12-17 17:33:46 +01:00 |
|
pezcurrel
|
d1f088a026
|
Command for subprocesses gets now built on the fly using cmd function; logfile doesn’t get opened if logminmsglev < 4; other minor changes
|
2022-12-17 17:31:24 +01:00 |
|
pezcurrel
|
6d897cfdff
|
Removed “crawlernew” directory
|
2022-12-17 15:03:11 +01:00 |
|
pezcurrel
|
c7d5b50377
|
Adapted to new crawler version
|
2022-12-17 15:02:52 +01:00 |
|
pezcurrel
|
0b9e892aef
|
Splitted old crawler.php in 2; this is the part that coordinates
|
2022-12-17 15:02:20 +01:00 |
|
pezcurrel
|
7629a1caae
|
Moved from subdir “crawlernew”
|
2022-12-17 15:00:36 +01:00 |
|
pezcurrel
|
b46469bfbb
|
Cope with mysql errors even with php ver. < 8; check if $link is false before trying to close mysql connection in function mexit
|
2022-12-16 22:39:51 +01:00 |
|
pezcurrel
|
e46a82d923
|
Added suffix “s” to option “-t” in $cmd definition; cope with mysql errors even with php ver. < 8; other small changes
|
2022-12-16 22:38:16 +01:00 |
|
pezcurrel
|
3804171253
|
Renamed getfc to gurl
|
2022-12-16 21:59:26 +01:00 |
|
pezcurrel
|
d75a6445ae
|
Fixed sleep and relative message to actually use $options['udirfailst']; changed some options’ default; changed a bit the help text; changed a bit some messages in the “fetchusers” section
|
2022-12-16 21:23:14 +01:00 |
|
pezcurrel
|
b666fcfdda
|
Use parsetime for “--timeout” too, changed a bit the help text accordingly
|
2022-12-16 21:19:34 +01:00 |
|
pezcurrel
|
2d31b7ca79
|
Changed a bit how option “jsonwrite” works; other minor changes
|
2022-12-16 19:25:45 +01:00 |
|
pezcurrel
|
f193bd294c
|
A very tiny db test, first commit
|
2022-12-16 19:12:17 +01:00 |
|
pezcurrel
|
9529a938a7
|
Lots of changes, not very important :-))
|
2022-12-16 19:06:47 +01:00 |
|
pezcurrel
|
bab5bd5dd2
|
Added mysqli_query error management for older php versions to function myq; minor changes
|
2022-12-16 19:05:46 +01:00 |
|
pezcurrel
|
4522bc3ea8
|
Added mysqli_query error management for older php versions to function myq
|
2022-12-16 19:02:41 +01:00 |
|
pezcurrel
|
513981b7e2
|
Fetches info from an instance, first commit
|
2022-12-16 00:00:37 +01:00 |
|