- Aug 07, 2018
-
-
rswindell authored
user data is thusly cached - set the 'cached' property member to TRUE. This prevents an unnecessary re-read of the user file and the leaving the user file (user.dat) open, at least for JS contexts that contain a "user" object. I don't think this explains the "too many open files" errors, but it explains at least *some* number of the user.dat open file descriptors.
-
- Aug 03, 2018
-
-
rswindell authored
to .msg file doesn't mean you should delete the file attachment! The .msg file will still be pointing to that file and it needs to be there. SBBSecho was silently failing to delete file attachments on my system, so I didn't see this problem. Oops. Anyway, this explains Al's problem with netmail attachments.
-
rswindell authored
server log output/window. Also added comment about an observed exception upon shutdown with regards to the node_threads_running counter (protected int) being accessed after destruction.
-
rswindell authored
removed.
-
rswindell authored
-
rswindell authored
sbbs::lputs() will log the current user alias already, logline()->lputs() would create log messages with the user alias twice.
-
rswindell authored
attempted.
-
rswindell authored
-
- Aug 01, 2018
-
-
rswindell authored
with email_sec.js: line 65: TypeError: addr_list.indexOf is not a function
-
echicken authored
If yy <= current 2-digit year, yy is assumed to be from this century, else it is assumed to refer to the previous century.
-
echicken authored
In the case of a two-digit year, run it through parseInt with radix 10. On the off chance we look at a message area created from 2000-2009 this will help, I guess. Go back to putting month and day through parseInt, but specify radix 10. In some *cough* older JS interpreters, parseInt likes to treat any string beginning with 0 as octal. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt#Octal_interpretations_with_no_radix
-
echicken authored
Don't run month/day through parseInt. On my system, parseInt('08') yields 0 while parseInt('8') yields 8. Days/months < 10 end up being -1, which apparently doesn't bother the Date constructor.
-
- Jul 31, 2018
-
-
rswindell authored
-
- Jul 30, 2018
- Jul 29, 2018
-
-
echicken authored
-
rswindell authored
getsmsg() is now based on the current console column (!=0), not the current node action.
-
rswindell authored
-
rswindell authored
hot key (Ctrl-P) handler. Currently, it behaves nearly identically to the hard-coded C++ function, but my plans are to intergrate the inter-BBS instant messaging functionality in here to make it easier to send and reply to instant messages. Install this module in SCFG->External Programs->Global Hot Key Events: Global Hot Key Ctrl-P Command Line ?privatemsg.js
-
rswindell authored
console.getstr() so they can be recalled with the up/down arrow keys.
-
rswindell authored
-
rswindell authored
additional, optional, "history" argument - an array of strings that can be recalled/scrolled using the up/down arrow keys. Currently, I just plan to use this for netmail destination address recall, but it could be used other places easily enough.
-
rswindell authored
If the "GMT" zone is not specified by the client, presume the date/time comparison values are in the server's local timezone. If the client and server are not in the same timezone, this could lead to confusing behavior.
-
rswindell authored
from a counter, which allowed 2 depths of nesting (any 2 hot key handlers) to a bit-mask which disallows *any* hot key handler to be re-entrant, but you can enter any of the *other* hot key handlers from any *other* hot key handler. Previously, for example, you could hit Ctrl-P to enter the private message prompt and then Ctrl-P again to re-enter the private message prompt (recusively) - confusingly, requiring 2 'Q'uits to get back to whatever you were doing before you hit the first Ctrl-P. Been like this forever. Now, while in the Ctrl-P (private message) handler, hitting Ctrl-P again does nothing. But you can hit Ctrl-T, or Ctrl-K or any other global hot key and it'll work but those in turn will also disallow recursion of their own handlers.
-
rswindell authored
the data dir here, we're using it to delete the data files! This explains why sub data wasn't getting deleted when deleting a message group and answering "Yes" to the "Delete All Data in Group" dialog. Eliminated the "clearing ptrs" thing - not needed any more since the move from ptrs/*.ixb to user/*.subs files.
-
rswindell authored
-
rswindell authored
-
rswindell authored
- If an FTN Echo Tag is more than 25 chars, copy it to the newly created sub's "newsgroup" name (when exporting areas to echolists, use the newsgroup name for the FTN Area/Echo Tag field, if it's not blank) - Copied the duplicate internal code logic from the importing file areas code - it works a lot better With these changes I was able to successfully import 10247 areas from the usenet group listing he sent me (with 10258 areas listed). The areas that were over-written during import were due to the first 63 characters of the newsgroup names being duplicated - sorry, that's the best I can do.
-
rswindell authored
-
rswindell authored
accommodate configurations of more than 10,000 things (e.g. sub-boards) in a single menu (e.g. message group). This brings this value over the 16-bit thresholds (0x7ffff and 0xffff) where problems could happen if short's/int16's are used to capture the return value of uifc.list(), but that's unlikely happening anywhere. Still a good idea to make sure if you're using this library/headers.
-
rswindell authored
name specified, use that instead of the short name as the "Echo Tag" (Area Tag) value.
-
rswindell authored
-
rswindell authored
-
rswindell authored
-
- Jul 28, 2018
-
-
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.
-
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.
-
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
-
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! :-)
-
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
-
- Jul 27, 2018
-
-
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
-