1. 09 Feb, 2022 1 commit
  2. 12 Jun, 2021 1 commit
  3. 10 Jun, 2021 1 commit
    • Rob Swindell's avatar
      Standardize on "metadata" as the description of a file's "tail" dfield · 3549be9f
      Rob Swindell authored
      It's anticipated that this will be used for JS-populated file metadata in JSON format in the future (and not just "archive contents" in .ini format).
      
      Also, fix the double-free issue that was occurring when moving files with extended file descriptions (sbbs_t::movefile()). This was actually the primary problem I was fixing here, but noticed the metadata issue: metadata would not have been moved along with the other file info between bases.
      3549be9f
  4. 07 Jun, 2021 1 commit
  5. 06 Jun, 2021 2 commits
    • Rob Swindell's avatar
      Give sysop more control over characters allowed in uploaded filenames · 755452d7
      Rob Swindell authored
      5 options:
      - Safest Subset
      - Most ASCII, Excluding Spaces (the default)
      - Most ASCII, Including Spaces
      - Most CP437, Excluding Spaces
      - Most CP437, Including Spaces
      755452d7
    • Rob Swindell's avatar
      More uniform safe/illegal/allowed filename (for upload) determination · 06fff14d
      Rob Swindell authored
      sbbs_t::checkfname() now checks the file.can too.
      new filedat.c functions:
      - safest_filename() - not currently used
      - illegal_filename() - returns true for a highly-suspicious (e.g. hack attempt) filename
      - allowed_filename() - returns true if the filename is good for upload (assumed to be already checked to be legal as well).
      
      Importantly, filenames beginning or ending in a '.' are now unallowed:
      - 'dot files' are hidden (by default) on *nix
      - files ending in a '.' are problematic on Windows
      06fff14d
  6. 22 May, 2021 1 commit
  7. 21 May, 2021 1 commit
  8. 17 May, 2021 1 commit
  9. 16 May, 2021 1 commit
  10. 15 May, 2021 1 commit
  11. 14 May, 2021 4 commits
  12. 27 Apr, 2021 1 commit
    • Rob Swindell's avatar
      Fix error when moving files · 73517eee
      Rob Swindell authored
      e.g. file.cpp line 239 (removefile) removing "filename.zip" access=-203 info=smb_freemsgdat reading allocation record at offset 1108
      
      Also, if there is an error removing the original file from the filebase, don't proceed to move the actual file (and log a successful move).
      73517eee
  13. 26 Apr, 2021 1 commit
  14. 25 Apr, 2021 1 commit
  15. 24 Apr, 2021 1 commit
    • 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
  16. 22 Apr, 2021 1 commit
  17. 17 Apr, 2021 1 commit
  18. 04 Apr, 2021 2 commits
  19. 18 Feb, 2021 1 commit
  20. 16 Aug, 2020 1 commit
  21. 12 Aug, 2019 1 commit
  22. 23 Jul, 2018 1 commit
  23. 20 Feb, 2018 1 commit
  24. 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
  25. 09 Jun, 2017 1 commit
  26. 03 Jun, 2017 1 commit
  27. 13 May, 2015 1 commit
  28. 09 Oct, 2011 1 commit
  29. 21 Sep, 2011 1 commit
  30. 06 Mar, 2010 1 commit
  31. 20 Mar, 2009 1 commit
  32. 04 Jun, 2008 1 commit
  33. 27 Jan, 2008 1 commit
  34. 14 Aug, 2007 1 commit
  35. 11 Jul, 2007 1 commit