Commit Graph

416 Commits

Author SHA1 Message Date
Bryan Ashby 68b8af7975 * Fix version to represent alpha
* Some fixes to message areas
* New NU-MAYA prompt
2015-09-26 00:20:17 -06:00
Bryan Ashby df477667b0 * client.runtime.* renamed to client.session.*
* some work on area names - need to fix login issue & rest shoudl work
2015-09-25 23:10:18 -06:00
Bryan Ashby 1082b6e39c * Minor fix + notes 2015-09-23 23:55:13 -06:00
Bryan Ashby 903db84f23 * New fallback with default vs explicit working
* New @systemMethod:fallbackMenu working
* Work on NUA flow: added preamble and some work on FSE related stuff
2015-09-23 23:41:06 -06:00
Bryan Ashby d63320e0b7 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2015-09-23 22:24:59 -06:00
Bryan Ashby 41cdeb4c55 * WIP new fallback system and @systemMethod:fallback 2015-09-23 22:24:37 -06:00
Bryan Ashby 1175278779 * Some work on NUA
* Placeholder for sysop feedback after NUA step
2015-09-22 23:13:06 -06:00
Bryan Ashby 6c38ff54d5 * WIP replacement NUA system 2015-09-22 21:31:56 -06:00
Bryan Ashby b2592d0e71 * Fixes to actionKeys with new focus changes
* Various fixes, minor changes
2015-09-20 19:10:09 -06:00
Bryan Ashby b15d9a0bf8 * Fix word wrap bug introduced prior -- use 'expand' not 'expandTabs'
* Notes on better access of views by ID
* Work on apply process a bit
* Replies can now be saved
2015-09-20 01:29:07 -06:00
Bryan Ashby a6d00b05a7 * Artwork for NU-MAYA help, updated quote builder, etc.
* Fix some typos
* Fix message getQuoteLines()
* Quote builder fully functional
* MLTEV emits more information in position events
* Action keys can how handle plain characters that don't have full key object, e.g. "?"
* Hot keys for a lot of stuff
* WIP work on focus issue in VC.
2015-09-19 22:55:09 -06:00
Bryan Ashby d23012a201 * Fixed actionKeys to have full conf data including extraArgs 2015-09-18 22:16:19 -06:00
Bryan Ashby 899cb658cc * Clean up some "JSON" nameing in config to reflect generic config or HJSON
* Found why "r" wasn't working for reply in menu.hjson... now it crashes though because actionKeys extraArgs broken it seems
2015-09-17 23:17:15 -06:00
Bryan Ashby 1b46506cf8 * New concept of saved states. Modules will be called before enter to restore a saved state (if applicable) and before leave to save one. 2015-09-17 23:11:21 -06:00
Bryan Ashby 9865da34cc * Quote builder very functional, some bugs
* Work on fallback system (implicit); Added some notes... need saveState/restoreState type functionality as extraArgs may not be final args!
2015-09-17 22:53:19 -06:00
Bryan Ashby 6970e6e2ab * Lots of good progress with quote builder... still WIP, but nearly there 2015-09-16 22:31:09 -06:00
Bryan Ashby 20fb54422a * Quote builder even more functional :) 2015-09-15 22:44:31 -06:00
Bryan Ashby 4cba6f4c10 * word_wrap.js: Word wrapping functionality in it's own module
* Message.getQuoteLines()
2015-09-15 21:55:10 -06:00
Bryan Ashby a320a05c99 * Minor tweak to quoting
* Notes / TODO items
2015-09-14 23:02:09 -06:00
Bryan Ashby cee7983c5a * Progress on FSE quote builder... WIP! 2015-09-14 22:40:00 -06:00
Bryan Ashby 150de3953e * Work on quote builder / reply 2015-09-13 21:15:55 -06:00
Bryan Ashby 88d725f585 * Minor work on reply area post 2015-09-12 19:18:08 -06:00
Bryan Ashby 05f666cf29 * Minor JSON -> HJSON config cleanup
* Some logging in telnet server vs console.log()
* Calculate FSE footer position vs hard code it
2015-09-12 17:17:00 -06:00
Bryan Ashby e661b23eca * Strict mode 2015-09-11 08:39:25 -06:00
Bryan Ashby 7b7cf38113 * Cleanup and minor work on FSE post 2015-09-10 23:09:45 -06:00
Bryan Ashby 1a81532aa7 * Mostly thoughts on starting pipe code support for preview mode of MLTEV 2015-09-10 22:20:11 -06:00
Bryan Ashby 6b03b5357f * predefined_mci.js: General method for resolving MCI codes -> string
* Changed MCI resolution to use object to function mapping so entries not yet available would not be executed
* enigmaToAnsi() can now (optionally) resolve MCI codes
* pipeWrite() resolves MCI codes
2015-09-10 21:01:04 -06:00
Bryan Ashby 870e5a9136 * Update modules
* Remove lingering strip-json-comments
2015-09-10 13:38:36 -06:00
Bryan Ashby 481c3171f4 * JSONCache -> ConfigCache
* ConfigCache used for theme.hjson
* Reformatted theme.hjson JSON to HJSON
* Specific form ID used when applying themes if available, else generic match used
* Pass extraArgs when processing 'next'
2015-09-09 21:31:04 -06:00
Bryan Ashby cc6d214882 * More work on 'action' vs 'next' -- mostly complete for now 2015-09-08 22:31:38 -06:00
Bryan Ashby ca4b99a83e * Convert all JSON configurations (*.json) to HJSON (*.hjson) which is much more flexible for a human readable and editable configuration format
* WIP "next" vs "action" changes
* options.cls is now defaulted in config.js/config.hjson (default = true)
* Notes/etc.
2015-09-08 22:08:45 -06:00
Bryan Ashby 052cf5c490 * Some notes / TODO 2015-09-07 22:40:08 -06:00
Bryan Ashby 2edc63632b * Mostly work on building demo / NU-MAYA theme for testing / working out details / etc. 2015-09-07 21:18:09 -06:00
Bryan Ashby 6517f50e0c * Message view prev/next
* Message view up/down movement
* Some new experimental MCI codes
* Put cursor @ top of document in MLTEV preview mode
* Fix fse finishedLoading()
* Menus can have names, clients have current status
2015-09-07 00:12:01 -06:00
Bryan Ashby 1f3948d84c * Menus can specify status
* WIP changes of message loading in viewer - can now do next... WIP!!!
2015-09-06 15:58:58 -06:00
Bryan Ashby b911db75ca * Some Notes 2015-09-04 16:58:54 -06:00
Bryan Ashby cc68106473 * Message number/total 2015-09-04 16:35:08 -06:00
Bryan Ashby 80460ea050 * Code cleanup; minor 2015-09-04 16:17:41 -06:00
Bryan Ashby f587b228bc * Fix separation of editorMode vs footerMode 2015-09-04 14:28:05 -06:00
Bryan Ashby ddc806bd39 * Varous fixes for FSE. ...WIP on separation of editorMode vs editor/menu/etc. focus 2015-09-04 00:02:28 -06:00
Bryan Ashby 42ddabd875 * Minor work on post view FSE / related 2015-09-02 23:11:17 -06:00
Bryan Ashby 8b3b36fd83 * Add dateTimeFormat 2015-09-01 22:42:54 -06:00
Bryan Ashby e0f267c9a5 * Updates & notes to fse for view mode... WIP! 2015-09-01 22:20:29 -06:00
Bryan Ashby b910007647 * Very minor change 2015-09-01 15:37:03 -06:00
Bryan Ashby 02e90d7ca3 * Lots of work on message loading from message list and extraArgs 2015-08-31 23:18:46 -06:00
Bryan Ashby e852695354 * Fix bug in VerticalMenuView when pressing up with low number of items
* Minor work on message list
2015-08-30 21:42:24 -06:00
Bryan Ashby 8dc06cb49d * Some progress on message list fetching / display... WIP! 2015-08-27 22:20:24 -06:00
Bryan Ashby ede00f8937 * Remove old dependency
* Add string-format dep.
* Convert various strUtil.format() -> String.prototype.format() based system
2015-08-27 16:14:56 -06:00
Bryan Ashby 140990811a * Start some work on message list fetching 2015-08-26 23:25:49 -06:00
Bryan Ashby 3be271aab5 * Not much ... few minor changes 2015-08-26 23:04:04 -06:00
Bryan Ashby 9442760679 * Start work on allowing pipe codes & custom drawing using items vs focusItems for menus. EXPERIMENTAL. 2015-08-25 23:17:09 -06:00
Bryan Ashby 64c8d83559 * NO CARRIER :) 2015-08-21 13:47:01 -06:00
Bryan Ashby 1cb95bd44e * Remove message_area_desc property -- just fetch it 2015-08-20 22:51:00 -06:00
Bryan Ashby 150bd5778a * Switch to JSON/config.json based user groups, and user group membership 2015-08-20 22:29:16 -06:00
Bryan Ashby 6f3137d522 * Fix various areaID and area name refs for new system 2015-08-20 17:05:02 -06:00
Bryan Ashby d69d00a14b * Cleanup related to message area IDs / database -> JSON format and names 2015-08-20 17:00:35 -06:00
Bryan Ashby 35de0a2487 * Initial work on moving to JSON configured Message Areas (vs ID's in SQLite). This will be applied to user groups, and other types as well such that JSON can simply be edited in config.json
* Hopefully better/proper merge of config.js + config.json => config
2015-08-20 16:35:04 -06:00
Bryan Ashby ec70cc8caa * Progress on FSE / Area Posting
* Proof of concept work on user validation in FSE
* Term now has pipeWrite()
2015-08-19 22:10:18 -06:00
Bryan Ashby ca26cca55b * Don't look for non-user (e.g. predefined) MCI codes in form/config lookup 2015-08-19 18:50:40 -06:00
Bryan Ashby 4cf10ba85c * Minor changes & cleanup 2015-08-19 16:05:35 -06:00
Bryan Ashby 79e533468a * Notes 2015-08-19 00:07:24 -06:00
Bryan Ashby d3f82e38da Rely on pty.js, minor updates to area changing logic 2015-08-18 23:11:13 -06:00
Bryan Ashby c9a24b7ec8 * Minor code cleanup + fixes, area change/list semi functional 2015-08-18 22:45:47 -06:00
Bryan Ashby aaac4e884b * New string util method: format()
* Minor work on area list -- WIP!
2015-08-18 17:00:18 -06:00
Bryan Ashby aa820ac0b5 * New message_area.js for Message Area APIs, etc.
* msg_area_list.js module for listing/selecting message area (WIP; much to do)
2015-08-18 15:27:14 -06:00
Bryan Ashby 990dffe880 * Very minor 2015-08-17 21:45:11 -06:00
Bryan Ashby d71cae5c37 * persistAllProperties() and persistProperties() for User obje 2015-08-16 21:47:33 -06:00
Bryan Ashby 7990202317 * Fix some extraArgs stuff
* Minor updates to FSE related modules -- WIP!
2015-08-16 13:35:34 -06:00
Bryan Ashby d9b39fcaa6 * Switching back to module system for FSE... broken now, but hopefully this model sticks 2015-08-14 14:49:06 -06:00
Bryan Ashby 6257208c5e * Progress on FSE class/integration
* Use "proxy" for submit
* More key support... probably just missed it from other box, will merge later
2015-08-13 22:30:55 -06:00
Bryan Ashby 6d49e5e55f * Pass 'key' object to actions & submit form events 2015-08-13 16:05:17 -06:00
Bryan Ashby 08bebb560d * Minor work on fse class. Experimental handling of submit/etc. directly 2015-08-12 22:08:33 -06:00
Bryan Ashby 40e1e1bea8 * Use mixin class for ViewController management 2015-08-12 17:26:05 -06:00
Bryan Ashby bfdc58b90c * Few updates to FSE class, some notes 2015-08-11 22:28:43 -06:00
Bryan Ashby 7526a8b2c8 * Minor 2015-08-11 21:42:55 -06:00
Bryan Ashby c26fb573a1 * Some new skeleton files for area messages + some conceptual thoughts 2015-08-11 21:36:08 -06:00
Bryan Ashby 901f83453c * Lots of experimental stuff with message area in relation of FSE. Have a fairly good idea now how this can work... a few missing pieces 2015-08-09 19:32:38 -06:00
Bryan Ashby dbb3e04166 + asset.getModuleAsset()
* Menus can specify built in menu modules: @systemModule:XXXXX
2015-08-08 15:52:47 -06:00
Bryan Ashby b8d4741c18 * Work with prompts. Prompts now handle special menu "submit" block without form IDs/etc. 2015-08-06 23:08:10 -06:00
Bryan Ashby a0a97350fe * Add l33t.codes URL to connect banner 2015-08-06 16:25:52 -06:00
Bryan Ashby 82f3bc7601 * Use lodash for Config.js / config.json merge 2015-08-05 22:22:17 -06:00
Bryan Ashby ab40eb1fd4 * Message to indicate someone already logged in by username 2015-08-04 22:38:28 -06:00
Bryan Ashby 8d1fac41a9 * User idle timeout
* Only allow one session per user at a time
* user 'timestamp' property -> 'account_created'
* Better User.getLegacySecurityLevel() using group membership
* Client connection management -> client_connections.js
* Minor changes & cleanup
2015-08-04 22:35:59 -06:00
Bryan Ashby 608d4dc094 * DOOR.SYS support
* LORD now works via DOOR.SYS at least
* Abracadabra: nodeMax, tooManyArt support, etc.
* Abracadabra: Exit back to menu
* Some code cleanup
2015-08-03 23:11:17 -06:00
Bryan Ashby 144aa6b351 * More WIP on door support. Proof of concept mostly functional-ish for at least Pimpwars :) 2015-08-02 18:27:05 -06:00
Bryan Ashby d16beca341 * Various 2015-08-01 01:00:15 -06:00
Bryan Ashby 72b54b19b7 * Start work on door, dropfile, etc. support. Lots of placeholder
* Start work on door menu module for launching doors
2015-08-01 00:59:11 -06:00
Bryan Ashby e34f0ad688 * Login count property for users 2015-07-29 22:14:26 -06:00
Bryan Ashby a15067fc21 * Much better flow for mciReady in relation to pausing, etc. using callbacks 2015-07-29 22:09:51 -06:00
Bryan Ashby 44a0f87a24 + stats.js: public APIs for accessing various system stats. Probably needs a better name
* Fix pause placement. Wait for all views ready before placing cursor such that the prompt will display in the right spot
2015-07-28 22:31:28 -06:00
Bryan Ashby 4a342ba2fa * Functional last callers mod
* Notes
* Some cleanup
2015-07-27 22:10:20 -06:00
Bryan Ashby 99ea870ebc * @method for view properties. WIP... hacked in, needs cleaned up & DRY
* Messing around with different approaches to last callers...
2015-07-26 22:51:06 -06:00
Bryan Ashby 542327460b * Last callers module WIP 2015-07-26 00:20:07 -06:00
Bryan Ashby 35a99b7e3e * Fix short timeFormat
* Pause prompts now support MCI codes using View Controller
* View Controller 'noInput' option for read-only/viewable but no interaction
* Ability to omit final trailing CRLF's in ANSI's
* Move asset.displayArtAsset -> theme.displayThemedAsset
2015-07-25 16:10:12 -06:00
Bryan Ashby dd478ed6ba * displayArtAsset is now part of asset
* Work on generalizing some things so they can be used for pause/etc.
2015-07-24 18:33:59 -06:00
Bryan Ashby 8b5152d66f * WIP pause prompt
* prompt.json::prompts::pause is now a standard/required prompt
* CT for current time MCI
* Fix up config/theme defaults.dateTimeFormat -> dateFormat & timeFormat
2015-07-23 22:23:44 -06:00
Bryan Ashby 7f4c97329d * Some code cleanup 2015-07-23 10:07:56 -06:00
Bryan Ashby 4505ad17e2 * Allow pause to be 'true' 2015-07-22 23:09:10 -06:00
Bryan Ashby 9120cc9e18 * Support pausing after art display 2015-07-22 23:08:08 -06:00
Bryan Ashby ff5d568259 * A few MCI codes
* Fix timer/flicker bug @ connect ANSI term size detection
2015-07-22 22:09:52 -06:00
Bryan Ashby 4288c5b2e9 * A few fixes to standard MCI codes
* Load user groups properly
* Configurable/themeable date time formats
2015-07-22 21:35:35 -06:00
Bryan Ashby 40a4f8caba * Add missing modules to package.json
* Start replacing some code with momentjs
2015-07-22 16:37:11 -06:00
Bryan Ashby 735b572f9f * MCI keys no longer consider view IDs as this implied order
* Converted all MCI keys in menu.json/etc., e.g. BN1ET2 -> BN1ET2
* Fix regression with prompt loading
* 'age' property -> 'birthdate'
* MaskEditView.getData() returns data with literals in place
* Other minor changes
2015-07-21 23:52:20 -06:00
Bryan Ashby 81e684cdcc * Work on Renegade style pipe codes
* Change age -> birthday
* Minor tweaks and tests
2015-07-20 22:56:48 -06:00
Bryan Ashby 31ff67f32b * A couple notes 2015-07-20 17:13:14 -06:00
Bryan Ashby 89adc83fc6 * JSONCache for caching JSON data (vs reading + parsing every time)
* Minor changes
2015-07-19 21:49:48 -06:00
Bryan Ashby 306e84b323 * Change meta categories to a integer 2015-07-17 08:07:43 -06:00
Bryan Ashby 801771d7b1 * Metadata now has a category. That is, meta = {message_id, cat, name, value}
* Kludges are now stored as-is, so any kludge known or not can be captured
2015-07-16 22:57:08 -06:00
Bryan Ashby 2c082ceedd * WIP on FidoNet stuff 2015-07-16 17:13:48 -06:00
Bryan Ashby 6a08a25a57 * Mostly notes 2015-07-15 23:57:02 -06:00
Bryan Ashby aebf494ae7 * MailPacket class: read() and write() with event emits
* FTNMailPacket WIP derived from MailPacket
2015-07-15 23:51:00 -06:00
Bryan Ashby 7fa27e46a5 * Spec/notes 2015-07-14 22:24:23 -06:00
Bryan Ashby 6438a1e53c * FTN packets are now parsable -> usable object. More to come... 2015-07-14 22:13:27 -06:00
Bryan Ashby 8f33a9a067 * Progress on parsing/extracting FTN packets 2015-07-14 17:08:52 -06:00
Bryan Ashby 5e55ce4bee * Some WIP FTN packet processing 2015-07-14 00:13:29 -06:00
Bryan Ashby f51b6c7098 * Start of parsing on FTN packets 2015-07-13 17:04:03 -06:00
Bryan Ashby 316a9c8b7f * Fix issue with submit matching when argName used 2015-07-13 13:41:21 -06:00
Bryan Ashby 9f86bdd856 * Start of fidonet.js 2015-07-12 23:14:23 -06:00
Bryan Ashby 5907c1d024 * Very early work on FidoNet, Messages, etc. 2015-07-12 22:56:33 -06:00
Bryan Ashby ab12974430 * A bit of experimental work on Message obj 2015-07-12 00:32:31 -06:00
Bryan Ashby 1bb997133f * More WIP on FSE
* Fix issue with events captured in VC when setFocus() toggle
2015-07-11 20:12:07 -06:00
Bryan Ashby aab07bb330 * Fix crash with JuiceSSH
* Lots of WIP on FSE
* Various notes & fixes
2015-07-11 16:39:42 -06:00
Bryan Ashby 1f409435f4 * Fix bug assigning wrong default submit view ID 2015-07-10 11:11:08 -06:00
Bryan Ashby 0d2d2602cd * New concept of 'actionKeys' replacing broken 'submit' stuff -- WIP, currently broken but should be quick fix soon 2015-07-09 23:23:37 -06:00
Bryan Ashby 52288a6162 * Re-attach events when switching between menu 2015-07-09 16:28:44 -06:00
Bryan Ashby 65ad2ffdd1 * VC.setFocus(): Attaches/detaches events/etc. 2015-07-08 22:34:40 -06:00
Bryan Ashby f348e06d86 * Some WIP on FSE 2015-07-08 22:07:25 -06:00
Bryan Ashby 0fb90b7b10 * At least mostly fix broken environment request 2015-07-08 16:09:30 -06:00
Bryan Ashby a57f4aadcc * Trying to figure out environment issue... 2015-07-07 21:36:25 -06:00
Bryan Ashby 06648403cc * Cleanup for emiting edit position 2015-07-06 23:26:16 -06:00
Bryan Ashby ab39fcd1ba * Fix crash when deleting last line in MultiLineTextEdit 2015-07-06 22:52:07 -06:00
Bryan Ashby 40e0b55424 * Try to handle socket error
* Fix bug in wrapping with MultiLineEditText
* Updates on message base DB layout/triggers
* Detect some terminals via ANSI DSR for device attributes (WIP)
2015-07-06 22:37:11 -06:00
Bryan Ashby 2b963ce6f9 * Fix bug causing asserts with many clients in telnet server 2015-07-06 18:26:42 -06:00
Bryan Ashby aea6782f8c * Minor updates to message base DB scripts 2015-07-06 17:30:33 -06:00
Bryan Ashby 7c0446bf79 * Fixed some logging of client IP addresses/etc.
* Some updates to FSE work for position and edit mode display
* Use cursor save/restore for some things vs internal tracking
2015-07-05 23:16:22 -06:00
Bryan Ashby 3d5d21bcb5 * Lots of WIP on FSE demo
* WIP emit position from MutliLineEditTextView
* ansi.rawWrite() when no iconv/lfs to be processed
2015-07-05 19:05:55 -06:00
Bryan Ashby 60cae7de3d * A few more client child logs 2015-07-04 16:03:44 -06:00
Bryan Ashby 9715d31ac2 * Various code cleanup
* Fix term size fallback bug exposed with rxvt/telnet
* Fix bug in term env request
2015-07-04 15:21:50 -06:00
Bryan Ashby 13d104c840 * A lot of cleanup in ViewController
* ViewController.getFormData()
* Lots of WIP work on fse.js & multiple forms
2015-07-04 12:02:37 -06:00
Bryan Ashby a241f91546 * A few updates to experimental per-client child logging
* StatusBarView skeleton
* Code cleanup
* Menus scan specify emulated baud rate
2015-07-02 23:28:39 -06:00
Bryan Ashby 8fecc779d1 * Some work on message base tables. WIP, not functional 2015-07-02 17:04:13 -06:00
Bryan Ashby a1a4c09214 * Only allow two digits for Renegade style pipe codes 2015-07-02 15:20:39 -06:00
Bryan Ashby fa7cf1f265 * Code cleanup
* Placeholder concept of Bunyan child logger per connected client
2015-07-01 23:41:20 -06:00
Bryan Ashby 8e0dc505b1 * Fix bug in MCI parsing with lower case alpha character such as 'f' for fIRST lETTER text styles
* Minor fixes
2015-07-01 22:53:01 -06:00
Bryan Ashby bb7504a35a * Code cleanup
* MultiLineEditTextView2 -> MultiLineEditTextView
2015-07-01 20:35:03 -06:00
Bryan Ashby c1469a1f9c * isSpecialKeyMapped() renamed to isKeyMapped()
* Functional HorizontalMenuView
* Minor updates
2015-07-01 20:18:34 -06:00
Bryan Ashby a1b87c7a60 * Don't need extra data for tracking columns 2015-07-01 16:43:19 -06:00
Bryan Ashby 1606437c27 * Minor updates to HorizontalMenuView (WIP) 2015-06-30 23:09:58 -06:00
Bryan Ashby d346fe72ee * Lots of minor code cleanup
* WIP work on HorizontalMenuView
* Initial art for HorizontalMenuView demo
2015-06-30 22:45:27 -06:00
Bryan Ashby c87c0d69b7 * Some work on color codes module 2015-06-30 13:04:58 -06:00