Commit Graph

469 Commits

Author SHA1 Message Date
Bryan Ashby 4324c410c0 Minor update; use resetScreen() vs clearScreen() 2017-02-12 00:25:25 -07:00
Bryan Ashby edb9d32acc * Fix CRC32 meta
* Properly store upload user info in meta @ upload
2017-02-12 00:24:24 -07: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 a257a9ba4b * Fix up and improve oputil file-base stuff
* Specialize if user does not have upload ACS
2017-02-08 22:53:48 -07:00
Bryan Ashby 5549ff5512 * Help pages
* No results for criteria page
* noHistory can be passed to gotoMenu()
2017-02-07 22:15:34 -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 92772eb1a9 * Added ability to serve static files from web server
* Web server can have custom error pages, e.g. 404.html
* "file_area" stuff -> "file_base"
* Fix some rare bugs in theme/art loading
* Adjust tab order dynamically for file upload details
2017-02-04 09:20:36 -07:00
Bryan Ashby ff64a7aed5 * SEXYZ: XModem & YModem
* Explicit sort avail to protocols
* MenuView.removeItem()
* Natural sort for more things
* Fix some issues with HorizontalMenuView redraw/update
* Sanatize non-blind upload filename (security)
* Validator on non-blind upload filename
2017-02-01 19:42:27 -07:00
Bryan Ashby 8261881e3e Initial support for non-blind aka non-batch uploads 2017-01-31 23:10:17 -07:00
Bryan Ashby 690d148ad5 * Move to uuid vs node-uuid
* Use uuid-parse for to/from string
2017-01-31 00:17:19 -07:00
Bryan Ashby 541489acb0 Use natural sort for filters 2017-01-31 00:17:14 -07:00
Bryan Ashby 744d7368d4 Sort lexically + active filter first 2017-01-30 21:55:00 -07:00
Bryan Ashby 9525afddd3 * Created new npm module: temptmp: This replaces node-temp usage & solves global temp file cleanup issue with concept of temp "sessions" 2017-01-29 19:56:46 -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 fb176d3ab3 * Fix updating of existing file filter
* Update findFiles() to properly apply filters, sort order / direction, etc.
* Properly persist hash tags @ file entry persist
* Lots of improvements / additions to MCI for upload/download, etc. stats
* Persist processed entries @ upload (WIP, but close!)
2017-01-18 22:23:53 -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 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 6da7d557f9 * Improvements to ANSI parser
* Introduction of storage tags for file bases / areas
* Expiration for file web server items
* WIP work on clean ANSI (on hold for a bit while other file base stuff is worked on)
2016-12-06 18:58:56 -07:00
Bryan Ashby a7c0f2b7b0 * Add FileBaseFilters
* Add HTTP(S) file web server with temp URLs
* Get temp web d/l from file list
* Add File area filter editor (all file area stuff will be rename to file "base" later)
* Concept of "listening servers" vs "login servers"
* Ability to get servers by their package name
* New MCI: %FN: File Base active filter name
* Some ES6 updates
* VC resetInitialFocus() to set focus to explicit/detected initial focus field
* Limit what is dumped out when logging form data
2016-10-24 21:49:45 -06:00
Bryan Ashby 712cf512f0 * Add another year est regex
* Add queue file support
2016-10-14 21:57:02 -06:00
Bryan Ashby 78607f8a48 * Add CRC32
* Fix stale entries loaded from previous item in file listing
2016-10-13 20:53:38 -06:00
Bryan Ashby 806e6539f4 * Lots of improvements (WIP) to file browsing 2016-10-12 22:07:22 -06:00
Bryan Ashby ec716fdf2c * More file area utility methods/etc.
* Start adding oputil file-area --scan <areaTag> stuff
* New new ArchiveUtil.getInstance()
2016-10-02 21:40:37 -06:00
Bryan Ashby ac35d3506d File area updates WIP 2016-10-01 13:25:32 -06:00
Bryan Ashby b9ef561058 Parse file meta values @ load (e.g. to number 2016-09-28 22:26:06 -06:00
Bryan Ashby 5a0b291a02 * Some WIP on file area releated stuff - various partially implemented pieces coming together
* Some changes to database.js: Triggers for FTS were not being created properly
* Misc fixes & improvements
2016-09-28 21:54:25 -06:00
Bryan Ashby ae02f35baa Fix NaN issue in string_format.js 2016-09-08 22:32:24 -06:00
Bryan Ashby 829ee5ae85 Add missing theme me's 2016-09-08 22:04:27 -06:00
Bryan Ashby 75bef2496a * Major changes to msg_list.js: Don't use old style hard coded %TL's - use custom formatting with new pipe/format_string stuff 2016-09-08 21:54:30 -06:00
Bryan Ashby d621fa9566 * renderStringLength(): Account for ESC[<N>C "forward" ESC seq
* Use string util renderStringLength() in word wrap
* Hopefully resolve all issues with renderSubstr()
* Fix width issue in message list
2016-09-06 23:20:11 -06:00
Bryan Ashby f7c21baa52 * FSE quote format is now configurable and random if there are 2:n available
* Remove old 3rd party string-format & replace with string_format.js version
* Some fix some bugs with string_format.js padding, width, and number format
2016-09-04 21:36:26 -06:00
Bryan Ashby ed683189f8 Better ability to mod main prompt 2016-09-04 11:42:20 -06:00
Bryan Ashby 470897eadc Hopefully real fix to #88 with new StatLog ability 2016-09-01 23:42:15 -06:00
Bryan Ashby 767bddcc4b StatLog will now store for N days or N max/count items 2016-09-01 23:41:20 -06:00
Bryan Ashby f2638474b3 Fix BBS list theme 2016-08-31 22:26:03 -06:00
Bryan Ashby 6934f0d6ae Add X key to exit newscan 2016-08-30 21:32:57 -06: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 48aa0fa606 Fix rare crash if client terms in door 2016-08-30 09:53:35 -06:00
Bryan Ashby 64ded2514c Add 'hideSysOpLogin' option to last callers 2016-08-29 21:04:15 -06:00
Bryan Ashby b80cd18012 Add Rumorz 2016-08-26 22:34:37 -06:00
Bryan Ashby bbba6cd214 Use new string_format.js lib for formatting...more to come! 2016-08-26 21:30:51 -06:00
Bryan Ashby b19d06df26 Default to NOT showing non-authenticated users in who's online / getActiveNodeList() 2016-08-26 20:53:27 -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 33f0553ea9 Use sane switch style :) 2016-08-03 22:43:06 -06:00
Bryan Ashby b12d9aad04 sysStat for +op username vs old config value 2016-08-03 21:46:38 -06:00
Bryan Ashby 8d9a686629 Use new prompt 2016-08-03 20:59:10 -06:00
Bryan Ashby 969cd35ece * Use standard MCI codes in FSE/etc.
* Add mod mixin for temp area/conf switch e.g. used by new scan, fse, so on
* string utils: renderSubstr(), renderStringLength(): Works with *rendered* text. That is, is smart enough to ignore ANSI and RA style pipe color codes
* string util pad() works with ANSI/RA pipe codes
* TextView can now display text with RA pipe codes and MCI codes
* Message conf/area welcome art #81
* Update luciano art with new MCI
2016-08-03 19:48:45 -06:00
Bryan Ashby 8787703989 * New StatLog: Replaces various logs, system props, etc. into one class/methods
* Uew StatLog for last callers
* Use new StatLog for +op props
* Use new StatLog for user props such as posts & MCI to access such
* Use StatLog for various new MCI codes for +op
* Misc missing MCI codes
2016-07-27 21:44:27 -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 fbba2160fe Message Area - Cancel message #47 2016-07-25 10:47:57 -06:00
Bryan Ashby ea0ce74d2e LF changes 2016-07-25 09:26:57 -06:00
Bryan Ashby 83ad1c01d3 Mail/email menu 2016-07-25 01:03:27 -06:00
Bryan Ashby 7e7bd538eb Mail/email menu 2016-07-25 01:03:07 -06:00
Bryan Ashby 823dbc9466 Not needed 2016-07-24 21:17:19 -06:00
Bryan Ashby 8bd61f2d01 * New ACS class avail @ client.acs
* Experimental / WIP work on issue #79
* Issue # 77: Changes to new_scan.js, temp conf/area swapping, etc.
* message area: getMessageConfByAreaTag(), getMessageConfTagByAreaTag(), tempChangeMessageConfAndArea(), getNewMessageCountInAreaForUser()
2016-07-24 11:47:34 -06:00
Bryan Ashby 6f06625c84 Add telnet bridge art for luciano_blocktronics theme 2016-07-19 20:59:31 -06:00
Bryan Ashby 4346b44ae8 * Add font support
* Default to port 23
2016-07-19 20:58:25 -06:00
Bryan Ashby f6cc6f1388 Use new err serialization for unexpected errors 2016-07-16 13:06:15 -06:00
Bryan Ashby 020cd18cb9 Update format names 2016-07-13 23:47:06 -06:00
Bryan Ashby 9155832139 * Better loading
* Fix draw issue with newIndicator
* Preserve initialFocusIndex between views (note: WIP: needs additional work for expected behavior)
2016-07-13 22:44:55 -06:00
Bryan Ashby 521e08d5a8 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-07-10 22:15:50 -06:00
Bryan Ashby f8b3727163 Wait for TERMINAL-TYPE SB & respond with real underlying term type. Allows connections to other ENiGMA 1/2 boards! 2016-07-10 22:14:51 -06:00
Bryan Ashby c20ffcd4c1 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-07-09 23:22:05 -06:00
Bryan Ashby d028cbfc6b Add BBS list to main menu by default 2016-07-09 23:11:01 -06:00
Bryan Ashby de1712e104 BBS list contributed by Apam! 2016-07-09 23:08:33 -06:00
Bryan Ashby 426b466496 Some cleanup in telnet_bridge.js 2016-07-09 20:46:04 -06:00
Bryan Ashby 98ff0e44de Nearly complete BBS list by Apam + cleanup for enigma code style/etc. 2016-07-09 20:11:13 -06:00
Bryan Ashby af54098f31 Start WIP on telnet client support in telnet_bridge.js 2016-07-09 20:09:39 -06:00
Bryan Ashby edf2c99593 TODO reminder 2016-07-09 20:09:17 -06:00
Bryan Ashby c2b9fb9c0c Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-07-05 22:32:48 -06:00
Bryan Ashby 7ab61ac641 * TODO notes
* Add final prep to default to "No" -- this should be menu.hjson controled in the future
2016-07-04 12:56:54 -06:00
Bryan Ashby 0c09847a98 Onelienrz view screen 2016-07-02 14:04:35 -06:00
Bryan Ashby 3e12c6af9e Onelinerz add ansi 2016-07-02 14:04:02 -06:00
Bryan Ashby e213fdd696 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-06-30 23:04:36 -06:00
Bryan Ashby 0591f364dc Add onelinerz to menu 2016-06-30 22:31:32 -06:00
Bryan Ashby e989010e63 * Theme onelinerz
* Make preview optional (will do later - need to work on bugs!)
* Add to default menu.hjson
2016-06-30 22:30:46 -06:00
Bryan Ashby 96348d5ed8 * Onelinerz nearly complete - only really need preview MCI implemented
* Added luciano_blocktronics styled onelinerz - need same style for add oneliner still
2016-06-29 23:23:06 -06:00
Bryan Ashby 9bb08c3d54 Onelinerz mostly functional, but still WIP. Need to trim DB, display proper count, and add preview. Checking in for testing. 2016-06-28 23:53:30 -06:00
Bryan Ashby 8567692238 Temp onelinerz art 2016-06-28 22:43:05 -06:00
Bryan Ashby e22f0d37ce Onelinerz WIP 2016-06-28 22:41:50 -06:00
Bryan Ashby 5fc458e65e Onelinerz WIP, telnet bridge, ERC update 2016-06-28 22:38:29 -06:00
Bryan Ashby dc8a06331b Fix connection issue 2016-06-27 23:01:57 -06:00
Bryan Ashby 478a8a994a * Various const, let vs var, etc. cleanup
* Some DRY
* Allow user formatting (e.g. in theme.hjson)
* Misc cleanup & formatting
2016-06-27 22:35:13 -06:00
Andrew Pamment be6af161ec Added ERC Module 2016-06-27 17:29:17 +10:00
Bryan Ashby 0ea0f62b2c Telnet Bridge module by apam!
Note that there are currently issues connecting to some boards, namely: Other enigma boards! :D Likely needs some telnet negotiations acting as a *client*. WIP!
2016-06-25 22:45:49 -06:00
Bryan Ashby 21ed9dc777 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-06-20 21:39:07 -06:00
Bryan Ashby 8c06325e63 * Try to clean up terminal stuff set by doors @ exit 2016-06-20 21:38:43 -06:00
Bryan Ashby 9a71674840 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-06-20 14:44:06 -06:00
Bryan Ashby 6e6ebc9b18 * Fix menu stack corruption reported by apam when 'exit' (and possibly other) pty events fire 2+ times 2016-06-20 00:40:31 -06:00
Bryan Ashby 36ce2354e3 * Functional event scheduler - still some to do, but works
* WIP on message area cleanup via scheduler
* Some const cleanup
2016-06-19 21:09:45 -06:00
Bryan Ashby 3aa87432a1 Use const 2016-06-19 21:09:08 -06:00
Bryan Ashby a06f721185 prevMenu() if MenuModule load error 2016-06-16 22:35:27 -06:00
Bryan Ashby 566a34da7b Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs 2016-04-02 00:29:13 -06:00
Bryan Ashby d777f2c199 Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs
Conflicts:
	mods/themes/luciano_blocktronics/CCHANGE.ANS
2016-03-30 18:38:47 -06:00