Skip to content
Snippets Groups Projects
  1. Jan 14, 2025
  2. Jan 10, 2025
  3. Jan 09, 2025
  4. Nov 17, 2024
  5. 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
  6. 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
  7. Oct 31, 2024
  8. Oct 30, 2024
  9. Oct 29, 2024
    • Rob Swindell's avatar
    • 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
  10. 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
  11. Dec 23, 2023
  12. Mar 29, 2022
  13. Apr 04, 2021
  14. 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
  15. Nov 06, 2020
    • Rob Swindell's avatar
      Replace ctype.h function calls with new MSVC-safe XPDEV macros · ec20d959
      Rob Swindell authored
      I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
      
      This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
      
      The new macros names are bit more descriptive as well.
      ec20d959
  16. Aug 16, 2020
  17. May 27, 2016
    • rswindell's avatar
      Update the temp ban (loginBanned): · e0e5279f
      rswindell authored
      - Never ban the server's own address
      - Log the login attempt and last name attempted
      - Use a compressed version of the HH:MM:SS "time remaining" portion of the log
        message
      e0e5279f
  18. Oct 25, 2011
  19. Oct 19, 2011
  20. Mar 20, 2009
  21. Aug 14, 2007
  22. Jul 11, 2007
  23. Apr 05, 2006
  24. Sep 08, 2004
  25. Aug 27, 2004
  26. Aug 30, 2003
  27. Aug 28, 2003
  28. Apr 18, 2003
  29. Nov 13, 2002
  30. Sep 04, 2002
  31. Apr 26, 2002
  32. Apr 12, 2002
  33. Mar 13, 2002
Loading