Commit Graph

1745 Commits

Author SHA1 Message Date
Bryan Ashby b5f05b69e3
Remove MCI cache and xxhash dependency
The MCI cache is no longer needed as we no longer rely on DSR/CPR
2022-04-26 12:28:15 -06:00
Bryan Ashby 15c3c87500
SyncTERM Font Support Detection
* Attempt to detect SyncTERM font support using DSR/CPR
* If a terminal doesn't support DSR/CPR, assume it doesn't support SyncTERM fonts, either.
* Support is also disabled if term simply doesn't ignore the ESC sequence, either
2022-04-25 21:09:57 -06:00
Bryan Ashby 568c94e341
Cleanup and handle stats that are not yet ready 2022-04-12 22:16:42 -06:00
Bryan Ashby 5288f82006
Merge branch '216-waiting-for-caller' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2022-04-08 17:39:48 -06:00
Bryan Ashby 7988938dcc
Sync with master 2022-04-08 17:38:28 -06:00
Bryan Ashby 8283971b53
Update variable to disable SSH keep-alive checks which break NetRunner :( 2022-04-08 16:41:22 -06:00
Bryan Ashby 78025f6405
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into ssh-server-updates-with-ssh2 2022-04-08 15:22:36 -06:00
Bryan Ashby 63c2ffcffa
FIX: Neither Backspace or Delete work in mTCP Telnet #412
* Add CTRL-D as a default additional backspace key
 * Kludge 'delete' treated the same as 'backspace' in EditTextView if at the EOL
2022-04-08 15:19:00 -06:00
Bryan Ashby 9019479bfd
Initial update, some quirks to work out with NetRunner mostly 2022-04-06 10:01:21 -06:00
Bryan Ashby b2fda13085
Update LRU cache backend used for NNTP server 2022-04-05 21:01:35 -06:00
Bryan Ashby 487533494c
Update copyrights to 2022 2022-04-05 20:51:03 -06:00
Nathan Byrd e9d22b0688 Additional code changes from PR 2022-03-28 22:20:55 -05:00
Nathan Byrd 94e4f1240e Small code review change 2022-03-28 19:38:14 -05:00
Nathan Byrd 44129f3348 Updated version and diff changes 2022-03-28 18:51:43 -05:00
Nathan Byrd 590f494f44 Upgraded node.js and bumped version 2022-03-28 17:52:52 -05:00
Nathan Byrd ec2f6af1d0 More code review fixes 2022-03-28 14:41:12 -05:00
Nathan Byrd abaca6c8ef Fixed changes from code review 2022-03-28 14:18:00 -05:00
Nathan Byrd 4aed3c059d Fixed prompt location. 2022-03-25 20:10:33 -05:00
Nathan Byrd f72b4659b3 Small fix on fse formatting 2022-03-25 19:31:39 -05:00
Nathan Byrd b7da0dc82a Getting closer, fixed fse 2022-03-25 19:27:01 -05:00
Nathan Byrd 77e4425df6 Removed additional cursor position reports. 2022-03-24 20:01:07 -05:00
Nathan Byrd 5cb239157c First part of removing cursor position reports 2022-03-23 18:43:49 -05:00
Bryan Ashby 42a5539c81
Merge pull request #389 from cognitivegears/bugfix/general_bugfixes
General bug fixes
2022-01-30 11:51:47 -07:00
Nathan Byrd d4098ed114 Additional fixes from code review comments 2022-01-29 21:27:03 -06:00
MeaTLoTioN 4228a064f2 fix pm's in enigma w00t 2022-01-29 11:40:13 +00:00
Nathan Byrd 049c3a870a Fixed backspace when first char is pattern char but next is literal 2022-01-28 11:26:27 -06:00
Nathan Byrd 10c9ea9554 General bug fixes 2022-01-28 10:33:04 -06:00
Nathan Byrd 113db826cf Changed to arrow functions 2022-01-24 13:08:54 -06:00
Nathan Byrd 626329d180 Removed self 2022-01-24 12:56:58 -06:00
Nathan Byrd 7735017791 Changed var to let/const 2022-01-24 12:35:28 -06:00
Nathan Byrd 0f4cecc97d Fixed formatting on menu_view.js 2022-01-23 10:46:09 -06:00
Nathan Byrd 22808cf2e2 Fixed page up, page down, home, and end 2022-01-21 14:27:19 -06:00
Nathan Byrd 358a778b0a Fixed uneccessary call to setFocus 2022-01-21 13:53:32 -06:00
Nathan Byrd c4ed09a8bb Fixed fill character 2022-01-19 15:11:33 -06:00
Nathan Byrd c82497b75e Fixed justification 2022-01-19 14:36:43 -06:00
Nathan Byrd d77de9c388 Cleaned up issues with length 2022-01-19 13:07:02 -06:00
Nathan Byrd 4fe55e1e1b Added support for multiple pages 2022-01-16 12:12:41 -06:00
Nathan Byrd 3c71f88cb8 Initial support for full menu 2022-01-12 10:38:47 -06:00
Bryan Ashby e0ecf37869
FIX: Certain telnet clients make the BBS crashes. #369
userVars -> uservars to match telnet-socket impl.
2021-10-22 10:29:47 -06:00
Bryan Ashby c30b52c9d8
fix: ensure we have vars before attempting to fetch from them 2021-03-27 00:04:07 -06:00
Bryan Ashby 1f7545634b
Message import stops #329 2021-02-13 11:05:14 -07:00
Bryan Ashby 60f2f54a54
Longstanding missing/bad font map 2021-02-09 20:49:18 -07:00
Bryan Ashby fffbd424d9
This has caused more trouble than it's worth - revisit later 2021-02-09 20:25:54 -07:00
Bryan Ashby 48e42d2ffd
Update copyright, note on Node.js 14 2021-02-08 19:31:29 -07:00
Bryan Ashby 392dc160a0
Fix a dumb 2021-02-04 19:32:28 -07:00
Bryan Ashby 31f94efdd8
Better handling of bots hitting bad Gopher selectors 2021-02-04 19:27:57 -07:00
Bryan Ashby 9d837cde4d
Add the latest NR term type -- kludge until ansi-bbs-utils is put in 2021-02-02 18:58:39 -07:00
Bryan Ashby 862031c57f
Bug fix: Word wrap when dealing with pipe codes
Bug fix: Assumed FES styleizers
2021-01-02 15:04:16 -07:00
Bryan Ashby 14b1b2b145
Yet more FSE color/style improvements 2020-12-31 15:35:44 -07:00
Bryan Ashby 6abd166d22
Much improved 2020-12-31 01:20:46 -07:00
Bryan Ashby d568cb993d
Add support for tear line and origin line style 2020-12-28 17:04:11 -07:00
Bryan Ashby 4533dc3e01
Better quote style support 2020-12-27 00:08:45 -07:00
Bryan Ashby 94d4a52530
Add support for stylizing quote indicators ( XX>) 2020-12-26 15:08:37 -07:00
Bryan Ashby f202600571
dropFileType is now optional when using abracadabra
* Can be left out or set to 'none'
* Allows doors that do not use a drop file
* Additionally: Clean up drop file upon door exit if one is used
2020-12-14 12:02:25 -07:00
Bryan Ashby 12ca811476
Fix multi-match file area wildcard 2020-12-12 23:03:33 -07:00
Bryan Ashby 9e7536754d
Add ability to pass env to abracadabra 2020-12-12 22:05:14 -07:00
Bryan Ashby ceeda8b13f
Allow default hash tags to be supplied in file areas
* Supply array or comma separated list of strings via 'hashTags' property
* oputil will use these unless --tags are supplied
* Uploads will default to these tags (but user can override)
2020-12-12 12:35:01 -07:00
Bryan Ashby 878e73e5d7
Add method for optimizing DBs 2020-12-11 14:58:00 -07:00
Bryan Ashby c52e911a75
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-12-11 14:31:53 -07:00
Bryan Ashby 3f7b0295ba
Cleanup 2020-12-09 18:54:51 -07:00
Bryan Ashby f5430cb7a6
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-12-07 22:36:05 -07:00
Bryan Ashby b579d966b6
Allow suffix on onelinerz DB name 2020-12-07 19:53:49 -07:00
Bryan Ashby 7aafb0b0c4
Checkpoint 2020-12-07 19:52:54 -07:00
Tony Toon 76aff0e5e1
Update abracadabra.js
fix for next parameter in abracadabra. allows usage of doors in login/etc. without entering infinite loop.
2020-12-06 07:43:28 -06:00
Bryan Ashby 2c361bf6cc
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-11-29 17:08:09 -07:00
Bryan Ashby e05e8a2e35
Initial 2020-11-29 16:24:51 -07:00
Bryan Ashby 6f06821f0c
oputil cannot remove user from group #331 2020-11-29 14:43:26 -07:00
Bryan Ashby 6776453005
File search containing a single " causes lockup #332 2020-11-29 14:30:18 -07:00
Bryan Ashby 89446d26e9
Working pretty well 2020-11-29 11:45:36 -07:00
Bryan Ashby a64bbb1635
* Don't crash attempting to get desc from menu stack
* Remove ring buffer monitor at WFC exit
2020-11-27 23:01:05 -07:00
Bryan Ashby b075cbae65
Checkpoing on WFC 2020-11-27 22:35:03 -07:00
Bryan Ashby b1f061b478
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-11-27 19:53:36 -07:00
Bryan Ashby d55e8fb3e0
Let users scroll desc in file browser 2020-11-27 16:44:40 -07:00
Bryan Ashby cd3b495e6c
SECURITY FIX
* Do not allow relative paths to route outside of www static root area
2020-11-27 12:50:57 -07:00
Bryan Ashby f7e4b57763
Gopher server revamp!
* gophermap support
* More generic and flexible server
2020-11-27 00:54:56 -07:00
Bryan Ashby 9c7fb16196
Last caller information / MCI 2020-11-26 19:51:00 -07:00
Bryan Ashby 3a7f7750ab
Merge from master + add MCI codes
* FT, DD, FB, DB MCI codes and backing system stats
2020-11-26 15:53:34 -07:00
Bryan Ashby 228cd79989
Patch around NR v2.00b20 'ansi-256color' ttype 2020-11-25 13:03:16 -07:00
Bryan Ashby a7e4f5baef
Use moment.parseZone()
* Currently messages are stored with TZ offsets
* Imported messages with e.g. TZUTC kludges are adjusted
* Due to the above, use parseZone() to preserve when loading a message timestamp
2020-11-24 19:42:02 -07:00
Bryan Ashby c944e97699
Add to menu 2020-11-24 13:15:22 -07:00
Bryan Ashby 1e2b6ae934
Working 2020-11-24 13:05:17 -07:00
Bryan Ashby 75601a80ec
WIP 2020-11-23 19:41:08 -07:00
Bryan Ashby 2d9d8782f6
Move to @breejs/later - maintained later.js 2020-11-23 17:24:40 -07:00
Bryan Ashby 6ff8b36836
Fix modTimestampFormat 2020-11-22 20:59:45 -07:00
Bryan Ashby 5fb9716dc6
Add some new MCI codes 2020-11-22 18:54:49 -07:00
Bryan Ashby 58c577c4bb
Checkpoint 2020-11-22 12:25:19 -07:00
Bryan Ashby f4e25a76b3
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 216-waiting-for-caller 2020-11-21 16:51:36 -07:00
Bryan Ashby 8aa878a3ee
Fix TIC replace bug 2020-11-21 14:56:03 -07:00
Bryan Ashby 792acb0550
Add theme information to oputil user info
* Add theme ID
* Allow lookup by user ID
2020-11-18 13:22:22 -07:00
Bryan Ashby 8b2be6769c
* TZUTC/TZUTCINFO handling should work properly
* Don't bork message timestamp when we write to the DB
* Fix read byte len which could prevent message imports!
2020-11-17 19:06:54 -07:00
Bryan Ashby b377d91155
Enigma crashes trying to write to a node when that node disconnected #324
* Don't attempt to write to non-writable socket!
2020-11-15 15:06:49 -07:00
Bryan Ashby d6cc53c263
Some more stats 2020-11-09 21:32:34 -07:00
Bryan Ashby 52ae983cb4
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-11-09 19:41:04 -07:00
Bryan Ashby e7483569e7
Merge 2020-11-09 19:40:55 -07:00
Bryan Ashby 73d3cf85ce
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2020-11-09 19:38:16 -07:00
Bryan Ashby 89ecbdddb0
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 216-waiting-for-caller 2020-11-08 17:34:39 -07:00
Bryan Ashby 700197b221
Cleanup 2020-11-07 21:52:57 -07:00
Bryan Ashby dd27a000a4
Fix deprected on('data') -> onData for node-pty 2020-10-15 20:56:31 -06:00
Bryan Ashby a2f1e28894
Bug fix: If user disconnects, don't leave a haning door PID 2020-10-15 20:54:55 -06:00
Bryan Ashby 37653545f3
Cleanp + note 2020-10-15 20:54:35 -06:00
Bryan Ashby fa2b70dbdb
WIP 2020-09-25 15:41:21 -06:00
Bryan Ashby 43a28e6c42
Error on qwk export with oputil #316 2020-09-12 14:29:06 -06:00
Bryan Ashby 7c304ebb9b
#296: Fix config new 2020-07-28 20:34:30 -06:00
Bryan Ashby c53c00c77a
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 216-waiting-for-caller 2020-07-16 21:34:34 -06:00
Bryan Ashby 24963406ea
Much faster getUserList 2020-07-13 22:40:49 -06:00
Bryan Ashby 28cea6d0c5
Stub 2020-07-13 21:08:25 -06:00
Bryan Ashby 313f594633
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 280-config-revamp 2020-07-12 18:34:07 -06:00
Bryan Ashby 33a1d1b812
Idle timeout kicks user when on a telnet bridge downloading files #262 2020-07-12 16:12:26 -06:00
Bryan Ashby 0e1e7545a2
Hang after exiting DoorParty! #282 2020-07-12 13:01:44 -06:00
Bryan Ashby c8676f6c2c Fix a dumb 2020-07-07 19:47:51 -06:00
Bryan Ashby c565b8caec
Handle missing section 2020-07-07 19:41:17 -06:00
Bryan Ashby 848d1f02b0
Merge branch '280-config-revamp' of github.com:NuSkooler/enigma-bbs into 280-config-revamp 2020-07-06 21:31:26 -06:00
Bryan Ashby 992ee6056e
Log if a variable isn't found 2020-07-06 21:14:31 -06:00
Bryan Ashby 60a1f14f6e
Better 'config new' and fix a couple menu refs 2020-07-06 21:02:18 -06:00
Bryan Ashby c91ae50c6b
Fix oputil 2020-07-06 19:13:22 -06:00
Bryan Ashby 91166b7f6b
Sync up with master 2020-07-05 17:57:29 -06:00
Bryan Ashby ef826687b1
my @menu actionKey doesn't work #290 2020-07-05 17:50:48 -06:00
Bryan Ashby 8c1ff7e228
Exit on error 2020-07-05 15:32:10 -06:00
Bryan Ashby 965e845834
Major work on breaking up menus 2020-07-05 14:06:34 -06:00
Bryan Ashby 35ef2db446
Fix theme reload bug 2020-07-05 14:06:10 -06:00
Bryan Ashby 72564b7db6
Fix theme getter 2020-06-29 22:59:27 -06:00
Bryan Ashby b361913929
Fix getConfigPath() 2020-06-29 22:27:31 -06:00
Bryan Ashby 0b78b42f2f
Fix DoesNotExist error 2020-06-29 22:27:13 -06:00
Bryan Ashby 5ab927d2f5
Better getConfigPath() 2020-06-29 22:26:35 -06:00
Bryan Ashby 20bbbd2f59
Nicer handling of config file errors at startup 2020-06-18 21:29:24 -06:00
Bryan Ashby ce15511cf1
Fix missing themeId 2020-06-18 20:46:24 -06:00
Bryan Ashby 99c053f4fa
Docs on configuration files 2020-06-17 19:46:18 -06:00
Bryan Ashby a457296b39
* Remove 'date', 'datetime', and 'time' in favor of just 'timestamp' for env var directive
* Allow "1" === true for boolean types
2020-06-17 19:45:18 -06:00
Bryan Ashby 4d4be5d6a9
Major progress on revamp
* Deprecated explicit prompt.hjson/general.promptFile, etc.: menu.hjson can simply include any number of files
* All menus and themes, their events, etc. are managed by ThemeManager allowing includes, refs, etc. and much cleaner code
2020-06-17 00:10:51 -06:00
Bryan Ashby 1a96ad41d2
Fix ConfigLoader configPaths if no includes 2020-06-15 21:25:05 -06:00
Bryan Ashby 683075f4ca
Use new ConfigLoader for achievements 2020-06-15 21:22:38 -06:00
Bryan Ashby 8808447343
Fix hard coded config.hjson event in ConfigLoader
* ConfigLoader init can now take onReload handler
* Use onReload for config.hjson/system config event
2020-06-15 21:21:26 -06:00
Bryan Ashby dd08cd68e7
Add PV[name,value] ACS check 2020-06-15 19:28:32 -06:00
Bryan Ashby 5b7c83cdc1
Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 280-config-revamp 2020-06-15 19:09:45 -06:00
Bryan Ashby 9e9dc9af89
A lot of code tidy up 2020-06-15 19:08:55 -06:00
Bryan Ashby fb9d83ab6f
Tidy up config, fix a couple minor bugs 2020-06-11 22:40:20 -06:00
Bryan Ashby 43a7bd9ba4
Use mapValuesDeep vs reduceDeep 2020-06-11 21:38:33 -06:00
Bryan Ashby 9394730011
New Config class working quite well for system config. Menu.hjson/etc. to come 2020-06-11 21:16:15 -06:00
Bryan Ashby 37bc2fc3aa
Working well 2020-06-10 22:52:19 -06:00
Bryan Ashby 56472c80a8
Decent merge customizer 2020-06-10 19:15:49 -06:00
Bryan Ashby 4237f78938
noWatch -> hotReload & experimental WIP Config class using ConfigLoader 2020-06-09 21:18:51 -06:00
Bryan Ashby e674079f53
noWatch -> hotReload 2020-06-09 21:18:17 -06:00
Bryan Ashby cfaff61abf WIP new Configuration class 2020-06-07 22:20:34 -06:00
Bryan Ashby dd2a6258d5
Fix up some deprecated config refs 2020-06-07 21:21:31 -06:00
Bryan Ashby 7e006f1c68
Default configuration moved to config_default.js 2020-06-07 15:26:11 -06:00
Bryan Ashby 6258a39c57
Merge pull request #283 from NuSkooler/new-telnet-server
New telnet server implementation based on telnet-socket, includes new websocket server (which inherits from telnet) and some misc updates to I/O.
2020-06-03 20:36:37 -06:00
Bryan Ashby 5b20c3ec38
Crash using VTX Client #284
* Fix try/catch around JSON.parse()
* Ensure we don't try to replace on null/undefined no matter what
2020-06-01 19:22:15 -06:00
Bryan Ashby 74078939cc
DO should be a DONT for echo 2020-05-31 14:54:33 -06:00
Bryan Ashby 29ef0935c3
Don't send back don't in respond to wont new_environ 2020-05-31 11:49:32 -06:00
Bryan Ashby 78b78e8c79
Doc updates 2020-05-30 22:39:27 -06:00