Commit graph

  • f05c09a9c8
    Translated using Weblate (German) nichu42 2022-12-28 18:04:44 +0000
  • fca8dd19a2 Added 2 tasks pezcurrel 2022-12-28 23:47:57 +0100
  • ec33912ff8 Restructured a bit the language management code pezcurrel 2022-12-28 23:47:23 +0100
  • db749d2e7d Consider the possibility that “our languages” have been locked pezcurrel 2022-12-28 19:17:05 +0100
  • 0b15bcac6b Updated: “make langs function and its use better” is done pezcurrel 2022-12-28 19:00:10 +0100
  • b929d06302 Don’t INSERT an instance if it did not respond: it was useful before instance “deadness” was autonomously managed by peerscrawl.php pezcurrel 2022-12-28 18:59:09 +0100
  • e7eb303094 Updated comment describing what to do when a site language (translation) is added pezcurrel 2022-12-28 18:56:29 +0100
  • e8d588c0f2 Refactored language management pezcurrel 2022-12-28 18:34:57 +0100
  • 01f9465625 Placeholder image to load by instances.php when server Thumb is “unavailable” pezcurrel 2022-12-28 18:33:26 +0100
  • c80290511a Placeholder image to load when AdmAvatar is “unavailable” pezcurrel 2022-12-28 18:32:54 +0100
  • 512b397230 Updated: admin and server thumb unavailability check added pezcurrel 2022-12-28 17:12:40 +0100
  • a970bd81f6 Fixed AdmAccount showing logic, added string with message when it’s set to “OPTED OUT” special value pezcurrel 2022-12-28 17:11:17 +0100
  • 2b37228a1c Fixed some flaws in detecting if Thumb and AdmAvatar are to be set to “unavailable”; fixed “noindex” logic, now it also explictly set AdmAccount to special “OPTED OUT” value when noindex=true pezcurrel 2022-12-28 17:09:25 +0100
  • 870e3524ca Fixed $maxround not set to actual max round pezcurrel 2022-12-28 17:06:39 +0100
  • 9d877986a5 When server thumb or admin avatar are set to “unavailable”, show an “unavailable” image pezcurrel 2022-12-28 07:02:17 +0100
  • 6f5de9730e When server thumb or admin avatar are unavailable, set them to “unavailable” pezcurrel 2022-12-28 07:01:29 +0100
  • cf158ceb73 Now it makes a tar.xz with “run” directory contents and remove them before running commands pezcurrel 2022-12-28 05:25:56 +0100
  • 242b728f43 Cope with the possibility that “Software” and-or “Version” are null pezcurrel 2022-12-27 23:33:31 +0100
  • 8883460cac
    Translated using Weblate (Italian) Pongrèbio 2022-12-27 22:17:16 +0000
  • 2add5a8066 Added string “Moderated servers” pezcurrel 2022-12-27 23:14:04 +0100
  • 916bcc6443 Updated pezcurrel 2022-12-27 23:09:25 +0100
  • e484298feb Added instance blocks (“moderated servers”) support pezcurrel 2022-12-27 23:03:31 +0100
  • ce66aa56e9 Added instance blocks support pezcurrel 2022-12-27 23:02:31 +0100
  • 430c35e17a Little change in progress string pezcurrel 2022-12-27 23:01:39 +0100
  • ff2eb79173
    Translated using Weblate (Italian) Pongrèbio 2022-12-27 17:17:18 +0000
  • 0363280e7e Added “Server rules” string pezcurrel 2022-12-27 16:45:50 +0100
  • 463d94badf Updated pezcurrel 2022-12-27 16:45:19 +0100
  • 9ae4e81f1c Added “Server rules” showing pezcurrel 2022-12-27 16:45:02 +0100
  • 540b5ccce6 Styled better some <ol> and <ul>, mainly to better show “Server rules” pezcurrel 2022-12-27 16:44:36 +0100
  • 73469fa012 Default pool size back to 10 pezcurrel 2022-12-27 15:39:46 +0100
  • c0b9c19469 Added keys check on instance info fetched from api v2 and v1; subordinated language checks to “$instaswered”; made get_toot_languages better cope with possible errors pezcurrel 2022-12-27 09:05:31 +0100
  • 5ae8fc562d Cleaner; now returns error code too pezcurrel 2022-12-26 22:37:05 +0100
  • f7f1ac4cb2 logfile has .gii.log extension, handy to select only these files when run from crawler.php pezcurrel 2022-12-26 22:10:20 +0100
  • ea0118d445 cmd now prepends exec to command; pipes get closed pezcurrel 2022-12-26 22:09:18 +0100
  • 463ef7cd37 Removed a dangling “}” which was breaking the script pezcurrel 2022-12-26 18:06:54 +0100
  • ff2d6c09a8 Removed “peers.all” file; made the script write to “peers files” only on exit (be it clean or by interruption) pezcurrel 2022-12-26 16:40:10 +0100
  • 44b6456695 Made check on peers more strict, made the script abandon checking when a peers entry is malformed pezcurrel 2022-12-26 15:27:14 +0100
  • d301d25fcc Removed witches.live, have to check why on the server it takes so long to check its peers, here it doesn’t, it’s probably just that we should increase the server ram and-or cpu pezcurrel 2022-12-26 15:02:50 +0100
  • 3f7a5ff69c Moved $graceline definition up, fixing a bug; made peers checking msgs more informative pezcurrel 2022-12-26 15:01:35 +0100
  • 97f5b99654 Removed ckpeers function, it was overkill; added a preliminary check for “stringness” to the checks on each peer pezcurrel 2022-12-26 14:51:42 +0100
  • a4b2ae731c Added witches.live since its peers list is huge and full of .activitypub-troll.cf pezcurrel 2022-12-26 14:50:26 +0100
  • d3b616a6fb Added reminder pezcurrel 2022-12-26 14:18:04 +0100
  • 926b1b0d73 Added ckpeers function to check if the json array returned by api/v1/instance/peers is well formed pezcurrel 2022-12-26 14:12:06 +0100
  • 3c1621df1d Added “LastOkCheckTS” to $instints (array of Instances columns of integer type) pezcurrel 2022-12-26 13:29:19 +0100
  • e820845775 Consider instances which have LastOkCheckTS=null but InsertTS>=$graceline as not dead, and to be checked pezcurrel 2022-12-26 13:28:09 +0100
  • d6d8adee49 Updated to last changes pezcurrel 2022-12-26 12:30:56 +0100
  • 93c9e4105e Updated pezcurrel 2022-12-26 12:30:23 +0100
  • 61da12100f Removed comment with Instances columns pezcurrel 2022-12-26 12:29:08 +0100
  • ebc458cc2c Removed “resurrect” option and references to Instances.Dead pezcurrel 2022-12-26 12:28:21 +0100
  • d18775fd52 Defines $gracetime, first commit pezcurrel 2022-12-26 12:27:08 +0100
  • 1e1b2a99e9 Dropped Instances.Dead, using Instances.LastOkCheckTS now instead pezcurrel 2022-12-26 12:25:15 +0100
  • 9b3cca9a45 Script to reasonably set Instances.LastOkCheckTS, first commit pezcurrel 2022-12-26 12:21:47 +0100
  • 95b9ccfc31 Renamed “LastCheckOk” to “WasLastCheckOk” pezcurrel 2022-12-26 05:30:35 +0100
  • 00caa1dcb9 Changed default for “deadline” option from 62 to 31 days pezcurrel 2022-12-26 05:17:59 +0100
  • 44f437c928 Translated initial comment, made it more terse pezcurrel 2022-12-26 05:09:09 +0100
  • 5312aea0cc Added writing server rules in the db pezcurrel 2022-12-26 05:08:17 +0100
  • 337eb32f51 Made mail optional, inactive by default pezcurrel 2022-12-25 23:45:31 +0100
  • 9b2da09b19 Added 1 task pezcurrel 2022-12-25 23:45:01 +0100
  • 429ab42ff5 Added 2 debug messages stating how mani dead instances the script got from Instances and Peers tables pezcurrel 2022-12-25 18:55:54 +0100
  • e3968a5ace Updated to last changes pezcurrel 2022-12-25 18:54:55 +0100
  • 119c9119c2 Made the logic for “deadline” much more terse pezcurrel 2022-12-25 18:41:13 +0100
  • acde202b2e Made it write summary from crawl run into a log file of its own pezcurrel 2022-12-25 18:40:21 +0100
  • ba171bd5f2 Use specifically bash since we use &> redirect pezcurrel 2022-12-25 11:43:30 +0100
  • ec9b65e42f Little script to run peerscrawl.php in loop; first commit pezcurrel 2022-12-25 11:32:49 +0100
  • 10e2e1b58a Added “lecho” for “message levels”, removed “gecho”, removed “verbose” option; removed “loop” option (do loop from a shell script if needed) pezcurrel 2022-12-25 11:32:08 +0100
  • 1d0c6b799a Small edit to “logminmsglev” and “tuiminmsglev” TUI option parsing errors pezcurrel 2022-12-25 11:29:34 +0100
  • d95bc70b8a Exposed “deadline” option; minor changes pezcurrel 2022-12-25 09:47:04 +0100
  • 709c677976 Updated pezcurrel 2022-12-25 09:25:17 +0100
  • c0802de828 Removed “restore” option: could work, but it’s not very useful and would require a big hassle; added loops and new found instances counters; made sighandler use mexit pezcurrel 2022-12-25 09:24:23 +0100
  • d6b77b0e29 Removed option “-p peers” from crawler cmdline because now peerscrawl directly writes new instances into the db pezcurrel 2022-12-24 08:59:33 +0100
  • 9fabb3853b Infatti pezcurrel 2022-12-23 19:13:37 +0100
  • 96aa6f3aa9 Quella roba lì pezcurrel 2022-12-23 19:12:18 +0100
  • 05fed0142c Lowered a bit default values for “timeout” and “curltimeout” pezcurrel 2022-12-23 11:23:32 +0100
  • 89a2ea0b26 Fixed “trending tags” ordering and fetching pezcurrel 2022-12-23 11:22:25 +0100
  • dc2a45adf4 Added reminder to finish “restore” option’s code+ pezcurrel 2022-12-22 15:32:59 +0100
  • edee66b834 Temporarily disabled “restore” option because it needs more work to actually work pezcurrel 2022-12-22 15:32:30 +0100
  • 61d0fcb3d8 Added “loop” option allowing to run the crawl in an infinite loop or until sig(int|hup|term) received; other minor changes pezcurrel 2022-12-22 15:05:55 +0100
  • 6477e8812f Exposed “curltimeout” option; changed “timeout” default from 5 to 10; changed “curltimeout” default from 10 to 20 pezcurrel 2022-12-22 14:24:48 +0100
  • 6d4ce26f98 Adapted “restore” code to the new workings; minor changes and fixes pezcurrel 2022-12-22 14:04:29 +0100
  • a47ccdd5e2 Merge branch 'weblate': new strings have been translated to russian pezcurrel 2022-12-22 11:41:12 +0100
  • 562639fb5c Updated after adding Peers and PeersCheck tables pezcurrel 2022-12-22 11:37:00 +0100
  • 520a413678 Updated pezcurrel 2022-12-22 11:33:09 +0100
  • c27053314a Added code to store and consider “instance checks” made by the script to independently mark peers ad dead pezcurrel 2022-12-22 11:32:18 +0100
  • f6bc6a12d4 Made it output full admin account address, linked to their profile page pezcurrel 2022-12-22 11:29:44 +0100
  • 706c831e23 Little change in a message pezcurrel 2022-12-22 11:28:29 +0100
  • 335944add8 Removed “minimum number of known instances” from criteria, because domain_count is gone from /api/v2/instance pezcurrel 2022-12-22 07:51:51 +0100
  • f8cdf2cf3b Changed check against “activity” values, which are strings, not integers pezcurrel 2022-12-22 07:40:41 +0100
  • c6c3feb500 Removed leftovers of “jsonwrite” option pezcurrel 2022-12-22 07:05:21 +0100
  • 277296512c Explicitly set idn_to_ascii flags, otherwise with php 7.3 it complained pezcurrel 2022-12-21 22:15:40 +0100
  • 9525f24bbe Updated pezcurrel 2022-12-21 22:07:22 +0100
  • 9316e686b9 Bir rewrite, made it shorter and hopefully a bit more readable pezcurrel 2022-12-21 22:07:05 +0100
  • 732ea79480 Moved $mastodons definition upper pezcurrel 2022-12-21 22:06:10 +0100
  • 1c524ffd69 Moved mysqli_close after the optional loading of dead instances from the db; renamed $eta to $tet pezcurrel 2022-12-21 22:05:15 +0100
  • 626a05b509 Updated pezcurrel 2022-12-21 08:03:40 +0100
  • 0d74dbf243 Got rid of akeavinn; other minor changes pezcurrel 2022-12-21 07:54:11 +0100
  • d803d6f667 When curl error is unknown, the message is now “reason unknown” instead of “unknown” pezcurrel 2022-12-21 06:54:58 +0100
  • 2c86580bfb The regexp to decide whether an instance is Mastodon or not is now based on the Platforms table; made ckratelimit more precise about possible missing headers; added code to set Version from /api/v1/instance when it was not already set from nodeinfo pezcurrel 2022-12-21 06:53:31 +0100
  • 962a705402 Updated pezcurrel 2022-12-20 23:05:14 +0100
  • d42499747e Updated to new version: added indexes; changed Instances.AdmCreatedAt from float to int pezcurrel 2022-12-20 23:05:02 +0100
  • 4fdf287686 Little change in delete prompt pezcurrel 2022-12-20 23:02:53 +0100