- Feb 22, 2022
-
-
Rob Swindell authored
This field should not normally have a value of '1' (no way to configure that, normally, since days are numbered starting at 1 and bit 1 is 2), but if it does, it's treated the same as 0 (any day of the month) - so fix that mismatch in getnexteventtime(). Just noticed this while comparing the logic with the new is_time_to_run() functions in main.cpp. That logic wasn't (should not have) changed, so this mismatch in the treatment of mdays == 1 existed before.
-
- Nov 18, 2021
-
-
Rob Swindell authored
The internal line editor's quoting feature add some hard-coded strings ("Done" and "All") and the (L)ist key was hard-coded. Use the text.dat string (new and pre-existing) for these now. Also, use the new sbbs_t *_key() methods for referencing the configured key bindings (via text.dat) for these common key-stroke commands. Convert the text.dat strings for keys (e.g. YNQP) to uppercase always as well.
-
- Jun 07, 2021
-
-
Rob Swindell authored
Skip any prepended white-space in the passed name to find. Use better variable names (and length) for the character strings. Use matchusername() instead of strcmp(); matchusername() follows the liberal user-id/alias/name matching algorithm. Use strcasestr() instead of strstr(), so no copy/modification (upper-casing) of passed name is now required. When 'Q'uitting the search, set the SS_ABORT flag.
-
- Apr 04, 2021
-
-
Rob Swindell authored
This macro has expanded to nothing for a while now and even before, the usage was misguided and unnecessary as explained in this video: https://www.youtube.com/watch?v=cjotPqQxxAY
-
Rob Swindell authored
CID 319062
-
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...
-
- Dec 29, 2020
-
-
Rob Swindell authored
Don't search more than 1500 days in the future for a next-run date match. This handles erroneous or just bizarre timed event configurations such as February-29 (once ever leap year) or April-31 (never).
-
- Dec 28, 2020
-
-
Rob Swindell authored
Don't set to 0xff to begin with, in SCFG.
-
Deucе authored
-
- Dec 21, 2020
-
-
Rob Swindell authored
Jump the time forward (in 24-hour chunks) to find the next date/time the event will run rather than just adding 24-hours and assuming it's an event that runs every day (of the week or month) at a specific time. Also, expose the next-run-date/time for an event as a new `next_run` property for `xtrn_area.event[]` (in `time_t` format) for easier debugging of these kinds of issues. Also expose the error log level as a new property: `error_level` while we're here.
-
- Dec 09, 2020
-
-
Rob Swindell authored
Closes #83, #108, #141. Still to do: expose via JS (e.g. for use in msglist.js).
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
- Apr 27, 2020
-
-
rswindell authored
If either localtime_r() or mktime() return a error result, don't use use the non-sensical time. Nelgin has reported that under some conditions, he sees: Your time has been reduced due to an upcoming event on Wed Dec 31 1969 18:00:00 when using Ctrl-T (time info hot key). I don't have an explanation for this, but if either of those function calls failed in getnextevent(), something like this could happen. <shrug>
-
- Jun 10, 2018
-
-
rswindell authored
- finduser() method no longer prints "Unknown user" upon failure (the calling script can do this if/when it wants). - read_mail() method now accepts an optional 3rd argumnet (loadmail_mode) which may be used to load *only* un-read mail (for example), see LM_* in sbbsdefs.js Pass the lm_mode as a 4th argument to any readmail mod (if one is installed) - this correlates with the LM_* mode flag values (0 is normal/usual). File attachments can also be in a file/####.out directory (e.g. outbound Internet email attachments), so try deleting from there too when deleting mail with attachments.
-
- Oct 29, 2015
-
-
deuce authored
-
- Apr 28, 2015
-
-
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.
-
- Oct 19, 2011
-
-
rswindell authored
all exported functions and data types using a 32-bit time_t (time32_t).
-
- Mar 06, 2010
-
-
rswindell authored
inserting (long) typedefs to prevent warnings, but in the case of the JS File() class, actually supporting file lengths > 32-bit.
-
- Nov 09, 2009
-
-
rswindell authored
-
- Mar 20, 2009
-
-
rswindell authored
-
- Feb 16, 2009
-
-
rswindell authored
timed event will execute in (default is any/all).
-
- Aug 14, 2007
-
-
deuce authored
Remove time32str()
-
- Jul 25, 2007
-
-
rswindell authored
function. sbbs_t::gettimeleft() is now using the C-exported gettimeleft() and getnextevent() functions.
-
- Jul 11, 2007
-
-
deuce authored
-
- Apr 05, 2006
-
-
rswindell authored
time-stamps.
-
- Apr 05, 2004
-
-
rswindell authored
Don't LOG negative time-left in gettimeleft().
-
- Oct 24, 2003
-
-
rswindell authored
-
- May 18, 2003
-
-
rswindell authored
-
- Apr 18, 2003
- Apr 08, 2003
-
-
rswindell authored
-
- Nov 13, 2002
-
-
rswindell authored
variants (gmtime_r, localtime_r, and ctime_r) for thread-safe operation on Unix
-
- Mar 13, 2002
-
-
rswindell authored
GMT/UTC.
-
- Nov 27, 2001
-
-
rswindell authored
-
- Jun 27, 2001
-
-
rswindell authored
-
- Jun 14, 2001
-
-
rswindell authored
-
- Apr 19, 2001
-
-
rswindell authored
-
- Apr 12, 2001
-
-
rswindell authored
-
- Apr 10, 2001
-
-
rswindell authored
(no longer members of the C++ class sbbs_t).
-
- Dec 11, 2000
-
-
rswindell authored
Each function that requires a temp string variable, now has its own "tmp" local variable.
-