Commit Graph

1477 Commits

Author SHA1 Message Date
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
Bryan Ashby 57938e761e
+ Implement SSH PubKey authentication
* Security related items to config/security dir
2019-02-20 23:55:09 -07:00
Bryan Ashby 65ef1feb6c
Use crypto.timingSafeEqual() vs hand rolled method for constant time password comparison 2019-02-20 21:12:41 -07:00
Bryan Ashby f41d12c688
+ oputil user rename 2019-02-16 11:03:46 -07:00
Bryan Ashby 83d0daf4b7
Add 'My Messages' module 2019-02-15 21:55:18 -07:00