Commit Graph

1781 Commits

Author SHA1 Message Date
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
Bryan Ashby 438a3161d0
Fix up remoteAddress for WebSocket connections 2020-05-27 21:31:51 -06:00
Bryan Ashby 87a23bd3c8
Telnet Bridge updates
* Use telnet-socket TelnetSpec/etc. consts & helpers
* Enable passthrough
2020-05-27 21:05:19 -06:00
Bryan Ashby 4dea9bdeb6
Remove dead code 2020-05-27 19:25:15 -06:00
Bryan Ashby a1c9d8538f
Don't cork 2020-05-27 19:24:45 -06:00
Bryan Ashby 0bf3031d9f
WIP on better data handling for file transfer 2020-05-26 22:55:51 -06:00
Bryan Ashby 2234a71705
Working much nicer 2020-05-22 12:55:52 -06:00
Bryan Ashby eeba609560
This is broken WIP. Goign to refactor, but on the road... 2020-05-22 11:41:59 -06:00
Bryan Ashby 5aaf568ed5
Fix bug reported by user before I forget 2020-05-21 21:22:49 -06:00
Bryan Ashby 2a93de9487
Yet more ANSI-BBS related updates 2020-05-21 21:22:15 -06:00
Bryan Ashby 1e6c577cd3
More ANSI-BBS compliant... still some to go 2020-05-21 19:16:40 -06:00
Bryan Ashby 03b79fa9f2
TODO for IAC processing 2020-05-20 20:24:26 -06:00
Bryan Ashby 72301104ff
Update passthrough state 2020-05-20 20:24:12 -06:00
Bryan Ashby 65d68f33dc
Allow passthrough 2020-05-20 20:23:09 -06:00
Bryan Ashby e85ba322ce
WebSockets work with new telnet server 2020-05-18 19:19:30 -06:00
Bryan Ashby 6d307ec06b
Clean up a bit. Still more to do... 2020-05-18 18:41:23 -06:00
Bryan Ashby a1ac6dfc67 Shim in dataHandler for toggling from elsewhere 2020-05-18 00:33:14 -06:00
Bryan Ashby e517e31b94 Working fairly well 2020-05-17 22:35:03 -06:00
Bryan Ashby 1018485e8e WIP 2020-05-17 21:36:48 -06:00
Bryan Ashby 75787b6107
Start work on new telnet server 2020-05-17 20:22:16 -06:00
Bryan Ashby 02fa3b014b
ANSI FILE_ID.DIZ sometimes do not display correctly #244
* When parsing ANSI files, handle UNIX style LF's only vs "standard" DOS CRLF pairs
2020-05-16 17:37:51 -06:00
Bryan Ashby 9ed7c049ad Update uuid dep 2020-05-14 22:05:17 -06:00
Bryan Ashby fc22db5462 FTN/BSO doc tidy up 2020-05-14 20:44:11 -06:00
Bryan Ashby 60955cac11
Fix Message.uuid vs Message.messageUuid
* Just use Message.messageUuid which better aligns with message_uuid in DB, messageId, etc.
* Keep uuid as property for now just in case
2020-05-14 19:46:00 -06:00
Bryan Ashby b7cac2d38f
Fix sliceAtEOF() bug causing short ANSI's to get borked when e.g. display achievements 2020-05-13 20:19:45 -06:00
Bryan Ashby fd6bb47427
Fix yet another bug with node IDs
* Pick appropriate slot
* Log nodeId vs clientId/etc. for less confusion
2020-05-13 19:30:57 -06:00
Bryan Ashby 714f32f695
Add Node.js version to startup log 2020-05-13 19:04:11 -06:00
Bryan Ashby db91d6d6b7
* Update QWK area pointers upon export
* Specialize 0 messages exported
2020-05-12 18:53:47 -06:00
Bryan Ashby f63464c501
Very slight display improvements, include conf in info 2020-05-12 09:12:55 -06:00
Bryan Ashby fbec46d1b9
Fix Message.findMessages() if private tag passed in, fix QWK export 2020-05-11 21:54:20 -06:00
Bryan Ashby b562ba34b0
Fix bad log 2020-05-11 20:31:35 -06:00
Bryan Ashby a56546cf3f
Only export private messages if the user has elected to do so 2020-05-11 19:57:25 -06:00
Bryan Ashby 9174b7b710
Code cleanup, use some defaults 2020-05-11 19:52:01 -06:00
Bryan Ashby ee992278e8
WIP on QWK download support 2020-05-10 21:56:05 -06:00
Bryan Ashby 14f7ca9dcc
Add Ability to Import All File Areas at Once #271
* Simple wildcard support for area tags param
2020-05-07 20:02:12 -06:00
Bryan Ashby d6dce82a92
Clean up log a bit 2020-05-07 19:00:32 -06:00
Bryan Ashby 3732914c4a
Add extra log 2020-05-06 17:50:44 -06:00
Bryan Ashby 387dfb3b5d
Don't idle logout if a transfer is making progress 2020-05-06 17:47:13 -06:00
Bryan Ashby 59ee52ea6f
Tidy + some logging 2020-05-06 17:34:37 -06:00
Bryan Ashby f56e30442a
Suggestion: option to trigger List of pending users. #272 2020-05-05 21:18:58 -06:00
Bryan Ashby 67ac86ac05
Add initial QWK docs, update FTN, etc. 2020-05-05 19:01:47 -06:00
Bryan Ashby 7fb10418f0
Start auto-gen confs at 1000 2020-05-03 12:01:31 -06:00
Bryan Ashby 21374d6e6d
Minor 2020-05-03 11:48:03 -06:00
Bryan Ashby 65a5eabe9c
Try this 2020-05-03 11:40:54 -06:00
Bryan Ashby 2b1747a8f4
Fix NDX filenames 2020-05-03 11:17:33 -06:00
Bryan Ashby c6bde65be0
Minor fixes, tidy up FTS CHRS table a bit 2020-05-03 11:10:40 -06:00
Bryan Ashby b32dae9b48
Auto-generate conf numbers for user export mode 2020-05-03 10:42:57 -06:00
Bryan Ashby c7a543e87e
* oputil mb qwk-export
* oputil mb qwk-dump
* Fix QWK reader encoding
2020-05-02 16:48:24 -06:00
Bryan Ashby 8817113364
* Create bundle filenames to spec
* Better cp437 vs utf8 vs other encoding support
* Add some CP437 and related utils
2020-05-02 13:34:28 -06:00
Bryan Ashby 1f1813c14a
Produce NDX files, various improvements to spec, etc. 2020-04-30 22:07:29 -06:00
Bryan Ashby 2b7d810c77
Lots of progress on packet writing, reading, etc.
* Bug fixes
* Create packet archive
2020-04-27 20:55:41 -06:00
Bryan Ashby 8a81b34ed0
WIP: Lots of progress with QWK reader/writer 2020-04-25 11:25:47 -06:00
Bryan Ashby d8f0601914
Add CONTROL.DAT parsing 2020-04-21 22:57:06 -06:00
Bryan Ashby 6edfe95dfe
A good amount of HEADERS.DAT support 2020-04-21 22:14:29 -06:00
Bryan Ashby 29ee9c4d58
WIP on QWK support 2020-04-21 19:50:04 -06:00
Bryan Ashby 91939f46cf
Merge branch '0.0.11-beta' of github.com:NuSkooler/enigma-bbs into 0.0.11-beta 2020-02-18 09:47:31 -07:00
Bryan Ashby 44fd380397
Merge branch '0.0.11-beta' of ssh://numinibsd/git/base/enigma-bbs into 0.0.11-beta 2020-02-18 09:46:55 -07:00
Bryan Ashby 76d421ecf7
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into 0.0.11-beta 2020-02-18 09:45:58 -07:00
Bryan Ashby e9cc49497c
Fix group assignment bug 2020-02-18 09:35:23 -07:00
Bryan Ashby ea828ba812 Update copyrights 2020-01-01 14:15:22 -07:00
Bryan Ashby 3f454c44c2 Don't hang on unzip prompting 2019-12-23 20:06:15 -07:00
Bryan Ashby cd3b8d5e76
Low hanging fruit: Don't re-create binary parsers constantly 2019-12-05 20:48:13 -07:00
Bryan Ashby 37638957b4
Fix issues with corrupt FTN packets 2019-11-22 21:44:24 -07:00
Bryan Ashby 1aa545e254
Minor 2019-11-20 19:11:05 -07:00
Bryan Ashby c9ff904b2b
Fix various minor mistakes 2019-11-08 19:20:14 -07:00
Bryan Ashby 351ae52776
Dep updates 2019-10-29 21:17:58 -06:00
Bryan Ashby 1fdaaf5633
Add 'write' access for post FSE
+ hasMessageConfAndAreaWrite()
+ MenuModule helpers: gotoMenuOrPrev(), gotoMenuOrShowMessage(). These will likely replace many other pieces of code soon.
2019-09-16 22:05:03 -06:00
Bryan Ashby 7783262af6
ES6 2019-09-15 21:30:00 -06:00
Bryan Ashby afd6d4265f
More filtering of messages results without ACS
+ filterMessageListByReadACS()
* Use filterMessageListByReadACS() in my messages
* Use filterMessageListByReadACS() in message search
2019-09-11 22:03:24 -06:00
Bryan Ashby 36afcc0298
Cleanup unused 2019-09-11 21:57:07 -06:00
Bryan Ashby 4f6a0b175c
Don't return messages user doesn't have access to! 2019-09-11 21:56:54 -06:00
Bryan Ashby d5268c7b9e
Fix getMessageAreaByTag() and improve hasMessageConfAndAreaRead() 2019-09-11 21:56:33 -06:00
Bryan Ashby dff8e12dcc
Message ACS improvements & minor fixes
+ getSuitableMessageConfAndAreaTags(): Get a suitable conf/area tag pair with priority on defaults
+ hasMessageConfAndAreaRead() helper
+ filterMessageAreaTagsByReadACS() helper
* Always include confTag/areaTag when fetching a conf or area (convenience)
* Fix 'toRemoteUser' assignment in message
* Better kick out of message conf/areas users does not have access to
2019-09-11 21:21:33 -06:00
Bryan Ashby 8027a73ea5
Another message area check 2019-09-09 21:44:03 -06:00
Bryan Ashby 24e18b5a7e
Clean up defualt mesage/file conf/areas at login if user no longer has read access 2019-09-09 21:35:12 -06:00
Bryan Ashby 16f4d62548
Initial support for random 'next', 'action', ... 2019-09-03 19:52:04 -06:00
Bryan Ashby 1e08810188
Update InfoZip list extractor 2019-08-22 21:48:39 -06:00
Bryan Ashby c476d366c7
Merge branch 'user-auto-signature' of ssh://numinibsd/git/base/enigma-bbs into 0.0.10-alpha 2019-08-10 12:19:16 -06:00
Bryan Ashby 236e5dedb1
Switch default zip file handler to InfoZip package 2019-08-10 11:09:56 -06:00
Bryan Ashby b435f3fbb8
Comments 2019-08-10 11:09:34 -06:00
Bryan Ashby 8fde4ccd60
Initial auto-signature support 2019-08-09 23:17:41 -06:00
Bryan Ashby c71404a641
oputil.js fb scan improvement & fixes
* Start of --verbose for oputil.js in general (mostly placeholder at this point)
* Fix --full-scan and rename to just --full
2019-08-09 18:16:23 -06:00
Bryan Ashby 3eed388e33
BBSLink + WebSockets does not update key press monitor 2019-07-11 22:49:15 -06:00
Bryan Ashby 289b32c169
Allow idle monitor to be disabled 2019-07-08 19:49:55 -06:00
Bryan Ashby 1ec721212d
v3 async until 2019-07-08 19:27:54 -06:00
Bryan Ashby d728ddea4c
Fix v3 async whilst 2019-07-08 19:24:37 -06:00
Bryan Ashby 2f391bdbab
Spelling 2019-06-30 19:25:47 -06:00
Bryan Ashby fdce4c939c
Minor 2019-06-22 20:26:58 -06:00
David Stephens 65b48a2af2 Fix MRC prettyBoardName and /INFO 2019-06-22 23:16:08 +01:00
Bryan Ashby 20d3b0fec9
Doh, fix username vs realname 2019-06-17 21:08:50 -06:00
Bryan Ashby abc6465af4
Template fixes 2019-06-16 15:30:47 -06:00
Bryan Ashby abc6a36275
OTP/2FA config template & luciano blocktronics theme 2019-06-15 22:18:51 -06:00
Bryan Ashby 42ac6f8689
ACS checks can now be applied to form actions 2019-06-15 18:42:15 -06:00
Bryan Ashby 91fa8243c8
Documentation
+ User 2FA/OTP Config mod docs
* Add to nav
2019-06-15 18:11:54 -06:00
Bryan Ashby b5a3c030ab
Doc updates & minor code cleanup 2019-06-15 17:19:42 -06:00
Bryan Ashby 0f68f20656
Documentation updates
+ Add Security doc
* Update optuil doc
2019-06-14 21:43:27 -06:00
Bryan Ashby 2b154800c0
More OTP updates/fixes
* Ensure email address at save
* Fix QR display issues for non-Google Auth
* More cleanup/etc.
2019-06-13 22:54:56 -06:00
Bryan Ashby 7481421898
Fix bug caused by new getView() 2019-06-13 22:54:05 -06:00
Bryan Ashby 4ebbedf4bc
Clean up tokens 2019-06-13 20:51:35 -06:00
Bryan Ashby 94747cfe7e
Good progress on 2FA/OTP config: Most of email register lifecycle complete 2019-06-13 19:47:04 -06:00
Bryan Ashby 3efea3de9a
Work on 2FA/OTP email system
* Web routes/handler/etc. mostly functional
* Can now enable -> follow link -> submit -> capture form
* Clean up code
2019-06-12 21:57:45 -06:00
Bryan Ashby fa3e3e5802
Introduce new user_temporary_token & use for token storage of 2FA/OTP registration 2019-06-11 21:20:34 -06:00
Bryan Ashby 18eecb6223
Fix user_temporary_token table 2019-06-11 19:54:57 -06:00
Bryan Ashby f8788d56d6
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates 2019-06-11 18:25:35 -06:00
Bryan Ashby 4158b07ad0
Better naming, start on temp tokens table, etc. 2019-06-11 18:25:24 -06:00
Bryan Ashby d6af9a1caa
Minor 2019-06-10 20:12:17 -06:00
Bryan Ashby 80eb8ad38d
Add latency est., activity level indicators, etc. 2019-06-10 20:07:45 -06:00
Bryan Ashby da93fd53e9
Start of custom format obj stuff. Want to add more info 2019-06-09 22:36:24 -06:00
Bryan Ashby 5c978e05bf
Ability to override idle time and/or temporary disable from MRC 2019-06-09 13:41:11 -06:00
Bryan Ashby 487968dac9
Fix my previous dumb 2019-06-09 09:19:34 -06:00
Bryan Ashby 433ad72752 Fixes & /clear
* Fix use port from config
* Add /clear & menu method: clearMessages()
2019-06-09 00:09:07 -06:00
Bryan Ashby ad305b4ccc
Implement 'maxScrollbackLines' config for MRC module 2019-06-08 12:12:29 -06:00
Bryan Ashby f2e769a27a
Fix up colors, clear out socket 2019-06-08 11:58:21 -06:00
Bryan Ashby afb7854ea5
Clean up logging a bit & implement 'omit'
* 'omit' can be set to omit views from form submission
* Don't log as much noise
2019-06-08 11:57:36 -06:00
Bryan Ashby 094385a150
Minor bug fixes and improvements
* Color help text a bit
* Split lines for buffer so padding works - may need to do elsewhere also
* Fix a couple crashes
2019-06-07 23:23:06 -06:00
Bryan Ashby 6e855884ad
Merge pull request #235 from davestephens/0.0.10-alpha
Bring in MRC to 0.0.10 alpha!
2019-06-05 22:41:20 -06:00
David Stephens 43e22cfc74 Turn off debug logging of MRC message sending 2019-06-05 23:41:28 +01:00
David Stephens 8726128cda Turn off MRC by default 2019-06-02 15:47:15 +01:00
David Stephens 5d73a224be Compress MRC help text 2019-06-02 15:24:08 +01:00
Bryan Ashby 9cc59f8ff8
Hopefully a little better handling of external doors/processes 2019-06-01 14:38:48 -06:00
David Stephens 8153473b89 Dial down MRC logging 2019-05-31 22:00:48 +01:00
David Stephens b6d0d0d95e Move generic config options to general config section 2019-05-31 21:20:18 +01:00
David Stephens 19e10bb096 Tweak to MRC handshake 2019-05-31 21:19:29 +01:00
David Stephens ce16f17081 Fix MRC MLTEV padding bug 2019-05-31 20:34:07 +01:00
David Stephens 136854017a Lots of tidy-up from PR #235 feedback 2019-05-31 20:32:16 +01:00
David Stephens 593bf67b45 Stop passing sockets all over the place. General tidy up and refactor. Add reconnection to MRC logic. 2019-05-31 01:16:32 +01:00
Bryan Ashby 29e0c8f790
Ability to show secret or backup codes 2019-05-29 22:03:29 -06:00
David Stephens ca8add36b5 reenable disabled jobs 2019-05-27 15:50:07 +01:00
David Stephens 2c3219fc67 Remove heartbeat when client exits mrc 2019-05-26 23:44:38 +01:00
David Stephens 0b95997554 MRC general config 2019-05-26 00:16:49 +01:00
David Stephens 109b157c02 more MRC bug squashing and tidy up 2019-05-26 00:14:36 +01:00
Bryan Ashby 8802ae24ba
Good progress on 2FA/OTP config 2019-05-24 22:27:50 -06:00
Bryan Ashby b62f55961f
Better formatting 2019-05-24 22:27:28 -06:00
Bryan Ashby 4ef32d1c52
Formatting + refs 2019-05-24 22:26:56 -06:00
Bryan Ashby 9018bc363c
show_art module can now take Buffer to display 2019-05-24 22:26:27 -06:00
David Stephens 9f4f1fca13 Refactor and rename of MRC client and multiplexer 2019-05-22 23:43:41 +01:00
David Stephens 92528fc16f MRC bug squashing 2019-05-20 23:37:32 +01:00
David Stephens 3436dad57a Merge branch '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha
* '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs:
  Fix real names during message save
  Improve legacy EOF detector: Must be at least >= size of SAUCE
  Fix to read direct / full path & 'readSauce' option of art
