Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  1. 03 May, 2021 1 commit
  2. 27 Apr, 2021 2 commits
  3. 26 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Don't display batch flag with same color as description. · c169ed2b
      Rob Swindell authored
      Display the batch flag letter with the same color as the filename, but inverted intensity. The batch flag shouldn't stand-out (be bright) anyway, but the main reason is because I'm changing the default file description attribute to be lightgray instead of dark green.
      c169ed2b
  4. 25 Apr, 2021 2 commits
  5. 24 Apr, 2021 2 commits
    • Rob Swindell's avatar
      Resolve gcc warning · 02ca431e
      Rob Swindell authored
      02ca431e
    • Rob Swindell's avatar
      DIZ enhancements: Read/use SAUCE data, support ANSI, increase max 1->4K · 2a8e1c11
      Rob Swindell authored
      Inspired by Blocktronics (and other ANSI art group) packs' FILE_ID.DIZ/ANS files:
      * Support (and prioritize) FILE_ID.ANS
      * Convert ANSI color/attribute sequences in DIZ files to Ctrl-A equivalent (uses SAUCE width and ICE color, if specified)
      * Don't treat DIZ as a series of lines, they're not always nowadays.
      * New putmsg() mode: P_INDENT to print files indented by current column
      * Display full (up to 64-char) filenames in lists when using 132+ column terminal.
      * Use the Author, Group, and Title fields from the SAUCE if present/non-blank
      * 2 new text.dat strings: 301 (FiAuthor) and 302 (FiGroup)
      * Also fix bug with repeated Cost header field on bulk-uploaded files.
      
      I know this'll break the *nix build (sauce.c dependency), but I'll fix that next.
      2a8e1c11
  6. 23 Apr, 2021 1 commit
  7. 22 Apr, 2021 1 commit
  8. 17 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Restore the user-to-user file transfer feature · bc883458
      Rob Swindell authored
      I forget who it was that said they were still using this feature in v3.18, but here you go, it's working again (the /D and /U commands). I'm not migrating any file sender/recipient info from v3.18, so only files added after upgrading to this will be downloadable from the "user" directory (if you have one).
      
      Something that I never implemented before but noticed is missing is the removal (or dereferencing) of user-to-user files that were sent from/to a user that is then deleted. So that's still a TODO item.
      bc883458
  9. 04 Apr, 2021 1 commit
    • Rob Swindell's avatar
      A poll() failure with EINTR does not mean a socket is closed. · fcf58640
      Rob Swindell authored
      This won't impact Synchronet as it has a separate signal handling
      thread, but we still need to behave properly for processes that
      don't.  I'm also saying that ENOMEM does not indicate a disconnection,
      though it may be better to pretend it was disconnected...
      fcf58640
  10. 19 Sep, 2020 1 commit
  11. 06 Sep, 2020 1 commit
  12. 16 Aug, 2020 1 commit
  13. 11 May, 2020 1 commit
  14. 17 Jul, 2019 1 commit
  15. 03 Aug, 2018 1 commit
  16. 25 Jul, 2018 1 commit
  17. 23 Jul, 2018 1 commit
    • rswindell's avatar
      Fix bug introduced in rev 1.60: when searching for a file and a single file · 6ce7276c
      rswindell authored
      matches the search spec, the 'D' batch-flagging command would invoke the
      downloadfile() method which confusingly, doesn't actually download (send)
      the file, but instead performs all the post-download functions needed. So
      the user would just see "<filename> sent." and possibly lose some credits
      without actually receiving the file.
      6ce7276c
  18. 20 Feb, 2018 1 commit
  19. 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
  20. 18 Aug, 2015 2 commits
    • rswindell's avatar
      Fix cosmetic error introduced in previous commit: use the correct attribute · 892b9083
      rswindell authored
      code for the size/credit value.
      892b9083
    • rswindell's avatar
      When listing files in a file area (directory) configured as "FREE" (no cost to · fe36e759
      rswindell authored
      downlaod), and the "check for file existence" option is enabled, then get the
      file size as well and display that instead of the credit value. This fixes the
      problem with files whose size has changed after they were uploaded or added
      to the filebase. Directories which are not free still displayed with each
      file's credit value (since that may not have any correlation with the file
      size).
      Display file sizes and credit values in a shorter more easy to read format
      with suffixes for gigabytes (G), megabytes (M), kilobytes (K), and bytes (B).
      Using an uppercase 'K' now to be more consistent with modern conventions
      for abbreviating Kilobytes/Kibibyte (1024 bytes).
      fe36e759
  21. 28 Apr, 2015 2 commits
    • rswindell's avatar
      Bug-fix: From the text.dat Yes/No/Quit/Password entry (YNQP), the 'Q' character · aa709e2a
      rswindell authored
      was never used. This was intended to be a method for internationalization,
      letting the sysop change which key is used as the uiniversal "quit" key.
      This commit replaces most of the uses of the hard-coded 'Q' for quit wtih the
      3rd charcter in the text.dat YNQP string. Some hard-coded menus still have the
      'Q' key hard-coded and will need to be addressed later. The text.h YN index
      macro was changed to YNQP and the JS text index variable name will change
      as well.
      aa709e2a
    • deuce's avatar
      The file header box attribute configured in ctrl/attr.cfg was only used to · 7ceed618
      deuce authored
      draw the top line and first left vertical row in a file list box.  The rest
      of the box was drawn in whatever attribute text.dat left it in.
      7ceed618
  22. 19 Oct, 2011 1 commit
  23. 06 Mar, 2010 1 commit
  24. 20 Mar, 2009 3 commits
    • rswindell's avatar
      6b8a5be3
    • rswindell's avatar
      More local logon kruft removal. · 15442b2f
      rswindell authored
      15442b2f
    • 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
  25. 04 Jun, 2008 1 commit
  26. 14 Feb, 2008 1 commit
    • rswindell's avatar
      Re-use text.dat entry NoErrorLogExists for reporting DirectoryDoesNotExist and · 4d34cf63
      rswindell authored
      changed FileNotThere text.dat entry to FileDoesNotExist which displays the file
      path.
      Now check if the directory exists before checking the available disk space
      before allowing file uploads and report the correct error (using
      DirectoryDoesNotExist) if the directory is missing (a common mistake).
      Overhaul viewfilecontents() - wow, I can't wait to re-write all of this moldy
      filebase code!
      4d34cf63
  27. 11 Jul, 2007 1 commit
  28. 10 Jul, 2007 1 commit
    • deuce's avatar
      64-bit · ae30527c
      deuce authored
      ae30527c
  29. 19 Jan, 2007 1 commit
  30. 03 Aug, 2006 1 commit
  31. 16 Jun, 2006 1 commit
  32. 20 Sep, 2005 1 commit
  33. 14 Sep, 2005 1 commit
    • rswindell's avatar
      Bug-fix: when moving files using the 'R'emove/edit file prompt · d9041257
      rswindell authored
      (sbbs_t:::listfileinfo), long filenames would be shortened to micros~1
      shortened filenames (on Win32 only). This bug was fixed by simply
      using the same movefile() function called from the batch flagging
      prompt (sbbs_t::batchflagprompt) ,where this bug was already fixed in v3.13a.
      d9041257