Skip to content
Snippets Groups Projects
  1. Nov 15, 2024
    • Rob Swindell's avatar
      Only allow one FTP session per QWKnet user account · 9b3be7dc
      Rob Swindell authored
      Vertrauen's FTP server gets abused by QWKnet logins sometimes and handling
      the race conditions around QWK packet creation attempts is silly - there's
      no legit reason why a QWKnet account needs to be logged-in multiple times
      concurrently to the hub's FTP server, so reject the subsequent logins even
      when they're on different hosts (as is the case with Vertrauen).
      
      As part of this change:
      - fmutex() now takes an new time_t* argument to (optionally) store the
        time of the mutex file for helping logging (locked since when?).
      - time_as_hhmm() created to format a string as either HH:MM or HH:MM[a|p]
        (depending on system configuration for 12 or 24 hour time formatting).
      - renamed the old hhmmtostr ()to tm_as_hhmm() (since it takes a struct tm arg)
        and have it return a non-padded string (useful in more situations without
        requiring truncation) when the sysop prefers 24-hour time.
      9b3be7dc
  2. Nov 01, 2024
    • Rob Swindell's avatar
      Add verbal_datestr() · 97cfb894
      Rob Swindell authored
      For cases where we want to the verbal short date output, regardless of sysop
      preference/configuration.
      97cfb894
  3. Oct 31, 2024
    • Rob Swindell's avatar
      dstrtounix() now takes the format (enum date_fmt) directly · 15613b0d
      Rob Swindell authored
      This allows us to use dstrtounix() for MM/DD/YY dates regardless of the system
      configuration (sysop/locale preference).
      
      This fixes issue with QWK route.dat file and door.sys (expiration date)
      parsing where the date is/has-to-be in MM/DD/YY format, always.
      15613b0d
  4. Oct 29, 2024
    • Rob Swindell's avatar
      Add option to display short dates in verbal/unambiguous formats · a893b66f
      Rob Swindell authored
      Although we've added (in SBBS v3.20) configurable numeric date input/display
      formats for the system, the output was still ambiguous for users (e.g.
      NN/NN/NN which could be interpretted a number of ways), so I've added an option
      to choose "verbal" short date formats to be displayed where possible instead.
      The same value separate from the numeric format (whatever the sysop chose) is
      used in the verbal date output, but since month name abbreviations are 3
      characters, only one separator is used (to keep the output length fixed at 8
      characters).
      
      The new "Verbal" short date display format is choosable in the SCFG wizard and
      via SCFG->System->Short Date Format.
      a893b66f
  5. Dec 31, 2023
    • Rob Swindell's avatar
      Allow sysop-configurable date separator (e.g. YYYY-MM-DD) · 013bcca9
      Rob Swindell authored
      To complete the request from: Max (WESTLINE)
      
        Is it possible to do a new dateformat in scfg
        In sweden we using YYYY-MM-DD format as standard.
      
      The default will be '/'.  Technically, any separator is possible by editing
      the "date_sep" value in the global section of main.ini.  SCFG allows the
      most popular separators: /.- and space.
      013bcca9
    • Rob Swindell's avatar
      Introduce 3rd system/local date display format: YY/MM/DD · 96976ab5
      Rob Swindell authored
      ... and YYYY/MM/DD for birthdate input/display.
      
      Now set in SCFG->System (not toggle options) and stored in the "date_fmt" key
      (new) in main.ini. The old sys_misc SM_EURODATE flag is deprecated (but used
      to determine the default value of date_fmt when not present).
      
      As requested from: Max (WESTLINE)
      
        Is it possible to do a new dateformat in scfg
        In sweden we using YYYY-MM-DD format as standard.
      96976ab5
  6. Mar 29, 2022
  7. Nov 23, 2020
    • Rob Swindell's avatar
      The great C function dependency refactor of 2020 · cee2d280
      Rob Swindell authored
      The goal of this commit is that: only modules that either are part-of sbbs.dll/libsbbs.so or need to link with/use that library, will #include "sbbs.h" and thus be dependent on its subsequent includes (e.g. cryptlib.h, jsapi.h). This should mean extdeps.mk can be trimmed way down.
      
      I also removed CVS keyword/comments and trimmed up the boilerplate copyright notice in modified and added source/header files in this commit.
      
      There is no functional change in behavior in this comment.
      cee2d280
  8. Aug 16, 2020
  9. Jul 08, 2019
  10. Jul 24, 2018
    • rswindell's avatar
      The great Copyright year update and (mostly) removal of 2018: · f869ad3d
      rswindell authored
      Most of the copyright years in the source code were misleading (the date of
      most recent publish was actually later) and all were unnecessary. I've been
      removing copyright years piecemeal, for a long time, but I decided it was time
      to just perform a bulk search and (mostly) replace. In some cases, I left
      old copyright years on files that either are not used (and soon to be removed)
      or obsolete and unlikely to ever be touched again (e.g. Win9x FOSSIL VXD). Some
      of the runtime binaries still contain copyright years and those were updated to
      2018.
      f869ad3d
  11. Nov 08, 2011
    • rswindell's avatar
      At Deuce's request, revert his change: · 62b2e592
      rswindell authored
      "Change the last argument of wordwrap() to a flags argument and support
      making a bare LF not be ignored."
      If soft line breaks (bare LFs) are stored in the message base, they're
      expected to wrapped for 80-column terminal only.
      62b2e592
  12. Nov 04, 2011
  13. Mar 12, 2010
  14. Feb 10, 2009
  15. May 15, 2003
  16. Apr 01, 2003
  17. Apr 26, 2002
  18. Nov 11, 2000
  19. Oct 10, 2000
  20. Sep 25, 2000
Loading