Bryan Ashby
013c088651
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha
2019-05-13 21:32:34 -06:00
Bryan Ashby
228d3e3ae7
Improve legacy EOF detector: Must be at least >= size of SAUCE
2019-05-13 21:31:34 -06:00
Bryan Ashby
b0d081ad04
Fix to read direct / full path & 'readSauce' option of art
2019-05-13 21:27:59 -06:00
Bryan Ashby
d215919bff
Improvements to oputil
...
* Major update to --help
* '2fa' is now '2fa-otp' or just 'otp'
* Better 2fa-otp output & handling
2019-05-11 00:21:42 -06:00
Bryan Ashby
6953cdf159
QR's can't alwasy be created
2019-05-11 00:20:02 -06:00
Bryan Ashby
401d0a10b1
Fix 'AR' ACS check
2019-05-11 00:19:11 -06:00
Bryan Ashby
2767f3c4e3
Don't store hashed versions of backup codes
...
* Really no point; secret must be in plain-text and only ever used in conjunction with pass/etc.
* Better oputil handling
2019-05-09 20:25:47 -06:00
Bryan Ashby
6070bc94e7
Good progress on QR support
2019-05-09 19:56:04 -06:00
Bryan Ashby
3c6c8d2a5c
Add missing OTP file, minor updates
2019-05-08 21:06:10 -06:00
Bryan Ashby
e5398db07b
WIP on OTP 2FA, stats, etc.
2019-05-07 21:36:33 -06:00
Bryan Ashby
e960e2800d
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates
2019-05-06 20:49:16 -06:00
Bryan Ashby
826e5fc0f1
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha
2019-04-23 18:17:54 -06:00
Bryan Ashby
509831cc0c
Better handling of active door instances
2019-04-23 18:16:55 -06:00
Bryan Ashby
50426d0e60
Listen 'address' for WebSockets
2019-04-09 20:25:37 -06:00
Bryan Ashby
37ea1e3a30
Listen 'address' for SSH
2019-04-09 20:25:27 -06:00
Bryan Ashby
8114a1e3f2
Listen 'address' for Telnet
2019-04-09 20:25:14 -06:00
Bryan Ashby
3460b98bf5
Listen 'address' for Web
2019-04-09 20:25:03 -06:00
Bryan Ashby
d54338c46e
Listen 'address' for Gopher
2019-04-09 20:24:52 -06:00
Bryan Ashby
0ed507cd7b
Initial real 2FA/OTP work
2019-04-09 20:07:19 -06:00
Bryan Ashby
75d6eef92f
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into security-updates
2019-04-08 20:16:16 -06:00
Bryan Ashby
19e70d1c78
Fix log message & hopefully handle client socket errors better
2019-04-08 20:14:00 -06:00
Bryan Ashby
64de10cbf7
Fix crash if client disconnects/is logged out while door is running
2019-04-05 21:53:30 -06:00
Bryan Ashby
23779c3abe
Use authInfo obj vs weird params. auth factor 1: factor 2 for 2FA, etc.
2019-02-22 22:51:12 -07:00
Bryan Ashby
57938e761e
+ Implement SSH PubKey authentication
...
* Security related items to config/security dir
2019-02-20 23:55:09 -07:00
Bryan Ashby
65ef1feb6c
Use crypto.timingSafeEqual() vs hand rolled method for constant time password comparison
2019-02-20 21:12:41 -07:00
Bryan Ashby
f41d12c688
+ oputil user rename
2019-02-16 11:03:46 -07:00
Bryan Ashby
83d0daf4b7
Add 'My Messages' module
2019-02-15 21:55:18 -07:00
Bryan Ashby
c695c1f4c5
New findMessages() filters
2019-02-15 21:53:18 -07:00
Bryan Ashby
1ca1128df6
Update docs & examples on SSH Private Key (PK) generation
2019-02-15 18:48:16 -07:00
Bryan Ashby
562c73e096
Merge 0.0.9-alpha into develop
2019-02-15 14:43:50 -07:00
FrozenFOXX
fd514e9613
Added better description of options for SSH keys
2019-02-15 11:38:33 -08:00
Bryan Ashby
f8bbc23951
Add Luciano art for message search
2019-02-15 12:37:17 -07:00
FrozenFOXX
66bd2ce108
Downgraded to AES128
...
Downgraded to AES128, AES256 does not currently seem to work.
2019-02-15 10:15:37 -08:00
FrozenFOXX
95214b0fb2
Update config.js
...
Updated the OpenSSL command to use aes256 over des3.
2019-02-14 11:05:02 -08:00
Bryan Ashby
a314b40eb8
Update to daily maintenance schedule
2019-02-10 12:31:25 -07:00
Bryan Ashby
6a7aa5acb8
Reset daily stats @ midnight, duh
2019-02-09 10:56:36 -07:00
Bryan Ashby
50c1a60838
File scan improvements
...
* Support more versions of RAR signatures & file listings
* Better FILE_ID.DIZ, NFO, etc. extraction
2019-02-02 19:04:36 -07:00
Bryan Ashby
8ba80426e3
Better disconnect - should resolve issues with SSH
2019-02-02 10:20:22 -07:00
Bryan Ashby
6aa6712edc
Minor achievement event improvements
2019-01-30 23:36:00 -07:00
Bryan Ashby
4bb4a06e66
Fix duplicate announcements for retroactive achievements
2019-01-30 21:01:49 -07:00
Bryan Ashby
8458d47f0c
Fix funkyness with theme getting overridden from prefs when using SSH
2019-01-30 20:42:30 -07:00
Bryan Ashby
21b54eda7e
Fix interrupt bug when connecting over SSH with multi-node
2019-01-29 21:31:39 -07:00
Bryan Ashby
f15629682c
Fix outstanding SSH bug seen with NetRunner and SyncTERM with ugly hack: Disable keep-alives
2019-01-29 20:36:45 -07:00
Bryan Ashby
1cd73ec78b
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha
2019-01-26 15:30:41 -07:00
Bryan Ashby
6193dca58a
Stats that are numbers should be formatted
2019-01-26 12:57:29 -07:00
Bryan Ashby
bec497b209
totalCount & totalPoints should be numbers
2019-01-26 12:57:07 -07:00
Bryan Ashby
c98e1474d0
Add totalPoints, totalCount
2019-01-26 12:05:07 -07:00
Bryan Ashby
3450500d27
factory() should not crash if data is null
2019-01-26 12:04:59 -07:00
Bryan Ashby
0efa148f63
Better incrementUserStat()
2019-01-24 21:54:16 -07:00
Bryan Ashby
eea9e7b5e6
Don't use Errors
2019-01-24 21:53:45 -07:00
Bryan Ashby
aa9cd8899c
New 'userStatIncNewVal' achievement type
2019-01-24 21:53:31 -07:00
Bryan Ashby
ae2a225e3a
Module for listing user achievements earned
2019-01-22 21:55:28 -07:00
Bryan Ashby
4f0ade6ce1
* getAchievementsEarnedByUser() exported as standard method using global inst
...
* Added timestamp info
2019-01-22 21:54:37 -07: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
16e903d4c6
Achievements are now recorded in more detail such that they can be retrieved *as they were* at the time of earning
2019-01-20 21:58:00 -07:00
Bryan Ashby
18a7a79f14
TopX mciMap standardized on "value" vs (propName, logName, etc.)
2019-01-20 21:57:31 -07:00
Bryan Ashby
34f0afc175
Fix INSERT clause for cases of overlap
2019-01-20 12:22:42 -07:00
Bryan Ashby
4696bd9ff2
Fix PCBoard/WildCat! color codes
2019-01-18 23:46:15 -07:00
Bryan Ashby
0457a6601f
Better door tracking
...
* Send event info with door run time & door tag
* Only if >= 45s
* Only log minutes if >= 1
* No timer required; track only @ door exit time
2019-01-18 23:12:01 -07:00
Bryan Ashby
7776391184
Door utility and door tracking
...
* Require >= 45s of time in a door before it counts as "run"
2019-01-18 22:09:10 -07:00
Bryan Ashby
4e1997302e
Fairly functional
2019-01-17 21:27:37 -07:00
Bryan Ashby
2a3271ef4e
Fix some events
2019-01-17 21:27:25 -07:00
Bryan Ashby
39e7fe5d69
+ WIP TopX module
2019-01-17 20:18:23 -07:00
Bryan Ashby
dc70521057
+ New, more detailed user event log entries that can be summed/etc.
...
* Last callers indicators now use new user event log entries
2019-01-17 20:18:02 -07:00
Bryan Ashby
7c6e3e3ad4
Cleanup, notes, etc.
2019-01-17 20:14:59 -07:00
Bryan Ashby
483e7f4ee9
Add global boolean to node sent event
2019-01-17 20:14:33 -07:00
Bryan Ashby
680898b56b
Add minutes used to logoff event
2019-01-17 20:13:49 -07:00
Bryan Ashby
6408e40604
Fix minor typo
2019-01-13 19:10:54 -07:00
Bryan Ashby
403ee891d5
Change column name, drop a useless one
2019-01-13 18:19:00 -07:00
Bryan Ashby
90137819dd
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into achivements-0.0.9-alpha
2019-01-12 23:00:27 -07:00
Bryan Ashby
d5bd2d5adf
Experimental UTF-8 -> CP437 (aka nix -> ansi) override to work around terms such as NR that report 'xterm' but want CP437
2019-01-12 10:31:03 -07:00
Bryan Ashby
3f2e836a83
Minor fixes
2019-01-10 21:41:32 -07:00
Bryan Ashby
2788c37492
+ ACS: AC for achievement count check
...
+ ACS: AP for achievement point check
+ User minutes used on the system are now tracked
+ MCI: TO for total time spent online system (friendly format)
* Fix up a couple ACS bugs with |value|
* Fix formatting of achievement text
+ Add more achievements
* Fix achievement duration formatting
2019-01-10 20:34:52 -07:00
Bryan Ashby
091a9ae2c7
Fix some bugs, clean up, etc. in achievements
2019-01-09 20:07:59 -07:00
Bryan Ashby
b96fa154c0
Spelling
2019-01-09 20:07:27 -07:00
Bryan Ashby
83c57926d3
Never interrupt during upload
2019-01-09 20:06:55 -07:00
Bryan Ashby
c9af0edef8
resetScreen() vs clearScreen()
2019-01-09 20:06:30 -07:00
Bryan Ashby
34c9178099
Achievement & Event improvements
...
* User stat set vs user stat increment system events
* Proper addMultipleEventListener() and removeMultipleEventListener() Events APIs
* userStatSet vs userStatInc user stat achievement types. userStatInc for example can be used for door minutes used
2019-01-06 21:56:12 -07:00
Bryan Ashby
925ca134c6
Door stats for CombatNet module
2019-01-06 18:01:03 -07:00
Bryan Ashby
99a95e7648
Door stats to Exodus module
2019-01-06 17:50:22 -07:00
Bryan Ashby
8315b62199
Door stats to BBSLink module
2019-01-06 17:42:07 -07:00
Bryan Ashby
f653d83c14
Implement retroactive achievements (for userStat types so far)
2019-01-06 10:41:04 -07:00
Bryan Ashby
2b802cb534
Better theming for achievements
2019-01-05 22:51:16 -07:00
Bryan Ashby
22b7fdd65c
Add door stats & new mini format styles
...
+ Door runs stat
+ Door run minutes stat
+ Door runs MCI
+ Door run friendly duration MCI
+ durationHours/Minutes/Seconds mini format styles
2019-01-05 21:17:53 -07:00
Bryan Ashby
9d39e99c5a
Update copyright
2019-01-05 21:17:18 -07:00
Bryan Ashby
3d07f763d1
Achievement improvement & more achievements
2019-01-05 19:04:19 -07:00
Bryan Ashby
f56a72e0c3
Start of theming of achievements
...
+ default text/SGR styles can now be set for quick customization of colors
2019-01-05 16:55:37 -07:00
Bryan Ashby
2bd51c0725
Achievements are now in 'achievements.hjson'
...
+ Config.general.achievementFile
* Implement (re)caching (aka hot-reload)
* Update values a bit
2019-01-05 12:18:44 -07:00
Bryan Ashby
c332b0f3ec
WIP on user achievements
...
+ Add MCI codes for points/count
+ Add docs for MCI codes
+ Record in stats, stat log, etc.
* Do not trigger more than once
* Code cleanup & organization, add classes, etc.
* Tweaks to DB table
2019-01-05 10:49:19 -07:00
Bryan Ashby
6410637359
Don't allow real time interrupt until ready
2019-01-03 22:03:00 -07:00
Bryan Ashby
10517b1060
Progress on achivements
...
* Fetch art if available
* Queue local and/or global interrupts
* Apply text formatting
* Bug exists with interruptions in certain scenarios that needs worked out
2019-01-03 21:03:08 -07:00
Bryan Ashby
bd03d7a79b
Fix comment
2019-01-03 21:02:57 -07:00
Bryan Ashby
ea055ab58b
Handle pause for text-only interruptions also
2019-01-03 21:02:42 -07:00
Bryan Ashby
9f728a2e94
Fix longstanding bug with node IDs
2019-01-03 21:02:21 -07:00
Bryan Ashby
a34dab6a73
WIP on user achievements
...
* Hook up events for testing
* Start to plug in experimental interrupt
2019-01-02 22:13:42 -07:00
Bryan Ashby
c5a72c7356
TODO notes
2019-01-02 20:08:00 -07:00
Bryan Ashby
eaace9a81d
TODO notes
2019-01-02 20:07:46 -07:00
Bryan Ashby
b23cdd20bf
Listen to 'env' events
2019-01-02 19:52:15 -07:00
Bryan Ashby
4fb7c4bf53
Some minor cleanup
2018-12-31 11:33:14 -07:00
Bryan Ashby
0230d9958c
Better screen size detection when NAWS/etc. fails:
...
Ask to move cursor to 999,999. We expect that we'll really get something like 80x25 generally. *Then* issue
special DSR that should give us screen size. We should get a good "bottom right" aka screen size either way.
2018-12-31 11:30:40 -07:00
Bryan Ashby
78484a2352
Compare SAUCE for --update propertly
2018-12-29 13:28:08 -07:00
Bryan Ashby
6b02ddbdae
Fix FILE_ID.DIZ (and other) display issues when ANSI is stored with specific term width in SAUCE
...
+ Preserve SAUCE records of desc/long_desc during import (in meta)
* Use SAUCE term width for ANSI Prep when displaying desc
2018-12-29 13:15:58 -07:00
Bryan Ashby
046550842b
ACS changes in prep for checking from ie content servers such as NNTP
...
* ACS now takes subject { client, user }
* ACS checks now consider client/user optional & checks fail (return false) if an object is not available
2018-12-28 10:39:41 -07:00
Bryan Ashby
8d46a305c5
Add IP address to failed login attempts
2018-12-27 14:16:59 -07:00
Bryan Ashby
3864d957c9
* Servers now use async listen()
2018-12-27 02:46:16 -07:00
Bryan Ashby
9d1815682d
* ServerModule's createServer() is now async
...
* Re-write of NNTP Message-ID <> internal message UUIDs
2018-12-27 02:19:26 -07:00
Bryan Ashby
ee93035bb8
* Disconnect clients that attempt to login with banned usernames for Telnet as well
...
* Slow disconnects to thwart brute force attacks - these names won't exist anyway,
but we want the attacking client to not DoS us
2018-12-25 00:18:04 -07:00
Bryan Ashby
06a1925288
Check bad usernames @ login
2018-12-24 15:32:38 -07:00
Bryan Ashby
73e8b0454e
Wrap ctx.reject() and catch throws
2018-12-24 15:14:37 -07:00
Bryan Ashby
c6e176f5bd
Add oputil fb desc
2018-12-21 14:39:57 -07:00
Bryan Ashby
f4088303ca
cleanControlCodes -> stripAnsiControlCodes
2018-12-17 22:08:59 -07:00
Bryan Ashby
eeaeef9a8c
Yet another FILES.BBS type
2018-12-17 21:39:25 -07:00
Bryan Ashby
1f5ec39778
Strip pipe codes!
2018-12-17 21:39:10 -07:00
Bryan Ashby
03662dc056
Fix major durp in code with CNET codes
2018-12-17 21:38:09 -07:00
Bryan Ashby
098e3c2fba
More FILES.BBS support
2018-12-17 17:23:02 -07:00
Bryan Ashby
84ca97e936
FILES.BBS handling improvements - WIP
2018-12-17 15:56:09 -07:00
Bryan Ashby
996fcb389e
Minor help update
2018-12-17 12:10:55 -07:00
Bryan Ashby
832e04cdf0
+ Initial FILES.BBS support during file scan: A few formats supported so far, more to come...
...
* Detect DESCRIPT.ION, FILES.BBS, etc. during scans
2018-12-17 12:08:06 -07:00
Bryan Ashby
8356f00ba6
Fix bug when user has been nuked
2018-12-17 11:56:07 -07:00
Bryan Ashby
b1eea4f4b7
Some logging updates
2018-12-17 11:20:14 -07:00
Bryan Ashby
12a1809a88
lol fail
2018-12-16 00:40:14 -07:00
Bryan Ashby
422a925daa
+ oputil.js user info
...
* Fix up some help messaging
* Don't allow del of +op
2018-12-16 00:26:28 -07:00
Bryan Ashby
6d45d74a47
Little better NNTP config
2018-12-15 23:52:59 -07:00
Bryan Ashby
3eaf4dd0d8
+ oputil.js user rm USERNAME
...
* Fix some of my horrid spelling...
2018-12-15 23:42:19 -07:00
Bryan Ashby
cf6e3d3ba8
Better logging
2018-12-15 02:40:36 -07:00
Bryan Ashby
b89096fd99
publicPort typo
2018-12-15 02:39:57 -07:00
Bryan Ashby
4b2771012b
Show desc if set
2018-12-15 02:06:15 -07:00
Bryan Ashby
dba2fc18f6
Strip MCI/Pipe codes
2018-12-15 01:55:38 -07:00
Bryan Ashby
a3ba57b0b8
Fix schedule issue
2018-12-14 23:21:33 -07:00
Bryan Ashby
b903b2ee82
Better logging
2018-12-14 23:08:53 -07:00
Bryan Ashby
874aee5baa
Change listen addr
2018-12-14 23:03:10 -07:00
Bryan Ashby
772022f0d0
+ NNTP Content Server
...
* Read-only to public conf/areas only for now
* Missing some protocol support
* Could use better encoding practices and ANSI prep
2018-12-14 22:21:57 -07:00
Bryan Ashby
cde329b439
Spelling
2018-12-10 21:54:59 -07:00
Bryan Ashby
a036f6c6bf
Minor code tidy
2018-12-09 02:35:34 -07:00
Bryan Ashby
a70d865d74
Code tidy
2018-12-09 02:33:48 -07:00
Bryan Ashby
844286ea1c
Use constants
2018-12-09 02:32:41 -07:00
Bryan Ashby
704c242aa4
Fix bug in newScanMessageArea()
2018-12-09 02:32:20 -07:00
Bryan Ashby
167916e8dd
Fix bug in findByFullPath()
2018-12-09 02:20:50 -07:00
Bryan Ashby
8652b35b46
Code cleanup & resolve some minor TODO's in dropfile gen
2018-12-09 01:01:55 -07:00
Bryan Ashby
a8604ece54
Ensure 'userName' has _something_ if sanatized all the way out
2018-12-09 00:17:03 -07:00
Bryan Ashby
2474e82829
Change default dropfile path to just ./enigma-bbs/drop/ so we can have a shorter name for Win16 binaries
2018-12-08 23:41:42 -07:00
Bryan Ashby
ecb0cd8941
Minor door updates
2018-12-08 00:43:20 -07:00
Bryan Ashby
60369ea378
* Note on FILEBONE.NA support
...
* Notes on importing in file area docs
2018-12-04 20:42:56 -07:00
Bryan Ashby
9c835af000
Initial support for FILEGATE.ZXX / RAID style import of file areas
2018-12-03 23:51:43 -07:00
Bryan Ashby
0c23339a2d
Code cleanup: Use EnigError's vs standard Error. WIP...
2018-12-02 19:33:07 -07:00
Bryan Ashby
5dea13e652
+ validateConfigFields() for 'config' block validation
2018-12-02 19:30:50 -07:00
Bryan Ashby
36d55a409e
Add send node msg event
2018-12-01 17:00:07 -07:00
Bryan Ashby
eec06e7004
Fix oops!
2018-12-01 16:59:47 -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
d9238ee6a5
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-29 21:17:31 -07:00
Bryan Ashby
6d2c095976
Fix cb
2018-11-27 22:01:14 -07:00
Bryan Ashby
098c24e48a
Fix D/L stats
2018-11-27 21:29:35 -07:00
Bryan Ashby
6cce013187
+ MCI: PT - total messages posted today (non-private)
...
+ MCI: TP - total messages/posts on system (non-private, includes imports, only counts *current*, not all of time)
* Move some stats to startup() calls
* Fix some DATE() comparisons in SQL to use 'localtime' as our timestamps include TZ
* Update luciano_blocktronics SYSSTAT to show more info
2018-11-27 21:21:00 -07:00
Bryan Ashby
fb13381bb5
Default back to 'forever' for login history. It's small data...
2018-11-27 19:45:36 -07:00
Bryan Ashby
4b5f26b31b
Record offeset again... dur
2018-11-25 20:31:25 -07:00
Bryan Ashby
e606ec6f63
Fix ISO timestamps hopefully
2018-11-25 20:29:36 -07:00
Bryan Ashby
f471fd0ebe
Finally implement "Total Calls Today" MCI: TT
...
+ Add findSystemLogEntries() to StatLog amongst others
2018-11-25 20:13:48 -07:00
Bryan Ashby
ec97b3e8d4
More user/system stat constants & usage
2018-11-25 19:05:16 -07:00
Bryan Ashby
596026d1ce
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-25 10:42:12 -07:00
Bryan Ashby
e464f95924
UT MCI now displays theme name, UD displays ID
2018-11-25 10:35:05 -07:00
Mike Ralphson
546fbbd533
oputil_help; correct references to optutil
2018-11-25 13:59:12 +00:00
Bryan Ashby
c0de3d7048
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into user-interruptions
2018-11-24 20:26:19 -07:00
Bryan Ashby
2c4fdfdd5f
* Moved oputil.js config import-areas to 'oputil.js mb import-areas'
...
* 'oputil.js mb import-areas' now *optionally* binds areas to FTN networks. Otherwise only areas are imported
2018-11-24 20:02:19 -07:00
Bryan Ashby
1dafa2854b
Fix initial load introduced last nigth :(
2018-11-24 09:39:53 -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
f80e07fcf9
...and more UserProps
2018-11-23 22:18:15 -07:00
Bryan Ashby
d11aca571e
Yet more UserProps usage
2018-11-23 22:02:36 -07:00
Bryan Ashby
4050affedf
More conversion to UserProps
2018-11-23 17:41:16 -07:00
Bryan Ashby
b82c640014
Work on using UserProps, fix up ISO timestamps, etc.
2018-11-23 14:47:18 -07:00
Bryan Ashby
f45e785da1
oputil.js user activate <name> will now unlock accounts
2018-11-23 12:02:41 -07:00
Bryan Ashby
a4823c0c4a
Logging around accoung lock/unlocking
2018-11-23 11:44:46 -07:00
Bryan Ashby
df2bf4477e
SECURITY UPDATE
...
* Handle failed login attempts via Telnet
* New lockout features for >= N failed attempts
* New auto-unlock over email feature
* New auto-unlock after N minutes feature
* Code cleanup in users
* Add user_property.js - start using consts for user properties. Clean up over time.
* Update email docs
2018-11-22 23:07:37 -07:00
Bryan Ashby
1f9b963e76
Fix typo
2018-11-22 10:10:53 -07:00
Bryan Ashby
20e9d9ad7e
Actually log spawn() failure in Event Scheduler
2018-11-21 22:21:24 -07:00
Bryan Ashby
ec1ce3062e
Catch bad spawn
2018-11-21 21:24:11 -07:00
Bryan Ashby
472968e81d
Cleaner code
2018-11-21 19:50:03 -07:00
Bryan Ashby
9fd819d608
Resolve TODO RE using EnigError for bad login attempts
2018-11-21 19:43:50 -07:00
Bryan Ashby
ebc70907d4
Newest messages first when listing msgs from Gopher
2018-11-21 17:55:31 -07:00
Bryan Ashby
3af5b6f509
* Word wrap messages when output via Gopher server
...
* Fix Gopher startup banner default
2018-11-20 21:02:30 -07:00
Bryan Ashby
3fd526da6f
Fix some spelling
2018-11-20 21:01:39 -07:00
Bryan Ashby
ec1f437dd9
Fix DEP0005 during file base scan
2018-11-19 20:16:30 -07:00
Bryan Ashby
370f8039db
* Use itemFormat/focusItemFormat for set newscan message/file conf/areas
...
* Docs for set_newscan_date module
2018-11-18 14:19:34 -07:00
Bryan Ashby
b34294fbef
* Docs + itemFormat/focusItem format for web download manager
...
* Fix some typos
2018-11-18 12:02:57 -07:00
Bryan Ashby
e316b5fe80
Add File Base Download Manager docs
2018-11-18 01:56:40 -07:00
Bryan Ashby
2a95849f7d
Add default keys for show art by message/file conf/areas
2018-11-17 21:04:00 -07:00
Bryan Ashby
b3ec97cc5c
Art asset ACS conditional cleanup: Make more general purpose
2018-11-17 18:56:09 -07:00
Bryan Ashby
ac0f54dc9b
Better MCI handling
2018-11-17 13:24:16 -07:00
Bryan Ashby
8702e309ae
Fix bug in default config / user config merging: Some arrays should be replaced while others should be merged
2018-11-17 13:14:51 -07:00
Bryan Ashby
f4b03826b0
Fix --version
2018-11-15 22:21:45 -07:00
Bryan Ashby
f9429dd2e6
Move where passwordChar lives
2018-11-15 20:32:08 -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
4025c3c643
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-14 22:05:23 -07:00
Bryan Ashby
cc9c143927
Cleanup & prep for real-time interrupt
2018-11-14 22:04:29 -07:00
Bryan Ashby
e4cb93a17c
Use better logging for archiver spawn()
2018-11-14 21:24:15 -07:00
Bryan Ashby
ea4fb090e2
Better error report from spawn() fail in extractTo()
2018-11-14 21:00:21 -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
941e7d0a03
Fix ./main.js --version
2018-11-14 19:53:14 -07:00
Bryan Ashby
23af00e7ec
Add timestamp
2018-11-14 19:52:55 -07:00
Bryan Ashby
a88af51f27
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-13 21:33:42 -07:00
Bryan Ashby
96d30af5d2
POSSIBLY BREAKING:
...
config/menu.hjson and config/prompt.hjson are now moved to misc/menu_template.in.hjson and config/prompt_template.in.hjson. These are now simply used as template files and copied to config/ with proper naming when issuing 'oputil.js config new'
2018-11-13 21:32:22 -07:00
Bryan Ashby
330e1efa78
Updates to user interruptions & node-to-node message module
...
* Can now have header/footer art on node-to-node messages
* 'text' and more advanced 'contents' fields
* format via 'messageFormat'
2018-11-13 21:11:33 -07:00
Bryan Ashby
d8f0708310
getActiveNodeList -> getActiveConnectionList (be consistent)
2018-11-13 20:03:54 -07:00
Bryan Ashby
5a74cdc8d9
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-13 20:01:36 -07:00
Bryan Ashby
d28b5ce3b2
Even better file name generation for new configs
2018-11-13 19:44:27 -07:00
Bryan Ashby
c1f7eb05ca
Better sanatization of menu/prompt.hjson files based on board name
2018-11-13 19:40:48 -07:00
Bryan Ashby
23c30533c7
Merge branch '0.0.9-alpha' of ssh://numinibsd/git/base/enigma-bbs into user-interruptions
2018-11-12 22:06:19 -07:00
Bryan Ashby
308f09b291
Proper callback when missing MCI
2018-11-12 22:05:49 -07:00
Bryan Ashby
74b03fe846
Fix exception when no SSH stuff is configured
2018-11-12 22:05:36 -07:00
Bryan Ashby
516116f83e
Spinner Menu now supports itemFormat and focusItemFormat
2018-11-12 22:05:21 -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
00a0e131b4
Statlog to config
2018-11-11 01:58:49 -07:00
Bryan Ashby
322274a115
System keeps login history events forever by default -- override in config
2018-11-11 01:55:38 -07:00
Bryan Ashby
e8e9df767f
* Move idle config to user
...
* More 'config new' enhancements
2018-11-11 01:00:42 -07:00
Bryan Ashby
f592da2645
oputil.js config new now preps 'menuFile' and 'promptFile'
2018-11-11 00:19:01 -07:00
Bryan Ashby
c24695e998
+ oputil.js config cat
...
* Many updates to config gen
y
2018-11-10 23:59:26 -07:00
Bryan Ashby
99893b0bd1
Yet more updates with config new
2018-11-10 20:26:23 -07:00
Bryan Ashby
0058d54424
More updates on config template stuff
2018-11-10 20:00:25 -07:00
Bryan Ashby
a7b506a595
Updated bad password list
2018-11-10 10:17:24 -07:00
Bryan Ashby
97e2d103e2
Comments
2018-11-09 19:02:07 -07:00
Bryan Ashby
93305d44fc
Initial WIP on better 'oputil config new' for testing
2018-11-07 20:24:05 -07:00
Bryan Ashby
7d74556868
Changes to config: defaults -> theme, preLoginTheme -> theme.preLogin, etc.
2018-11-07 18:33:07 -07:00
Bryan Ashby
a14c0f42af
Onelinerz standardization work and docs
2018-11-05 22:39:49 -07:00
Bryan Ashby
047d8fae89
File Transfer protocol: use itemFormat + docs
2018-11-05 21:54:04 -07:00
Bryan Ashby
5af2fdc6c5
More itemFormat & doc work
2018-11-05 21:35:12 -07:00
Bryan Ashby
a98940e967
Use standard itemFormat for BBS list. Add docs
2018-11-05 21:08:56 -07:00
Bryan Ashby
8942eff203
Fix deprecated write() without callback for Node.js 10.x+
2018-11-04 21:09:27 -07:00
Bryan Ashby
75c952c976
Fix sexyz Linux x86_64 binary links
2018-11-04 21:00:54 -07:00
Bryan Ashby
25560cb47a
SyncTERM SSH support
...
+ Enabled all ssh2-streams supported KEX, ciphers, etc. for now. Will communicate with Deuce about this.
2018-11-04 19:29:51 -07:00
Bryan Ashby
206312302a
Fix generated logging level
2018-11-04 18:34:54 -07:00
Bryan Ashby
63b5eed504
Minor updates to FileEntry / oputil
2018-11-04 15:01:27 -07:00
Bryan Ashby
d7aabba847
Add CNET style Y-Style/Q-Style color code support
2018-09-15 13:12:54 -06:00
Bryan Ashby
2c7354b4fa
Allow movement codes in renegadeToAnsi()
2018-09-14 21:11:44 -06:00
Bryan Ashby
9bb3557509
WIP add in some basic movement MCI codes & color/pipe code cleanup
2018-09-14 20:34:39 -06:00
Bryan Ashby
e6055e0f11
Better logging
2018-09-11 14:44:22 -06:00
Bryan Ashby
4501759d99
Better help for 'fb info'
2018-09-11 14:42:36 -06:00
Bryan Ashby
13d30827aa
Allow how many to keep in DB by config 'retainCount'
2018-08-14 21:53:00 -06:00
Bryan Ashby
aa2e2e56e3
Fix FTN address lookup crash when scanning
2018-08-11 20:45:50 -06:00
Bryan Ashby
d54c38b9a9
Default to 'cp437' encoding vs current client encoding so we have something stable
2018-08-05 21:22:32 -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
746bd5abd0
* Don't crash with bad string formats
...
* File listing: If we fail to get an archive listing, fix attempt to format the string with a non-object
2018-08-05 10:50:47 -06:00
Bryan Ashby
5bd7ecdb88
Add menu-level ACS check
2018-08-04 11:49:44 -06:00
Bryan Ashby
475fe596f6
Better handling of 'socket' io
2018-08-02 22:13:42 -06:00
Bryan Ashby
b5c67ec88f
Fix areaTag bug recently introduced
2018-07-29 20:58:26 -06:00
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
richinseattle
ca0077e209
Pass username as argument to door programs
2018-05-02 18:28:04 -07: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
Bryan Ashby
cd51cc1adb
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha
2018-02-12 20:18:38 -07:00
David Stephens
26e8e0f6d0
Fix message counter and message area display in message listings
2018-02-12 21:53:15 +00:00
Bryan Ashby
c26a8872e6
Fix TIC node config lookup when wildcards are present
2018-02-10 10:54:04 -07:00
Bryan Ashby
8c7c20862c
* Implement some missing placeholder ACS checks
...
* Add some new ACS checks
* Add documentation on new ACS
2018-02-07 20:26:29 -07:00
Bryan Ashby
3db5081698
Allow wildcards such as "21:*" for node configuraiton keys
...
* Resolves TODO
* Aligns with docs
2018-02-05 20:13:29 -07:00
Bryan Ashby
ced943867e
#146 Fix color codes
2018-02-05 18:52:24 -07:00
Bryan Ashby
7555233ac7
Fix some word wrap bugs previously introduced
2018-02-04 21:01:19 -07:00
Bryan Ashby
aecc24079f
Revert "Fix word wrap crash reported by user when pipe codes are in play"
...
This reverts commit 0a486d290f
.
2018-02-04 10:39:14 -07:00
Bryan Ashby
0a486d290f
Fix word wrap crash reported by user when pipe codes are in play
2018-02-04 10:27:32 -07:00
Bryan Ashby
7a6188bba0
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha
2018-02-03 08:37:24 -07:00
Bryan Ashby
aa274bb354
Update copyright to 2018
2018-02-03 08:20:51 -07:00
Bryan Ashby
1b58b85b1f
Code cleanup + provide default 'text' member
2018-02-02 21:22:47 -07:00
Bryan Ashby
548ff41467
Conceptual MenuItem caching - WIP for testing, will impl. in others if it seems good
2018-02-01 20:29:26 -07:00
Bryan Ashby
a121d60c1b
Fix lastReadId logic
2018-02-01 19:34:14 -07:00
Bryan Ashby
5c580c1ecd
Prevent private mail in message search results
2018-01-31 23:01:42 -07:00
Bryan Ashby
837326e15a
MANY changes around message listing / viewing
...
* If messageList is used, alwasy require items to contain areaTag
* Standardize messageList a bit - still WIP, needs cleaned up
* Lof of changes around area/conf tracking in relation to messages and message listings
* Work for message searching
* Clean up of various code, much to do...
2018-01-31 22:45:03 -07:00
Bryan Ashby
cc2ee9c586
Add ESC support - WIP, not fully functional
2018-01-31 22:42:43 -07:00
Bryan Ashby
0eee701bf6
Add 'data' member support to getData()
2018-01-31 22:42:20 -07:00
Bryan Ashby
783f142e20
Add refreshPredefinedMciViewsByCode()
2018-01-31 22:41:13 -07:00
Bryan Ashby
d244cd25fa
Add getViewsByMciCode()
...
* Store MCI code in View when created from MCI
* Allow retrieval by MCI code
2018-01-31 22:38:02 -07:00
Bryan Ashby
cb8d331415
Add 'data' member support to getData()
2018-01-31 22:37:03 -07:00
Bryan Ashby
ec87d11c31
Fix FileEntry.findFiles() terms MATCH expr
2018-01-31 22:36:31 -07:00
Bryan Ashby
06ea2d1600
Code readability
2018-01-31 22:52:27 +00:00
Bryan Ashby
c81aa001f4
Fix typo
2018-01-28 13:22:47 -07:00
Bryan Ashby
999033ec15
New menu sorting, fix up default SGR
2018-01-28 13:03:11 -07:00
Bryan Ashby
b6317e0541
File Base area selection using new simplified formatting
2018-01-28 13:02:24 -07:00
Bryan Ashby
342c37b388
Allow extraArgs such that we can launch from menu items easier
2018-01-28 12:56:35 -07:00
Bryan Ashby
7a2df56855
Menu items can now be arrays of objects
...
* Allows custom members of each item
* 'data' overrides selection (vs returning the index)
* 'text' is the default member for text if no formatters are supplied
* formatters: 'itemFormat' and 'focusItemFormat', e.g. "{member1} - {member2}"
2018-01-27 22:21:48 -07:00
Bryan Ashby
974ee1b389
MAJOR *POSSIBLY BREAKING* changes in FSE
...
* WIP on cleanup to use 'standard' MCI formatting / theming used elsewhere in system
* Some MCI ID changes (e.g. FSE in edit mode %TL13 -> %TL4); update your theme.hjson / artwork!
2018-01-26 21:45:08 -07:00
Bryan Ashby
a3e257aee3
Fix FSE word wrap bug when no barriers could be located in a > width string
2018-01-26 21:44:07 -07:00
Bryan Ashby
303259841f
options -> client, since client was only option ;)
2018-01-26 21:43:08 -07:00
Bryan Ashby
dc1ff587a3
Use new Message.findMessages() functionality
2018-01-26 21:42:43 -07:00
Bryan Ashby
cc119297e8
wcValue -> wildcards (readability)
2018-01-26 21:39:53 -07:00
Bryan Ashby
b6bda7f45f
much cleaner code
2018-01-26 21:38:50 -07:00
Bryan Ashby
3d575f7645
Default renderLen array
2018-01-26 21:37:26 -07:00
Bryan Ashby
70b5d7a124
MAJOR refactor of Message class
...
* ES6 class vs old style
* Add findMessages(filter, ...) similar to FileEntry.findFiles() allowing many filter types used throughout the system
2018-01-26 21:36:16 -07:00
Bryan Ashby
ec1876084c
Add sanatizeString() method
2018-01-26 21:34:32 -07:00
Bryan Ashby
cc74616a93
Next at end of list goes to previous menu by default
2018-01-26 21:34:10 -07:00
Bryan Ashby
50074d7765
Remove unused require
2018-01-21 20:49:49 -07:00
Bryan Ashby
94f3721bf8
Prompt when already logged in
2018-01-21 20:49:38 -07:00
Bryan Ashby
8bfad971a1
Finish conversion from 'binary' -> 'binary-parser'
...
* FTN packets
* SAUCE
2018-01-21 11:58:19 -07:00
Bryan Ashby
c1f971d2d9
Code readability
2018-01-20 19:30:21 -07:00
Bryan Ashby
bc55317a4b
Fix drawing when focus items set - we should not attempt to stylize!
2018-01-20 19:30:10 -07:00
Bryan Ashby
5caf7a9fce
Move NetMail routes to scannerTossers: { ftn_bso: { ... } } where it belongs in config.hjson
2018-01-20 18:47:19 -07:00
Bryan Ashby
70a2bc5160
Rework BSO-style flow file generation
...
* Add point address NNNNnnnn.pnt sub dir support
* Use *route* address in case of non-direct destinations
2018-01-20 18:32:15 -07:00
Bryan Ashby
afe0c88cfc
NetMail non-HUB fixes
...
* Properly separate FTN *packet* header vs *message* header DST/SRC information
* Change routes{} handling: These are now *require* for out-of-HUB routing such that Enig will know where to send messages
2018-01-20 15:16:35 -07:00
Bryan Ashby
b1cea5edd7
Add in reason if available, to error message
2018-01-20 15:16:10 -07:00
Bryan Ashby
16c8fd0afc
Fix focusTextStyle for VerticalMenuView (lightbar)
2018-01-15 21:40:13 -07:00
Bryan Ashby
78ca1e9c4f
* Ensure explicit by-MCI key forms are properly themed, e.g. form: { 3: { HM1: { ... }}}
2018-01-15 21:06:16 -07:00
Bryan Ashby
23e77dcb31
Uncommeng out a deprecated function - will fix later; need for now
2018-01-15 21:05:55 -07:00
Bryan Ashby
05a93cae89
Default to left justification
2018-01-15 20:31:55 -07:00
Bryan Ashby
d1593ed159
* Fix bug where 'submit' property was ignored in favor of highest MCI ID always; Will now properly set view with 'submit' to true else rely on highest ID
2018-01-15 20:30:55 -07:00
Bryan Ashby
a8d5e84779
* Fix justification 'right' vs 'left': They were flipped (durp!). Right aligned is now really that, etc. You may need to update your theme.hjson/similar!
2018-01-15 16:08:35 -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