Commit graph

1019 commits

Author SHA1 Message Date
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
pezcurrel
59dd8cd307 Blocklist 2023-01-03 18:49:57 +01:00
pezcurrel
1f2165249d “Advanced criteria” are always displayed; removed “reset advanced criteria to default”; restructured code 2023-01-03 05:43:57 +01:00
pezcurrel
1d754f9588 Fixed getlangid: it used $lang instead of $code 2023-01-03 00:11:59 +01:00
pezcurrel
3c85ed78a0 Fixed a bug with $mincdef and $_GET["minc"] 2023-01-02 13:54:36 +01:00
pezcurrel
21fe338c12 Didn’t pass a graceline to dispinst, now it does 2023-01-02 08:52:26 +01:00
pezcurrel
95bd83786e Fixed a bug that caused “languages” to be always saved as “ourlanguages” 2023-01-02 08:37:07 +01:00
pezcurrel
6f296a1d27 Fixed writing langs ids to InstOurLangs; made detected languages fall back to declared languages when they can't be detected 2023-01-01 19:50:57 +01:00
pezcurrel
fa97078fe4 Passing calling __LINE__ through getlangsidsarr and getlangsid the right way 2023-01-01 19:26:39 +01:00
pezcurrel
87fbbbd2f9 Added validity check on declared and detected lang codes to getlangid function - when lang code is not valide it falls back to “en” default; added a getlangsidsarr function to cope with possible dupes and spare code 2023-01-01 19:21:21 +01:00
pezcurrel
c039d85d76 A little script to fix InstLangs, InstOurLangs and Languages table as of 2023-01-01 2023-01-01 18:23:34 +01:00
pezcurrel
24b9f9b911 Made it canonicalize lang codes in getlangid 2023-01-01 18:22:48 +01:00
pezcurrel
a4486403c7 Made language fetching normalize language code to a form with _ insted of - 2023-01-01 16:51:20 +01:00
pezcurrel
184cf49d16 Added “Show instances where...” string to instances.php 2023-01-01 14:47:58 +01:00
pezcurrel
8a41bfa298 Updated 2023-01-01 14:45:19 +01:00
pezcurrel
91aa3e0b68 Added “Show instances where” string and an “horizontal ruler” div between “include” and “exclude” criteria 2023-01-01 14:44:50 +01:00
pezcurrel
dd4cc24a36 Added .sddesc and .hrd classes 2023-01-01 14:43:33 +01:00
pezcurrel
5afbdac010 Modified a bit a string 2023-01-01 11:57:00 +01:00
pezcurrel
6814b8060e Put out of echoed html the “popupback” divs and commented them out 2023-01-01 11:37:40 +01:00
pezcurrel
5236126ef1 Added nl language 2023-01-01 11:16:52 +01:00
pezcurrel
5ffd28f906 Added nl language 2023-01-01 11:14:25 +01:00
pezcurrel
bb30be31ca Little update 2023-01-01 11:11:49 +01:00
pezcurrel
322d24fdaf Merge branch 'main' into weblate after adding and modifying some strings in instances.php 2023-01-01 11:09:10 +01:00
pezcurrel
655c180aea Added and modified some strings in the search form of instances.php 2023-01-01 11:06:17 +01:00