Commit Graph

64 Commits

Author SHA1 Message Date
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 0b78b42f2f
Fix DoesNotExist error 2020-06-29 22:27:13 -06:00
Bryan Ashby 4d4be5d6a9
Major progress on revamp
* Deprecated explicit prompt.hjson/general.promptFile, etc.: menu.hjson can simply include any number of files
* All menus and themes, their events, etc. are managed by ThemeManager allowing includes, refs, etc. and much cleaner code
2020-06-17 00:10:51 -06:00
Bryan Ashby 16f4d62548
Initial support for random 'next', 'action', ... 2019-09-03 19:52:04 -06:00
Bryan Ashby 42ac6f8689
ACS checks can now be applied to form actions 2019-06-15 18:42:15 -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 7b75f08c7e Clean up code a bit 2018-07-15 11:50:04 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -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 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 7748765ce0 Clean up code for updated getConditionalValue() 2018-06-13 20:58:02 -06: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 3af1858c39 Add 'fb move' to oputil 2017-02-20 22:31:01 -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 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 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 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 33f0553ea9 Use sane switch style :) 2016-08-03 22:43:06 -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 08393e0aff * New ACS class avail @ client.acs
* Experimental / WIP work on issue #79
2016-07-24 11:48:59 -06:00
Bryan Ashby 1aa77530dd TODO reminder 2016-07-09 20:08:08 -06:00
Bryan Ashby f0919b5227 * Fix bug causing private mail to be skipped during new scan
* Some code cleanup: spaces -> indents
* Resolve TODO removing Message.MetaCategories: Just use string names
* Misc ES5 -> ES6
* Fix bug in module loader when require() fails
* Some DRY in new_scan.js
2016-04-12 22:38:32 -06:00
Bryan Ashby 317af8419a Major commit for new message network WIP 2016-02-02 21:35:59 -07:00
Bryan Ashby 12414d0d7a Fix some bugs with merging when no explicit form defined 2016-01-16 19:04:17 -07:00
Bryan Ashby 4fdd3dbbfe MAJOR CHANGE to theming system:
* Less complex
* Themes are only loaded once. Users share avail themes[] objects
* Themes are applied to configuration _once_
* Users can switch themes in configuration
* Other related improvements
2016-01-14 22:44:33 -07:00
Bryan Ashby 0d477210f9 Add Config.general.menuFile: Specify name or path of menu HJSON file. Defaults to menu.hjson in mods 2015-12-11 13:58:58 -07:00
Bryan Ashby 688e46bc47 * Some more JSON -> HJSON cleanup
* More work on ACS system conditional matching. Now functional within menus. Still more work to go on various ACS checks themselves.
* Use ACS for new user path: If new user requires activation, they will see 'DONE' then get logged off
2015-11-14 12:22:21 -07:00
Bryan Ashby f7a7423b32 * New menu stack functional
* @systemMethod:fallbackMenu -> @systemMethod:prevMenu
* Lots of cleanup of gotoMenuModule() -> MenuModule.gotoMenu()
* Lots of cleanup of fallbackMenuModule() -> MenuModule.prevMenu()
* Lots of cleanup of 'next' processing -> MenuModule.nextMenu()
* Clean up CPU strings a bit more
2015-11-03 23:15:49 -07:00
Bryan Ashby 3038213c09 * More progress on theming esp. in relation to .config menu module sections 2015-10-09 23:35:40 -06:00
Bryan Ashby a3ba9b0252 * More work on theming 2015-10-06 21:21:13 -06:00
Bryan Ashby 73952a2c37 * Minor work on themes + FSE 2015-10-06 15:22:49 -06:00
Bryan Ashby a3e37293f4 * WIP on customization of .config blocks
* getThemeArt() updated with new fallback mechanism (theme -> default theme -> art generic)
2015-09-27 22:05:40 -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 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 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 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 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 42ddabd875 * Minor work on post view FSE / related 2015-09-02 23:11:17 -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 7990202317 * Fix some extraArgs stuff
* Minor updates to FSE related modules -- WIP!
2015-08-16 13:35:34 -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 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 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 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 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 0d9add70bd * Moved menus -> menus.json::menus
* Move prompts -> prompts.json::prompts
* Default to 80x25 if NAWS/ENV/CPR term size negotiations fail. Seeing this with Netrunner. May need more work.
2015-05-15 23:02:58 -06:00
Bryan Ashby 4e2c21059a * Distinct "menus" vs "prompts" for theme.json so conflicting names can occur
* Add support for theming prompts
2015-05-14 14:56:02 -06:00