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