Commit Graph

1294 Commits

Author SHA1 Message Date
Bryan Ashby d621fa9566 * renderStringLength(): Account for ESC[<N>C "forward" ESC seq
* Use string util renderStringLength() in word wrap
* Hopefully resolve all issues with renderSubstr()
* Fix width issue in message list
2016-09-06 23:20:11 -06:00
Bryan Ashby f7c21baa52 * FSE quote format is now configurable and random if there are 2:n available
* Remove old 3rd party string-format & replace with string_format.js version
* Some fix some bugs with string_format.js padding, width, and number format
2016-09-04 21:36:26 -06:00
Bryan Ashby d4d64f925d * Attempt to hide sensitive information by default (e.g. 'password' fields) in log
* New logger configuration - change logging: level -> logging: rotatingFile: level for current functionality
2016-09-04 17:46:28 -06:00
Bryan Ashby a729944af7 ANSI resources (comments) 2016-09-04 17:44:51 -06:00
Bryan Ashby ed683189f8 Better ability to mod main prompt 2016-09-04 11:42:20 -06:00
Bryan Ashby 354548ed66 Merge pull request #96 from davestephens/farmhash_v1_2_1
Upgrade farmhash to v1.2.1 to fix RPi3 native extension compile errors
2016-09-03 13:12:06 -06:00
David Stephens 14a5563191 Upgrade farmhash to v1.2.1 to fix RPi3 native extension compile errors 2016-09-03 19:03:48 +01:00
Bryan Ashby 82533eae2d Don't re-add + log MCI cache if already cached. Also fix wording :) 2016-09-01 23:57:57 -06:00
Bryan Ashby 470897eadc Hopefully real fix to #88 with new StatLog ability 2016-09-01 23:42:15 -06:00
Bryan Ashby 767bddcc4b StatLog will now store for N days or N max/count items 2016-09-01 23:41:20 -06:00
Bryan Ashby 9d46f23c66 Allow spaces in usernames by default 2016-09-01 23:39:49 -06:00
Bryan Ashby f4c041abdf Better sliceAtEOF() 2016-09-01 23:37:57 -06:00
Bryan Ashby dcc2352559 Merge pull request #92 from davestephens/installer_script
Some installer script tweaks
2016-09-01 21:22:45 -06:00
Bryan Ashby 4c430775d9 Merge pull request #93 from davestephens/username
Small typo in username validation error message
2016-09-01 21:22:12 -06:00
David Stephens 0b3b7bee41 Small typo in username validation error message 2016-09-01 19:34:31 +01:00
David Stephens 23a03aa4ce Check if python executable is there before installing 2016-09-01 18:42:05 +01:00
David Stephens aefe766031 Add missing exit code if npm install fails 2016-09-01 18:26:45 +01:00
Bryan Ashby f2638474b3 Fix BBS list theme 2016-08-31 22:26:03 -06:00
Bryan Ashby 00330020b9 Some ES6 cleanup 2016-08-31 22:25:41 -06:00
Bryan Ashby 2c53515b60 Better isGroupMember() impl. 2016-08-31 22:06:49 -06:00
Bryan Ashby e7ba6c406e * Introduce MCI cache: Art files are hashed and MCI info (per client) is cached. Term resizes invalidate the cache
* Bring in farmhash for art file hashing (and perhaps other uses soon)
* Re-write of art.js display(). Better system, use MCI cache, etc.
* Update package.json engines node req.
2016-08-31 22:06:28 -06:00
Bryan Ashby 5112506e14 Documentation updates 2016-08-30 21:54:14 -06:00
Bryan Ashby 6934f0d6ae Add X key to exit newscan 2016-08-30 21:32:57 -06:00
Bryan Ashby 0a3a62edf3 * Added ability to pass a "menu result" from a menu when calling prev()/prevMenu()
* Ability to fully quit newscan with X key using new menu result functionality
2016-08-30 21:31:24 -06:00
Bryan Ashby 48aa0fa606 Fix rare crash if client terms in door 2016-08-30 09:53:35 -06:00
Bryan Ashby 64ded2514c Add 'hideSysOpLogin' option to last callers 2016-08-29 21:04:15 -06:00
Bryan Ashby 57309b433a Misc & isRootUserId() 2016-08-29 21:03:48 -06:00
Bryan Ashby a54caed41e Catch ACS parse exception 2016-08-29 21:01:51 -06:00
Bryan Ashby ef7f6355c6 Merge pull request #87 from davestephens/master
First stab at an ENiGMA installer
2016-08-29 16:50:22 -06:00
David Stephens 0b8916194e Merge remote-tracking branch 'upstream/master' 2016-08-28 00:05:46 +01:00
David Stephens ff9748814d Few tweaks:
* Ensure entire script is downloaded before execution
* Remove requirement to hit enter to continue
* Allow overriding of install path, node version and git source
* Prompt user to generate config after install
2016-08-27 22:36:29 +01:00
Bryan Ashby b80cd18012 Add Rumorz 2016-08-26 22:34:37 -06:00
Bryan Ashby bbba6cd214 Use new string_format.js lib for formatting...more to come! 2016-08-26 21:30:51 -06:00
Bryan Ashby 8002bbe8fe Start using new enig assert vs standard assert 2016-08-26 21:30:25 -06:00
Bryan Ashby 8d484daa3a Enigma error objects 2016-08-26 21:29:57 -06:00
Bryan Ashby 6fa19f9ac3 assert() that won't expload when not in 'dev' mode 2016-08-26 21:29:49 -06:00
Bryan Ashby 3bae109537 Fix formatting on banner 2016-08-26 21:28:29 -06:00
Bryan Ashby 3319e8d7f9 Formatting 2016-08-26 21:28:17 -06:00
Bryan Ashby ef6c21e48e comment 2016-08-26 21:28:02 -06:00
Bryan Ashby 9bd39f6d80 format() that works with RA pipe codes & ANSI ESC seqs 2016-08-26 21:27:32 -06:00
Bryan Ashby 7ce2a3bbe5 Remove assert 2016-08-26 21:26:50 -06:00
Bryan Ashby b19d06df26 Default to NOT showing non-authenticated users in who's online / getActiveNodeList() 2016-08-26 20:53:27 -06:00
David Stephens 6c1a364864 First stab at an ENiGMA installer 2016-08-22 22:55:05 +01:00
Bryan Ashby 66abe4429c Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-08-21 19:59:32 -06:00
Bryan Ashby 51baba1f2a Add preAuthIdleLogoutSeconds 2016-08-21 19:59:21 -06:00
Bryan Ashby d6b22b085c Update license date 2016-08-20 15:26:18 -06:00
Bryan Ashby d50e505bd7 * Allow for clients such as ConnectBot that see "home" as 0,0 vs ANSI-BBS standard 1,1 by offsetting CPR values
* Some code cleanup
* Don't assert in View.js setPosition(); Instead, sanatize values
2016-08-14 11:45:31 -06:00
Bryan Ashby cf30389146 ToggleMenuView causes Engima to crash when connecting with ConnectBot #83 2016-08-13 10:05:49 -06:00
Bryan Ashby 383b3b449d * Fix key press event for EditTextView
* Fix MCI draw issue for TextView
* Missing bbs.js MCI init
2016-08-10 23:35:17 -06:00
Bryan Ashby 30ba609fb4 * Add rumorz mod
* ANSI/pipe working properly in VerticalMenuView
* Fix bug in renderStringLength()
* Make initSequence() part of prototype chain for inheritance
* Use proper 'desc' field vs 'status' for menus when setting client/user status
* Move pipeToAnsi() to setItems/setFocusItems vs every render
* Add %RR random rumor MCI
* Predefined MCI's can be init @ startup - RR uses random as a test bed
* Add some StatLog functionality for ordering, keep forever, etc.
* Fix TextView redraw issue
* Better VerticalMenuView drawItem() logic
* Add 'key press' emit for View
* Enable formats for BBS list - works with MCI
* Remove old system_property.js
2016-08-10 22:48:13 -06:00