Commit graph

892 commits

Author SHA1 Message Date
pezcurrel
2adbbf60f9 Changed "" quotes to “” 2023-01-07 18:48:17 +01:00
pezcurrel
120d7e4d6a Made the string about missing server thumbnail in instances.php hopefully clearer 2023-01-07 17:56:46 +01:00
pezcurrel
c267f96be1 Made the string about missing server thumbnail hopefully clearer 2023-01-07 17:51:19 +01:00
pezcurrel
05607aba5b Changed some strings in instances.php 2023-01-07 12:59:44 +01:00
pezcurrel
61b3fed1ac Updated 2023-01-07 12:56:46 +01:00
pezcurrel
fac6a32d87 Show dates in localized format 2023-01-07 12:56:32 +01:00
pezcurrel
9cb1f272cc Always detect browser first accepted language if available and store it into $blang: it’s needed in instances.php 2023-01-07 12:55:43 +01:00
pezcurrel
f69f2853db Trap more signals; added shutdown function 2023-01-07 12:54:07 +01:00
pezcurrel
861fdb5345 Removed useless extra newline in signalHandler 2023-01-07 12:53:25 +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
03aa9cb786 Updated 2023-01-06 22:05:22 +01:00
pezcurrel
85559ac1a4 Fixed $graceline to start of current day - $gracetime 2023-01-06 18:43:07 +01:00
pezcurrel
ce539e520b Merge branch 'weblate' with new translated strings for uk and fr 2023-01-06 18:07:20 +01:00
J. Lavoie
632d68255a
Translated using Weblate (French)
Currently translated at 93.1% (411 of 441 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/fr/
2023-01-06 18:06:38 +01:00
pezcurrel
74ad6943e7 Removed condition “FirstSeen IS NOT NULL” from all the queries since now it’s implied in “LastOkCheckTS>=$graceline” 2023-01-06 18:01:01 +01:00
pezcurrel
b31dc0ca8f Updated 2023-01-06 17:08:19 +01:00
pezcurrel
0be17601f8 Made it run peerscrawl.php with a gracetime of 1 year once after the 26th of the month; minor changes 2023-01-06 17:08:07 +01:00
pezcurrel
2c66514b37 Made it run crawler.php with a gracetime of 1 year on first of the month; minor changes 2023-01-06 17:06:44 +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
b22befdec2 Removed “excludead” option: use a high “gracetime” when needed; other minor changes 2023-01-06 17:03:41 +01:00
pezcurrel
3f656e0fa1 Removed useless ability to write to a log file; other minor changes 2023-01-06 17:02:04 +01:00
J. Lavoie
dfd3e0d4e9
Translated using Weblate (French)
Currently translated at 91.6% (404 of 441 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/fr/
2023-01-06 00:55:34 +01:00
Ігор Андреєв
d04fff7531
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (441 of 441 strings)

Translation: mastodon.help/Site
Translate-URL: https://hosted.weblate.org/projects/mastodon-help/site/uk/
2023-01-05 21:51:28 +01:00
pezcurrel
874479fac7 Maintainance script, unifying crawl.bash and backup.bash; first commit 2023-01-05 20:08:13 +01:00
pezcurrel
63690b1cf6 Sample mysql/mysqldump config file, first commit 2023-01-05 20:07:10 +01:00
pezcurrel
f88b08a85a Added eecho function; other minor changes 2023-01-05 20:03:36 +01:00
pezcurrel
99fd5feb50 Renamed all the exclusion inputs to more sensible names 2023-01-04 23:42:16 +01:00
pezcurrel
5e84c8501d Rate limit exceeded error page for mod_qos, first commit 2023-01-04 22:26:39 +01:00
pezcurrel
662d506f4c Made “Random, recommended first” ordering available only for italian language 2023-01-04 20:28:53 +01:00
pezcurrel
296bd9e035 Made possible mysql connection errors messages nicer 2023-01-04 20:28:10 +01:00
pezcurrel
b07e773dcf Removed rough and already commented out “ratelimiting” code, we now use apache mod_qos 2023-01-04 15:16:22 +01:00
pezcurrel
127a335132 Updated 2023-01-04 13:44:14 +01:00
pezcurrel
e750aad3f5 Now sleeps in the end 0.25 seconds rather than 0.5 2023-01-04 13:43:34 +01:00
pezcurrel
83d3c6b5c5 Changed “discovered instances” to “instances responded” in message “working on ...” 2023-01-04 13:41:55 +01:00
pezcurrel
25fd358666 Commented out “tar” line for “run” dir: took long and wasn’t very useful 2023-01-04 13:40:53 +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
b114deba61 Report elapsed time in message for finished procs 2023-01-04 13:37:05 +01:00
pezcurrel
388ddbbe55 Commented out rough ratelimiting cause it’s too rough :-)) --- added a tiny usleep(500000) at the end for now 2023-01-04 00:05:05 +01:00
pezcurrel
ed7820b636 Ratelimiter now keeps previous time for other sessions 2023-01-03 23:43:35 +01:00
pezcurrel
5372572966 Cache dir with placeholder file; first commit 2023-01-03 23:32:49 +01:00
pezcurrel
8bc4075a04 Removed blocklist and rough database based ratelimiting; added rough file based ratelimiting; cleaned up a bit 2023-01-03 23:31:38 +01:00
pezcurrel
3a95bf779e Deleted 2023-01-03 23:13:04 +01:00
pezcurrel
42b1ac164c Changed translation for “URI, name or descriptions contain” 2023-01-03 19:54:41 +01:00
pezcurrel
bc131006ea Changed the help text in instances.php 2023-01-03 19:49:08 +01:00
pezcurrel
42a821798c Changed a bit the help text 2023-01-03 19:48:42 +01:00
pezcurrel
15de7006c7 Updated and restructured 2023-01-03 19:07:05 +01:00
pezcurrel
f021e25cdc Fixed a typo in a string (“descriptions contains” -> “descriptions contain”) 2023-01-03 19:06:05 +01:00
pezcurrel
3309da4721 Improved help text; changed $oldline from 31 to 30 days 2023-01-03 18:58:58 +01:00
pezcurrel
043e8fab41 Added a blocklist mechanism, based for now on http Referer header; improved a bit muoribene function 2023-01-03 18:52:47 +01:00
pezcurrel
30c137862c Changed $gracetime from 31 to 30 days 2023-01-03 18:50:30 +01:00