Skip to content
Snippets Groups Projects
  1. Feb 21, 2022
    • Rob Swindell's avatar
      Change the semantics of the "Allow Sysop Logins" setting in SCFG->System · 5a743878
      Rob Swindell authored
      As Andre pointed out while documenting this setting on the wiki, the option seemed confusing: if a sysop could not login with "system operator access", how could they login at all? Answer: they could not.
      
      This setting used to be called "Allow Remote Sysop Logins", back when there was the concept of a "local login", so setting this option to "No" would mean that user accounts with sysop access could only be used for *local* login. But in Synchronet v3, there's really no such concept as a "local login", so it was changed to just "Allow Sysop Logins" (period) and not a lot of thought given to how/why a sysop would actually set to this "No" or what the implications would be (presumably, nobody ever sets this to "No").
      
      So rather than just get rid if the option altogether, I changed it to mean: an account with sysop access (i.e. level 90+) can still login, but any action that normally requires the system password will not be allowed. This includes the sysop-actions available in the FTP server when authenticating with <user-pass>:<system-pass> as the password. The sysop-user can still authenticate (and login), but none of those sysop-actions will be available to them.
      5a743878
    • Rob Swindell's avatar
      pthread_mutex_t is a CRITICAL_SECTION (not a pointer) on Win32 · a31c9071
      Rob Swindell authored
      Partially revert Deuce's commit ea5b359b
      
      This explains the EAccessViolation (stack corruption during sbbs startup) that sysops have reported when using the latest nightly builds.
      a31c9071
  2. Feb 20, 2022
    • Deucе's avatar
      Add DISABLE_MKSTEMP_DEFINE support · 1fadf55a
      Deucе authored
      This macro as written won't compile on mingw32 due to the attributes
      on _mktemp().  This could be worked around, but it's easier to just
      disable it since I don't need it, and nobody else is building with
      mingw32.
      1fadf55a
    • Deucе's avatar
      Fix socket_ioctl_ptr_t · c60e26d5
      Deucе authored
      On Win32 it can't be defined until after winsock*.h is #included.
      On everything else, it needs to be a pointer.
      c60e26d5
    • Deucе's avatar
      Add socket_ioctl_ptr_t · 41b8c1fc
      Deucе authored
      For Win32, this is actually the pointer type an ioctl() third
      argument needs to be.  For other OSs, this is basically what an
      FIONBIO third argument needs to be... there's really no restruction
      at all on what arguments after the second to ioctl() need to be.
      41b8c1fc
  3. Feb 19, 2022
  4. Feb 17, 2022
    • Rob Swindell's avatar
      Strip carriage returns from extended descriptions · 3da0fe24
      Rob Swindell authored
      On Windows, CRs in extended descriptions could result in output of
      \r\r\n which could be displayed as 2 newlines (e.g. in notepad.exe).
      Since the \n -> \r\n expansion already happens on Windows stdout,
      we don't want them in the processed input (file metadata).
      
      As reported by DesotoFireflite (VALHALLA), thank you!
      3da0fe24
    • Rob Swindell's avatar
      Don't include both normal and extended file descriptions by default · 16d0c5c4
      Rob Swindell authored
      As pointed out by DesotoFireflite (VALHALLA), both the file's
      short/normal description and the extended description were being
      included in all file listings. This is probably want most sysops
      will want since the extended description is often used as the content
      of the short/normal description, resulting in repeated content. So,
      by default, if there is an extended file description, don't output
      the short/normal file description.
      
      If you want to include *both* the short and extended descriptions
      (for files that have both), include both the -ext and -desc command
      line options.
      16d0c5c4
  5. Feb 16, 2022
  6. Feb 15, 2022
  7. Feb 14, 2022
  8. Feb 13, 2022
  9. Feb 12, 2022
Loading