Commit Graph

974 Commits

Author SHA1 Message Date
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