2019-05-19 13:00:40 +01:00
David Stephens 67ecad4e1a Implemented most MRC server calls 2019-05-19 00:01:58 +01:00
David Stephens 9c2b3be0b1 MRC WIP 2019-05-18 00:25:35 +01:00
Bryan Ashby 50d108b44c
Merge branch '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs into security-updates 2019-05-15 21:55:32 -06:00
Bryan Ashby da91bf0191
Fix real names during message save 2019-05-15 21:51:44 -06:00
Bryan Ashby 013c088651
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha 2019-05-13 21:32:34 -06:00
Bryan Ashby 228d3e3ae7
Improve legacy EOF detector: Must be at least >= size of SAUCE 2019-05-13 21:31:34 -06:00
Bryan Ashby b0d081ad04
Fix to read direct / full path & 'readSauce' option of art 2019-05-13 21:27:59 -06:00
Bryan Ashby d215919bff
Improvements to oputil
* Major update to --help
* '2fa' is now '2fa-otp' or just 'otp'
* Better 2fa-otp output & handling
2019-05-11 00:21:42 -06:00
Bryan Ashby 6953cdf159
QR's can't alwasy be created 2019-05-11 00:20:02 -06:00
Bryan Ashby 401d0a10b1
Fix 'AR' ACS check 2019-05-11 00:19:11 -06:00
Bryan Ashby 2767f3c4e3
Don't store hashed versions of backup codes
* Really no point; secret must be in plain-text and only ever used in conjunction with pass/etc.
* Better oputil handling
2019-05-09 20:25:47 -06:00
Bryan Ashby 6070bc94e7
Good progress on QR support 2019-05-09 19:56:04 -06:00
Bryan Ashby 3c6c8d2a5c
Add missing OTP file, minor updates 2019-05-08 21:06:10 -06:00
Bryan Ashby e5398db07b
WIP on OTP 2FA, stats, etc. 2019-05-07 21:36:33 -06:00
Bryan Ashby e960e2800d
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates 2019-05-06 20:49:16 -06:00
Bryan Ashby 826e5fc0f1
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha 2019-04-23 18:17:54 -06:00
Bryan Ashby 509831cc0c
Better handling of active door instances 2019-04-23 18:16:55 -06:00
Bryan Ashby 50426d0e60
Listen 'address' for WebSockets 2019-04-09 20:25:37 -06:00
Bryan Ashby 37ea1e3a30
Listen 'address' for SSH 2019-04-09 20:25:27 -06:00
Bryan Ashby 8114a1e3f2
Listen 'address' for Telnet 2019-04-09 20:25:14 -06:00
Bryan Ashby 3460b98bf5
Listen 'address' for Web 2019-04-09 20:25:03 -06:00
Bryan Ashby d54338c46e
Listen 'address' for Gopher 2019-04-09 20:24:52 -06:00
Bryan Ashby 0ed507cd7b
Initial real 2FA/OTP work 2019-04-09 20:07:19 -06:00
Bryan Ashby 75d6eef92f
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into security-updates 2019-04-08 20:16:16 -06:00
Bryan Ashby 19e70d1c78
Fix log message & hopefully handle client socket errors better 2019-04-08 20:14:00 -06:00
Bryan Ashby 64de10cbf7
Fix crash if client disconnects/is logged out while door is running 2019-04-05 21:53:30 -06:00
Bryan Ashby 23779c3abe
Use authInfo obj vs weird params. auth factor 1: factor 2 for 2FA, etc. 2019-02-22 22:51:12 -07:00