1. 26 Sep, 2020 1 commit
    • Rob Swindell's avatar
      SYSOP ARS keyword now applies to target user, not necessarily the user online · 93f34cf6
      Rob Swindell authored
      Altere reported that listing users with access to a sub-board with an Access
      Requirement String (ARS) set to "SYSOP" would list all users as having access.
      The problem was the use of the "SYSOP" macro which checks the *current* user
      online (not the subject of the ARS check). Fixed by not using the SYSOP macro.
      93f34cf6
  2. 16 Aug, 2020 1 commit
  3. 19 Mar, 2020 1 commit
  4. 23 Jul, 2019 1 commit
  5. 07 Jul, 2019 1 commit
  6. 22 Oct, 2018 1 commit
    • rswindell's avatar
      The big PETSCII commit: · 31303187
      rswindell authored
      So Omegix recently asked in the Synchronet Discussion group whether or not
      a PETSCII (Commodore) terminal could be used to access his Synchronet BBS.
      Now, the answer is "Yes". :-)
      The major issues addressed:
      
      - detecting a PETSCII terminal, solved by assigning specific (configurable):
        TCP ports to be used for incoming PETSCII connections, by default:
        port 64 is for 40-column PETSCII and port 128 is for 80-column PETSCII,
        but if the terminal sends a Telnet Window Size reply (e.g. SyncTERM), then
        either size terminal should fine on either port.
        The port numbers are configurable in the [BBS] section of your sbbs.ini
        file using the new keys: PET40Port (default value: 64) and PET80Port
        (default value: 128). Having these keys set doesn't make make the terminal
        server listen on that additional port - you'll need to add more
        IP:port combinations to one of Interfaces values, example:
          TelnetInterface=71.95.196.34,71.95.196.34:64,71.95.196.34:128
        And you don't have to use Telnet for the PETSCII connections - you could use
        RLogin or SSH instead (or in addition).
      
      - support for terminal widths < 80 columns:
        This was achieved through a combination of text.dat changes (numerous),
        new Ctrl-A and @-codes and new optional terminal-width-specific menu files
        (e.g. text/menu/main.40col.asc)
        A side effect of these changes is actually better support for terminals
        *wider* than 80 columns as well!
      
      - support for terminals that don't expand tabs to spaces (e.g. PETSCII):
        The terminal server now handles tab expansion with a run-time settable
        tab-size (default size: 8)
      
      - conditional access based on PETSCII (or small) terminal use (or not):
        + New PETSCII ARS keyword (boolean)
        + New COLS and ROWS ARS keywords (for terminal width and height requirements)
        + New TERM (string) ARS keyword
      
      New @-codes:
        - WORDWRAP, when placed at the top of a file, enables auto-wordwrap for
                    lines longer than the terminal width
        - CENTER, the text following before an end of line will be displayed centered
                  on the terminal (whatever the width, in columns)
        - CLEAR, like CLS, except it ignores (doesn't display) a CRLF that follows
        - COLS, current number of terminal columns (width)
        - ROWS, current number of terminal rows (height)
        - TERM, the auto-detected or reported terminal type (e.g. ANSI, TTY, etc.)
        - SYSONLY, toggles "echo" (display) off/back-on for non-sysops
                  similar to the Ctrl-A( and ) codes, but more convenient to use
                  (and PabloDraw won't strip the @-code from the file like it does
                   with Ctrl-A codes it doesn't support)
      
      New Ctrl-A codes:
        - \ conditional new-line/continuation when the terminal width is < 80 cols
            prints the new text.dat string LongLineContinuationPrefix
      
      yesno() will now return true if passed a blank string.
      noyes() will now return false if passed a blank string.
      getstr()'s input length limiting based on terminal width is more broadly
                 applied now (not just when using the K_LINE mode flag).
      
      New JS bbs object method: menu_exists(<base_filename>) returns Boolean
      New JS console object property: tabstop (Number)
      New JS console object methods: getbyte() and putbyte() to recv/send raw byte
          value with (very little) interpretation/intervention by the terminal server
      New JS console object method: creturn() - performs a carriage return
          (or equivalent)
      New JS (and C) printfile() mode flag: P_TRUNCATE, causes long lines to be
          truncated, rather than displaying causing a line-wrap.
      
      New text.dat strings:
        - NoAccessTerminal (for ARS check failures)
        - LongLineContinuationPrefix (for breaking long lines for 40col terminals)
        - Scanning (replaces a previously hard-coded "Scanning" string)
        - Done (replaces a previusly hard-coded "Done")
        - Scanned  (when finished scannning, clears the progress bar)
      31303187
  7. 24 Aug, 2018 1 commit
    • rswindell's avatar
      The "DOS" ARS keyword has just been a "false" trigger since v3 (1999) but · b03b6511
      rswindell authored
      I have a new use for it in the v3 Terminal Server, it now follows the
      "NO_DOS" option in the [bbs] section of the sbbs.ini file. So if you have
      multiple Win32 instances of sbbs (like I do), but only some of them
      support DOS programs, you can now use this ARS keyword to enable/disable
      access to a program based on the existance of DOS support. For example,
      I have some 16-bit DOS message editors where I had the ARS set to
      "WIN32", but on my 64-bit Windows instance of sbbs (vert.synchro.net),
      16-bit DOS programs aren't supported while on my 32-bit Windows instance
      (bbs.synchro.net) they are. So I needed a good run-time check for whether
      DOS programs were supported or not and this old ARS keyword seemed the
      right fit. For Linux builds, this keyword will only evaluate to true if
      built with the USE_DOSEMU option.
      This is only true of the Terminal Server - use of "DOS" ARS keyword in
      other servers and services will still just evaluate to "false".
      b03b6511
  8. 12 Jan, 2018 1 commit
    • rswindell's avatar
      New @-codes (for currently viewed file): · 464f80c5
      rswindell authored
      - FILE_AREA
      - FILE_AREA_DESC
      - FILE_LIB
      - FILE_LIB_DESC
      - FILE_LIB_NUM
      - FILE_DIR
      - FILE_DIR_DESC
      - FILE_DIR_CODE
      - FILE_DIR_NUM
      - FILE_NAME
      - FILE_DESC
      - FILE_UPLOADER
      - FILE_SIZE
      - FILE_CREDITS
      - FILE_TIME
      - FILE_TIME_ULED
      - FILE_TIME_DLED
      - FILE_DATE
      - FILE_DATE_ULED
      - FILE_DAT_DLED
      - FILE_TIMES_DLED
      Fixed MSG_ATTR @-code (missing SPAM attribute)
      New text.dat line: FileHdrDescSeparator, displayed between file detail display
      (name, date, uploader, etc.) and extended description, if there is one. This
      is used to execute showfileavatar.js.
      New JS 'bbs' object properties:
      - file_name
      - file_description
      - file_dir_number
      - file_attr
      - file_date
      - file_credits
      - file_uploader
      - file_update_date
      - file_download_date
      - file_download_count
      Inspiried by Lon Seidman's now infamous (but likely common) Synchronet sysop
      blunder (removing a file rather than downloading it while demonstrating his BBS
      on his youtube channel:
      - New text.dat line: RemoveFileQ <- using this rather than the vague:
        AreYouSureQ, when prompting to remove a file
      - The sysop command to remove files from the batch file flagging prompt has
        been changed from 'D' (delete) to 'R' (remove).
      - The 'D' command from the batch file flagging prompt may now be used for
        immediate Download of any flagged file(s).
      - When flagging files with '*', treat the same as '*.*'
      464f80c5
  9. 12 Oct, 2017 1 commit
  10. 20 Aug, 2015 1 commit
    • deuce's avatar
      Update to 3.17a · dbbfabf1
      deuce authored
      New Features:
      - Multiple bindings for each service
        Use comma-separated interfaces on Interface= lines in the ini file.
        Default is now "0.0.0.0,::"
      - IPv6 support
      - TLS support for the webserver and (non-static) services
        New TLS option in services.ini (ie: Options=TLS)
      - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars,
        and rename the MAIL_CMD string to IPADDR.  I think this frees up the
        note field for SysOp use.
      dbbfabf1
  11. 02 May, 2015 1 commit
    • rswindell's avatar
      Fixed 12-year old bug (introduced in rev 1.10): · b61414de
      rswindell authored
      getusrsub() returned the completely wrong sub-board number. It assumed that
      getusrgrp() returned a 0-based index when in fact it returns a 1-based group
      number. This bug was only visible when using certain @-codes (e.g. "SN",
      "SL", "SR", and "SMB_SUB_NUM") when a sub-board was open via Synchronet
      internal function (i.e. not via JS MsgBase class). If the current group was the
      last group visible to the user, this would cause a crash.
      b61414de
  12. 26 Oct, 2011 1 commit
  13. 16 Oct, 2011 1 commit
  14. 20 Mar, 2009 2 commits
    • rswindell's avatar
      6b8a5be3
    • rswindell's avatar
      ARS improvements: · 1cdf2c10
      rswindell authored
      Added HOST and IP keywords to allow restricted access/privileges to/for
      specific remote hostnames or IP addresses (wildcards allowed).
      All string-argument type ARS keywords (e.g. SHELL, PROT, etc.) now support .can
      style wildcards.
      The current remote client is now used for protocol, host, and IP ARS checking,
      when available, so this requires passing the client pointer around (which
      explains why so many files are touched by this change) and takes care of a
      long standing to-do item (the user's 'modem' value was used for the PROT
      value checking, which was not always correct).
      1cdf2c10
  15. 04 Jun, 2008 1 commit
  16. 30 Sep, 2007 1 commit
  17. 23 Sep, 2007 1 commit
    • rswindell's avatar
      Added new ARS keywords: · 2ad46e3a
      rswindell authored
      * ULS - uploaded files
      * ULB - uploaded bytes
      * DLS - downloaded files
      * DLB - downloaded bytes
      
      ... so now Phil can have a "true" 1:4 upload/download file ratio requirement by
      using an ARS of "DLS NOT 4 OR UDFR 25"
      2ad46e3a
  18. 29 Dec, 2006 1 commit
  19. 20 Sep, 2005 1 commit
  20. 05 Sep, 2005 1 commit
  21. 01 Dec, 2004 1 commit
  22. 17 Oct, 2004 1 commit
  23. 13 Nov, 2002 1 commit
  24. 25 Jul, 2002 1 commit
  25. 21 Mar, 2002 1 commit
  26. 13 Mar, 2002 1 commit
  27. 27 Dec, 2001 1 commit
  28. 26 Oct, 2001 1 commit
  29. 05 Jun, 2001 1 commit
  30. 16 Nov, 2000 1 commit
  31. 08 Nov, 2000 1 commit
  32. 24 Oct, 2000 1 commit
  33. 10 Oct, 2000 1 commit