pezcurrel
|
d6d8adee49
|
Updated to last changes
|
2022-12-26 12:30:56 +01:00 |
|
pezcurrel
|
61da12100f
|
Removed comment with Instances columns
|
2022-12-26 12:29:08 +01:00 |
|
pezcurrel
|
ebc458cc2c
|
Removed “resurrect” option and references to Instances.Dead
|
2022-12-26 12:28:21 +01:00 |
|
pezcurrel
|
d18775fd52
|
Defines $gracetime, first commit
|
2022-12-26 12:27:08 +01:00 |
|
pezcurrel
|
1e1b2a99e9
|
Dropped Instances.Dead, using Instances.LastOkCheckTS now instead
|
2022-12-26 12:25:15 +01:00 |
|
pezcurrel
|
9b3cca9a45
|
Script to reasonably set Instances.LastOkCheckTS, first commit
|
2022-12-26 12:21:47 +01:00 |
|
pezcurrel
|
95b9ccfc31
|
Renamed “LastCheckOk” to “WasLastCheckOk”
|
2022-12-26 05:30:35 +01:00 |
|
pezcurrel
|
00caa1dcb9
|
Changed default for “deadline” option from 62 to 31 days
|
2022-12-26 05:17:59 +01:00 |
|
pezcurrel
|
44f437c928
|
Translated initial comment, made it more terse
|
2022-12-26 05:09:09 +01:00 |
|
pezcurrel
|
5312aea0cc
|
Added writing server rules in the db
|
2022-12-26 05:08:17 +01:00 |
|
pezcurrel
|
337eb32f51
|
Made mail optional, inactive by default
|
2022-12-25 23:45:31 +01:00 |
|
pezcurrel
|
429ab42ff5
|
Added 2 debug messages stating how mani dead instances the script got from Instances and Peers tables
|
2022-12-25 18:55:54 +01:00 |
|
pezcurrel
|
e3968a5ace
|
Updated to last changes
|
2022-12-25 18:54:55 +01:00 |
|
pezcurrel
|
119c9119c2
|
Made the logic for “deadline” much more terse
|
2022-12-25 18:41:13 +01:00 |
|
pezcurrel
|
acde202b2e
|
Made it write summary from crawl run into a log file of its own
|
2022-12-25 18:40:21 +01:00 |
|
pezcurrel
|
ba171bd5f2
|
Use specifically bash since we use &> redirect
|
2022-12-25 11:43:30 +01:00 |
|
pezcurrel
|
ec9b65e42f
|
Little script to run peerscrawl.php in loop; first commit
|
2022-12-25 11:32:49 +01:00 |
|
pezcurrel
|
10e2e1b58a
|
Added “lecho” for “message levels”, removed “gecho”, removed “verbose” option; removed “loop” option (do loop from a shell script if needed)
|
2022-12-25 11:32:08 +01:00 |
|
pezcurrel
|
1d0c6b799a
|
Small edit to “logminmsglev” and “tuiminmsglev” TUI option parsing errors
|
2022-12-25 11:29:34 +01:00 |
|
pezcurrel
|
d95bc70b8a
|
Exposed “deadline” option; minor changes
|
2022-12-25 09:47:04 +01:00 |
|
pezcurrel
|
c0802de828
|
Removed “restore” option: could work, but it’s not very useful and would require a big hassle; added loops and new found instances counters; made sighandler use mexit
|
2022-12-25 09:24:23 +01:00 |
|
pezcurrel
|
d6b77b0e29
|
Removed option “-p peers” from crawler cmdline because now peerscrawl directly writes new instances into the db
|
2022-12-24 08:59:33 +01:00 |
|
pezcurrel
|
9fabb3853b
|
Infatti
|
2022-12-23 19:13:37 +01:00 |
|
pezcurrel
|
96aa6f3aa9
|
Quella roba lì
|
2022-12-23 19:12:18 +01:00 |
|
pezcurrel
|
05fed0142c
|
Lowered a bit default values for “timeout” and “curltimeout”
|
2022-12-23 11:23:32 +01:00 |
|
pezcurrel
|
89a2ea0b26
|
Fixed “trending tags” ordering and fetching
|
2022-12-23 11:22:25 +01:00 |
|
pezcurrel
|
edee66b834
|
Temporarily disabled “restore” option because it needs more work to actually work
|
2022-12-22 15:32:30 +01:00 |
|
pezcurrel
|
61d0fcb3d8
|
Added “loop” option allowing to run the crawl in an infinite loop or until sig(int|hup|term) received; other minor changes
|
2022-12-22 15:05:55 +01:00 |
|
pezcurrel
|
6477e8812f
|
Exposed “curltimeout” option; changed “timeout” default from 5 to 10; changed “curltimeout” default from 10 to 20
|
2022-12-22 14:24:48 +01:00 |
|
pezcurrel
|
6d4ce26f98
|
Adapted “restore” code to the new workings; minor changes and fixes
|
2022-12-22 14:04:29 +01:00 |
|
pezcurrel
|
a47ccdd5e2
|
Merge branch 'weblate': new strings have been translated to russian
|
2022-12-22 11:41:12 +01:00 |
|
pezcurrel
|
562639fb5c
|
Updated after adding Peers and PeersCheck tables
|
2022-12-22 11:37:00 +01:00 |
|
pezcurrel
|
c27053314a
|
Added code to store and consider “instance checks” made by the script to independently mark peers ad dead
|
2022-12-22 11:32:18 +01:00 |
|
pezcurrel
|
f6bc6a12d4
|
Made it output full admin account address, linked to their profile page
|
2022-12-22 11:29:44 +01:00 |
|
pezcurrel
|
706c831e23
|
Little change in a message
|
2022-12-22 11:28:29 +01:00 |
|
pezcurrel
|
335944add8
|
Removed “minimum number of known instances” from criteria, because domain_count is gone from /api/v2/instance
|
2022-12-22 07:51:51 +01:00 |
|
pezcurrel
|
f8cdf2cf3b
|
Changed check against “activity” values, which are strings, not integers
|
2022-12-22 07:40:41 +01:00 |
|
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
|
d803d6f667
|
When curl error is unknown, the message is now “reason unknown” instead of “unknown”
|
2022-12-21 06:54:58 +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
|
d42499747e
|
Updated to new version: added indexes; changed Instances.AdmCreatedAt from float to int
|
2022-12-20 23:05:02 +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
|
f3081612da
|
Multibyte lower case first char of a string; first commit
|
2022-12-20 22:59:24 +01:00 |
|