Commit Graph

1780 Commits

Author SHA1 Message Date
Bryan Ashby 1f9b963e76 Fix typo 2018-11-22 10:10:53 -07:00
Bryan Ashby 20e9d9ad7e Actually log spawn() failure in Event Scheduler 2018-11-21 22:21:24 -07:00
Bryan Ashby ec1ce3062e Catch bad spawn 2018-11-21 21:24:11 -07:00
Bryan Ashby 472968e81d Cleaner code 2018-11-21 19:50:03 -07:00
Bryan Ashby 9fd819d608 Resolve TODO RE using EnigError for bad login attempts 2018-11-21 19:43:50 -07:00
Bryan Ashby ebc70907d4 Newest messages first when listing msgs from Gopher 2018-11-21 17:55:31 -07:00
Bryan Ashby 3af5b6f509 * Word wrap messages when output via Gopher server
* Fix Gopher startup banner default
2018-11-20 21:02:30 -07:00
Bryan Ashby 3fd526da6f Fix some spelling 2018-11-20 21:01:39 -07:00
Bryan Ashby ec1f437dd9 Fix DEP0005 during file base scan 2018-11-19 20:16:30 -07:00
Bryan Ashby 370f8039db * Use itemFormat/focusItemFormat for set newscan message/file conf/areas
* Docs for set_newscan_date module
2018-11-18 14:19:34 -07:00
Bryan Ashby b34294fbef * Docs + itemFormat/focusItem format for web download manager
* Fix some typos
2018-11-18 12:02:57 -07:00
Bryan Ashby e316b5fe80 Add File Base Download Manager docs 2018-11-18 01:56:40 -07:00
Bryan Ashby 2a95849f7d Add default keys for show art by message/file conf/areas 2018-11-17 21:04:00 -07:00
Bryan Ashby b3ec97cc5c Art asset ACS conditional cleanup: Make more general purpose 2018-11-17 18:56:09 -07:00
Bryan Ashby ac0f54dc9b Better MCI handling 2018-11-17 13:24:16 -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 f4b03826b0 Fix --version 2018-11-15 22:21:45 -07:00
Bryan Ashby f9429dd2e6 Move where passwordChar lives 2018-11-15 20:32:08 -07:00
Bryan Ashby 080d1727c2 WIP on real-time interruptions (ie: incoming message)
Still need work on *when* they are allowed with good defaults, etc.
2018-11-14 22:47:20 -07:00
Bryan Ashby 4025c3c643 Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions 2018-11-14 22:05:23 -07:00
Bryan Ashby cc9c143927 Cleanup & prep for real-time interrupt 2018-11-14 22:04:29 -07:00
Bryan Ashby e4cb93a17c Use better logging for archiver spawn() 2018-11-14 21:24:15 -07:00
Bryan Ashby ea4fb090e2 Better error report from spawn() fail in extractTo() 2018-11-14 21:00:21 -07:00
Bryan Ashby b3930d1999 WIP on node-to-node msg
+ Preview
* Fix node IDs
+ Add new MenuModule method for validating MCI codes
2018-11-14 20:51:11 -07:00
Bryan Ashby 941e7d0a03 Fix ./main.js --version 2018-11-14 19:53:14 -07:00
Bryan Ashby 23af00e7ec Add timestamp 2018-11-14 19:52:55 -07:00
Bryan Ashby a88af51f27 Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions 2018-11-13 21:33:42 -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 330e1efa78 Updates to user interruptions & node-to-node message module
* Can now have header/footer art on node-to-node messages
* 'text' and more advanced 'contents' fields
* format via 'messageFormat'
2018-11-13 21:11:33 -07:00
Bryan Ashby d8f0708310 getActiveNodeList -> getActiveConnectionList (be consistent) 2018-11-13 20:03:54 -07:00
Bryan Ashby 5a74cdc8d9 Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions 2018-11-13 20:01:36 -07:00
Bryan Ashby d28b5ce3b2 Even better file name generation for new configs 2018-11-13 19:44:27 -07:00
Bryan Ashby c1f7eb05ca Better sanatization of menu/prompt.hjson files based on board name 2018-11-13 19:40:48 -07:00
Bryan Ashby 23c30533c7 Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions 2018-11-12 22:06:19 -07:00
Bryan Ashby 308f09b291 Proper callback when missing MCI 2018-11-12 22:05:49 -07:00
Bryan Ashby 74b03fe846 Fix exception when no SSH stuff is configured 2018-11-12 22:05:36 -07:00
Bryan Ashby 516116f83e Spinner Menu now supports itemFormat and focusItemFormat 2018-11-12 22:05:21 -07:00
Bryan Ashby 2b36693240 WIP: User Interrupt Queue
* All queueing of messages/etc.
* Queueing across nodes
* Start on interruption points for displaying queued items
* Start on a multi-node messaging system using such a queue
2018-11-12 22:03:28 -07:00
Bryan Ashby 00a0e131b4 Statlog to config 2018-11-11 01:58:49 -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
Bryan Ashby f592da2645 oputil.js config new now preps 'menuFile' and 'promptFile' 2018-11-11 00:19:01 -07:00
Bryan Ashby c24695e998 + oputil.js config cat
* Many updates to config gen
y
2018-11-10 23:59:26 -07:00
Bryan Ashby 99893b0bd1 Yet more updates with config new 2018-11-10 20:26:23 -07:00
Bryan Ashby 0058d54424 More updates on config template stuff 2018-11-10 20:00:25 -07:00
Bryan Ashby a7b506a595 Updated bad password list 2018-11-10 10:17:24 -07:00
Bryan Ashby 97e2d103e2 Comments 2018-11-09 19:02:07 -07:00
Bryan Ashby 93305d44fc Initial WIP on better 'oputil config new' for testing 2018-11-07 20:24:05 -07:00
Bryan Ashby 7d74556868 Changes to config: defaults -> theme, preLoginTheme -> theme.preLogin, etc. 2018-11-07 18:33:07 -07:00
Bryan Ashby a14c0f42af Onelinerz standardization work and docs 2018-11-05 22:39:49 -07:00
Bryan Ashby 047d8fae89 File Transfer protocol: use itemFormat + docs 2018-11-05 21:54:04 -07:00
Bryan Ashby 5af2fdc6c5 More itemFormat & doc work 2018-11-05 21:35:12 -07:00
Bryan Ashby a98940e967 Use standard itemFormat for BBS list. Add docs 2018-11-05 21:08:56 -07:00
Bryan Ashby 8942eff203 Fix deprecated write() without callback for Node.js 10.x+ 2018-11-04 21:09:27 -07:00
Bryan Ashby 75c952c976 Fix sexyz Linux x86_64 binary links 2018-11-04 21:00:54 -07:00
Bryan Ashby 25560cb47a SyncTERM SSH support
+ Enabled all ssh2-streams supported KEX, ciphers, etc. for now. Will communicate with Deuce about this.
2018-11-04 19:29:51 -07:00
Bryan Ashby 206312302a Fix generated logging level 2018-11-04 18:34:54 -07:00
Bryan Ashby 63b5eed504 Minor updates to FileEntry / oputil 2018-11-04 15:01:27 -07:00
Bryan Ashby d7aabba847 Add CNET style Y-Style/Q-Style color code support 2018-09-15 13:12:54 -06:00
Bryan Ashby 2c7354b4fa Allow movement codes in renegadeToAnsi() 2018-09-14 21:11:44 -06:00
Bryan Ashby 9bb3557509 WIP add in some basic movement MCI codes & color/pipe code cleanup 2018-09-14 20:34:39 -06:00
Bryan Ashby e6055e0f11 Better logging 2018-09-11 14:44:22 -06:00
Bryan Ashby 4501759d99 Better help for 'fb info' 2018-09-11 14:42:36 -06:00
Bryan Ashby 13d30827aa Allow how many to keep in DB by config 'retainCount' 2018-08-14 21:53:00 -06:00
Bryan Ashby aa2e2e56e3 Fix FTN address lookup crash when scanning 2018-08-11 20:45:50 -06:00
Bryan Ashby d54c38b9a9 Default to 'cp437' encoding vs current client encoding so we have something stable 2018-08-05 21:22:32 -06:00
Bryan Ashby dfe1c297b5 Menu "options" block is now deprecated. Move members to "config"!
* Deprecate & allow conversion behind the scenes for now + add warning in log
* Add some initial docs
* Clean up prompt.hjson and menu.hjson
2018-08-05 14:06:30 -06:00
Bryan Ashby 746bd5abd0 * Don't crash with bad string formats
* File listing: If we fail to get an archive listing, fix attempt to format the string with a non-object
2018-08-05 10:50:47 -06:00
Bryan Ashby 5bd7ecdb88 Add menu-level ACS check 2018-08-04 11:49:44 -06:00
Bryan Ashby 475fe596f6 Better handling of 'socket' io 2018-08-02 22:13:42 -06:00
Bryan Ashby b5c67ec88f Fix areaTag bug recently introduced 2018-07-29 20:58:26 -06:00
Bryan Ashby 096bc5497f Minor cleanup/standardization in file list, updated docs 2018-07-28 15:54:48 -06:00
Bryan Ashby 6f84ffd708 Minor updates to file area list to use proper date/time theme formatting + initial docs 2018-07-28 13:49:37 -06:00
Bryan Ashby 33790a74e3 Allow matches of minutes vs minute, etc. as intended 2018-07-25 21:18:30 -06:00
Bryan Ashby c625d25e2a Clean up msg_area_list module (standardize/etc.), update and add docs 2018-07-22 19:06:43 -06:00
Bryan Ashby c3bd036509 Update message conf list with standardized + custom formats 2018-07-22 15:59:00 -06:00
Bryan Ashby 9f85a01a89 Remove comment on formatting - see docs 2018-07-22 15:58:39 -06:00
Bryan Ashby 601433be40 Add messageConf support 2018-07-22 15:58:13 -06:00
Bryan Ashby c5998aa343 Add prevMenuOnTimeout() method 2018-07-22 15:57:51 -06:00
Bryan Ashby 39b35e8d11 Fix MCI ref 2018-07-22 12:59:43 -06:00
Bryan Ashby e6a812cf34 Standardization work on built in user list module plus docs & code cleanup
* More docs, fix some info
* Code cleanup
2018-07-22 12:56:56 -06:00
Bryan Ashby 0d7a20027c Add Who's online docs, minor doc updates to last callers, and code cleanup 2018-07-22 10:55:39 -06:00
Bryan Ashby e732d2b10d Code update + use 'itemFormat' standard 2018-07-21 23:57:59 -06:00
Bryan Ashby f601fd256b Fix last_callers collapsing & DRY code 2018-07-21 21:38:06 -06:00
Bryan Ashby 52585c78f0 Major changes around events, event log, etc.
* User event log is now functional & attached to various events
* Add additional missing system events
* Completely re-write last_callers to have new functionality, etc.
* Events.addListenerMultipleEvents()
* New 'moduleInitialize' export for module init vs Event specific registerEvents
* Add docs on last_callers mod
2018-07-21 14:32:06 -06:00
Bryan Ashby c1ae3d88ba * Fix RunDoor event name
* Standardize *.user_* event names
2018-07-21 14:28:18 -06:00
Bryan Ashby 58254ee27b Fix config 2018-07-17 21:06:27 -06:00
Bryan Ashby 118cb97487 MenuModule.reload(), updated @systemMethod:reloadMenu(), and notes 2018-07-17 20:00:47 -06:00
Bryan Ashby 1f396e198e Fix escape/de-escaping for zmodem & friends 2018-07-16 22:43:19 -06:00
Bryan Ashby e3c197c3e1 Fix event emitter leak 2018-07-15 22:08:09 -06:00
Bryan Ashby 013a947e15 Add release-info.asc used by some modern release groups 2018-07-15 19:18:44 -06:00
Bryan Ashby 6a3849dbdc Fist version of ArchaicNET support module 2018-07-15 19:18:27 -06:00
Bryan Ashby 7b75f08c7e Clean up code a bit 2018-07-15 11:50:04 -06:00
Bryan Ashby 340c6ccf76 Fix asset parsing for path-to-method, etc. 2018-07-15 11:49:56 -06:00
Bryan Ashby 47e34f9da7 Fix comment 2018-07-11 21:14:28 -06:00
Bryan Ashby 5d91cfb7d0 Add {userName} and {userNameRaw} door launch/format options 2018-07-10 19:11:03 -06:00
Bryan Ashby 45ca627b4e Minor update 2018-07-09 20:55:47 -06:00
Bryan Ashby 5c826abd5b Onelinerz updates:
* Uses standard `itemFormat`
* Uses format of {userName} vs {username} (case)
* Has preview implemented as %TL2
2018-07-09 20:27:09 -06:00
Bryan Ashby 2f22d91bcf Fix comment 2018-07-08 19:20:08 -06:00
Bryan Ashby d54267b318 Update custom views after del 2018-07-08 11:33:39 -06:00
Bryan Ashby 3f34f77fcd Implement fake pipe() for WebSocket (doors/etc.) 2018-07-08 11:23:56 -06:00
Bryan Ashby bf11fc24a3 Update message list after marking all as read for 'newIndicator' 2018-07-07 20:13:24 -06:00
Bryan Ashby dd7b234a1d Add @markAllRead method for msg_list 2018-07-07 20:04:51 -06:00
Bryan Ashby 73bc211b94 Oops, fix newscan filter 2018-07-07 20:03:03 -06:00
Bryan Ashby 89bce2c23c trace -> debug for Gopher access logs 2018-07-07 20:02:26 -06:00
Bryan Ashby 539c25ea83 Add ability to omit message and/or file area tags from new scan by config 'omitFileAreaTags' and 'omitMessageAreaTags' arrays 2018-07-07 15:20:45 -06:00
Bryan Ashby 53cda734e5 Minor bugfix 2018-07-05 20:35:38 -06:00
Bryan Ashby 0d55daabe4 Ability to delete private (aka inbox) messages 2018-07-04 18:49:03 -06:00
Bryan Ashby 2408d4c5c0 Fixes around render cache 2018-07-04 18:48:35 -06:00
Bryan Ashby 514edb984f + userHasDeleteRights()
+ deleteMessage()
2018-07-04 18:47:58 -06:00
Bryan Ashby ab9ffc715a * Cleaner action block discovery for 'submit'
* Allow "embedded" prompts to use form action matching
2018-07-04 18:46:40 -06:00
Bryan Ashby 3e06e2fa6b + promptForInput() support
* removeViewController() support
2018-07-04 18:45:14 -06:00
Bryan Ashby fbffe2873c * ansiPrepOptions support for displaying art
* simplify proxy of options along call path
* general improvements
2018-07-04 18:43:40 -06:00
Bryan Ashby e24511678d Ensure 'tag' exists 2018-07-04 18:42:59 -06:00
Bryan Ashby 8922bb6683 Catch exception if we try to log due to config.hjson error 2018-07-04 17:58:38 -06:00
Bryan Ashby 0f6924a916 XY MCI code now properly c reates vanilla view for later lookup/retrieval 2018-07-04 14:59:15 -06:00
Bryan Ashby f4afe9847d Handle bad config.hjson at startup/re-cache: output to stderr 2018-07-02 19:32:27 -06:00
Bryan Ashby 7c741481e1 Much improved getDescFromFileName() 2018-06-30 13:03:08 -06:00
Bryan Ashby c894ed17ec Convert line endings when using Atr 2018-06-30 11:55:13 -06:00
Bryan Ashby 35c5c5dd0f Init ArchiveUtil with noWatch 2018-06-29 23:04:31 -06:00
Bryan Ashby 2cef12f47e * Fix file descriptor leak
* Allow noWatch init (e.g. for oputil)
2018-06-29 23:04:03 -06:00
Bryan Ashby b6e7ecb193 Atari Disk Image (.atr) support via (modified for now; PR open) atr tool 2018-06-29 22:40:13 -06:00
Bryan Ashby fa100c2da1 Resolve TODO: set cwd when launching doors; allow user to set in config 2018-06-25 19:25:07 -06:00
Bryan Ashby 2fa9d6a3c2 Clean up a couple DEP0013 spots 2018-06-25 19:09:08 -06:00
Bryan Ashby 851da9e8c8 Do not require MCI configurations in theme.hjson for theme.hjson to apply #167 2018-06-25 18:09:32 -06:00
Bryan Ashby c758454134 Fix empty filename check 2018-06-25 18:08:41 -06:00
Bryan Ashby 3aa23db306 initDefaultWidht() for various views 2018-06-23 22:23:22 -06:00
Bryan Ashby 0cfd45d8a9 Fix undefined ref if we fail to copy/move a upload file 2018-06-23 21:03:32 -06:00
Bryan Ashby ff3ab38a7a Fix moveOrCopyFileWithCollisions() for fse-extra with kludge 2018-06-23 21:03:05 -06:00
Bryan Ashby 359f21914f Defualt width 2018-06-23 21:02:33 -06:00
Bryan Ashby 5bb4f9b903 Fix archive util config reload 2018-06-23 21:02:16 -06:00
Bryan Ashby 611a52e946 * Did add a tweak to the concept for height only: autoAdjustHeight can be used where it makes sense
* See also: #159
2018-06-23 20:16:44 -06:00
Bryan Ashby 6d4b8abc9c Remove ERC: It's not maintained. Can be added to boards as a mod anyway 2018-06-23 18:17:15 -06:00
Bryan Ashby 4ef1061fc5 Use standard list format for message area select 2018-06-23 11:17:21 -06:00
Bryan Ashby ef12cc0cfb Bring in some of the good parts of dropfile-updates branch 2018-06-22 23:06:01 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby c3635bb26b More tabs to spaces.. 2018-06-22 20:48:36 -06:00
Bryan Ashby a4e10f5ba5 Add .eslintignore, tidy up a bit 2018-06-21 23:35:52 -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 6325f92fa5 Increase max listeners in Events - experimental: may change this in the near future 2018-06-21 18:37:48 -06:00
Bryan Ashby 1fe46894d3 More Hot-Reload related changes
* Config.get(): Returns the latest config
* Update code all over the place to use Config.get() vs Config.conf (which will be deprecated)
2018-06-20 19:57:06 -06:00
Bryan Ashby ca0149eaf0 Fix rare race crash in CombatNet module 2018-06-18 20:17:56 -06:00
Bryan Ashby 4074d68526 #195: Finish scanFile() & hash updates: Clean up code 2018-06-17 20:42:42 -06:00
Bryan Ashby 681e45cb6d Much faster hash calculation / processing & therefor faster scanFile()
* Manaul read of buffers vs stream (fs.createReadStream())
* Small optimization by skipping work if no progress iterator
* Don't use async loop for updating hashes - vanilla for loop
2018-06-17 20:39:43 -06:00
Bryan Ashby f3cd36ad07 Fix oputil hang 2018-06-17 15:14:31 -06:00
Bryan Ashby c9674e68fb * Re-work menu stack goto() a bit - cleaner, support 'mergeFlags', and 'forwardArgs' menuFlags.
* Add show_art.js module: Advanced ways to show art in menu stacks. For example, by extraArgs, fileBase area art, etc -- this will replace e.g. showing message conf art later as to be more generic
2018-06-16 10:01:08 -06:00
Bryan Ashby 5f0c9ed1ab Fix require paths 2018-06-16 08:42:16 -06:00
Bryan Ashby 057ba684ea Use pre-generated table vs parsing a string 2018-06-16 08:41:41 -06:00
Bryan Ashby 2f09f3e995 Fix a couple rare bugs around SSH sessions 2018-06-14 20:00:01 -06:00
Bryan Ashby 4aab8224ed Initial version of hot-reload of config, menus, and prompts
* Themes use ES6 Map vs object{}
* Re-write and re-enable config cache using sane
* Events sent for config, prompt, or menu changes
* Event sent for theme changes
* Theme (or parent menu/prompt) changes cause re-merge and updates to connected clients
2018-06-13 21:02:00 -06:00
Bryan Ashby 1870db7d38 Cleanup code for new getConditionalValue() support 2018-06-13 20:59:43 -06:00
Bryan Ashby ceab8a0180 Code cleanup 2018-06-13 20:58:59 -06:00
Bryan Ashby 7748765ce0 Clean up code for updated getConditionalValue() 2018-06-13 20:58:02 -06:00
Bryan Ashby c08e4dbe04 New system events 2018-06-13 20:54:59 -06:00
Bryan Ashby 82da4b8e1e Resolve non-conditionals as-is 2018-06-13 20:54:17 -06:00
Bryan Ashby ec30c595c4 Fix drawing like page up/down 2018-06-09 22:50:57 -06:00
Bryan Ashby 973e10fb8b HOME/END key support in lists 2018-06-09 22:45:01 -06:00
Bryan Ashby 1cb811576b + Add unique session ID to client sessions
* Aliased to user for convienence
* Added to logs for easy tracing
* Can be used from events/etc. for grouping
2018-06-03 19:58:31 -06:00
Bryan Ashby fbe87640c5 + New user event 2018-06-03 19:58:05 -06:00
Bryan Ashby 0ae9d0d143 + User login and logoff events 2018-06-03 17:59:16 -06:00
Bryan Ashby c142a9c3d3 Work on Events missed files (see prev) 2018-06-03 17:02:28 -06:00
Bryan Ashby b273101b61 Work on Events system:
+ system_event.js
+ codes.l33t.enigma.system.user_upload and codes.l33t.enigma.system.user_download events
2018-06-03 17:00:54 -06:00
Bryan Ashby 57ecac5350 Add ESC support (actually works) 2018-06-02 20:51:09 -06:00
Bryan Ashby ccf29ea8d4 Force overwrite when extracting lha archives - they can contain dupes! 2018-06-02 17:09:43 -06:00
Bryan Ashby 3ecadebf91 Generic MIME types (file types) such as application/octet-stream can how have sub types for handlers (archive, info extract, ...)
+ Add Amiga DMS support via xdms
2018-06-02 16:06:04 -06:00
Bryan Ashby 95422f71ba Fix possible SQL injection in file tags search 2018-06-01 20:16:08 -06:00
Bryan Ashby 70ce81c01a Fix bug with quote escaping in DB sanatizeString() 2018-06-01 20:15:47 -06:00
Bryan Ashby 83dd440219 Lzx / unlzx info 2018-06-01 19:32:00 -06:00
Bryan Ashby 881f9765a6 Remove dead code, init MIME DB when doing file scan 2018-06-01 19:10:42 -06:00
Bryan Ashby 37e5948f65 Add lzx archive support via unlzx 2018-05-31 20:58:24 -06:00
Bryan Ashby 39be44434a Ensure all number groups work 2018-05-21 20:39:52 -06:00
Bryan Ashby 407f38d148 Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-05-21 20:37:41 -06:00
Bryan Ashby 8a428e6f74 oputil updates
* oputil.js user ... now works more like other "action" based commands
* add oputil.js user group .... for add/removal from groups
2018-05-21 20:36:34 -06:00
SemperFu 9385cd2c93
Update telnet.js
Spelling
2018-05-12 15:59:28 -04:00
Bryan Ashby 388e581b90 * Fix file transfer bug for WebSockets and SSH. Set/restore temp data handler belongs in base client.
* Lint some files
2018-05-12 09:33:41 -06:00
richinseattle ca0077e209
Pass username as argument to door programs 2018-05-02 18:28:04 -07:00
Bryan Ashby b2ae81c59e
Merge pull request #183 from davestephens/0.0.9-node10
Node.js 10 Upgrade. Bazinga!
2018-04-29 17:31:18 -06:00
Bryan Ashby 73e3e0f0c9 Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-04-29 09:08:00 -06:00
David Stephens f692c593e7 Buffer.alloc should be .from 2018-04-29 12:01:34 +01:00
David Stephens b45a6a8743 * Buffer froms that should be allocs
* Remove unnecessary Buffer fill after alloc
*  minor cleanup on fnv1a.js
2018-04-28 21:39:04 +01:00
David Stephens 0d7676a871 Buffer.alloc to init Buffer with a length 2018-04-28 14:06:36 +01:00
David Stephens f16eb6f3e6 Fix Node.js 10 deprecation warnings 2018-04-28 13:59:07 +01:00
Bryan Ashby 0b77c1f79e Better notFoundGenerator 2018-04-24 20:07:02 -06:00
Bryan Ashby 69ced917f3 Bind notFoundGenerator 2018-04-24 19:58:59 -06:00
Jason Kendall 7ac388c30d
Force no compression
It appears as tho there is a problem with compression and the upstream library. This PR forces no compression mode, making a work around for #181. 

