Skip to content
Snippets Groups Projects
  1. Dec 17, 2024
  2. Dec 16, 2024
  3. Dec 15, 2024
  4. Dec 14, 2024
  5. Dec 12, 2024
  6. Dec 11, 2024
  7. Dec 10, 2024
    • Rob Swindell's avatar
      Fix bug in recursive use of delfiles(), not deleting all subdirs/files · 5e025ef3
      Rob Swindell authored
      Looks like this feature (commit d661427e) never really worked correctly
      since it counted the files removed from each sub-dir and then stopped deleting
      when the count reached the number of files in the base directory. This was
      done to accommodate the 'keep' feature (part of previous commits).
      So make 'keep' check conditional on it being non-zero and just don't ever use
      a non-zero keep value with a recursive delete and we should be good! :-)
      
      This fixes issue #841
      5e025ef3
    • Rob Swindell's avatar
      Add/use errprintf() to lower severity of repeated error messages · 169b770f
      Rob Swindell authored
      part of fix for issue #619
      169b770f
    • Rob Swindell's avatar
      Add/use errprintf() to reduce severity of repeated error messages · ce7d83ee
      Rob Swindell authored
      Part of solution for issue #619 (for the web server)
      ce7d83ee
    • Rob Swindell's avatar
      Add/use errprintf() to reduce severity of repeated error messages · d8cfb579
      Rob Swindell authored
      Part of solution for issue #619 (for the mail server)
      d8cfb579
    • Rob Swindell's avatar
      Support text.dat string IDs (string) args for replace/revert_text() funcs · 6dbd2fec
      Rob Swindell authored
      For alignment with the text() method and for instances where a script author
      doesn't want to load('text.js') or use [bbs|system].text.ID to get a text.dat
      string index from an ID.
      6dbd2fec
    • Rob Swindell's avatar
      If user doesn't modify the replied-to-msg subject, use the original subject · 69111a8f
      Rob Swindell authored
      (which might be UTF-8 encoded). This works-around the problem that Accession
      reported in #synchronet with my reply to a UTF-8 encoded message using a CP437
      terminal which resulted in a message body that was UTF-8 encoded but a message
      subject that was CP437 encoded. This mix of encodings is not supported by FTN
      standards.
      
      This is just a work-around since if the user modifies the subject the result
      could still have the CP437 unside-down question marks (indicating
      non-translatable UNICODE chars) and those should be converted to UTF-8
      chars when going out on FTN or being stored in the message base. So there's
      still a bug here somewhere that I need to look into more.
      69111a8f
    • Rob Swindell's avatar
      Fix off-by-one usage of snprintf() when copying message subject · fbe51f3e
      Rob Swindell authored
      - when converting from CP437 to UTF-8
      - when reading from RESULT.ED drop file
      
      This effectively limited message subjects in some instances to 69 chars
      instead of 70. This bug was caught while debugging a replied-message subject
      conversion from UTF-8 to CP437 issue reported by Accession.
      fbe51f3e
    • Rob Swindell's avatar
      Add RELOAD sysop command to reload a (JS) command shell without logoff/on · 7201a39e
      Rob Swindell authored
      We have to use load() (rather than js.exec) to invoke str_cmds.js so that an
      exit() will actually exit. Since load() automatically does the mods vs exec
      directory search-dance, that simplifies the code in default.js a little.
      I'm not sure exactly why I originally chose to use js.exec() over load() for
      invoking str_cmds.js, but for this feature, we need load() so let's go with
      that for now.
      
      I did encounter an issue (issue #840) while originally trying to make this
      work with the original code that called js.exec(), but just punted and went
      with load() instead. Perhaps if we fix issue #840, we can revert default.js
      back to using js.exec() (but why we would need/want to, I'm not sure).
      7201a39e
  8. Dec 09, 2024
  9. Dec 08, 2024
    • Rob Swindell's avatar
      Fix use of unitialize variable · 801010bf
      Rob Swindell authored
      Since we we're not using opennodeext(), we don't have the path/fname for
      any failure error message here.
      
      CID 515714
      801010bf
    • Rob Swindell's avatar
      Fix incorrect use of sizeof in node_vstatus and node_activity · 4610fc7b
      Rob Swindell authored
      This would cause the "Logout" status and multinode chat activity
      strings to be truncated to 3 or 7 chars.
      
      CID 515713 and 515715
      4610fc7b
    • Deucе's avatar
      We need separate context for client to server · 66e7634e
      Deucе authored
      66e7634e
    • Deucе's avatar
      Disable darmwin-x86 · 79fa3c0b
      Deucе authored
      System is going on a trip.
      79fa3c0b
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Insure ctrl chars/codes are stripped from nodestatus() output · 2cb39d9a
      Rob Swindell authored
      Use strlcpy instead of strncpy
      2cb39d9a
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Use new node (customizable) activity, if available (and strip ctrl chars) · da48cfba
      Rob Swindell authored
      This allows customized node actions/activity to be sent over finger/activeuser
      (so visible in sbbsimsg.js for example).
      da48cfba
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Overhaul how custom Node actions and status strings are handled · d116f362
      Rob Swindell authored
      Custom NodeStatus and NodeAction/Activity strings are now displayed pretty
      much everywhere possible (except the node utility, since it doesn't read
      any configuration files). This fixes issue #618, finally.
      
      If you have custom (non-blank) NodeAction* strings in your text.dat/text.ini
      file, or you change these strings during runtime (e.g. using bbs.replace_text)
      this will impact you:
      - do not include the user name or any other fields normally included in
        printed node status in your string - just the customized node action and
        really, you should only use/override these strings for dynamically changing
        node status (i.e. you're using NodeActionCustom and you're setting different
        custom strings depending on current node activity). Consider using the new
        NodeActivity* text.dat strings instead if your customized string doesn't
        change during run-time.
      - don't use the %s/%u/%d specifiers any more - use @-codes instead, if needed
      
      If you want static/permanent node action strings, set new new NodeActivity*
      strings in your text.dat or (preferrbaly) text.ini file instead.
      This means the node actions can now be localized for other languagues!
      
      I'm still using the node.exb file (I did consider alternatives, e.g.
      node.ini or node*/activity.asc), but decided to postpone such a change.
      The node.exb file is still used, but the strings represent just the custom
      (extended) node *activity* and not the entire node status string.
      
      Use of Ctrl-A codes needs to be considered/accounted-for (currently isn't).
      d116f362
    • Rob Swindell's avatar
      Fix the areas.bbs AreaMgr addition bug created in commit 813072cd · 68e76982
      Rob Swindell authored
      The newly created/used link_aera() function was copying the address of the
      passed fidoaddr_t pointer rather than the value (fidoaddr) pointed to.
      This is the actual fix for the problem reported by Tom Moore (1:135/205)
      - tested and validated. It only immediately impacted areas.bbs use
      (not areas.ini), since we wrote a stringified address directly to the
      areas.ini file "links" key. This was not an allocation issue but a memcpy()
      issue.
      
      Other unrelated changes:
      - Log a debug-level message when ignoring a "NO-ECHO" message (subject "NE:*")
      - Log a notice-level message when ignoring a message due to GATEWAY VIOLATION
        (gating a message between net-types when not explicitly configured to do so)
      68e76982
  10. Dec 07, 2024
    • Rob Swindell's avatar
      A differnt 'fix' to link_area() · c14cea13
      Rob Swindell authored
      So, (sizeof *addr) now looks right got me (this should've been the same as
      sizeof(fidoaddr_t)), so the change in commit e2476ebb doesn't actually look
      like a fix, but maybee a regression.
      
      I need to test some area manager link additions and get to the bottom of this,
      but this particular change was not a fix (and caught/reported by Coverity -
      CID 515673).
      c14cea13
Loading