Commit Graph

203 Commits

Author SHA1 Message Date
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 c91ae50c6b
Fix oputil 2020-07-06 19:13:22 -06:00
Bryan Ashby 20bbbd2f59
Nicer handling of config file errors at startup 2020-06-18 21:29:24 -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 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 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 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 0bf3031d9f
WIP on better data handling for file transfer 2020-05-26 22:55:51 -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 3f454c44c2 Don't hang on unzip prompting 2019-12-23 20:06:15 -07:00
Bryan Ashby 1e08810188
Update InfoZip list extractor 2019-08-22 21:48:39 -06:00
Bryan Ashby 236e5dedb1
Switch default zip file handler to InfoZip package 2019-08-10 11:09:56 -06:00
Bryan Ashby 4ebbedf4bc
Clean up tokens 2019-06-13 20:51:35 -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 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
David Stephens 8726128cda Turn off MRC by default 2019-06-02 15:47:15 +01:00
David Stephens b6d0d0d95e Move generic config options to general config section 2019-05-31 21:20:18 +01:00
David Stephens ca8add36b5 reenable disabled jobs 2019-05-27 15:50:07 +01:00
David Stephens 0b95997554 MRC general config 2019-05-26 00:16:49 +01:00
David Stephens 9c2b3be0b1 MRC WIP 2019-05-18 00:25:35 +01:00
Bryan Ashby 0ed507cd7b
Initial real 2FA/OTP work 2019-04-09 20:07:19 -06: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 1ca1128df6
Update docs & examples on SSH Private Key (PK) generation 2019-02-15 18:48:16 -07:00
Bryan Ashby 562c73e096
Merge 0.0.9-alpha into develop 2019-02-15 14:43:50 -07:00
FrozenFOXX fd514e9613
Added better description of options for SSH keys 2019-02-15 11:38:33 -08:00
FrozenFOXX 66bd2ce108
Downgraded to AES128
Downgraded to AES128, AES256 does not currently seem to work.
2019-02-15 10:15:37 -08:00
FrozenFOXX 95214b0fb2
Update config.js
Updated the OpenSSL command to use aes256 over des3.
2019-02-14 11:05:02 -08:00
Bryan Ashby a314b40eb8 Update to daily maintenance schedule 2019-02-10 12:31:25 -07:00
Bryan Ashby 6a7aa5acb8 Reset daily stats @ midnight, duh 2019-02-09 10:56:36 -07:00
Bryan Ashby 50c1a60838 File scan improvements
* Support more versions of RAR signatures & file listings
* Better FILE_ID.DIZ, NFO, etc. extraction
2019-02-02 19:04:36 -07:00
Bryan Ashby 2bd51c0725 Achievements are now in 'achievements.hjson'
+ Config.general.achievementFile
* Implement (re)caching (aka hot-reload)
* Update values a bit
2019-01-05 12:18:44 -07:00
Bryan Ashby c332b0f3ec WIP on user achievements
+ Add MCI codes for points/count
+ Add docs for MCI codes
+ Record in stats, stat log, etc.
* Do not trigger more than once
* Code cleanup & organization, add classes, etc.
* Tweaks to DB table
2019-01-05 10:49:19 -07:00
Bryan Ashby 10517b1060 Progress on achivements
* Fetch art if available
* Queue local and/or global interrupts
* Apply text formatting
* Bug exists with interruptions in certain scenarios that needs worked out
2019-01-03 21:03:08 -07:00
Bryan Ashby a34dab6a73 WIP on user achievements
* Hook up events for testing
* Start to plug in experimental interrupt
2019-01-02 22:13:42 -07:00
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 b89096fd99 publicPort typo 2018-12-15 02:39:57 -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 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 fb13381bb5 Default back to 'forever' for login history. It's small data... 2018-11-27 19:45:36 -07:00
Bryan Ashby ec97b3e8d4 More user/system stat constants & usage 2018-11-25 19:05:16 -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 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 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 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