Skip to content
Snippets Groups Projects
  1. Dec 19, 2024
  2. Dec 18, 2024
  3. Dec 17, 2024
  4. Dec 16, 2024
  5. Dec 15, 2024
  6. Dec 14, 2024
  7. Dec 12, 2024
  8. Dec 11, 2024
  9. 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
Loading