Commit Graph

105 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
Nathan Byrd e9d22b0688 Additional code changes from PR 2022-03-28 22:20:55 -05:00
Nathan Byrd 590f494f44 Upgraded node.js and bumped version 2022-03-28 17:52:52 -05:00
Nathan Byrd ec2f6af1d0 More code review fixes 2022-03-28 14:41:12 -05:00
Nathan Byrd abaca6c8ef Fixed changes from code review 2022-03-28 14:18:00 -05:00
Nathan Byrd 4aed3c059d Fixed prompt location. 2022-03-25 20:10:33 -05:00
Nathan Byrd b7da0dc82a Getting closer, fixed fse 2022-03-25 19:27:01 -05:00
Nathan Byrd 77e4425df6 Removed additional cursor position reports. 2022-03-24 20:01:07 -05:00
Bryan Ashby 1fdaaf5633
Add 'write' access for post FSE
+ hasMessageConfAndAreaWrite()
+ MenuModule helpers: gotoMenuOrPrev(), gotoMenuOrShowMessage(). These will likely replace many other pieces of code soon.
2019-09-16 22:05:03 -06:00
Bryan Ashby d728ddea4c
Fix v3 async whilst 2019-07-08 19:24:37 -06:00
Bryan Ashby 8802ae24ba
Good progress on 2FA/OTP config 2019-05-24 22:27:50 -06:00
Bryan Ashby 4b763cc369 Spelling 2019-01-22 21:54:12 -07:00
Bryan Ashby b45cccaef7 Don't real-time interrupt while you interrupt... yo dawg. 2019-01-22 20:19:05 -07:00
Bryan Ashby 6410637359 Don't allow real time interrupt until ready 2019-01-03 22:03:00 -07:00
Bryan Ashby 5dea13e652 + validateConfigFields() for 'config' block validation 2018-12-02 19:30:50 -07:00
Bryan Ashby fe44f2c4d6 User interrupts & node module ready to rock. ...maybe with bugs? 2018-11-30 23:20:44 -07:00
Bryan Ashby 2fb3ce83a3 Spelling... 2018-11-24 09:33:20 -07:00
Bryan Ashby 36e9356663 Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions 2018-11-23 22:19:18 -07:00
Bryan Ashby b3ec97cc5c Art asset ACS conditional cleanup: Make more general purpose 2018-11-17 18:56:09 -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 cc9c143927 Cleanup & prep for real-time interrupt 2018-11-14 22:04:29 -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 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 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 c5998aa343 Add prevMenuOnTimeout() method 2018-07-22 15:57:51 -06:00
Bryan Ashby 118cb97487 MenuModule.reload(), updated @systemMethod:reloadMenu(), and notes 2018-07-17 20:00: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 3e06e2fa6b + promptForInput() support
* removeViewController() support
2018-07-04 18:45:14 -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 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 783f142e20 Add refreshPredefinedMciViewsByCode() 2018-01-31 22:41:13 -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 d74e95a198 Revert init seq in single write for now (VTX), return vc in helper 2017-09-03 20:44:17 -06:00
Bryan Ashby a642a271b4 Testing... 2017-09-02 10:27:59 -06:00
Bryan Ashby d3a6ce8645 Wrap up a couple writes to a single 2017-09-02 09:53:12 -06:00
Bryan Ashby 50a5b8d78e Use proper resetScreen() vs clearScreen() 2017-02-12 00:23:39 -07:00
Bryan Ashby 2e10fdfdf5 Updates to upload check, docs 2017-02-09 22:03:21 -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 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 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 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 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 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 0a629feeb0 Resolve: System methods prev/nextArea, and prev/nextConf can cause a crash #79 2016-07-25 14:35:58 -06:00