Commit Graph

1041 Commits

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