Commit Graph

45 Commits

Author SHA1 Message Date
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 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 878e73e5d7
Add method for optimizing DBs 2020-12-11 14:58:00 -07:00
Bryan Ashby 3c6c8d2a5c
Add missing OTP file, minor updates 2019-05-08 21:06:10 -06:00
Bryan Ashby 0ed507cd7b
Initial real 2FA/OTP work 2019-04-09 20:07:19 -06:00
Bryan Ashby ee93035bb8 * Disconnect clients that attempt to login with banned usernames for Telnet as well
* Slow disconnects to thwart brute force attacks - these names won't exist anyway,
  but we want the attacking client to not DoS us
2018-12-25 00:18:04 -07:00
Bryan Ashby 4050affedf More conversion to UserProps 2018-11-23 17:41: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 9fd819d608 Resolve TODO RE using EnigError for bad login attempts 2018-11-21 19:43:50 -07:00
Bryan Ashby 118cb97487 MenuModule.reload(), updated @systemMethod:reloadMenu(), and notes 2018-07-17 20:00:47 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby e9787cee3e ENiGMA 1/2 WILL USE SPACES FROM THIS POINT ON VS TABS
* Really just to make GitHub formatting happy. Arg.
2018-06-21 23:15:04 -06:00
Bryan Ashby ac1433e84b * Code cleanup and eslint since -- remove unused variables, clean up RegExs, so on... 2018-01-15 12:22:11 -07:00
Bryan Ashby f5899bc10f * Bump version to 0.0.5-alpha
* Add email password reset support
2017-02-26 21:28:05 -07:00
Bryan Ashby f0db0e3c94 * file.db: file_user_rating: Table for tracking average user rating of a file
* Default filter order to descending
* File rating support including in search/filter
* Default to passing submitted form data (if any) @ prevMenu()
* Fix issues with byte/size formatting for 0
* Allow action keys for prompts
* use MenuModule.pausePrompt() in various places
* Add quick search to file area
* Display dupes, if any @ upload
2017-02-07 20:20:10 -07:00
Bryan Ashby 0a629feeb0 Resolve: System methods prev/nextArea, and prev/nextConf can cause a crash #79 2016-07-25 14:35:58 -06:00
Bryan Ashby c94f663947 * DRY menu pop/goto into reloadMenu() (temp hack until we can find a good solution for simple redraw)
* Only reloadMenu() if we actually change areas
* Code style cleanup
2016-07-12 23:38:40 -06:00
Andrew Pamment 1ddbb98319 Updated to use findIndex 2016-07-13 14:43:13 +10:00
Andrew Pamment b627977f9c Fixed Next/prev conf/areas 2016-07-12 20:52:17 +10:00
Andrew Pamment 369d17c407 Message Area/Conf Prev, Next (Unfinished) 2016-07-12 19:57:07 +10:00
Bryan Ashby 0f0e674f97 Add nextMenu() @systemMethod, code cleanup, ES6, etc. 2016-06-25 22:43:12 -06:00
Bryan Ashby 7b521d8699 removeClient() at logoff() 2016-01-02 12:10:54 -07:00
Bryan Ashby 7cc1fe55c0 * Better handling of TOONODE (existing user already logged in) 2015-12-06 20:54:23 -07:00
Bryan Ashby b1be5cdff4 * Delete mods/login.js (not used)
* More fallbackMenuModule & gotoMenuModule clean up -- should all be using new system now
2015-11-03 23:25:35 -07:00
Bryan Ashby f7a7423b32 * New menu stack functional
* @systemMethod:fallbackMenu -> @systemMethod:prevMenu
* Lots of cleanup of gotoMenuModule() -> MenuModule.gotoMenu()
* Lots of cleanup of fallbackMenuModule() -> MenuModule.prevMenu()
* Lots of cleanup of 'next' processing -> MenuModule.nextMenu()
* Clean up CPU strings a bit more
2015-11-03 23:15:49 -07:00
Bryan Ashby f318dc8da2 * Couple more toString() -> decode() updates 2015-11-01 13:55:59 -07:00
Bryan Ashby d86d3e0119 * Separate login logic vs display
* Work on SSH a bit -- major WIP, not working!
2015-10-19 17:21:47 -06:00
Bryan Ashby 1c1f4394ca * System stats
* Last callers rewritten using format and VM
* Some minor MCI stuff
2015-10-17 20:03:51 -06:00
Bryan Ashby d02d9e4a7c * TOONODE support when already logged in
* Work on new user / NUA flow
* Various cleanup
2015-10-15 23:41:24 -06:00
Bryan Ashby 05812f57f0 * Trailing LF handling is now 'trailingLF' option, with 'default', 'yes', 'no', etc.
* Initial checking of WIP Mystery Skulls theme by Luciano Ayres of blocktronics
* Fix random theme selection
* WIP on theme customization apply: Needs to be much more flexible than current
* MenuModule will use .next > .fallback > default fallback
2015-09-27 15:35:24 -06:00
Bryan Ashby df477667b0 * client.runtime.* renamed to client.session.*
* some work on area names - need to fix login issue & rest shoudl work
2015-09-25 23:10:18 -06:00
Bryan Ashby 903db84f23 * New fallback with default vs explicit working
* New @systemMethod:fallbackMenu working
* Work on NUA flow: added preamble and some work on FSE related stuff
2015-09-23 23:41:06 -06:00
Bryan Ashby 41cdeb4c55 * WIP new fallback system and @systemMethod:fallback 2015-09-23 22:24:37 -06:00
Bryan Ashby 3be271aab5 * Not much ... few minor changes 2015-08-26 23:04:04 -06:00
Bryan Ashby 9442760679 * Start work on allowing pipe codes & custom drawing using items vs focusItems for menus. EXPERIMENTAL. 2015-08-25 23:17:09 -06:00
Bryan Ashby 64c8d83559 * NO CARRIER :) 2015-08-21 13:47:01 -06:00
Bryan Ashby ab40eb1fd4 * Message to indicate someone already logged in by username 2015-08-04 22:38:28 -06:00
Bryan Ashby 8d1fac41a9 * User idle timeout
* Only allow one session per user at a time
* user 'timestamp' property -> 'account_created'
* Better User.getLegacySecurityLevel() using group membership
* Client connection management -> client_connections.js
* Minor changes & cleanup
2015-08-04 22:35:59 -06:00
Bryan Ashby e34f0ad688 * Login count property for users 2015-07-29 22:14:26 -06:00
Bryan Ashby 4a342ba2fa * Functional last callers mod
* Notes
* Some cleanup
2015-07-27 22:10:20 -06:00
Bryan Ashby 99ea870ebc * @method for view properties. WIP... hacked in, needs cleaned up & DRY
* Messing around with different approaches to last callers...
2015-07-26 22:51:06 -06:00
Bryan Ashby 542327460b * Last callers module WIP 2015-07-26 00:20:07 -06:00
Bryan Ashby 2aa43295e3 * Start on new theme re-work
* theme_info.json -> theme.json
* Allow pipe codes for styleSGRx
2015-05-12 23:04:22 -06:00
Bryan Ashby 5ab89f952f * New @systemMethod 2015-04-20 23:24:15 -06:00