Bryan Ashby
9d1815682d
* ServerModule's createServer() is now async
...
* Re-write of NNTP Message-ID <> internal message UUIDs
2018-12-27 02:19:26 -07:00
Bryan Ashby
ee93035bb8
* Disconnect clients that attempt to login with banned usernames for Telnet as well
...
* Slow disconnects to thwart brute force attacks - these names won't exist anyway,
but we want the attacking client to not DoS us
2018-12-25 00:18:04 -07:00
Bryan Ashby
06a1925288
Check bad usernames @ login
2018-12-24 15:32:38 -07:00
Bryan Ashby
73e8b0454e
Wrap ctx.reject() and catch throws
2018-12-24 15:14:37 -07:00
Bryan Ashby
c6e176f5bd
Add oputil fb desc
2018-12-21 14:39:57 -07:00
Bryan Ashby
f4088303ca
cleanControlCodes -> stripAnsiControlCodes
2018-12-17 22:08:59 -07:00
Bryan Ashby
eeaeef9a8c
Yet another FILES.BBS type
2018-12-17 21:39:25 -07:00
Bryan Ashby
1f5ec39778
Strip pipe codes!
2018-12-17 21:39:10 -07:00
Bryan Ashby
03662dc056
Fix major durp in code with CNET codes
2018-12-17 21:38:09 -07:00
Bryan Ashby
098e3c2fba
More FILES.BBS support
2018-12-17 17:23:02 -07:00
Bryan Ashby
84ca97e936
FILES.BBS handling improvements - WIP
2018-12-17 15:56:09 -07:00
Bryan Ashby
996fcb389e
Minor help update
2018-12-17 12:10:55 -07:00
Bryan Ashby
832e04cdf0
+ Initial FILES.BBS support during file scan: A few formats supported so far, more to come...
...
* Detect DESCRIPT.ION, FILES.BBS, etc. during scans
2018-12-17 12:08:06 -07:00
Bryan Ashby
8356f00ba6
Fix bug when user has been nuked
2018-12-17 11:56:07 -07:00
Bryan Ashby
b1eea4f4b7
Some logging updates
2018-12-17 11:20:14 -07:00
Bryan Ashby
12a1809a88
lol fail
2018-12-16 00:40:14 -07:00
Bryan Ashby
422a925daa
+ oputil.js user info
...
* Fix up some help messaging
* Don't allow del of +op
2018-12-16 00:26:28 -07:00
Bryan Ashby
6d45d74a47
Little better NNTP config
2018-12-15 23:52:59 -07:00
Bryan Ashby
3eaf4dd0d8
+ oputil.js user rm USERNAME
...
* Fix some of my horrid spelling...
2018-12-15 23:42:19 -07:00
Bryan Ashby
cf6e3d3ba8
Better logging
2018-12-15 02:40:36 -07:00
Bryan Ashby
b89096fd99
publicPort typo
2018-12-15 02:39:57 -07:00
Bryan Ashby
4b2771012b
Show desc if set
2018-12-15 02:06:15 -07:00
Bryan Ashby
dba2fc18f6
Strip MCI/Pipe codes
2018-12-15 01:55:38 -07:00
Bryan Ashby
a3ba57b0b8
Fix schedule issue
2018-12-14 23:21:33 -07:00
Bryan Ashby
b903b2ee82
Better logging
2018-12-14 23:08:53 -07:00
Bryan Ashby
874aee5baa
Change listen addr
2018-12-14 23:03:10 -07:00
Bryan Ashby
772022f0d0
+ NNTP Content Server
...
* Read-only to public conf/areas only for now
* Missing some protocol support
* Could use better encoding practices and ANSI prep
2018-12-14 22:21:57 -07:00
Bryan Ashby
cde329b439
Spelling
2018-12-10 21:54:59 -07:00
Bryan Ashby
a036f6c6bf
Minor code tidy
2018-12-09 02:35:34 -07:00
Bryan Ashby
a70d865d74
Code tidy
2018-12-09 02:33:48 -07:00
Bryan Ashby
844286ea1c
Use constants
2018-12-09 02:32:41 -07:00
Bryan Ashby
704c242aa4
Fix bug in newScanMessageArea()
2018-12-09 02:32:20 -07:00
Bryan Ashby
167916e8dd
Fix bug in findByFullPath()
2018-12-09 02:20:50 -07:00
Bryan Ashby
8652b35b46
Code cleanup & resolve some minor TODO's in dropfile gen
2018-12-09 01:01:55 -07:00
Bryan Ashby
a8604ece54
Ensure 'userName' has _something_ if sanatized all the way out
2018-12-09 00:17:03 -07:00
Bryan Ashby
2474e82829
Change default dropfile path to just ./enigma-bbs/drop/ so we can have a shorter name for Win16 binaries
2018-12-08 23:41:42 -07:00
Bryan Ashby
ecb0cd8941
Minor door updates
2018-12-08 00:43:20 -07:00
Bryan Ashby
60369ea378
* Note on FILEBONE.NA support
...
* Notes on importing in file area docs
2018-12-04 20:42:56 -07:00
Bryan Ashby
9c835af000
Initial support for FILEGATE.ZXX / RAID style import of file areas
2018-12-03 23:51:43 -07:00
Bryan Ashby
0c23339a2d
Code cleanup: Use EnigError's vs standard Error. WIP...
2018-12-02 19:33:07 -07:00
Bryan Ashby
5dea13e652
+ validateConfigFields() for 'config' block validation
2018-12-02 19:30:50 -07:00
Bryan Ashby
36d55a409e
Add send node msg event
2018-12-01 17:00:07 -07:00
Bryan Ashby
eec06e7004
Fix oops!
2018-12-01 16:59:47 -07:00
Bryan Ashby
fe44f2c4d6
User interrupts & node module ready to rock. ...maybe with bugs?
2018-11-30 23:20:44 -07:00
Bryan Ashby
d9238ee6a5
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-29 21:17:31 -07:00
Bryan Ashby
6d2c095976
Fix cb
2018-11-27 22:01:14 -07:00
Bryan Ashby
098c24e48a
Fix D/L stats
2018-11-27 21:29:35 -07:00
Bryan Ashby
6cce013187
+ MCI: PT - total messages posted today (non-private)
...
+ MCI: TP - total messages/posts on system (non-private, includes imports, only counts *current*, not all of time)
* Move some stats to startup() calls
* Fix some DATE() comparisons in SQL to use 'localtime' as our timestamps include TZ
* Update luciano_blocktronics SYSSTAT to show more info
2018-11-27 21:21:00 -07:00
Bryan Ashby
fb13381bb5
Default back to 'forever' for login history. It's small data...
2018-11-27 19:45:36 -07:00
Bryan Ashby
4b5f26b31b
Record offeset again... dur
2018-11-25 20:31:25 -07:00
Bryan Ashby
e606ec6f63
Fix ISO timestamps hopefully
2018-11-25 20:29:36 -07:00
Bryan Ashby
f471fd0ebe
Finally implement "Total Calls Today" MCI: TT
...
+ Add findSystemLogEntries() to StatLog amongst others
2018-11-25 20:13:48 -07:00
Bryan Ashby
ec97b3e8d4
More user/system stat constants & usage
2018-11-25 19:05:16 -07:00
Bryan Ashby
596026d1ce
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-25 10:42:12 -07:00
Bryan Ashby
e464f95924
UT MCI now displays theme name, UD displays ID
2018-11-25 10:35:05 -07:00
Mike Ralphson
546fbbd533
oputil_help; correct references to optutil
2018-11-25 13:59:12 +00:00
Bryan Ashby
c0de3d7048
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-24 20:26:19 -07:00
Bryan Ashby
2c4fdfdd5f
* Moved oputil.js config import-areas to 'oputil.js mb import-areas'
...
* 'oputil.js mb import-areas' now *optionally* binds areas to FTN networks. Otherwise only areas are imported
2018-11-24 20:02:19 -07:00
Bryan Ashby
1dafa2854b
Fix initial load introduced last nigth :(
2018-11-24 09:39:53 -07:00
Bryan Ashby
2fb3ce83a3
Spelling...
2018-11-24 09:33:20 -07:00
Bryan Ashby
36e9356663
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-23 22:19:18 -07:00
Bryan Ashby
f80e07fcf9
...and more UserProps
2018-11-23 22:18:15 -07:00
Bryan Ashby
d11aca571e
Yet more UserProps usage
2018-11-23 22:02:36 -07:00
Bryan Ashby
4050affedf
More conversion to UserProps
2018-11-23 17:41:16 -07:00
Bryan Ashby
b82c640014
Work on using UserProps, fix up ISO timestamps, etc.
2018-11-23 14:47:18 -07:00
Bryan Ashby
f45e785da1
oputil.js user activate <name> will now unlock accounts
2018-11-23 12:02:41 -07:00
Bryan Ashby
a4823c0c4a
Logging around accoung lock/unlocking
2018-11-23 11:44:46 -07:00
Bryan Ashby
df2bf4477e
SECURITY UPDATE
...
* Handle failed login attempts via Telnet
* New lockout features for >= N failed attempts
* New auto-unlock over email feature
* New auto-unlock after N minutes feature
* Code cleanup in users
* Add user_property.js - start using consts for user properties. Clean up over time.
* Update email docs
2018-11-22 23:07:37 -07:00
Bryan Ashby
1f9b963e76
Fix typo
2018-11-22 10:10:53 -07:00
Bryan Ashby
20e9d9ad7e
Actually log spawn() failure in Event Scheduler
2018-11-21 22:21:24 -07:00
Bryan Ashby
ec1ce3062e
Catch bad spawn
2018-11-21 21:24:11 -07:00
Bryan Ashby
472968e81d
Cleaner code
2018-11-21 19:50:03 -07:00
Bryan Ashby
9fd819d608
Resolve TODO RE using EnigError for bad login attempts
2018-11-21 19:43:50 -07:00
Bryan Ashby
ebc70907d4
Newest messages first when listing msgs from Gopher
2018-11-21 17:55:31 -07:00
Bryan Ashby
3af5b6f509
* Word wrap messages when output via Gopher server
...
* Fix Gopher startup banner default
2018-11-20 21:02:30 -07:00
Bryan Ashby
3fd526da6f
Fix some spelling
2018-11-20 21:01:39 -07:00
Bryan Ashby
ec1f437dd9
Fix DEP0005 during file base scan
2018-11-19 20:16:30 -07:00
Bryan Ashby
370f8039db
* Use itemFormat/focusItemFormat for set newscan message/file conf/areas
...
* Docs for set_newscan_date module
2018-11-18 14:19:34 -07:00
Bryan Ashby
b34294fbef
* Docs + itemFormat/focusItem format for web download manager
...
* Fix some typos
2018-11-18 12:02:57 -07:00
Bryan Ashby
e316b5fe80
Add File Base Download Manager docs
2018-11-18 01:56:40 -07:00
Bryan Ashby
2a95849f7d
Add default keys for show art by message/file conf/areas
2018-11-17 21:04:00 -07:00
Bryan Ashby
b3ec97cc5c
Art asset ACS conditional cleanup: Make more general purpose
2018-11-17 18:56:09 -07:00
Bryan Ashby
ac0f54dc9b
Better MCI handling
2018-11-17 13:24:16 -07:00
Bryan Ashby
8702e309ae
Fix bug in default config / user config merging: Some arrays should be replaced while others should be merged
2018-11-17 13:14:51 -07:00
Bryan Ashby
f4b03826b0
Fix --version
2018-11-15 22:21:45 -07:00
Bryan Ashby
f9429dd2e6
Move where passwordChar lives
2018-11-15 20:32:08 -07:00
Bryan Ashby
080d1727c2
WIP on real-time interruptions (ie: incoming message)
...
Still need work on *when* they are allowed with good defaults, etc.
2018-11-14 22:47:20 -07:00
Bryan Ashby
4025c3c643
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-14 22:05:23 -07:00
Bryan Ashby
cc9c143927
Cleanup & prep for real-time interrupt
2018-11-14 22:04:29 -07:00
Bryan Ashby
e4cb93a17c
Use better logging for archiver spawn()
2018-11-14 21:24:15 -07:00
Bryan Ashby
ea4fb090e2
Better error report from spawn() fail in extractTo()
2018-11-14 21:00:21 -07:00
Bryan Ashby
b3930d1999
WIP on node-to-node msg
...
+ Preview
* Fix node IDs
+ Add new MenuModule method for validating MCI codes
2018-11-14 20:51:11 -07:00
Bryan Ashby
941e7d0a03
Fix ./main.js --version
2018-11-14 19:53:14 -07:00
Bryan Ashby
23af00e7ec
Add timestamp
2018-11-14 19:52:55 -07:00
Bryan Ashby
a88af51f27
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-13 21:33:42 -07:00
Bryan Ashby
96d30af5d2
POSSIBLY BREAKING:
...
config/menu.hjson and config/prompt.hjson are now moved to misc/menu_template.in.hjson and config/prompt_template.in.hjson. These are now simply used as template files and copied to config/ with proper naming when issuing 'oputil.js config new'
2018-11-13 21:32:22 -07:00
Bryan Ashby
330e1efa78
Updates to user interruptions & node-to-node message module
...
* Can now have header/footer art on node-to-node messages
* 'text' and more advanced 'contents' fields
* format via 'messageFormat'
2018-11-13 21:11:33 -07:00
Bryan Ashby
d8f0708310
getActiveNodeList -> getActiveConnectionList (be consistent)
2018-11-13 20:03:54 -07:00
Bryan Ashby
5a74cdc8d9
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-13 20:01:36 -07:00
Bryan Ashby
d28b5ce3b2
Even better file name generation for new configs
2018-11-13 19:44:27 -07:00
Bryan Ashby
c1f7eb05ca
Better sanatization of menu/prompt.hjson files based on board name
2018-11-13 19:40:48 -07:00
Bryan Ashby
23c30533c7
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-12 22:06:19 -07:00
Bryan Ashby
308f09b291
Proper callback when missing MCI
2018-11-12 22:05:49 -07:00
Bryan Ashby
74b03fe846
Fix exception when no SSH stuff is configured
2018-11-12 22:05:36 -07:00
Bryan Ashby
516116f83e
Spinner Menu now supports itemFormat and focusItemFormat
2018-11-12 22:05:21 -07:00
Bryan Ashby
2b36693240
WIP: User Interrupt Queue
...
* All queueing of messages/etc.
* Queueing across nodes
* Start on interruption points for displaying queued items
* Start on a multi-node messaging system using such a queue
2018-11-12 22:03:28 -07:00
Bryan Ashby
00a0e131b4
Statlog to config
2018-11-11 01:58:49 -07:00
Bryan Ashby
322274a115
System keeps login history events forever by default -- override in config
2018-11-11 01:55:38 -07:00
Bryan Ashby
e8e9df767f
* Move idle config to user
...
* More 'config new' enhancements
2018-11-11 01:00:42 -07:00
Bryan Ashby
f592da2645
oputil.js config new now preps 'menuFile' and 'promptFile'
2018-11-11 00:19:01 -07:00
Bryan Ashby
c24695e998
+ oputil.js config cat
...
* Many updates to config gen
y
2018-11-10 23:59:26 -07:00
Bryan Ashby
99893b0bd1
Yet more updates with config new
2018-11-10 20:26:23 -07:00
Bryan Ashby
0058d54424
More updates on config template stuff
2018-11-10 20:00:25 -07:00
Bryan Ashby
a7b506a595
Updated bad password list
2018-11-10 10:17:24 -07:00
Bryan Ashby
97e2d103e2
Comments
2018-11-09 19:02:07 -07:00
Bryan Ashby
93305d44fc
Initial WIP on better 'oputil config new' for testing
2018-11-07 20:24:05 -07:00
Bryan Ashby
7d74556868
Changes to config: defaults -> theme, preLoginTheme -> theme.preLogin, etc.
2018-11-07 18:33:07 -07:00
Bryan Ashby
a14c0f42af
Onelinerz standardization work and docs
2018-11-05 22:39:49 -07:00
Bryan Ashby
047d8fae89
File Transfer protocol: use itemFormat + docs
2018-11-05 21:54:04 -07:00
Bryan Ashby
5af2fdc6c5
More itemFormat & doc work
2018-11-05 21:35:12 -07:00
Bryan Ashby
a98940e967
Use standard itemFormat for BBS list. Add docs
2018-11-05 21:08:56 -07:00
Bryan Ashby
8942eff203
Fix deprecated write() without callback for Node.js 10.x+
2018-11-04 21:09:27 -07:00
Bryan Ashby
75c952c976
Fix sexyz Linux x86_64 binary links
2018-11-04 21:00:54 -07:00
Bryan Ashby
25560cb47a
SyncTERM SSH support
...
+ Enabled all ssh2-streams supported KEX, ciphers, etc. for now. Will communicate with Deuce about this.
2018-11-04 19:29:51 -07:00
Bryan Ashby
206312302a
Fix generated logging level
2018-11-04 18:34:54 -07:00
Bryan Ashby
63b5eed504
Minor updates to FileEntry / oputil
2018-11-04 15:01:27 -07:00
Bryan Ashby
d7aabba847
Add CNET style Y-Style/Q-Style color code support
2018-09-15 13:12:54 -06:00
Bryan Ashby
2c7354b4fa
Allow movement codes in renegadeToAnsi()
2018-09-14 21:11:44 -06:00
Bryan Ashby
9bb3557509
WIP add in some basic movement MCI codes & color/pipe code cleanup
2018-09-14 20:34:39 -06:00
Bryan Ashby
e6055e0f11
Better logging
2018-09-11 14:44:22 -06:00
Bryan Ashby
4501759d99
Better help for 'fb info'
2018-09-11 14:42:36 -06:00
Bryan Ashby
13d30827aa
Allow how many to keep in DB by config 'retainCount'
2018-08-14 21:53:00 -06:00
Bryan Ashby
aa2e2e56e3
Fix FTN address lookup crash when scanning
2018-08-11 20:45:50 -06:00
Bryan Ashby
d54c38b9a9
Default to 'cp437' encoding vs current client encoding so we have something stable
2018-08-05 21:22:32 -06:00
Bryan Ashby
dfe1c297b5
Menu "options" block is now deprecated. Move members to "config"!
...
* Deprecate & allow conversion behind the scenes for now + add warning in log
* Add some initial docs
* Clean up prompt.hjson and menu.hjson
2018-08-05 14:06:30 -06:00
Bryan Ashby
746bd5abd0
* Don't crash with bad string formats
...
* File listing: If we fail to get an archive listing, fix attempt to format the string with a non-object
2018-08-05 10:50:47 -06:00
Bryan Ashby
5bd7ecdb88
Add menu-level ACS check
2018-08-04 11:49:44 -06:00
Bryan Ashby
475fe596f6
Better handling of 'socket' io
2018-08-02 22:13:42 -06:00
Bryan Ashby
b5c67ec88f
Fix areaTag bug recently introduced
2018-07-29 20:58:26 -06:00
Bryan Ashby
096bc5497f
Minor cleanup/standardization in file list, updated docs
2018-07-28 15:54:48 -06:00
Bryan Ashby
6f84ffd708
Minor updates to file area list to use proper date/time theme formatting + initial docs
2018-07-28 13:49:37 -06:00
Bryan Ashby
33790a74e3
Allow matches of minutes vs minute, etc. as intended
2018-07-25 21:18:30 -06:00
Bryan Ashby
c625d25e2a
Clean up msg_area_list module (standardize/etc.), update and add docs
2018-07-22 19:06:43 -06:00
Bryan Ashby
c3bd036509
Update message conf list with standardized + custom formats
2018-07-22 15:59:00 -06:00
Bryan Ashby
9f85a01a89
Remove comment on formatting - see docs
2018-07-22 15:58:39 -06:00
Bryan Ashby
601433be40
Add messageConf support
2018-07-22 15:58:13 -06:00
Bryan Ashby
c5998aa343
Add prevMenuOnTimeout() method
2018-07-22 15:57:51 -06:00
Bryan Ashby
39b35e8d11
Fix MCI ref
2018-07-22 12:59:43 -06:00
Bryan Ashby
e6a812cf34
Standardization work on built in user list module plus docs & code cleanup
...
* More docs, fix some info
* Code cleanup
2018-07-22 12:56:56 -06:00
Bryan Ashby
0d7a20027c
Add Who's online docs, minor doc updates to last callers, and code cleanup
2018-07-22 10:55:39 -06:00