Commit Graph

1832 Commits

Author SHA1 Message Date
Bryan Ashby d2d5aad236
Add concept of 'handlers' to web server 2022-12-30 22:35:18 -07:00
Bryan Ashby c265a44c1a
Bump version to 0.0.14-beta + major web server updates 2022-12-29 00:56:10 -07:00
Bryan Ashby 7f0254701c
Ensure we have a message list 2022-12-14 19:56:43 -07:00
Bryan Ashby a4261d2d36
Fix bad check for missing areas (by tag) 2022-11-27 21:07:56 -07:00
Bryan Ashby d1f0a12f77
New options for launching local doors via the abracadabra module 2022-10-25 10:59:56 -06:00
Bryan Ashby ff616c384f
MenuModule.setConfigWithExtraArgs() 2022-10-13 22:43:41 -06:00
Bryan Ashby 065658f6b8
First commit of "advanced" MCI formatting via theme.hjson entries allowing mini-formatting langauge to apply
Example: {BN!styleFirstLower} in 'text' property
2022-10-05 21:46:13 -06:00
Bryan Ashby 1021226020
Nuke %PL - never used, not needed 2022-10-05 21:07:56 -06:00
Bryan Ashby c7568ac897
Fix visibility restore at WFC exit 2022-10-02 11:22:23 -06:00
Bryan Ashby d8bc02ce46
Catch timestamp error 2022-09-30 23:55:28 -06:00
Bryan Ashby 8c92f3cc49
Log IPs 2022-09-25 18:29:00 -06:00
Bryan Ashby c4518c7b94
Tidy/DRY 2022-09-25 14:00:52 -06:00
Bryan Ashby 5f6d70e460
Some fixes to NNTP POSTs, logging, etc. 2022-09-23 11:06:33 -06:00
Bryan Ashby 2cb0970a31
Add 'allowPosting' config 2022-09-22 21:24:24 -06:00
Bryan Ashby d2dafc4dbc
Initial NNTP write access support 2022-09-22 21:03:53 -06:00
Bryan Ashby e61be537aa
Minor bug fix 2022-09-21 08:26:52 -06:00
Bryan Ashby c105a2601a
Add by filename support to FileEntry.findFiles() 2022-09-15 12:37:48 -06:00
Bryan Ashby ad44495469
Utility methods 2022-09-14 22:48:56 -06:00
Bryan Ashby a1188fb90c
Handle case where remoteAddress is not yet avail 2022-09-13 13:59:29 -06:00
Bryan Ashby 2a0ae05c45
Bail and log why if door 'io' config is bad 2022-09-08 21:31:01 -06:00
Bryan Ashby 695bb40b17
More improved logging around client changes 2022-08-31 11:47:03 -06:00
Bryan Ashby 2d8c896ad4
Handle node status views when client disconnects 2022-08-31 11:46:51 -06:00
Bryan Ashby edfc2f68a4
Fix pre-auth properties in user list 2022-08-23 16:56:40 -06:00
Bryan Ashby 4d6bc98a0f
Fix a dumb :( 2022-08-21 15:43:53 -06:00
Bryan Ashby 7060bf270b
Better debug logs 2022-08-21 15:41:37 -06:00
Bryan Ashby 4a63bc577e
Fix terminology used in code 2022-08-21 14:03:19 -06:00
Bryan Ashby 1f130347d5
Fix missing check 2022-08-21 14:02:47 -06:00
Bryan Ashby c8df7f3d6b
New easier to manage Gopher include/exclude areas with wildcard support
* Deprecate but still support older format for now
* Add new format allowing easier management
2022-08-21 13:27:32 -06:00
Bryan Ashby d4341bf85f
Doc tidy 2022-08-19 00:03:25 -06:00
Bryan Ashby 94145c043a
Tidy tidy tidy 2022-08-18 14:55:57 -06:00
Bryan Ashby 226c261505
Change sort order for 'lastlogin' and 'created' sorts 2022-08-16 13:45:39 -06:00
Bryan Ashby b971876795
Table output, more fields, and --sort for './oputil.js user list' 2022-08-16 12:19:49 -06:00
Bryan Ashby 5b1c11b1bc
Fix typo 2022-08-15 22:37:28 -06:00
Bryan Ashby b48d133229
Fix some view offsets that broke with CPR removal
* Fix Quote builder
* Fix File Browser details
* Added 'viewOffsets' ability to loadFromMenuConfig() and friends
* Add MenuModule.getCustomViewsWithFilter() -> Array[] of views
* Add ViewController.applyViewOffsets()
2022-08-15 22:23:14 -06:00
Bryan Ashby 56f03ff847
Moar better logging 2022-08-13 18:13:30 -06:00
Bryan Ashby a48f2b4067
Tidy up more log messages 2022-08-13 11:51:11 -06:00
Bryan Ashby 21d0ad9e59
Change scann/toss watch msg again, use access() over exists() 2022-08-13 10:49:44 -06:00
Bryan Ashby 2e159a0cc6
Don't call paths.join() twice in a row here 2022-08-13 10:36:21 -06:00
Bryan Ashby 1d14b187c2
Fix undefined ref 2022-08-12 19:50:41 -06:00
Bryan Ashby cc788056ea
Tidy 2022-08-12 14:28:18 -06:00
Bryan Ashby 2cae154977
Update MenuModule docs slightly 2022-08-07 13:06:47 -06:00
Bryan Ashby d13d90e223
Sigh 2022-08-07 11:49:52 -06:00
Bryan Ashby c1f5086db0
Fix a dumb 2022-08-07 11:48:51 -06:00
Bryan Ashby 81595f87e1
Log updates 2022-08-06 21:43:32 -06:00
Bryan Ashby f3d0da2075
Fix dumb bug with 'focusItemAtTop' 2022-08-06 00:43:26 -06:00
Bryan Ashby 8c68e51ecf
Fix typo in 'totalBytes' for WFC stats 2022-08-05 14:45:43 -06:00
Bryan Ashby cb8ebc780b
Fix typo for status indicators 2022-08-04 13:04:45 -06:00
Bryan Ashby 39b3aeaedf Fix bug in ensuring at least default ACS or ACS with 'SC' is used for WFC 2022-08-04 12:24:02 -06:00
Bryan Ashby 95183fd3b3
Cleanup, docs, screen shot of WFC 2022-08-04 11:32:09 -06:00
Bryan Ashby 7268ca9bd6
Fix a dumb bug with theme switching; Add TODO to clean this up 2022-08-04 10:52:43 -06:00
Bryan Ashby 715202680e
Add Process/enig start ingress/egress bytes stats 2022-08-01 23:09:18 -06:00
Bryan Ashby 044cc24418
Merge with master 2022-08-01 20:54:05 -06:00
Nathan Byrd c799f1f73c Code review changes 2022-07-31 12:53:34 -05:00
Nathan Byrd a1d4a90e05 Added system menu method to choose encoding 2022-07-28 15:47:51 -05:00
Bryan Ashby 17ddd73247
Allow for WFC status to be MLTEV 2022-07-17 23:02:08 -06:00
Bryan Ashby e6cceeee3a
Fix drawing issue 2022-07-16 12:35:24 -06:00
Bryan Ashby 9db60c65f5
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 216-waiting-for-caller 2022-07-14 23:24:56 -06:00
Bryan Ashby fc064605ab
Default to CP437 unless we explicitly detect a 'nix' terminal 2022-07-11 23:14:48 -06:00
Bryan Ashby 2040ccd551
Basic selection display 2022-06-23 22:23:11 -06:00
Bryan Ashby 3d50c4e80d
Fix friendly remote address member 2022-06-23 15:06:00 -06:00
Bryan Ashby 1a93ab9be0
Add ability to kick selected node at WFC 2022-06-13 21:53:11 -06:00
Bryan Ashby 6c99a070d3
Minor cleanup 2022-06-12 15:22:24 -06:00
Bryan Ashby 9172fdda9d
Re-apply some Prettier formatting after merge 2022-06-12 14:12:03 -06:00
Bryan Ashby c93b8cda81
Fix up some merge mistakes 2022-06-12 14:11:36 -06:00
Bryan Ashby e0fca9f8f7
Initial sync up with master after Prettier 2022-06-12 13:57:46 -06:00
Bryan Ashby ba5775adc9
Updates to drawing, additional props, friendly IP addrs, etc. 2022-06-10 16:08:22 -06:00
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 1ba866f2ca
Add client.friendlyRemoteAddress() for 'clean' remote IP 2022-06-04 17:39:48 -06:00
Bryan Ashby 0b11e629a6
VerticalMenuView 'focusItemAtTop' property, and selection by node ID on WFC
* Add new property to change how focus items are handed in VM
* Select node by node iD (key press) on WFC
2022-06-04 16:32:50 -06:00
Bryan Ashby 3d191a9c6c
Add pages to WFC 2022-06-04 15:37:31 -06:00
Bryan Ashby 2e4df79d52
displayArtAndPrepViewController() is now available in MenuModule and derived classes
* This functionality was common enough to move to MenuModule and can shorthand a good amount of boilerplate code. See code for usage.
2022-06-02 11:12:23 -06:00
Bryan Ashby f02624c14d
Add ability to toggle avail/invis from WFC 2022-05-31 12:28:26 -06:00
Bryan Ashby 2b3d5be3d9
Add MCI codes, helpers, and format keys for user availability and visibility
* New MCI codes: IA and IV
* availInicator and visIndicator to WFC format keys
* New helpers for availalbe and visible indicators (see themes)
2022-05-24 19:46:39 -06:00
Bryan Ashby 868e14aa8e
New MCI codes & user status flags support additions
* New MCI and WFC properties for user new private and "addressed to" mail
* Additional support for user status flags in connection lists, etc.
2022-05-11 20:30:25 -06:00
Bryan Ashby 6502f3b55e
Initial support for user status flags (NotAvail, NotVisible, ...) 2022-05-08 22:15:57 -06:00
Bryan Ashby 14be645de3
Minor updates 2022-05-08 11:38:03 -06:00
Bryan Ashby f7788fc01c
WFC documentation updates 2022-05-07 17:13:10 -06:00
Bryan Ashby bd28de9a69
Some logging cleanup 2022-05-07 11:47:04 -06:00
Bryan Ashby 18420fd7a7
Additional information in WFC docs 2022-05-07 11:19:18 -06:00
Bryan Ashby 9e5b3369a5
New live stat: Total new users today
* Add NT (Obv/2 throwback) MCI for new users today
* Keep live stat up to date in stat log
* Exposed via WFC
2022-05-07 10:48:40 -06:00
Bryan Ashby bb86f386e9
Currently no required MCI codes 2022-05-04 10:48:31 -06:00
Bryan Ashby 09927a6ec1
Tidy 2022-05-04 10:25:59 -06:00
Bryan Ashby d0db38a544
More docs, total user count MCI and stat 2022-05-01 19:58:00 -06:00
Bryan Ashby 44505f664a
Updates and add start of WFC doc 2022-05-01 17:40:31 -06:00
Bryan Ashby dd7d24f22e
Many WFC related improvements (WIP)
* Update systeminformation to 5.x
* More work on WFC display of basic stats -- nearly complete
* Disable idle timeout when on WFC
2022-05-01 12:41:20 -06:00
Bryan Ashby 193c203a05
Sync up with master 2022-04-29 18:42:50 -06:00
Bryan Ashby dd6a0553d8
Some additional cleanup 2022-04-26 12:36:31 -06:00
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