Skip to content
Snippets Groups Projects
  1. Aug 03, 2018
  2. Aug 01, 2018
  3. Jul 31, 2018
  4. Jul 30, 2018
  5. Jul 29, 2018
  6. Jul 28, 2018
    • rswindell's avatar
      When attempting to create message base during config-save, make sure the · 94e24d02
      rswindell authored
      full path to the data dir is created first (note: md() calls mkpath()).
      write_msgs_cfg() will now return FALSE if any message bases couldn't be
      created, but nobody is checking the return value currently.
      94e24d02
    • rswindell's avatar
      Fix bug introduced in rev 1.41: · ef6afc0c
      rswindell authored
      If there were any sub-boards in the group of a newly created sub-board,
      the newly created sub-board would not have the "HDRMOD" misc flag set, so
      its data files would not be created when saving changes/exiting SCFG.
      ef6afc0c
    • rswindell's avatar
      NEWGROUPS command, again: · 0d830c6c
      rswindell authored
      only list a newsgroup (sub-board) if all of these conditions are true:
      1. It has a .ini file that can be opened
      2. It has a "Created" value and it's later than (or equal to) the requested
         date/time
      3. The message base can be opened
      0d830c6c
    • rswindell's avatar
      Simplify the NEWGROUPS response (msg area list) filtering: · ce5d4e72
      rswindell authored
      - Removed the file "ctime" check as it's not accurate - oh well
      - Removed the index record check - not a good idea (msg purging and all)
      - If the "Created" key in the msgbase.ini file doesn't exist, it's
        obviously not a new msg area! :-)
      ce5d4e72
    • rswindell's avatar
      Experimental fix for NEWGROUPS command: · 9629bf85
      rswindell authored
      - compares date with the "Created" key in the subs .ini file (if it has one)
      - compare date against the oldest message index record, if there is one
      9629bf85
  7. Jul 27, 2018
    • rswindell's avatar
      Fixed a couple of issues with the last commit. · af0e4f99
      rswindell authored
      Make similar enhancements to the bbs.put_node_message() method:
      - if you message text is given, it is prompted for
      - if no node number is given, it is prompted for
      - if a node number value of -1 is specified, send message to all nodes
      - logs the activity
      af0e4f99
    • rswindell's avatar
      bbs.put_telegram() enhancements (mostly copy/pasted from chat.cpp): · e628b3cc
      rswindell authored
      - now creates a log entry that the user sent a telegram to somebody
      - if a destination user number is not specified, one is prompted for
      - the destination user number is compared against the current user's
        restrictions (e.g. F-restricted users can't telegram the sysop)
      - if a telegram message text is not specified, one is prompted for
      
      unrelated fix to bbs.list_msgs(): if a 'find' argument was passed, too many
      increments of argn in call to macro: JSVALUE_TO_MSTRING
      e628b3cc
    • rswindell's avatar
      Fix copy/paste errors in previous commit. · 0a9e0375
      rswindell authored
      0a9e0375
    • rswindell's avatar
      New JS 'bbs' properties: · cb2a8f01
      rswindell authored
      node_status - reflects the current node's 'status' value (see nodedefs.js)
      node_errors - current node's error counter
      node_useron - current node's logged-in user number (if applicable, else 0)
      node_connection - current node's connection rate or protocol
      node_misc - see nodedefs.js
      node_aux - see nodedefs.js
      node_extaux - see nodedefs.js
      
      This are read-only wrappers around the sbbs_t::thisnode property and have
      the same fundamental meaning as the properties of the same names in the
      system.node_list[] array.
      
      bbs.node_action is a little different as it is the authorative action value
      that should be sync'd with the node database (node.dab) and not necessarily
      the current value in the node database - it's also writeable.
      cb2a8f01
    • rswindell's avatar
      Fix bug reported by Al @ TRMB: · 53cf15a7
      rswindell authored
      From FTS-5006:
      "The CRC an eight digit hex number, preferably written in upper case"
      
      However hatchit was writing the CRC value in decimal notation.
      53cf15a7
    • rswindell's avatar
    • rswindell's avatar
      Created 2 new bbs methods: select_node() and select_user(). · 7f97bb09
      rswindell authored
      These are wrappers for the C++ function: sbbs::getnodetopage() and will
      be used by the privatemsg.js (Ctrl-P handler) and possibly other node/user
      interaction stuff in the future.
      7f97bb09
Loading