Commit graph

1141 commits

Author SHA1 Message Date
pezcurrel
a7c0052365 Added some strings, changed some others 2024-08-19 10:49:28 +02:00
pezcurrel
09dd49ab63 Added “Instances moderating this instance” 2024-08-19 10:43:12 +02:00
pezcurrel
ba0397cb35 Added “PublicBlocksList” column management; minor changes 2024-08-19 10:42:05 +02:00
pezcurrel
c93d6cb820 Added “Platforms” entry 2024-08-12 19:41:32 +02:00
pezcurrel
4bf25b2bdc First commit 2024-08-12 19:41:12 +02:00
pezcurrel
0c613cd04f Moved “gethttpcode()” to lib, minor changes to “ckratelimit()” 2024-08-12 19:39:46 +02:00
pezcurrel
4e32c26f45 First commit 2024-08-12 19:38:55 +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
9c06564ee6 Added a regex to exclude Threads instances 2024-08-06 14:19:52 +02:00
pezcurrel
d2743164d3 Added “new instance announcement toot” function 2024-08-06 14:14:43 +02:00
pezcurrel
adbac86540 First commit 2024-08-06 14:07:43 +02:00
pezcurrel
51cfcc931c Replace all “%” with “%%” before passing “$query” to “sprintf” 2024-07-29 16:50:44 +02:00
pezcurrel
d6dabebd50 Commented out Threads statistics related to all instances 2024-07-26 22:18:41 +02:00
pezcurrel
90bea57faa First commit 2024-07-26 22:17:46 +02:00
pezcurrel
76a306ffb5 Updated it translation 2024-07-14 22:05:40 +02:00
pezcurrel
da12ef6dc6 Updated my fediverse account 2024-07-14 22:05:21 +02:00
pezcurrel
d69dab54d4 Updated my fediverse account 2024-07-14 22:05:02 +02:00
pezcurrel
62a3163d5b Added code to delete all but the most recent 10 backups 2024-07-08 21:14:01 +02:00
pezcurrel
af4a0e2aa5 Added mail results code 2024-04-18 08:13:33 +02:00
pezcurrel
82939246dc Added exercises for rachialgia 2024-04-12 12:29:19 +02:00
pezcurrel
ec7939eb96 Adapted the regexp detecting entries to the new list format on fedipact.online 2024-03-23 07:32:24 +01:00
pezcurrel
76f64fa519 Added the possibility to put a “.forceresurr” file in the main directory to force a run with longer gracetime 2024-02-26 19:22:20 +01:00
pezcurrel
c6a0f43aaa If no instance is to be checked, exit soon 2024-02-26 19:21:01 +01:00
pezcurrel
3feccffce0 Fixed a bug by extending the query used for loading instances to be checked (it wasn’t considering new instances, now it should) 2024-02-26 18:40:10 +01:00
pezcurrel
1c1d9fb095 After peerscrawl.php has run, make a copy of peerscrawl.log to peerscrawl.log.old 2024-02-26 17:53:43 +01:00
pezcurrel
77c37c3f68 Made it echo seconds if there are seconds left, or if ozero is true, or if no previous output was echoed 2024-02-26 17:52:46 +01:00
pezcurrel
a611e251fc Fixed a bug that was preventing crawler.php and peerscrawl.php to use the actual graceline they should be using when the “--gracetime” option was used 2024-02-25 09:55:59 +01:00
pezcurrel
f034d57fbc Changed day of the month to run peerscrawl.php with a non-default gracetime of 2 months from the 26th to the 25th; translated the script to english 2024-02-25 08:59:04 +01:00
pezcurrel
77d8ab3063 Fixed a flaw (if the passed amount of seconds was 0 it could return nothing) 2024-02-25 08:57:34 +01:00
Pezcurrel
2bd08da1fc Updated italian translation 2024-02-11 19:22:40 +01:00
Pezcurrel
b21db7c7fc Updated 2024-02-11 13:08:22 +01:00
Gnucco
c3f167739c Replaced jones@puntarella.party references with giarminio@fe.disroot.org 2024-02-11 13:06:20 +01:00
pezcurrel
f8dd74f1b7 Added class for invisible stuff (“display: none;”) 2024-01-07 11:05:48 +01:00
pezcurrel
d35074c79e Added invisible link with “rel=me”to my mastodon account 2024-01-07 11:05:18 +01:00
pezcurrel
18cf54fb62 Changed “minaudef” from 10 to 5 2024-01-02 08:37:01 +01:00
pezcurrel
238ac44485 Changed “done” message 2024-01-02 01:22:04 +01:00
pezcurrel
d8c203e5d5 Updated to new grace.php instead of gracetime.php 2024-01-02 01:11:52 +01:00
pezcurrel
3a44967a89 Updated to new grace.php instead of gracetime.php 2024-01-02 01:11:29 +01:00
pezcurrel
5ef21502c3 Removed explicit “graceline” calculation since it’s done directly in grace.php; added a “todo” comment 2024-01-02 01:10:09 +01:00
pezcurrel
efc6f2f79f Made sure parsetime returns seconds as integer 2024-01-02 01:08:14 +01:00
pezcurrel
091a7785b2 Made certain “conntimeout” and “functimeout” get passed as integers to curl; added firefox 121.0 user agent as user agent; added an unused curlprogess function, just so 2024-01-02 01:05:51 +01:00
pezcurrel
18a3f13ed6 Renamed 2024-01-02 01:03:07 +01:00
pezcurrel
2e78c37286 Added “graceminfreq” and immediate calculation of “graceline” 2024-01-02 01:02:22 +01:00
pezcurrel
13765fb17d Extended ght() a lot 2024-01-02 00:55:18 +01:00
pezcurrel
2c132a5155 Updated to new “grace.php” (instead of gracetime.php) 2024-01-02 00:54:33 +01:00
pezcurrel
25e238a1e2 Reverted to calling mysqldump instead of mariadb-dump (more retro-compatible) 2024-01-02 00:53:25 +01:00
pezcurrel
6914551daa Fixed “deadinsts” loading queries; changed default “conntimeout” and “functimeout” 2024-01-02 00:52:20 +01:00
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
d3211162fe Using “require” without parentheses is better :-) 2023-12-31 20:37:03 +01:00
pezcurrel
de0d67c1cf Changed default for “conntimeout” from 8 to 5, and for “functimeout” from 45 to 10 2023-12-31 20:36:18 +01:00
pezcurrel
95e4b9366e Using “[]” for arrays is better :-) 2023-12-31 20:35:15 +01:00
pezcurrel
1f5559b5b5 Using “require” without parehteses is better :-) 2023-12-31 20:34:30 +01:00
pezcurrel
b356c3bcd3 Updated after optimizing indexes 2023-12-31 20:33:38 +01:00
pezcurrel
a49be77cb9 Added “--single-transaction” option to “mariadb-dump” call 2023-12-31 20:32:35 +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
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