This work around is derived from https://github.com/mscdex/ssh2/issues/594 which may be the cause for #181 as well.
2018-04-24 08:30:14 -04:00
Bryan Ashby df01e72f2e
Merge pull request #180 from coolacid/patch-3
Missing mb command in oputil.js help
2018-04-23 19:17:56 -06:00
Bryan Ashby a0cd8fed83 Websocket config should be similar to web #176 2018-04-23 19:03:35 -06:00
Jason Kendall 389e52dcb9
Missing mb command in oputil.js help
The `mb` sub-command was missing from the general help output from oputil.js - this add it.
2018-04-23 20:53:55 -04:00
Bryan Ashby a1f55e5ad5 Webserver Crashes accessing Directory #177 2018-04-23 18:41:12 -06:00
Bryan Ashby 695e84e16f * Remove "LastLine" indicator - does not seem to be used in practice/is not required
* Add logging to Gopher
2018-04-16 19:29:25 -06:00
Bryan Ashby f557e5b6e0 Minor Gopher updates 2018-04-16 17:10:19 -06:00
Bryan Ashby 8ee573fb9d Initial commit of Gopher contnet server 2018-04-15 20:25:56 -06:00
Bryan Ashby 207e361c03 Pull copyright from license - easier to maintain single place 2018-04-10 19:53:04 -06:00
Bryan Ashby f08d6efb97 WIP work on door fixes, updates, etc. 2018-03-28 19:16:10 -06:00
Bryan Ashby 7bd980c886 Crash with color differences in same variable #164 2018-03-22 20:48:31 -06:00
Bryan Ashby 66f444d4fb Slight findFiles optimization 2018-03-17 13:48:11 -06:00
Bryan Ashby 18284d8038 Merge minor theme stuff 2018-03-14 21:33:58 -06:00
Bryan Ashby 290b391bf8 Fix TypeError: cb is not a function during ping 2018-03-14 20:26:40 -06:00
Bryan Ashby 4acbae86e3 Crash on configuration when theme no longer exists #157 2018-03-13 19:22:26 -06:00
Bryan Ashby 66423068b1 Crash on delete in BBS List with zero entries #156 2018-03-13 19:10:20 -06:00
Bryan Ashby 534b51933a Register key press handler - oops! 2018-03-13 19:00:34 -06:00
Bryan Ashby 91bbc2e5fe DESCRIPT.ION generation disabled by default 2018-03-13 18:59:47 -06:00
Bryan Ashby 6311198f4d Schedule that actually is valid... 2018-03-12 22:55:10 -06:00
Bryan Ashby 0de98a673f Add DESCRIPT.ION export ability
* 4DOS style DESCRIPT.ION generated in storage areas @ weekly schedule by default
* Format can be controlled via templates; schedule can be changed or disabled, etc.
2018-03-12 22:18:09 -06:00
Bryan Ashby 7bf49d973d Split up code a bit in prep for DESCRIPT.ION generation 2018-03-11 21:23:35 -06:00
Bryan Ashby edc0bf5e06 Split up code a bit in prep for DESCRIPT.ION generator 2018-03-11 21:23:23 -06:00
Bryan Ashby 9c87d45433 Add GLOB support to oputil fb scan... 2018-03-10 11:37:23 -07:00
Bryan Ashby f6f1de4bd8 Move to pty-node over custom pty2.js 2018-03-08 21:39:42 -07:00
Bryan Ashby 281bfbc2aa Implement isLocal() for 'LC' ACS 2018-03-04 20:47:25 -07:00
Bryan Ashby 17cebdebce Better fillChar handling 2018-03-04 13:35:57 -07:00
Bryan Ashby cac3e0ceae Better fillChar handling, specialKeyMapOverride() 2018-03-04 13:35:36 -07:00
Bryan Ashby e7fb569466 Docs, some minor updates 2018-03-04 13:35:05 -07:00
Bryan Ashby 1482d0b78f Add known system events enum - many more to come 2018-03-04 13:34:35 -07:00
Bryan Ashby 74b9d587c9 + Add compression for larger exports
* Temp disable of idle monitor while building large lists
* Fix hash tags
* Handle no results & other errors
2018-03-04 09:17:49 -07:00
Bryan Ashby 44a4a4aeb4 Updates to idle monitor inc. ability to disable 2018-03-04 09:17:27 -07:00
Bryan Ashby d260011ce8 + New file base list export functionality (early beta!)
* File base area startup() and cleanup
* Better prepViewController() signature
2018-03-03 21:47:04 -07:00
Bryan Ashby d3d8268df8 + New file base list export functionality (early beta!)
* File base area startup() and cleanup
* Better prepViewController() signature
2018-03-03 21:46:41 -07:00
Bryan Ashby 4ccb059d61 Add --quick to help 2018-03-03 21:41:17 -07:00
Bryan Ashby bb605d8781 * Add new well known meta for temp session d/ls
* Better meta assign in ctor
2018-03-03 21:40:28 -07:00
Bryan Ashby c3b62ac608 Some default long formats for theme helpers 2018-03-03 21:16:21 -07:00
Bryan Ashby 95f4cd3fe2 Fix emit args 2018-03-03 21:16:01 -07:00
Bryan Ashby 9ad38f84a7 Add --quick option to fb scan ... 2018-02-16 23:00:15 -07:00
Bryan Ashby cd51cc1adb Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-02-12 20:18:38 -07:00
David Stephens 26e8e0f6d0 Fix message counter and message area display in message listings 2018-02-12 21:53:15 +00:00
Bryan Ashby c26a8872e6 Fix TIC node config lookup when wildcards are present 2018-02-10 10:54:04 -07:00
Bryan Ashby 8c7c20862c * Implement some missing placeholder ACS checks
* Add some new ACS checks
* Add documentation on new ACS
2018-02-07 20:26:29 -07:00
Bryan Ashby 3db5081698 Allow wildcards such as "21:*" for node configuraiton keys
* Resolves TODO
* Aligns with docs
2018-02-05 20:13:29 -07:00
Bryan Ashby ced943867e #146 Fix color codes 2018-02-05 18:52:24 -07:00
Bryan Ashby 7555233ac7 Fix some word wrap bugs previously introduced 2018-02-04 21:01:19 -07:00
Bryan Ashby aecc24079f Revert "Fix word wrap crash reported by user when pipe codes are in play"
This reverts commit 0a486d290f.
2018-02-04 10:39:14 -07:00
Bryan Ashby 0a486d290f Fix word wrap crash reported by user when pipe codes are in play 2018-02-04 10:27:32 -07:00
Bryan Ashby 7a6188bba0 Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-02-03 08:37:24 -07:00
Bryan Ashby aa274bb354 Update copyright to 2018 2018-02-03 08:20:51 -07:00
Bryan Ashby 1b58b85b1f Code cleanup + provide default 'text' member 2018-02-02 21:22:47 -07:00
Bryan Ashby 548ff41467 Conceptual MenuItem caching - WIP for testing, will impl. in others if it seems good 2018-02-01 20:29:26 -07:00
Bryan Ashby a121d60c1b Fix lastReadId logic 2018-02-01 19:34:14 -07:00
Bryan Ashby 5c580c1ecd Prevent private mail in message search results 2018-01-31 23:01:42 -07:00
Bryan Ashby 837326e15a MANY changes around message listing / viewing
* If messageList is used, alwasy require items to contain areaTag
* Standardize messageList a bit - still WIP, needs cleaned up
* Lof of changes around area/conf tracking in relation to messages and message listings
* Work for message searching
* Clean up of various code, much to do...
2018-01-31 22:45:03 -07:00
Bryan Ashby cc2ee9c586 Add ESC support - WIP, not fully functional 2018-01-31 22:42:43 -07:00
Bryan Ashby 0eee701bf6 Add 'data' member support to getData() 2018-01-31 22:42:20 -07:00
Bryan Ashby 783f142e20 Add refreshPredefinedMciViewsByCode() 2018-01-31 22:41:13 -07:00
Bryan Ashby d244cd25fa Add getViewsByMciCode()
* Store MCI code in View when created from MCI
* Allow retrieval by MCI code
2018-01-31 22:38:02 -07:00
Bryan Ashby cb8d331415 Add 'data' member support to getData() 2018-01-31 22:37:03 -07:00
Bryan Ashby ec87d11c31 Fix FileEntry.findFiles() terms MATCH expr 2018-01-31 22:36:31 -07:00
Bryan Ashby 06ea2d1600 Code readability 2018-01-31 22:52:27 +00:00
Bryan Ashby c81aa001f4 Fix typo 2018-01-28 13:22:47 -07:00
Bryan Ashby 999033ec15 New menu sorting, fix up default SGR 2018-01-28 13:03:11 -07:00
Bryan Ashby b6317e0541 File Base area selection using new simplified formatting 2018-01-28 13:02:24 -07:00
Bryan Ashby 342c37b388 Allow extraArgs such that we can launch from menu items easier 2018-01-28 12:56:35 -07:00
Bryan Ashby 7a2df56855 Menu items can now be arrays of objects
* Allows custom members of each item
* 'data' overrides selection (vs returning the index)
* 'text' is the default member for text if no formatters are supplied
* formatters: 'itemFormat' and 'focusItemFormat', e.g. "{member1} - {member2}"
2018-01-27 22:21:48 -07:00
Bryan Ashby 974ee1b389 MAJOR *POSSIBLY BREAKING* changes in FSE
* WIP on cleanup to use 'standard' MCI formatting / theming  used elsewhere in system
* Some MCI ID changes (e.g. FSE in edit mode %TL13 -> %TL4); update your theme.hjson / artwork!
2018-01-26 21:45:08 -07:00
Bryan Ashby a3e257aee3 Fix FSE word wrap bug when no barriers could be located in a > width string 2018-01-26 21:44:07 -07:00
Bryan Ashby 303259841f options -> client, since client was only option ;) 2018-01-26 21:43:08 -07:00
Bryan Ashby dc1ff587a3 Use new Message.findMessages() functionality 2018-01-26 21:42:43 -07:00
Bryan Ashby cc119297e8 wcValue -> wildcards (readability) 2018-01-26 21:39:53 -07:00
Bryan Ashby b6bda7f45f much cleaner code 2018-01-26 21:38:50 -07:00
Bryan Ashby 3d575f7645 Default renderLen array 2018-01-26 21:37:26 -07:00
Bryan Ashby 70b5d7a124 MAJOR refactor of Message class
* ES6 class vs old style
* Add findMessages(filter, ...) similar to FileEntry.findFiles() allowing many filter types used throughout the system
2018-01-26 21:36:16 -07:00
Bryan Ashby ec1876084c Add sanatizeString() method 2018-01-26 21:34:32 -07:00
Bryan Ashby cc74616a93 Next at end of list goes to previous menu by default 2018-01-26 21:34:10 -07:00
Bryan Ashby 50074d7765 Remove unused require 2018-01-21 20:49:49 -07:00
Bryan Ashby 94f3721bf8 Prompt when already logged in 2018-01-21 20:49:38 -07:00
Bryan Ashby 8bfad971a1 Finish conversion from 'binary' -> 'binary-parser'
* FTN packets
* SAUCE
2018-01-21 11:58:19 -07:00
Bryan Ashby c1f971d2d9 Code readability 2018-01-20 19:30:21 -07:00
Bryan Ashby bc55317a4b Fix drawing when focus items set - we should not attempt to stylize! 2018-01-20 19:30:10 -07:00
Bryan Ashby 5caf7a9fce Move NetMail routes to scannerTossers: { ftn_bso: { ... } } where it belongs in config.hjson 2018-01-20 18:47:19 -07:00
Bryan Ashby 70a2bc5160 Rework BSO-style flow file generation
* Add point address NNNNnnnn.pnt sub dir support
* Use *route* address in case of non-direct destinations
2018-01-20 18:32:15 -07:00
Bryan Ashby afe0c88cfc NetMail non-HUB fixes
* Properly separate FTN *packet* header vs *message* header DST/SRC information
* Change routes{} handling: These are now *require* for out-of-HUB routing such that Enig will know where to send messages
2018-01-20 15:16:35 -07:00
Bryan Ashby b1cea5edd7 Add in reason if available, to error message 2018-01-20 15:16:10 -07:00
Bryan Ashby 16c8fd0afc Fix focusTextStyle for VerticalMenuView (lightbar) 2018-01-15 21:40:13 -07:00
Bryan Ashby 78ca1e9c4f * Ensure explicit by-MCI key forms are properly themed, e.g. form: { 3: { HM1: { ... }}} 2018-01-15 21:06:16 -07:00
Bryan Ashby 23e77dcb31 Uncommeng out a deprecated function - will fix later; need for now 2018-01-15 21:05:55 -07:00
Bryan Ashby 05a93cae89 Default to left justification 2018-01-15 20:31:55 -07:00
Bryan Ashby d1593ed159 * Fix bug where 'submit' property was ignored in favor of highest MCI ID always; Will now properly set view with 'submit' to true else rely on highest ID 2018-01-15 20:30:55 -07:00
Bryan Ashby a8d5e84779 * Fix justification 'right' vs 'left': They were flipped (durp!). Right aligned is now really that, etc. You may need to update your theme.hjson/similar! 2018-01-15 16:08:35 -07: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 a106050ba3 Fix attempts to load bad path 2018-01-15 09:41:18 -07:00
Bryan Ashby 136d21276c Add new scan pointers for mb/fb 2018-01-14 17:09:23 -07:00
Bryan Ashby e7b0e4af30 Add private exported + sent mail cleanup to trimMessageAreasScheduledEvent() scheduled event 2018-01-14 13:52:40 -07:00
Bryan Ashby 84fd0ff6d2 Add ability to send directly to a NetMail address 2018-01-13 09:06:50 -07:00
Bryan Ashby 9a00b3eb15 Add validateGeneralMailAddressedTo() 2018-01-13 08:58:28 -07:00
Bryan Ashby 149f8bd9f5 Add valid check methods 2018-01-13 08:57:54 -07:00
Bryan Ashby 08ea798d53 Rename to AddressFlavor 2018-01-13 08:57:13 -07:00
Bryan Ashby 2bc8e417e4 Fix non-reply crash 2018-01-12 23:44:22 -07:00
Bryan Ashby 27fcd40900 Fix remote from user @ import 2018-01-12 19:06:33 -07:00
Bryan Ashby 00deb3fe72 * Add concept of external flavor to import/exported mails, e.g. 'ftn'
* Add to/from remote user meta for opaqe addrs, e.g. 'ftn' flavor can use FTN-style addresses
* Allow replys from inbox to a NetMail
2018-01-11 21:39:14 -07:00
Bryan Ashby c5e3220c1d Add support for finding messages by date for msg pointers 2018-01-11 21:17:59 -07:00
Bryan Ashby fa1bffeaf8 Fix limit when fetching entries, allow moment timestamps 2018-01-11 21:17:26 -07:00
Bryan Ashby 4e4ee6b8ce cleanup 2018-01-11 21:16:37 -07:00
Bryan Ashby a2e8fa6510 Add allowOlder opt to setFileBaseLastViewdFileIdForUser() 2018-01-11 21:16:06 -07:00
Bryan Ashby 30fd001db3 Fixed servedItem log 2018-01-11 21:12:07 -07:00
Bryan Ashby ad60e5a7df Split AreaFix with \r\n 2018-01-09 22:13:29 -07:00
Bryan Ashby f939babe72 Updates and isNetmail=isPrivate 2018-01-09 20:48:47 -07:00
Bryan Ashby d225d78fa9 At least for now, use FTN-compliant MSGID for NetMail exports 2018-01-09 19:38:36 -07:00
Bryan Ashby c4c30e0c0d Add some logging 2018-01-09 18:43:04 -07:00
Bryan Ashby 99244aa2e4 * Use Zone:Net/* for lookup before defualt local address when setting 'from' for NetMail 2018-01-06 13:24:35 -07:00
Bryan Ashby ab12fb5d79 Lookup username and real name in various scenarios 2018-01-05 22:03:33 -07:00
Bryan Ashby f967ce1ce6 * Fix String vs Address when creating (NetMail) packets causing orig address info to not be recorded correctly 2018-01-05 22:02:36 -07:00
Bryan Ashby b97f96ce18 * Fix Via parsing
* Use LIKE for real name lookup
2018-01-01 18:43:05 -07:00
Bryan Ashby 84a1f70fc2 * Add some user lookup functionality
* Fix INTL to/from order
* Remove VIA kludge when initially creating a NetMail message
2018-01-01 18:10:38 -07:00
Bryan Ashby e7109b0f0c Minor fix 2018-01-01 17:50:27 -07:00
Bryan Ashby bbd70f2fea Minor log changes 2018-01-01 15:13:56 -07:00
Bryan Ashby 6d929237d2 * Handle import of NetMail messages
* Add NetMail aliases support (name -> localname lookup, e.g. "root" -> "NuSkooler"
* Minor code changes / cleanup
2018-01-01 13:32:55 -07:00
Bryan Ashby 11a19d899e * Use per-network outbound for NetMail just like EchoMail
* Use BSO style FLO file for NetMail
* Some code cleanup
2017-12-31 18:45:39 -07:00
Bryan Ashby fc40641eeb NetMail avail to oputil & export - WIP 2017-12-31 17:54:11 -07:00
Bryan Ashby 1c5a00313b Minor adjustment on tags to allow comma separated/etc. 2017-12-12 21:32:01 -07:00
Bryan Ashby 7f80f4a7af * Fix 'noHistory' flag and it's usage to be more natural
* Add 'popParent' menu flag (works like 'noHistory' used to)
2017-12-02 19:06:07 -07:00
Bryan Ashby 1849d275f5 Make @systemModule implicit; require @userModule for user modules 2017-11-30 17:15:18 -07:00
Bryan Ashby 22b09d8018 Fix unpipe crash 2017-11-30 11:39:01 -07:00
Bryan Ashby 4e1bbe419b
Merge pull request #140 from davestephens/restructure
Mega rejig!
2017-11-29 12:10:17 -07:00
Bryan Ashby 7af30ea112 Proceed telnet login even if term type is not received [right away]; Allows older DOS terms to function 2017-11-28 20:17:44 -07:00
David Stephens 10044b6749 Switch to xxhash to save farmhash jiggery-pokery when initialising Docker image 2017-11-26 18:26:56 +00:00
David Stephens b25b96d9de * Move default cert path into config
* Update docs to reflect changes
* More doc tweaks for new structure
2017-11-26 09:09:11 +00:00
David Stephens 521e38d7e9 Supply config path to main.js and oputil.js, rather than specific config file 2017-11-25 22:45:19 +00:00
David Stephens 32557975d9 Update mod paths in config.js 2017-11-24 23:33:45 +00:00
David Stephens 618ecc0714 Move modules in mods into /core 2017-11-24 23:23:15 +00:00
David Stephens 57d46dd57e Mega rejig! 2017-11-22 23:27:33 +00:00
Bryan Ashby 617f0ef07e Add extended pipe color codes (24-31) ala Mystic et. al. 2017-11-18 16:15:50 -07:00
Bryan Ashby 02cd8c26c7 Minor fix 2017-11-18 14:14:19 -07:00
Bryan Ashby f0b9cd102d Fix some year est issues & add ability for oputil fb scan --update to pick up years 2017-11-18 14:09:17 -07:00
Bryan Ashby 1b414b9b8c Merge branch '0.0.8-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.8-alpha 2017-11-12 18:56:28 -07:00
Bryan Ashby 6d31589c8b Add PCB/WildCat!, WWIV, Renegade, etc. color code support to file descriptions 2017-11-12 18:55:57 -07:00
David Stephens d505952510 CombatNet support! 2017-11-02 00:41:20 +00:00
Bryan Ashby a5f72a345c Fix Content-Type 2017-10-29 21:02:36 -06:00
Bryan Ashby 4b0ef85432 Allow index.html in root 2017-10-29 20:04:10 -06:00
Bryan Ashby 2efc522d68 Mask out passwordConfirm 2017-10-29 20:03:49 -06:00
Bryan Ashby e55b4aa50b Return event in unknownOption() 2017-10-29 20:03:33 -06:00
Bryan Ashby c652fb65ea Merge in changes from 0.0.7-alpha branch for watchFiles 2017-10-02 21:30:33 -06:00
Bryan Ashby 0bef268276 Issue #122: If watch file exists at startup, kick off task/schedule 2017-10-02 21:28:32 -06:00
Bryan Ashby 68c6197732 Merge in sane vs gaze stuff 2017-10-02 21:10:25 -06:00
Bryan Ashby 067bb9e884 * Switch to sane over gaze for file watching: Gaze was not triggering on file additions
* Remove watching of config files for now -- doesn't work anyway. Will revisit later.
2017-10-02 21:06:53 -06:00
Bryan Ashby af52ed6153 Better handling of TIC import descriptions
* Add descPriority config option (default='diz')
* Really prefer diz/ldesc over *generated* descriptions e.g. from filename or info extractors
2017-10-01 11:07:49 -06:00
Bryan Ashby 5cbbd76411 Updates to oputil when --update with desc/descLong 2017-09-30 12:34:10 -06:00
Bryan Ashby 8b7cf1f210 Add extra logging around TIC processing 2017-09-29 19:43:22 -06:00
Bryan Ashby 38b9bf2c30 Fix typo in persistHashTag() 2017-09-28 21:34:46 -06:00
Bryan Ashby dc2b3031fd * Change how hashids are generated for web file area: include a 'type'
* Add support for web *batch* downloads via streaming zip file creation
* Add new web download manager and batch mode display
* Add extra info to 'standard' downloads mod/menu
2017-09-26 10:44:15 -06:00
Bryan Ashby e555a28160 Filter out system areas 2017-09-26 10:43:22 -06:00
Bryan Ashby 0f9e545b7b Allow filter on 1:n area tags in findFiles(). Add ability to calc sha256 if not already set (use sparingly!) 2017-09-26 10:41:41 -06:00
Bryan Ashby 59da1a2461 * Add getAvailableFileAreaTags()
* Properly check area tags for system internal
2017-09-26 10:40:30 -06:00
Bryan Ashby f105c25e17 Add file_web_serve_batch table 2017-09-26 10:39:23 -06:00
Bryan Ashby 37c78209a8 Fix up system internal file areas 2017-09-26 10:39:07 -06:00
Bryan Ashby 88049a3c7a Prefer FILE_ID.ANS > FILE_ID.DIZ 2017-09-24 11:35:12 -06:00
Bryan Ashby e37409e9b5 * Separate out DEL vs backspace when possible for ANSI-BBS terminals. *nix terminals don't send us what we need, but deal with it.
* Handle delete in MultiLineTextEditView. More to come soon!
2017-09-24 11:15:38 -06:00
Bryan Ashby 47551b1803 Add isNixTerm(), use includes vs indexOf on array search 2017-09-24 11:15:26 -06:00
Bryan Ashby 1784afffa7 Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 0.0.8-alpha 2017-09-24 10:00:16 -06:00
Bryan Ashby 68da131b1b Fix waterfall error 2017-09-24 09:58:43 -06:00
Bryan Ashby 48c6edc5b3 Rename VTX Hyperlink stuff 2017-09-23 23:17:16 -06:00
Bryan Ashby 1ad5b125f5 oputil fb rm|remove|del|delete functionality 2017-09-23 23:03:21 -06:00
Bryan Ashby b0260049ba Add VTX hyperlink support for URLs 2017-09-21 21:23:30 -06:00
Bryan Ashby 5f9b3eb90d Switch to sqltie-trans, a more updated transaction handling module 2017-09-18 21:05:38 -06:00
Bryan Ashby 1e250f06d9 * Fix major issue with SQLite transactions + aync code causing collisions 2017-09-16 17:13:11 -06:00
Bryan Ashby 68247d87e8 Add filename order by option for search 2017-09-14 20:54:35 -06:00
Bryan Ashby 50bac95857 * Fix ANSI description display during upload
* Major improvements to upload: Allow user to properly edit descriptions even if provided by .diz/system/etc.
2017-09-11 21:01:35 -06:00
Bryan Ashby 861055d935 Add some new ASCII output options to AnsiPrep 2017-09-10 20:51:43 -06:00
Bryan Ashby a91ae779be Add skipAcsCheck option to getAvailableFileAReas() 2017-09-10 20:51:30 -06:00
Bryan Ashby 9d09390561 Add countWithAbbr and countAbbr format specifiers 2017-09-09 13:59:23 -06:00
Bryan Ashby 9cc14b5708 Use nicely formatted number values for MCI stats 2017-09-09 12:11:55 -06:00
Bryan Ashby 3980c8acae Add new file base system stats and MCI codes 2017-09-09 11:48:43 -06:00
Bryan Ashby 42d6190802 Additional logging 2017-09-08 23:36:26 -06:00
Bryan Ashby 1e27291869 Fix typo 2017-09-08 23:27:28 -06:00
Bryan Ashby 18461e594a Add --update option to fb scan 2017-09-08 23:11:01 -06:00
Bryan Ashby 79e410315c Remove a extra line when quoting 2017-09-08 23:07:11 -06:00
Bryan Ashby 3f942871ae * Update packages
* Remove application/x-arj from mimeUtils hack - is included in mime-db now.
2017-09-07 21:21:24 -06:00
Bryan Ashby 7fd0d6e699 Start to wrap up 0.0.7-alpha 2017-09-07 18:15:10 -06:00
Bryan Ashby b1b841674c Ability to disabled themes + clean up theme code slightly. Area needs work! 2017-09-04 09:57:10 -06:00
Bryan Ashby 782cae6ba3 File Base: Browse by area 2017-09-03 20:45:00 -06:00
Bryan Ashby d74e95a198 Revert init seq in single write for now (VTX), return vc in helper 2017-09-03 20:44:17 -06:00
Bryan Ashby 013c2e3fa1 Change name of default filter 2017-09-03 20:43:30 -06:00
Bryan Ashby 188cebab4f Notes 2017-09-03 20:43:13 -06:00
Bryan Ashby 1c8e6d702c Fix one off bug causing ansi badness 2017-09-03 13:28:45 -06:00
Bryan Ashby 88777c6723 Fix term width/height in ansiPrep() 2017-09-03 13:15:15 -06:00
Bryan Ashby 8d5f1a8c5d Experimental terminalSupports(x) 2017-09-02 16:23:34 -06:00
Bryan Ashby a642a271b4 Testing... 2017-09-02 10:27:59 -06:00
Bryan Ashby d300583574 Fix typo 2017-09-02 10:01:38 -06:00
Bryan Ashby ea39811ff6 Fix up some font switching logic 2017-09-02 09:59:38 -06:00
Bryan Ashby d3a6ce8645 Wrap up a couple writes to a single 2017-09-02 09:53:12 -06:00
Bryan Ashby 52405a2f51 Always format IPv4 when prefixed/within IPv6 space 2017-09-02 09:52:39 -06:00
Bryan Ashby de46c28305 Minor cleanup related stuff 2017-09-01 17:42:47 -06:00
Bryan Ashby 3c40cb0766 Fix WONT/DONT cycle seen with EtherTerm 2017-09-01 17:42:20 -06:00
Bryan Ashby dd2d7c1b30 Quote builder without 'bounce' in ANSI mode 2017-09-01 17:41:49 -06:00
Bryan Ashby 34e8037ea1 Long awaited PageUp/PageDown support in VerticalMenuView 2017-09-01 17:41:08 -06:00
Bryan Ashby 1d86be6e34 Fix views in area browser, change 'ignore' to 'exclude' during scan 2017-08-29 20:10:34 -06:00
Bryan Ashby af911f8e74 Ability to set 'next' to advance to next area/conf during newscan 2017-08-29 19:38:34 -06:00
Bryan Ashby 9379c7f5e7 Prepped ANSI is working very well + ANSI in FSE pristine in *most* cases
Moved prepAnsi() -> ansi_prep.js as ansiPrep (single export)
2017-08-28 23:17:35 -06:00
Bryan Ashby 1bad0de5c1 Major improvements to quote builder for pre-formatted text/etc. 2017-08-27 20:08:13 -06:00
Bryan Ashby 6f83d1075f Add some video file support 2017-08-27 16:25:32 -06:00
Bryan Ashby f6f3f8d80e ANSI replies are now importing to Mysgic correctly!
* Removed XX> prefix when in ANSI reply mode -- this borks Mystic/others
* Hard code CRLF in text lines in ANSI replies - no longer try to "flow" the text (no other systems support this)
2017-08-27 11:17:29 -06:00
Bryan Ashby d132f3932a Prepare exported ANSI messages by ensuring they are < 79 characters in length, using ESC[A ESC[<N>C to adjust long lines 2017-08-26 20:37:20 -06:00
Bryan Ashby 968a22c5eb Silence warning 2017-08-26 20:26:41 -06:00
Bryan Ashby 4914bb9003 Add getFullMatchRegExp(): This will be used elsewhere eventually 2017-08-26 19:59:26 -06:00
Bryan Ashby c58f9a6510 Tearline handling 2017-08-24 22:23:14 -06:00
Bryan Ashby 59716da4d0 Better quote builder 2017-08-24 22:21:37 -06:00
Bryan Ashby dda4ad6698 Fix some prepAnsi code, add insert() method 2017-08-24 22:20:44 -06:00
Bryan Ashby fc200250e8 Better quote prefix generator 2017-08-24 22:20:07 -06:00
Bryan Ashby dc39998841 Fix some breakage caused by word wrapping with ESC seqs 2017-08-24 22:18:07 -06:00
Bryan Ashby d47f26004d DESCRIPT.ION support for oputil fb scan 2017-08-24 20:22:50 -06:00
Bryan Ashby f54ae16ce4 Fix > termHeight issue in parser 2017-08-22 20:54:04 -06:00
Bryan Ashby 2b83630431 * Explicit encoding handling
* Word wrap with ANSI in FSE
2017-08-20 20:42:25 -06:00
Bryan Ashby b3ce44ae42 Add explicit_encoding System meta 2017-08-20 20:41:53 -06:00
Bryan Ashby f45de620b1 Utilize explicit_encoding at export if set 2017-08-20 20:41:19 -06:00
Bryan Ashby bf8552e24f * Better isAnsi() regex
* Handle word wrap within ANSI on plain text lines
2017-08-20 20:40:36 -06:00
Bryan Ashby fa465613a1 Add packetMsgEncoding and packetAnsiMsgEncoding defaults 2017-08-20 20:37:10 -06:00
Bryan Ashby b922f54024 Remove extra reset in ESC seq 2017-08-20 20:34:18 -06:00
Bryan Ashby b1bd7cef65 If reply is ANSI, ensure first few chars of message show that -- for detection 2017-08-19 15:25:05 -06:00
Bryan Ashby 983060284a WIP - will do later. Comic Book archive handling 2017-08-19 15:24:42 -06:00
Bryan Ashby 9eec1c1528 Remove dead code, return if ANSI was detected from quote builder 2017-08-19 15:24:23 -06:00
Bryan Ashby c63a32a9ba Handle lack of command in odd state 2017-08-19 13:59:09 -06:00
Bryan Ashby c7ff033737 Assert we have a buffer 2017-08-19 13:57:02 -06:00
Bryan Ashby 2711f892a2 Handle 'error' SSH event 2017-08-19 13:56:42 -06:00
Bryan Ashby 0ebf839822 Fix undefined ref 2017-08-18 21:50:41 -06:00
Bryan Ashby b896046bff Add 'auto' support for prepAnsi() rows/height 2017-08-17 21:31:57 -06:00
Bryan Ashby 8a619b5138 Remove rest to text in MLTEV for now 2017-08-17 21:14:05 -06:00
Bryan Ashby a7060a351b ANSI improvements
* ANSI in FSE
* ANSI vs standard quote builder
* ANSI handling methods/helpers
2017-08-16 21:36:14 -06:00
Bryan Ashby 353b18ffad Remove unused code 2017-08-16 21:35:03 -06:00
Bryan Ashby d674370d6d Detect VTX terminal 2017-08-16 21:34:36 -06:00
Bryan Ashby 3f4ce1c0f4 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 0.0.7-alpha 2017-08-14 21:22:36 -06:00
Bryan Ashby b7ca78ebc4 Fix WebSocket disconnect 2017-08-14 21:22:03 -06:00
Bryan Ashby 278eb8e7cf setAnsi() method, various cleanup and optimizations 2017-08-06 11:32:32 -06:00
Bryan Ashby 70a53e9613 Nothing really 2017-08-06 11:31:56 -06:00
Bryan Ashby 0a079ee4d8 Display ANSI in file area desc view 2017-08-06 11:31:21 -06:00
Bryan Ashby 9cb31367fd Mask out key/authCode from log 2017-08-06 11:22:37 -06:00
Bryan Ashby 941b180227 Remove unused & commented table 2017-08-06 11:22:15 -06:00
Bryan Ashby 254b5712be Fixes to ANSI escape parser @ end of row 2017-08-06 11:21:27 -06:00
Bryan Ashby 9720258303 Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 0.0.7-alpha 2017-08-06 10:33:53 -06:00
Bryan Ashby d5954f8198 #118: Crash on STDIO doors when logged in via WebSocket 2017-08-06 10:20:55 -06:00
Bryan Ashby 848b0f7cf6 EnigAssert() vs assert() and fix a logging issue 2017-07-30 14:31:16 -06:00
Bryan Ashby 84c0614dcd Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs into 0.0.7-alpha 2017-07-25 19:30:25 -06:00
Bryan Ashby e5ea457db0 Update to send proper term size for pty 2017-07-25 19:30:03 -06:00
Bryan Ashby ab81b247c6 Fix file newscan pointer 2017-07-23 18:11:33 -06:00
Bryan Ashby 429e03185c Merge from master 2017-07-23 13:05:28 -06:00
Bryan Ashby ca45656c11 Add Exodus door server support 2017-07-23 13:03:47 -06:00
Bryan Ashby d57ca0873e * File Base newscan basic functionality
* Try to handle unknown options in telnet server
2017-07-17 19:46:38 -06:00
Bryan Ashby d230a2f58b * Don't allow 'system' filters to be deleted
* Code cleanup
* Static UUID for "default/system" filters
2017-07-09 20:00:36 -06:00
Bryan Ashby fb9ecbfb93 New MCI codes for system up/down stats 2017-07-09 16:48:53 -06:00
Bryan Ashby 0366f0139c Add application/x-arj and text/x-ansi MIME types 2017-06-23 22:49:46 -06:00
Bryan Ashby 4b8369a41f Merge branch 'master' of github.com:NuSkooler/enigma-bbs 2017-06-22 22:20:40 -06:00
Bryan Ashby 7c81cbed51 Fix route handling for HTTPS 2017-06-22 22:20:05 -06:00
Bryan Ashby 7343ab2ff2 Updated Events - use glob for finding nested modules/etc. 2017-06-22 22:19:34 -06:00
Bryan Ashby b7ad850bdc Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 0.0.7-alpha 2017-06-21 21:42:56 -06:00
Andrew Pamment bb76939745 Fixes thtrue in #115 2017-06-22 12:38:57 +10:00
Josh M. McKee b383950314 Add getModulePaths to module_util, call it from events.registerModules 2017-06-11 19:44:34 -07:00
Bryan Ashby 02d32a9e51 Add config getter 2017-06-11 20:23:12 -06:00
Josh M. McKee 06e84eee94 Spaces to tabs, to match upstream convention 2017-06-10 18:52:11 -07:00
Josh M. McKee c45824b3ad Rename connect event to term_detected, add connected and disconnected events 2017-06-10 18:46:28 -07:00
Josh M. McKee 002b0e941e Events system, first pass 2017-06-10 17:29:00 -07:00
Bryan Ashby 64aa63e8b5 Fix disconnect of WebSocket 2017-06-06 20:04:28 -06:00
Bryan Ashby ff5896e80c Fix proxied check for remoteAddress 2017-06-01 18:56:05 -06:00
Bryan Ashby ab8cb77f81 * secureProxy -> proxied in webSocket config
* Add support for X-Forwarded-For and X-Real-IP in WebSocket for remoteAddr
2017-06-01 18:48:14 -06:00
Bryan Ashby 385edc0953 X-Forwarded-Proto isSecure override option 2017-05-31 22:13:44 -06:00
Bryan Ashby 74bab3d6c5 Better configuration for WebSockets 2017-05-30 21:31:35 -06:00
Bryan Ashby 2e18833014 Working WebSocket connections - not yet complete, but working well 2017-05-26 08:25:41 -06:00
Bryan Ashby 3a41a6b2e1 fb move FILENAME_WC ... DST support: Allow moving entries via their filenames inc. wildcard support 2017-05-23 21:55:22 -06:00
Bryan Ashby 1c92b349cd Clean up oputil help a bit
Minor code tidy + notes
2017-05-22 21:35:06 -06:00
Bryan Ashby d0e2d41c00 Ability to scan single archive (e.g. compressed .pdf) -> extract useful description 2017-05-21 11:45:50 -06:00
Bryan Ashby 019596d709 Convert to using graceful-fs vs vanilla fs module 2017-05-19 21:20:19 -06:00
Bryan Ashby a49abc7c67 Catch spawn errors 2017-05-19 20:28:15 -06:00
Bryan Ashby 54a7f4f774 * Lots of improvements to info extraction system
* MUCH faster browsing in file base
* Better release year estimation
* New tool: exiftool2desc
2017-05-19 18:41:13 -06:00
Bryan Ashby b8595f667d Short desc extraction for non-archives 2017-05-13 20:59:42 -06:00
Bryan Ashby a1e51c41ee Call main... main! 2017-05-10 21:29:04 -06:00
Bryan Ashby 0e5d0c53d2 Use Config.fileTypes with mime-db backed MIME types; remove old archives.formats{} 2017-05-10 21:21:07 -06:00
Bryan Ashby 50dda3300a Faster, better predefined MCI handling 2017-05-10 21:17:19 -06:00
Bryan Ashby 8ca0c31fb8 Add password blacklist "BADPASS.TXT" support. Using top 10k passowrds from https://github.com/danielmiessler/SecLists/ by default 2017-03-14 20:21:51 -06:00
Bryan Ashby f510fca656 Tic File Processor didn't work on nodelist file #111 2017-03-13 20:11:43 -06:00
Bryan Ashby d6e5dcbdf1 Optutil not working #110 2017-03-13 19:54:22 -06:00
Bryan Ashby 732e2eefd5 Don't trim() Ldesc; may muck with FILE_ID.DIZ type descriptions 2017-03-10 21:21:09 -07:00
Bryan Ashby 221ec08bc8 * Don't archive non-good non-pkt files (e.g. TICs that are *not* rejected)
* asyncSeries() for TIC import (SQLite transaction)
2017-03-10 21:13:30 -07:00
Bryan Ashby 043987bacb Fix 'Size' 2017-03-10 08:31:36 -07:00
Bryan Ashby 76aa54f22c Don't try to log error that doesn't exist 2017-03-08 23:01:25 -07:00
Bryan Ashby 57dc7c91ef * TIC import support!!!
* reject/retain paths for FTN networks
* Fix bug in FileEntry.findFiles() with meta pairs
* New well known file meta - mostly related to TIC
* Index of file_sha256
* FileEntry.persist() can update entries
2017-03-08 22:37:02 -07:00
Bryan Ashby f95e8dfe4c TIC file reader 2017-03-06 20:31:26 -07:00
Bryan Ashby 213f63ae12 More deleted user robustness 2017-03-02 18:50:58 -07:00
Bryan Ashby be38bbf3c7 Crash on exporting packet #104 2017-03-01 20:02:45 -07:00
Bryan Ashby bd8718beaa Remove FSC-48 packet writing stuff for now 2017-02-27 21:10:33 -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 97e19957ce * Default upload descriptions based on file names if no FILE_ID.DIZ/etc. could be found
* Add default desc & prompt for desc to oputil fb scan
2017-02-24 23:39:31 -07:00
Bryan Ashby 9a2b48ac47 * Update ACS parser PEG.js script to include some missing functionality
* Regenerate acs_parser.js with latest pegjs & new rules
2017-02-24 23:38:30 -07:00
Bryan Ashby 79c1ad6ce6 Hopefully fix FTN 2+ packet export when using a point address 2017-02-23 21:30:06 -07:00
Bryan Ashby 9bb28b36cd Crash on Telnet Bridge connecting to Tradewars server #105 2017-02-22 23:20:05 -07:00
Bryan Ashby 3f873f5877 Fix writing packet headers for origins that have dot addresses 2017-02-21 21:27:32 -07:00
Bryan Ashby 4cea9e023a Fix bug with FTN export scheduler 2017-02-21 21:26:56 -07:00
Bryan Ashby 3af1858c39 Add 'fb move' to oputil 2017-02-20 22:31:01 -07:00
Bryan Ashby 72b0eafc7b Minor fixes to oputil 2017-02-20 11:46:18 -07:00
Bryan Ashby 0ca2ca9bf2 * Add oputil import support for *.NA and AREAS.BBS 2017-02-20 11:31:24 -07:00
Bryan Ashby 5c58fd2cfa Fix loading order on fb info 2017-02-18 23:05:40 -07:00
Bryan Ashby 6717cd5179 Add fb 'info' support to oputil 2017-02-18 19:00:09 -07:00
Bryan Ashby 058ff3f367 * Rework user.js and User object to ES6
* Update download stats for user when web download is completed
2017-02-18 13:21:18 -07:00
Bryan Ashby 6406d32165 Handle (default) case of web server being disabled in file areas/web link generation 2017-02-18 09:56:23 -07:00
Bryan Ashby 701f3c9728 Fix client IP when connected via SSH 2017-02-18 09:37:22 -07:00
Bryan Ashby e70f28fffe * Use proper unrar for .rar riles (7za has issues)
* Fix short/long desc issues when filenames have paths
2017-02-17 21:56:28 -07:00
Bryan Ashby ec3e3f0755 Add 'overrideUrlPrefix' support to web server 2017-02-16 21:40:05 -07:00
Bryan Ashby 6a684266a2 Fix crash when file does not exist... and 404 page contents don't exist :) 2017-02-16 21:09:53 -07:00
Bryan Ashby 6285193545 Very minor fixes 2017-02-16 20:53:14 -07:00
Bryan Ashby f80492d869 Merge branch 'master' into FILE_BASE 2017-02-15 21:46:35 -07:00
Bryan Ashby bced59da09 MUCH faster crc32 impl 2017-02-15 21:40:22 -07:00
Bryan Ashby d0511d5d74 * Split out oputil stuff into modules based on <command>
* oputil: better syntax
* oputil: allow areaTag@storageTag for scan, e.g. oputil fb scan <args> retro_pc@some_specific_storage
2017-02-15 20:27:16 -07:00
Bryan Ashby 9b0f956934 * Start work on new oputil format: oputil <command> <action> <args> <target>
* Add auto tagging for oputil scan
2017-02-13 22:51:20 -07:00
Bryan Ashby aa40d998b2 Fix from username in message post 2017-02-12 22:13:03 -07:00
Bryan Ashby f85388e747 Remove bad code :) 2017-02-12 21:52:56 -07:00
Bryan Ashby e95aba0582 Fix some DB startup issues for new installs 2017-02-12 19:49:56 -07:00
Bryan Ashby edb9d32acc * Fix CRC32 meta
* Properly store upload user info in meta @ upload
2017-02-12 00:24:24 -07:00
Bryan Ashby 50a5b8d78e Use proper resetScreen() vs clearScreen() 2017-02-12 00:23:39 -07:00
Bryan Ashby 6dccbd124f Fix upload_by_user_id parse 2017-02-12 00:22:53 -07:00
Bryan Ashby 849ab68de2 Add README.NOW support for long desc scan 2017-02-12 00:22:36 -07:00
Bryan Ashby 2e10fdfdf5 Updates to upload check, docs 2017-02-09 22:03:21 -07:00
Bryan Ashby f9e91987ac Better arg parsing for main 2017-02-09 21:08:23 -07:00
Bryan Ashby 2d9cd39ae8 Use config route path for temp files 2017-02-09 20:34:29 -07:00
Bryan Ashby a257a9ba4b * Fix up and improve oputil file-base stuff
* Specialize if user does not have upload ACS
2017-02-08 22:53:48 -07:00
Bryan Ashby 5549ff5512 * Help pages
* No results for criteria page
* noHistory can be passed to gotoMenu()
2017-02-07 22:15:34 -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 5f929b3d63 comment 2017-02-07 20:14:56 -07:00
Bryan Ashby 92772eb1a9 * Added ability to serve static files from web server
* Web server can have custom error pages, e.g. 404.html
* "file_area" stuff -> "file_base"
* Fix some rare bugs in theme/art loading
* Adjust tab order dynamically for file upload details
2017-02-04 09:20:36 -07:00
Bryan Ashby ff64a7aed5 * SEXYZ: XModem & YModem
* Explicit sort avail to protocols
* MenuView.removeItem()
* Natural sort for more things
* Fix some issues with HorizontalMenuView redraw/update
* Sanatize non-blind upload filename (security)
* Validator on non-blind upload filename
2017-02-01 19:42:27 -07:00
Bryan Ashby 8261881e3e Initial support for non-blind aka non-batch uploads 2017-01-31 23:10:17 -07:00
Bryan Ashby 690d148ad5 * Move to uuid vs node-uuid
* Use uuid-parse for to/from string
2017-01-31 00:17:19 -07:00
Bryan Ashby 9c61b2b945 Use natural sort 2017-01-31 00:16:43 -07:00
Bryan Ashby 807ca9bded Fix some year est regex's, add yyyy-mm-dd 2017-01-31 00:16:28 -07:00
Bryan Ashby c7640de07e Add focusItemIndex property 2017-01-30 21:54:32 -07:00
Bryan Ashby 6f1015305b * Allow alternate matching group order for archive short/long desc
* max short/long desc file input byte size (ignore files larger than N)
* Add Arj support via 'arj'
2017-01-29 22:30:48 -07:00
Bryan Ashby 9525afddd3 * Created new npm module: temptmp: This replaces node-temp usage & solves global temp file cleanup issue with concept of temp "sessions" 2017-01-29 19:56:46 -07:00
Bryan Ashby e10d085cab Remove accidental typo in code 2017-01-29 19:56:34 -07:00
Bryan Ashby 8aa42342a2 Fix setText('')/clearText() issue with text views 2017-01-28 12:48:04 -07:00
Bryan Ashby 12d4c158c4 * ENiGMA now require Node.js 6.x LTS+
* Bump version to 0.0.4-alpha
* Update package dependencies
* Use modified node-buffers that does not use deprecated Array.get()
* Update lodash dependency to 4.x & convert to new methods/etc.
* Better 'noHistory' support for menu stack
* Fix bug in download queue init
* Misc code cleanup
2017-01-28 12:33:06 -07:00
Bryan Ashby 8889014f47 Update copyrights 2017-01-25 22:59:12 -07:00
Bryan Ashby 99ab60bf77 * Convert MenuModule to ES6 style class
* Convert modules that are MenuModule subclasses to ES6 style classes
* Convert mixins to ES6 style
* Various cleanup
2017-01-25 22:18:05 -07:00
Bryan Ashby 1c03c3021a * Temporary fix for MAJOR global temp cleanup bug: comment out node-temp .cleanup() methods
* Don't move temp uploads to area directory until user submit/completed
* New file util module
2017-01-23 23:32:40 -07:00
Bryan Ashby 99036592ae * Bump version to 0.0.2-alpha: File Base alpha here
* LHA/LZH archive support via external lha command
* Nearly complete upload processor
* Set default file base filter if none is set
* Additional MenuModule common method/helpers
* MLTEV property: tabSwitchesView
2017-01-22 21:30:49 -07:00
Bryan Ashby 8d51c7d47c * Additional helpers to MenuModule
* Gzip signature (.gz)
* Switch to sha-256 vs sha1 for internal file hashes
* Nearly complete callback / scan update support for scanFile()
* Fix data input issue after performing upload
* Support 'sz' recv (uploads)
2017-01-21 22:09:29 -07:00
Bryan Ashby fb176d3ab3 * Fix updating of existing file filter
* Update findFiles() to properly apply filters, sort order / direction, etc.
* Properly persist hash tags @ file entry persist
* Lots of improvements / additions to MCI for upload/download, etc. stats
* Persist processed entries @ upload (WIP, but close!)
2017-01-18 22:23:53 -07:00
Bryan Ashby e265e3cc97 * WIP on upload scan/processing
* WIP on user add/edit data to uploads
* Add write access (upload) to area ACS
* Add upload collision handling
* Add upload stats
2017-01-11 22:51:00 -07:00
Bryan Ashby 4c1c05e4da Fix bug with already logged in/connected check logic @ login 2017-01-11 22:48:04 -07:00
Bryan Ashby 1218fe65f9 Add new file scan year est regexp 2017-01-11 22:47:00 -07:00
Bryan Ashby a45142f2fd * Use more standard code paths & emit index events in ToggleMenuView
* Fix fetching areas & internal message attach area name
* Use proper config in new MenuModule methods
* More good progress on uploading
2017-01-01 21:53:04 -07:00
Bryan Ashby 0a92eec5e8 * WIP on upload support - protocols, modules, etc.
* Ability for KeyEntryView to only show specific/allowed keys
* Start moving/adding common methods to MenuModule vs boilerplate code
* menuFlags: String|StringArray: flags for menus, e.g. new 'noHistory' flag to prevent appending to history/stack
* New download stats/MCI codes
* Ability to redirect input stream to [protocols] temporairly
2016-12-31 14:50:29 -07:00
Bryan Ashby 6f3fe7c52d #103: FTN PKT files need to be uppercase 2016-12-06 20:51:48 -07:00
Bryan Ashby 6da7d557f9 * Improvements to ANSI parser
* Introduction of storage tags for file bases / areas
* Expiration for file web server items
* WIP work on clean ANSI (on hold for a bit while other file base stuff is worked on)
2016-12-06 18:58:56 -07:00
Bryan Ashby a7c0f2b7b0 * Add FileBaseFilters
* Add HTTP(S) file web server with temp URLs
* Get temp web d/l from file list
* Add File area filter editor (all file area stuff will be rename to file "base" later)
* Concept of "listening servers" vs "login servers"
* Ability to get servers by their package name
* New MCI: %FN: File Base active filter name
* Some ES6 updates
* VC resetInitialFocus() to set focus to explicit/detected initial focus field
* Limit what is dumped out when logging form data
2016-10-24 21:49:45 -06:00
Bryan Ashby 712cf512f0 * Add another year est regex
* Add queue file support
2016-10-14 21:57:02 -06:00
Bryan Ashby 1ef546d569 Download queue manager 2016-10-14 21:56:45 -06:00
Bryan Ashby 78607f8a48 * Add CRC32
* Fix stale entries loaded from previous item in file listing
2016-10-13 20:53:38 -06:00
Bryan Ashby 806e6539f4 * Lots of improvements (WIP) to file browsing 2016-10-12 22:07:22 -06:00
Bryan Ashby 67e2ff987f * getISOTimestampString()
* More file entry load/persist
2016-10-06 21:03:04 -06:00
Bryan Ashby 29947611f6 * New archives/archiver format - more flexible, more formats, etc.
* Add scanning inside archives ability, extract file_id.diz, etc.
* Initial year est (WIP) work
2016-10-05 23:22:59 -06:00
Bryan Ashby 61b0658743 Work on new archivers layout, short/long desc file discovery 2016-10-03 22:03:32 -06:00
Bryan Ashby 9593da5626 Additional work with archivers 2016-10-02 22:21:37 -06:00
Bryan Ashby ec716fdf2c * More file area utility methods/etc.
* Start adding oputil file-area --scan <areaTag> stuff
* New new ArchiveUtil.getInstance()
2016-10-02 21:40:37 -06:00
Bryan Ashby 35e7610670 Better code, more flexible ArchiveUtil 2016-10-02 21:39:29 -06:00
Bryan Ashby 0a98ce651f #101 set real names for message areas 2016-10-02 13:47:19 -06:00
Bryan Ashby c715bb7731 Allow tab to process as 'next' in preview mode 2016-10-02 13:46:12 -06:00
Bryan Ashby f8c4990646 Add 'pcansi' support for ZOC terminal 2016-10-01 13:30:02 -06:00
Bryan Ashby ac35d3506d File area updates WIP 2016-10-01 13:25:32 -06:00
Bryan Ashby c81b6789f4 Add 'pcansi' support for ZOC terminal 2016-10-01 13:22:34 -06:00
Bryan Ashby b9ef561058 Parse file meta values @ load (e.g. to number 2016-09-28 22:26:06 -06:00
Bryan Ashby 5a0b291a02 * Some WIP on file area releated stuff - various partially implemented pieces coming together
* Some changes to database.js: Triggers for FTS were not being created properly
* Misc fixes & improvements
2016-09-28 21:54:25 -06:00
Bryan Ashby 7da0abdc39 Work on EnigError and usage as experiment; This will go to many other areas of the code 2016-09-19 21:30:26 -06:00
Bryan Ashby 6a28b3ff35 Dump schedule info @ load 2016-09-19 21:29:46 -06:00
Bryan Ashby 9f22117e49 * Move login servers to core/servers/login 2016-09-19 21:28:50 -06:00
Bryan Ashby caa9137162 * Move login servers to core/servers/login
* A bit of minor changes related to upcoming file areas --- will likely branch before anything major
* Clean up database.js a bit
2016-09-19 21:28:21 -06:00
Bryan Ashby 34474bc610 minor cleanup 2016-09-14 21:08:59 -06:00
Bryan Ashby e90cf673e3 Updates to event scheduler 2016-09-13 21:44:35 -06:00
Bryan Ashby 70d1eb8d91 Update ssh2 3rd party module & ssh.js local server 2016-09-11 16:21:27 -06:00
Bryan Ashby ae02f35baa Fix NaN issue in string_format.js 2016-09-08 22:32:24 -06:00
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 82533eae2d Don't re-add + log MCI cache if already cached. Also fix wording :) 2016-09-01 23:57:57 -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
David Stephens 0b3b7bee41 Small typo in username validation error message 2016-09-01 19:34:31 +01: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 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 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 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 b19d06df26 Default to NOT showing non-authenticated users in who's online / getActiveNodeList() 2016-08-26 20:53:27 -06:00
Bryan Ashby 51baba1f2a Add preAuthIdleLogoutSeconds 2016-08-21 19:59:21 -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
Bryan Ashby 2b68201f7d * Pretty big optimization with TextView: Don't attempt to draw empty items - which needs SGR work and all sorts of processing - if there is not (yet) a non-empty string to draw 2016-08-06 20:11:04 -06:00
Bryan Ashby 6283a047f3 Fix renderSubstr() with start > 0 2016-08-06 19:58:14 -06:00
Bryan Ashby 257081b250 Help catch errors in configs easier 2016-08-06 19:57:27 -06:00
Bryan Ashby 26fb4692dc Attempt to detect when an archiver does not exist (HACK!) 2016-08-06 16:30:56 -06:00
Bryan Ashby 9af9bfe3d0 More switch style 2016-08-03 22:43:56 -06:00
Bryan Ashby 33f0553ea9 Use sane switch style :) 2016-08-03 22:43:06 -06:00
Bryan Ashby b12d9aad04 sysStat for +op username vs old config value 2016-08-03 21:46:38 -06:00
Bryan Ashby 969cd35ece * Use standard MCI codes in FSE/etc.
* Add mod mixin for temp area/conf switch e.g. used by new scan, fse, so on
* string utils: renderSubstr(), renderStringLength(): Works with *rendered* text. That is, is smart enough to ignore ANSI and RA style pipe color codes
* string util pad() works with ANSI/RA pipe codes
* TextView can now display text with RA pipe codes and MCI codes
* Message conf/area welcome art #81
* Update luciano art with new MCI
2016-08-03 19:48:45 -06:00
Bryan Ashby 3d098e927a Misc minor cleanup 2016-08-03 19:38:06 -06:00
Bryan Ashby c93638a5e6 Ooops... missing StatLog module :) 2016-07-27 21:48:13 -06:00
Bryan Ashby 8787703989 * New StatLog: Replaces various logs, system props, etc. into one class/methods
* Uew StatLog for last callers
* Use new StatLog for +op props
* Use new StatLog for user props such as posts & MCI to access such
* Use StatLog for various new MCI codes for +op
* Misc missing MCI codes
2016-07-27 21:44:27 -06:00
Bryan Ashby d4ce574be3 Case insensitive areaTag compare 2016-07-25 14:36:57 -06: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 fb737357f5 Update copyright 2016-07-25 14:26:34 -06:00
Bryan Ashby 8d75a675dd Make linter happy 2016-07-25 14:26:20 -06:00
Bryan Ashby b39c26153b * Don't allow pure numbers as usernames (e.g. "1234")
* Minor code cleanup
2016-07-25 10:49:41 -06:00
Bryan Ashby b0ddc3fec4 Minor cleanup, allow console.log(), .error(), etc. here 2016-07-25 10:47:30 -06:00
Bryan Ashby 623e96feb0 Replaced by acs.js 2016-07-25 10:46:58 -06:00
Bryan Ashby 0aa75c17c1 Style + import lodash 2016-07-25 09:30:49 -06:00
Robert Mooney 9ab4adc05f Handle empty text masks.
This allows themes to prevent text from being sent during password
entry. To enable, edit theme.hjson and set $.customization.defaults
.general.passwordChar to "". e.g.,

{
  ...
  customization: {
    defaults: {
      general: {
        passwordChar: ""
      }
    }
    ...
  }
}
2016-07-25 02:02:37 -07:00
Robert Mooney e080b5dcfa Spelling and grammar! 2016-07-25 02:02:37 -07:00
Bryan Ashby 87c6746676 validateUserNameExists() 2016-07-25 01:01:14 -06:00
Bryan Ashby 820e150708 Properly filter out private mail by user ID 2016-07-25 01:00:35 -06:00
Bryan Ashby c3ae30a8aa isPrivateTagArea() 2016-07-25 00:58:49 -06:00
Bryan Ashby c2cbc7913c Use new menu stack code 2016-07-25 00:58:27 -06:00
Bryan Ashby ea0ec9ae4e ES6 menu stack 2016-07-25 00:57:12 -06:00
Bryan Ashby 08393e0aff * New ACS class avail @ client.acs
* Experimental / WIP work on issue #79
2016-07-24 11:48:59 -06:00
Bryan Ashby 8bd61f2d01 * New ACS class avail @ client.acs
* Experimental / WIP work on issue #79
* Issue # 77: Changes to new_scan.js, temp conf/area swapping, etc.
* message area: getMessageConfByAreaTag(), getMessageConfTagByAreaTag(), tempChangeMessageConfAndArea(), getNewMessageCountInAreaForUser()
2016-07-24 11:47:34 -06:00
Bryan Ashby 359241654b Case insensitive compare for area tags (#78) 2016-07-21 21:04:08 -06:00
Bryan Ashby a1167acc03 Fix non 'ch' issue 2016-07-20 22:21:46 -06:00
Bryan Ashby 9545cb620b Add KeyEntryView (%KE) 2016-07-20 22:11:57 -06:00
Bryan Ashby 8cd07d2af4 Add startup log entry 2016-07-19 21:23:41 -06:00
Bryan Ashby 7f1aec4fca Make linter happy 2016-07-19 21:02:12 -06:00
Bryan Ashby 2d1f3d3c17 Minor cleanup work 2016-07-19 21:01:49 -06:00
Bryan Ashby 5e13a78f31 Minor cleanup 2016-07-19 21:01:25 -06:00
Bryan Ashby 64044399ab error -> reason when failing to display art 2016-07-19 21:00:56 -06:00
Bryan Ashby b0930a3b7e Add setSyncTermFontWithAlias() 2016-07-19 20:58:51 -06:00
Bryan Ashby df56391338 Fix message and conf area sorting for 'sort' > 9 (again) 2016-07-19 08:45:18 -06:00
Bryan Ashby 985d239ab9 Fix message and conf area sorting for 'sort' > 9 2016-07-18 21:18:55 -06:00
Bryan Ashby 09e399a060 Messages Cut Off #73 2016-07-18 20:05:29 -06:00
Bryan Ashby b8a23b827c * Improved message trimming
* Better logs, code cleanup, etc. around trimming
2016-07-17 22:17:24 -06:00
Bryan Ashby e19b725aa8 Various cleanup WIP 2016-07-17 22:16:15 -06:00
Bryan Ashby b7274a16d4 (Yet another) fix for setFocusItemIndex() draw issues! 2016-07-17 22:15:43 -06:00
Bryan Ashby a7993281b9 Better missing art log 2016-07-16 13:17:16 -06:00
Bryan Ashby 2bd548d284 Code cleanup (minor) 2016-07-16 13:06:03 -06:00
Bryan Ashby 485711b5da * Clean up some logs
* Add serializer for 'err' in logs for passing full err object
* Don't dump HUGE message lists to log during new scan
2016-07-16 13:05:32 -06:00
Bryan Ashby 787a855097 Auto-activation by default 2016-07-14 21:30:02 -06:00
Bryan Ashby 43c5de3e40 Finally fix setFocusItemIndex() draw issues! 2016-07-13 22:46:14 -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 dfb4f17c5f * Resp DONT to WONT NEW-ENVIRONMENT 2016-07-10 22:14:30 -06:00
Bryan Ashby 1ecc68b250 Fix erronous warning 2016-07-09 20:10:03 -06:00
Bryan Ashby 6ffef26cbf Start of cleanup 2016-07-09 20:09:03 -06:00
Bryan Ashby 1aa77530dd TODO reminder 2016-07-09 20:08:08 -06:00
Bryan Ashby 7717ac8b5f Change default SSH port 2016-07-09 16:01:38 -06:00
Bryan Ashby 0519d9a001 Minor cleanup, prevent XY from warning in log 2016-07-06 20:56:30 -06:00
Bryan Ashby 03ee20783b Enable FK's, duh 2016-07-06 20:55:50 -06:00
Bryan Ashby 3bbdd4abae Check for MSGID explicitly during dupe check if present 2016-07-05 22:32:13 -06:00
Bryan Ashby f87e9917a0 * Resolve issue #59: Better message UUID generation and dupe checks 2016-07-05 22:18:43 -06:00