Commit Graph

1045 Commits

Author SHA1 Message Date
Bryan Ashby ef12cc0cfb Bring in some of the good parts of dropfile-updates branch 2018-06-22 23:06:01 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby c3635bb26b More tabs to spaces.. 2018-06-22 20:48:36 -06:00
Bryan Ashby a4e10f5ba5 Add .eslintignore, tidy up a bit 2018-06-21 23:35:52 -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 6325f92fa5 Increase max listeners in Events - experimental: may change this in the near future 2018-06-21 18:37:48 -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 ca0149eaf0 Fix rare race crash in CombatNet module 2018-06-18 20:17:56 -06:00
Bryan Ashby 4074d68526 #195: Finish scanFile() & hash updates: Clean up code 2018-06-17 20:42:42 -06:00
Bryan Ashby 681e45cb6d Much faster hash calculation / processing & therefor faster scanFile()
* Manaul read of buffers vs stream (fs.createReadStream())
* Small optimization by skipping work if no progress iterator
* Don't use async loop for updating hashes - vanilla for loop
2018-06-17 20:39:43 -06:00
Bryan Ashby f3cd36ad07 Fix oputil hang 2018-06-17 15:14:31 -06:00
Bryan Ashby c9674e68fb * Re-work menu stack goto() a bit - cleaner, support 'mergeFlags', and 'forwardArgs' menuFlags.
* Add show_art.js module: Advanced ways to show art in menu stacks. For example, by extraArgs, fileBase area art, etc -- this will replace e.g. showing message conf art later as to be more generic
2018-06-16 10:01:08 -06:00
Bryan Ashby 5f0c9ed1ab Fix require paths 2018-06-16 08:42:16 -06:00
Bryan Ashby 057ba684ea Use pre-generated table vs parsing a string 2018-06-16 08:41:41 -06:00
Bryan Ashby 2f09f3e995 Fix a couple rare bugs around SSH sessions 2018-06-14 20:00:01 -06:00
Bryan Ashby 4aab8224ed Initial version of hot-reload of config, menus, and prompts
* Themes use ES6 Map vs object{}
* Re-write and re-enable config cache using sane
* Events sent for config, prompt, or menu changes
* Event sent for theme changes
* Theme (or parent menu/prompt) changes cause re-merge and updates to connected clients
2018-06-13 21:02:00 -06:00
Bryan Ashby 1870db7d38 Cleanup code for new getConditionalValue() support 2018-06-13 20:59:43 -06:00
Bryan Ashby ceab8a0180 Code cleanup 2018-06-13 20:58:59 -06:00
Bryan Ashby 7748765ce0 Clean up code for updated getConditionalValue() 2018-06-13 20:58:02 -06:00
Bryan Ashby c08e4dbe04 New system events 2018-06-13 20:54:59 -06:00
Bryan Ashby 82da4b8e1e Resolve non-conditionals as-is 2018-06-13 20:54:17 -06:00
Bryan Ashby ec30c595c4 Fix drawing like page up/down 2018-06-09 22:50:57 -06:00
Bryan Ashby 973e10fb8b HOME/END key support in lists 2018-06-09 22:45:01 -06:00
Bryan Ashby 1cb811576b + Add unique session ID to client sessions
* Aliased to user for convienence
* Added to logs for easy tracing
* Can be used from events/etc. for grouping
2018-06-03 19:58:31 -06:00
Bryan Ashby fbe87640c5 + New user event 2018-06-03 19:58:05 -06:00
Bryan Ashby 0ae9d0d143 + User login and logoff events 2018-06-03 17:59:16 -06:00
Bryan Ashby c142a9c3d3 Work on Events missed files (see prev) 2018-06-03 17:02:28 -06:00
Bryan Ashby b273101b61 Work on Events system:
+ system_event.js
+ codes.l33t.enigma.system.user_upload and codes.l33t.enigma.system.user_download events
2018-06-03 17:00:54 -06:00
Bryan Ashby 57ecac5350 Add ESC support (actually works) 2018-06-02 20:51:09 -06:00
Bryan Ashby ccf29ea8d4 Force overwrite when extracting lha archives - they can contain dupes! 2018-06-02 17:09:43 -06:00
Bryan Ashby 3ecadebf91 Generic MIME types (file types) such as application/octet-stream can how have sub types for handlers (archive, info extract, ...)
+ Add Amiga DMS support via xdms
2018-06-02 16:06:04 -06:00
Bryan Ashby 95422f71ba Fix possible SQL injection in file tags search 2018-06-01 20:16:08 -06:00
Bryan Ashby 70ce81c01a Fix bug with quote escaping in DB sanatizeString() 2018-06-01 20:15:47 -06:00
Bryan Ashby 83dd440219 Lzx / unlzx info 2018-06-01 19:32:00 -06:00
Bryan Ashby 881f9765a6 Remove dead code, init MIME DB when doing file scan 2018-06-01 19:10:42 -06:00
Bryan Ashby 37e5948f65 Add lzx archive support via unlzx 2018-05-31 20:58:24 -06:00
Bryan Ashby 39be44434a Ensure all number groups work 2018-05-21 20:39:52 -06:00
Bryan Ashby 407f38d148 Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-05-21 20:37:41 -06:00
Bryan Ashby 8a428e6f74 oputil updates
* oputil.js user ... now works more like other "action" based commands
* add oputil.js user group .... for add/removal from groups
2018-05-21 20:36:34 -06:00
SemperFu 9385cd2c93
Update telnet.js
Spelling
2018-05-12 15:59:28 -04:00
Bryan Ashby 388e581b90 * Fix file transfer bug for WebSockets and SSH. Set/restore temp data handler belongs in base client.
* Lint some files
2018-05-12 09:33:41 -06:00
Bryan Ashby b2ae81c59e
Merge pull request #183 from davestephens/0.0.9-node10
Node.js 10 Upgrade. Bazinga!
2018-04-29 17:31:18 -06:00
Bryan Ashby 73e3e0f0c9 Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2018-04-29 09:08:00 -06:00
David Stephens f692c593e7 Buffer.alloc should be .from 2018-04-29 12:01:34 +01:00
David Stephens b45a6a8743 * Buffer froms that should be allocs
* Remove unnecessary Buffer fill after alloc
*  minor cleanup on fnv1a.js
2018-04-28 21:39:04 +01:00
David Stephens 0d7676a871 Buffer.alloc to init Buffer with a length 2018-04-28 14:06:36 +01:00
David Stephens f16eb6f3e6 Fix Node.js 10 deprecation warnings 2018-04-28 13:59:07 +01:00
Bryan Ashby 0b77c1f79e Better notFoundGenerator 2018-04-24 20:07:02 -06:00
Bryan Ashby 69ced917f3 Bind notFoundGenerator 2018-04-24 19:58:59 -06:00
Jason Kendall 7ac388c30d
Force no compression
It appears as tho there is a problem with compression and the upstream library. This PR forces no compression mode, making a work around for #181. 

This work around is derived from https://github.com/mscdex/ssh2/issues/594 which may be the cause for #181 as well.
2018-04-24 08:30:14 -04:00