Commit graph

27 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
98d54a1782 First commit 2023-12-28 12:09:01 +01:00
pezcurrel
e94e286b01 Added deletion of InstBlocks records 2023-12-27 20:34:45 +01:00
pezcurrel
2f3a26a98f Moved 2023-12-26 11:16:24 +01:00