Bryan Ashby
096bc5497f
Minor cleanup/standardization in file list, updated docs
2018-07-28 15:54:48 -06:00
Bryan Ashby
6f84ffd708
Minor updates to file area list to use proper date/time theme formatting + initial docs
2018-07-28 13:49:37 -06:00
Bryan Ashby
33790a74e3
Allow matches of minutes vs minute, etc. as intended
2018-07-25 21:18:30 -06:00
Bryan Ashby
c625d25e2a
Clean up msg_area_list module (standardize/etc.), update and add docs
2018-07-22 19:06:43 -06:00
Bryan Ashby
c3bd036509
Update message conf list with standardized + custom formats
2018-07-22 15:59:00 -06:00
Bryan Ashby
9f85a01a89
Remove comment on formatting - see docs
2018-07-22 15:58:39 -06:00
Bryan Ashby
601433be40
Add messageConf support
2018-07-22 15:58:13 -06:00
Bryan Ashby
c5998aa343
Add prevMenuOnTimeout() method
2018-07-22 15:57:51 -06:00
Bryan Ashby
39b35e8d11
Fix MCI ref
2018-07-22 12:59:43 -06:00
Bryan Ashby
e6a812cf34
Standardization work on built in user list module plus docs & code cleanup
...
* More docs, fix some info
* Code cleanup
2018-07-22 12:56:56 -06:00
Bryan Ashby
0d7a20027c
Add Who's online docs, minor doc updates to last callers, and code cleanup
2018-07-22 10:55:39 -06:00
Bryan Ashby
e732d2b10d
Code update + use 'itemFormat' standard
2018-07-21 23:57:59 -06:00
Bryan Ashby
f601fd256b
Fix last_callers collapsing & DRY code
2018-07-21 21:38:06 -06:00
Bryan Ashby
52585c78f0
Major changes around events, event log, etc.
...
* User event log is now functional & attached to various events
* Add additional missing system events
* Completely re-write last_callers to have new functionality, etc.
* Events.addListenerMultipleEvents()
* New 'moduleInitialize' export for module init vs Event specific registerEvents
* Add docs on last_callers mod
2018-07-21 14:32:06 -06:00
Bryan Ashby
c1ae3d88ba
* Fix RunDoor event name
...
* Standardize *.user_* event names
2018-07-21 14:28:18 -06:00
Bryan Ashby
58254ee27b
Fix config
2018-07-17 21:06:27 -06:00
Bryan Ashby
118cb97487
MenuModule.reload(), updated @systemMethod:reloadMenu(), and notes
2018-07-17 20:00:47 -06:00
Bryan Ashby
1f396e198e
Fix escape/de-escaping for zmodem & friends
2018-07-16 22:43:19 -06:00
Bryan Ashby
e3c197c3e1
Fix event emitter leak
2018-07-15 22:08:09 -06:00
Bryan Ashby
013a947e15
Add release-info.asc used by some modern release groups
2018-07-15 19:18:44 -06:00
Bryan Ashby
6a3849dbdc
Fist version of ArchaicNET support module
2018-07-15 19:18:27 -06:00
Bryan Ashby
7b75f08c7e
Clean up code a bit
2018-07-15 11:50:04 -06:00
Bryan Ashby
340c6ccf76
Fix asset parsing for path-to-method, etc.
2018-07-15 11:49:56 -06:00
Bryan Ashby
47e34f9da7
Fix comment
2018-07-11 21:14:28 -06:00
Bryan Ashby
5d91cfb7d0
Add {userName} and {userNameRaw} door launch/format options
2018-07-10 19:11:03 -06:00
Bryan Ashby
45ca627b4e
Minor update
2018-07-09 20:55: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
2f22d91bcf
Fix comment
2018-07-08 19:20:08 -06:00
Bryan Ashby
d54267b318
Update custom views after del
2018-07-08 11:33:39 -06:00
Bryan Ashby
3f34f77fcd
Implement fake pipe() for WebSocket (doors/etc.)
2018-07-08 11:23:56 -06:00
Bryan Ashby
bf11fc24a3
Update message list after marking all as read for 'newIndicator'
2018-07-07 20:13:24 -06:00
Bryan Ashby
dd7b234a1d
Add @markAllRead method for msg_list
2018-07-07 20:04:51 -06:00
Bryan Ashby
73bc211b94
Oops, fix newscan filter
2018-07-07 20:03:03 -06:00
Bryan Ashby
89bce2c23c
trace -> debug for Gopher access logs
2018-07-07 20:02:26 -06:00
Bryan Ashby
539c25ea83
Add ability to omit message and/or file area tags from new scan by config 'omitFileAreaTags' and 'omitMessageAreaTags' arrays
2018-07-07 15:20:45 -06:00
Bryan Ashby
53cda734e5
Minor bugfix
2018-07-05 20:35:38 -06:00
Bryan Ashby
0d55daabe4
Ability to delete private (aka inbox) messages
2018-07-04 18:49:03 -06:00
Bryan Ashby
2408d4c5c0
Fixes around render cache
2018-07-04 18:48:35 -06:00
Bryan Ashby
514edb984f
+ userHasDeleteRights()
...
+ deleteMessage()
2018-07-04 18:47:58 -06:00
Bryan Ashby
ab9ffc715a
* Cleaner action block discovery for 'submit'
...
* Allow "embedded" prompts to use form action matching
2018-07-04 18:46:40 -06:00
Bryan Ashby
3e06e2fa6b
+ promptForInput() support
...
* removeViewController() support
2018-07-04 18:45:14 -06:00
Bryan Ashby
fbffe2873c
* ansiPrepOptions support for displaying art
...
* simplify proxy of options along call path
* general improvements
2018-07-04 18:43:40 -06:00
Bryan Ashby
e24511678d
Ensure 'tag' exists
2018-07-04 18:42:59 -06:00
Bryan Ashby
8922bb6683
Catch exception if we try to log due to config.hjson error
2018-07-04 17:58:38 -06:00
Bryan Ashby
0f6924a916
XY MCI code now properly c reates vanilla view for later lookup/retrieval
2018-07-04 14:59:15 -06:00
Bryan Ashby
f4afe9847d
Handle bad config.hjson at startup/re-cache: output to stderr
2018-07-02 19:32:27 -06:00
Bryan Ashby
7c741481e1
Much improved getDescFromFileName()
2018-06-30 13:03:08 -06:00
Bryan Ashby
c894ed17ec
Convert line endings when using Atr
2018-06-30 11:55:13 -06:00
Bryan Ashby
35c5c5dd0f
Init ArchiveUtil with noWatch
2018-06-29 23:04:31 -06:00
Bryan Ashby
2cef12f47e
* Fix file descriptor leak
...
* Allow noWatch init (e.g. for oputil)
2018-06-29 23:04:03 -06:00
Bryan Ashby
b6e7ecb193
Atari Disk Image (.atr) support via (modified for now; PR open) atr tool
2018-06-29 22:40:13 -06:00
Bryan Ashby
fa100c2da1
Resolve TODO: set cwd when launching doors; allow user to set in config
2018-06-25 19:25:07 -06:00
Bryan Ashby
2fa9d6a3c2
Clean up a couple DEP0013 spots
2018-06-25 19:09:08 -06:00
Bryan Ashby
851da9e8c8
Do not require MCI configurations in theme.hjson for theme.hjson to apply #167
2018-06-25 18:09:32 -06:00
Bryan Ashby
c758454134
Fix empty filename check
2018-06-25 18:08:41 -06:00
Bryan Ashby
3aa23db306
initDefaultWidht() for various views
2018-06-23 22:23:22 -06:00
Bryan Ashby
0cfd45d8a9
Fix undefined ref if we fail to copy/move a upload file
2018-06-23 21:03:32 -06:00
Bryan Ashby
ff3ab38a7a
Fix moveOrCopyFileWithCollisions() for fse-extra with kludge
2018-06-23 21:03:05 -06:00
Bryan Ashby
359f21914f
Defualt width
2018-06-23 21:02:33 -06:00
Bryan Ashby
5bb4f9b903
Fix archive util config reload
2018-06-23 21:02:16 -06:00
Bryan Ashby
611a52e946
* Did add a tweak to the concept for height only: autoAdjustHeight can be used where it makes sense
...
* See also: #159
2018-06-23 20:16:44 -06:00
Bryan Ashby
6d4b8abc9c
Remove ERC: It's not maintained. Can be added to boards as a mod anyway
2018-06-23 18:17:15 -06:00
Bryan Ashby
4ef1061fc5
Use standard list format for message area select
2018-06-23 11:17:21 -06:00
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
Bryan Ashby
df01e72f2e
Merge pull request #180 from coolacid/patch-3
...
Missing mb command in oputil.js help
2018-04-23 19:17:56 -06:00
Bryan Ashby
a0cd8fed83
Websocket config should be similar to web #176
2018-04-23 19:03:35 -06:00
Jason Kendall
389e52dcb9
Missing mb command in oputil.js help
...
The `mb` sub-command was missing from the general help output from oputil.js - this add it.
2018-04-23 20:53:55 -04:00
Bryan Ashby
a1f55e5ad5
Webserver Crashes accessing Directory #177
2018-04-23 18:41:12 -06:00
Bryan Ashby
695e84e16f
* Remove "LastLine" indicator - does not seem to be used in practice/is not required
...
* Add logging to Gopher
2018-04-16 19:29:25 -06:00
Bryan Ashby
f557e5b6e0
Minor Gopher updates
2018-04-16 17:10:19 -06:00
Bryan Ashby
8ee573fb9d
Initial commit of Gopher contnet server
2018-04-15 20:25:56 -06:00
Bryan Ashby
207e361c03
Pull copyright from license - easier to maintain single place
2018-04-10 19:53:04 -06:00
Bryan Ashby
f08d6efb97
WIP work on door fixes, updates, etc.
2018-03-28 19:16:10 -06:00
Bryan Ashby
7bd980c886
Crash with color differences in same variable #164
2018-03-22 20:48:31 -06:00
Bryan Ashby
66f444d4fb
Slight findFiles optimization
2018-03-17 13:48:11 -06:00
Bryan Ashby
18284d8038
Merge minor theme stuff
2018-03-14 21:33:58 -06:00
Bryan Ashby
290b391bf8
Fix TypeError: cb is not a function during ping
2018-03-14 20:26:40 -06:00
Bryan Ashby
4acbae86e3
Crash on configuration when theme no longer exists #157
2018-03-13 19:22:26 -06:00
Bryan Ashby
66423068b1
Crash on delete in BBS List with zero entries #156
2018-03-13 19:10:20 -06:00
Bryan Ashby
534b51933a
Register key press handler - oops!
2018-03-13 19:00:34 -06:00
Bryan Ashby
91bbc2e5fe
DESCRIPT.ION generation disabled by default
2018-03-13 18:59:47 -06:00
Bryan Ashby
6311198f4d
Schedule that actually is valid...
2018-03-12 22:55:10 -06:00
Bryan Ashby
0de98a673f
Add DESCRIPT.ION export ability
...
* 4DOS style DESCRIPT.ION generated in storage areas @ weekly schedule by default
* Format can be controlled via templates; schedule can be changed or disabled, etc.
2018-03-12 22:18:09 -06:00
Bryan Ashby
7bf49d973d
Split up code a bit in prep for DESCRIPT.ION generation
2018-03-11 21:23:35 -06:00
Bryan Ashby
edc0bf5e06
Split up code a bit in prep for DESCRIPT.ION generator
2018-03-11 21:23:23 -06:00
Bryan Ashby
9c87d45433
Add GLOB support to oputil fb scan...
2018-03-10 11:37:23 -07:00
Bryan Ashby
f6f1de4bd8
Move to pty-node over custom pty2.js
2018-03-08 21:39:42 -07:00
Bryan Ashby
281bfbc2aa
Implement isLocal() for 'LC' ACS
2018-03-04 20:47:25 -07:00
Bryan Ashby
17cebdebce
Better fillChar handling
2018-03-04 13:35:57 -07:00
Bryan Ashby
cac3e0ceae
Better fillChar handling, specialKeyMapOverride()
2018-03-04 13:35:36 -07:00
Bryan Ashby
e7fb569466
Docs, some minor updates
2018-03-04 13:35:05 -07:00
Bryan Ashby
1482d0b78f
Add known system events enum - many more to come
2018-03-04 13:34:35 -07:00
Bryan Ashby
74b9d587c9
+ Add compression for larger exports
...
* Temp disable of idle monitor while building large lists
* Fix hash tags
* Handle no results & other errors
2018-03-04 09:17:49 -07:00
Bryan Ashby
44a4a4aeb4
Updates to idle monitor inc. ability to disable
2018-03-04 09:17:27 -07:00
Bryan Ashby
d260011ce8
+ New file base list export functionality (early beta!)
...
* File base area startup() and cleanup
* Better prepViewController() signature
2018-03-03 21:47:04 -07: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
4ccb059d61
Add --quick to help
2018-03-03 21:41:17 -07:00
Bryan Ashby
bb605d8781
* Add new well known meta for temp session d/ls
...
* Better meta assign in ctor
2018-03-03 21:40:28 -07:00
Bryan Ashby
c3b62ac608
Some default long formats for theme helpers
2018-03-03 21:16:21 -07:00
Bryan Ashby
95f4cd3fe2
Fix emit args
2018-03-03 21:16:01 -07:00
Bryan Ashby
9ad38f84a7
Add --quick option to fb scan ...
2018-02-16 23:00:15 -07:00