Commit graph

  • d8f15f4b3a Does delete from UserFields much faster pezcurrel 2022-12-20 23:01:13 +0100
  • f6dc080ed6 Major rewrite: it was a mess, now it is less :-) pezcurrel 2022-12-20 23:00:22 +0100
  • f3081612da Multibyte lower case first char of a string; first commit pezcurrel 2022-12-20 22:59:24 +0100
  • d2214b6ef3
    Translated using Weblate (Russian) Alex Maryson Jr 2022-12-19 17:49:54 +0000
  • 8eaeaf0d96 Removed references to New, Good, Chosen columns, since they’re gone pezcurrel 2022-12-18 18:45:39 +0100
  • 217be70dc6 Updated to reflect last changes pezcurrel 2022-12-18 18:45:06 +0100
  • d07b5e4efd “New” is now based on “InsertTS” pezcurrel 2022-12-18 18:44:33 +0100
  • bee3a04b19 Updated to last changes pezcurrel 2022-12-18 18:43:38 +0100
  • f30bcc7e5e Updated to new delinstbyuid function form pezcurrel 2022-12-18 18:43:09 +0100
  • e744ae9d20 Fixed validhostname; added and using myq function for mysql queries; changed some exit codes; made connection error management better pezcurrel 2022-12-18 18:42:11 +0100
  • f29f636a70 Added mysql error code to error message that is echoed if a query fails pezcurrel 2022-12-18 18:40:22 +0100
  • cd16eabce5 Using new form of delinstbyuid function; removed references to New column pezcurrel 2022-12-18 18:27:22 +0100
  • 835e02c171 Removed code referencing New, Good and Chosen columns pezcurrel 2022-12-18 18:26:03 +0100
  • f4aa3cb804 A script to set InsertTS field to something suitable when it is null pezcurrel 2022-12-18 18:24:35 +0100
  • c5debcb463 A function to delete an Instance record by ID, and all references to it in other tables; first commit pezcurrel 2022-12-18 18:23:52 +0100
  • bf98e62402 Updated pezcurrel 2022-12-18 11:46:16 +0100
  • 820bc3180d Made browser language detection more flexible (eg: if browser language has pt, use pt_BR since we don’t have pt yet, if ever) pezcurrel 2022-12-18 11:46:01 +0100
  • ccc9f517fd Moved code to delete an Instances record and all its references in other tables to function delinstbyid in lib/delinstbyid.php; minor changes pezcurrel 2022-12-18 11:44:11 +0100
  • 2b0e2398ae Made validhostname accept only valid hostnames :-)) (no ports or path specs) pezcurrel 2022-12-18 11:42:32 +0100
  • 32251d1ba8 Added “deleteinstswhere” action pezcurrel 2022-12-18 11:41:09 +0100
  • 7d2875075b Deleted pezcurrel 2022-12-18 09:35:24 +0100
  • 690b54521b Moved pezcurrel 2022-12-18 09:35:04 +0100
  • f269bb901d Little cosmetic change pezcurrel 2022-12-18 07:00:49 +0100
  • e9b88d6735 Made $jsonfp be written into run dir pezcurrel 2022-12-18 07:00:19 +0100
  • a3ada274e7 Removed stdout/err redirect in cmd; passing proper descriptor and pipe to proc_open; minor changes pezcurrel 2022-12-18 06:59:25 +0100
  • a32a25e095 Many many changes :-)) pezcurrel 2022-12-18 00:34:27 +0100
  • d6dd03694c Removed $context pezcurrel 2022-12-17 22:54:32 +0100
  • 441d16a42d ckratelimit goes to sleep only when x-ratelimit-remaining==0; can spit debug info; limit fetching chunks from users directories is now 40 pezcurrel 2022-12-17 22:54:02 +0100
  • ca4367b719 Removed the unlinking attempt at lockfp before exit: it was already done before by shutdown; other little changes about open files closing and the like pezcurrel 2022-12-17 18:43:13 +0100
  • e5ad18e619 Fixed a typo pezcurrel 2022-12-17 18:40:55 +0100
  • 5c605cbe5b Some little cosmetic (readability of log files) changes pezcurrel 2022-12-17 18:40:22 +0100
  • 2571396253 Tuned to recent changes in crawler.php (and getinstinfo.php) pezcurrel 2022-12-17 17:36:46 +0100
  • ad8fa26306 Made mysql connection and charset setting errors more graceful; added “users” page to updstats; other minor changes pezcurrel 2022-12-17 17:35:35 +0100
  • 2d1d28b002 Fixed regexp checking if max_charcters is an integer; made mexit use eecho again, moving the closing of logf after eecho(s); made logf be opened only if logminmsglev < 4 pezcurrel 2022-12-17 17:33:46 +0100
  • d1f088a026 Command for subprocesses gets now built on the fly using cmd function; logfile doesn’t get opened if logminmsglev < 4; other minor changes pezcurrel 2022-12-17 17:31:24 +0100
  • 6d897cfdff Removed “crawlernew” directory pezcurrel 2022-12-17 15:03:11 +0100
  • c7d5b50377 Adapted to new crawler version pezcurrel 2022-12-17 15:02:52 +0100
  • 0b9e892aef Splitted old crawler.php in 2; this is the part that coordinates pezcurrel 2022-12-17 15:02:20 +0100
  • 7629a1caae Moved from subdir “crawlernew” pezcurrel 2022-12-17 15:00:36 +0100
  • b46469bfbb Cope with mysql errors even with php ver. < 8; check if $link is false before trying to close mysql connection in function mexit pezcurrel 2022-12-16 22:39:51 +0100
  • e46a82d923 Added suffix “s” to option “-t” in $cmd definition; cope with mysql errors even with php ver. < 8; other small changes pezcurrel 2022-12-16 22:38:16 +0100
  • 17164166ee Merge branch 'weblate' for newly translated strings pezcurrel 2022-12-16 22:03:29 +0100
  • b4adda3e10
    Translated using Weblate (Ukrainian) Ігор Андреєв 2022-12-16 18:17:36 +0000
  • 7087cafb3f
    Translated using Weblate (Italian) J. Lavoie 2022-12-15 23:33:23 +0000
  • 62e4c1fa0f
    Translated using Weblate (French) J. Lavoie 2022-12-15 23:32:45 +0000
  • 3804171253 Renamed getfc to gurl pezcurrel 2022-12-16 21:59:26 +0100
  • 1bdd59dca7 Deleted pezcurrel 2022-12-16 21:58:06 +0100
  • d7ffe48214 Renamed from getfc.php pezcurrel 2022-12-16 21:57:45 +0100
  • a1a6d1ec5d Renamed “getfc” to “gurl” pezcurrel 2022-12-16 21:35:38 +0100
  • fe99014208 Made “CURLOPT_TIMEOUT” variable, set it to 45 secs by default pezcurrel 2022-12-16 21:24:42 +0100
  • d75a6445ae Fixed sleep and relative message to actually use $options['udirfailst']; changed some options’ default; changed a bit the help text; changed a bit some messages in the “fetchusers” section pezcurrel 2022-12-16 21:23:14 +0100
  • b666fcfdda Use parsetime for “--timeout” too, changed a bit the help text accordingly pezcurrel 2022-12-16 21:19:34 +0100
  • 2d31b7ca79 Changed a bit how option “jsonwrite” works; other minor changes pezcurrel 2022-12-16 19:25:45 +0100
  • f193bd294c A very tiny db test, first commit pezcurrel 2022-12-16 19:12:17 +0100
  • 1deed93b6f Some preliminary work reusing “index.php” code pezcurrel 2022-12-16 19:11:39 +0100
  • 6ff4752dd7 Made it cope with time values < 1 second; changed the way of passing suffixes; other minore changes pezcurrel 2022-12-16 19:10:29 +0100
  • d59eb396eb Added preliminary support to “Users” page pezcurrel 2022-12-16 19:08:39 +0100
  • 9529a938a7 Lots of changes, not very important :-)) pezcurrel 2022-12-16 19:06:47 +0100
  • bab5bd5dd2 Added mysqli_query error management for older php versions to function myq; minor changes pezcurrel 2022-12-16 19:05:46 +0100
  • 4522bc3ea8 Added mysqli_query error management for older php versions to function myq pezcurrel 2022-12-16 19:02:41 +0100
  • 513981b7e2 Fetches info from an instance, first commit pezcurrel 2022-12-16 00:00:37 +0100
  • 1cafbe05ea Crawler new version, “multithreaded”, coordinator script, first commit pezcurrel 2022-12-16 00:00:06 +0100
  • 1430cd80fb Time spec parser, first commit pezcurrel 2022-12-15 23:57:31 +0100
  • fdc7ddbd1f Made it use an array for output pezcurrel 2022-12-15 23:52:32 +0100
  • f7c32d00ef Made it cope with “accept-encoding” more properly pezcurrel 2022-12-15 14:38:26 +0100
  • 8cf8c416ed Made it cope with gzip encoded content pezcurrel 2022-12-15 12:45:52 +0100
  • 3a720a90ac Added a warning when nodeinfo specs couldn’t be fetched; made it set New=1 even when host doesn’t respond and is not in the db pezcurrel 2022-12-15 12:45:20 +0100
  • d9ccf5cdfe
    Translated using Weblate (Russian) Affir Vega 2022-12-12 11:29:01 +0000
  • f17453b0c9
    Translated using Weblate (German) nichu42 2022-12-12 10:32:16 +0000
  • 9360bdc481 Made false positives for “IsMastodon” less likely (impossible?) pezcurrel 2022-12-12 22:40:17 +0100
  • 483fbcd103 Added the possibility, for each set of records with the same URI, to choose one record to keep and delete the others, or to automatically keep the record with the lowest ID and delete the others pezcurrel 2022-12-12 21:32:35 +0100
  • 90e85f8182 Took away “-t 10” option from crawler.php calls since 10 is now its default timeout pezcurrel 2022-12-12 17:06:51 +0100
  • e07fba673d Fixed call to non-existent function ”mysq” to “myq” pezcurrel 2022-12-12 08:36:18 +0100
  • ec6324fb4f Made langs() shorten to a maximum of 5 elements the $languages array pezcurrel 2022-12-12 08:29:18 +0100
  • d80ba5ddc4 Fixed double “,” in a query inside langs() pezcurrel 2022-12-12 08:24:26 +0100
  • 6f9260e08e myq() did not return results, now it does pezcurrel 2022-12-12 08:17:01 +0100
  • f6752a34bc Added function “myq” as a wrapper for mysqli_query managing exceptions; used it throughout the whole script pezcurrel 2022-12-12 08:12:29 +0100
  • fb0fca9f2d Updated pezcurrel 2022-12-12 00:47:51 +0100
  • 2649e7d137 Info from nodeinfo didn’t end up into $info, now they do pezcurrel 2022-12-12 00:47:06 +0100
  • 879a86a211 Merge branch 'weblate' with newly pt_BR translated strings pezcurrel 2022-12-11 23:38:08 +0100
  • 5cc375af50
    Translated using Weblate (Portuguese (Brazil)) Fábio Rodrigues Ribeiro 2022-12-11 14:04:53 +0000
  • 783e54a9f9 Little script to convert a unix timestamp in input to a date pezcurrel 2022-12-11 23:33:09 +0100
  • 1701a2cfe6 Little script to search for records with the same “URI” in Instances table pezcurrel 2022-12-11 23:32:42 +0100
  • 853be9f0e0 Little script to fix uris beginning with “https://” pezcurrel 2022-12-11 23:31:47 +0100
  • d371a18af4 Updated pezcurrel 2022-12-11 23:30:52 +0100
  • b16515f4e8 Lots of changes :-)) pezcurrel 2022-12-11 23:29:51 +0100
  • 882222bdb9 Added “Code” section to “About” page pezcurrel 2022-12-11 05:38:42 +0100
  • 7e52c5683f Merge newly translated strings from branch 'weblate' pezcurrel 2022-12-11 05:22:41 +0100
  • 718efc01f9
    Translated using Weblate (Ukrainian) Ігор Андреєв 2022-12-10 13:03:22 +0000
  • 72655faa88 Added a “Code” section linking git.lattuga.net, and a link to Ігор Андреєв’s Mastodon profile pezcurrel 2022-12-11 05:18:26 +0100
  • 1dc9e770ad Made the text much shorter pezcurrel 2022-12-11 05:16:28 +0100
  • 61ad655a62 Disabled fetching profile’s page when “noindex” is not set in account because it takes too long; disabled featured tags fetching fro the same reason; other minor changes pezcurrel 2022-12-10 23:32:58 +0100
  • f343cb702e Changed some eecho messages importance pezcurrel 2022-12-10 13:57:30 +0100
  • 4b7f6a199c Added truncs where needed; added code to check for “noindex” on user’s profile page when “noindex” is not set in accounts info pezcurrel 2022-12-10 12:35:22 +0100
  • eeb3ce6edf Made it wait up to 30 seconds for contents pezcurrel 2022-12-10 12:33:21 +0100
  • 4c721f7bad
    Translated using Weblate (Russian) Pongrèbio 2022-12-08 21:03:51 +0000
  • b39aa9e284
    Translated using Weblate (Persian) Pongrèbio 2022-12-08 21:04:12 +0000
  • 3feca8f402
    Translated using Weblate (French) J. Lavoie 2022-12-08 21:48:13 +0000
  • 6731bb15bb Updated pezcurrel 2022-12-09 22:53:39 +0100
  • 18ce06871b Added ckratelimit() where useful; made it more flexible with lowercasing every header key; more work on fetching users from users directories pezcurrel 2022-12-09 22:53:18 +0100