Waleed Hassan
28e870c4fb
Server: Use readonly where appropriate ( #5902 )
2019-10-21 16:12:32 +10:30
whales
ea2dea1283
Rooms: Rooms.get can return null ( #5860 )
2019-10-09 18:52:33 +11:00
Waleed Hassan
5607c158e4
Use void in promises to appease TSLint ( #5827 )
2019-10-03 19:08:30 +10:00
asgdf
bd6ac0f024
Prevent overzealous spead of locks under some circumstances ( #5824 )
2019-10-03 19:00:40 +10:00
Waleed Hassan
da4b887054
Rename Room#id -> Room#roomid, User#userid -> User#id ( #5826 )
...
These should make it clearer that userids are IDs but roomids aren't.
2019-10-03 18:57:38 +10:00
whales
cdab768131
Properly give trusted users a 100ms throttle ( #5839 )
2019-10-03 01:53:22 +10:00
whales
ba47b1ba61
Give trusted users a 100ms chat delay ( #5838 )
...
Down from 300ms for global auth
2019-10-03 01:21:29 +10:00
Lusamine
5244315932
Remove "[unregistered]" label on forcerename messages; shorten reused name message ( #5832 )
2019-09-30 20:00:45 +02:00
whales
21d494079d
Show "access denied" for modjoined rooms ( #5778 )
2019-09-18 16:30:30 +09:30
Ben Davies
0a98132e1b
Track connection times and log probable ghosts ( #5768 )
...
This logs connections that have been around for longer than a week,
every week.
2019-09-17 21:02:57 -07:00
whales
b8114fbae0
Improve username punishments ( #5743 )
...
* Improve username punishments
Track how many times a name has been forcerenamed, note differently for offline warns and forcerenames
* Hyperlink names, show trusted/ac/registered
* rebase
* pseudorank -> accountstatus
2019-09-15 06:25:15 +02:00
TheJetOU
f2783c642d
Add a RoomID type ( #5759 )
2019-09-07 14:15:27 -05:00
whales
b15dd2a528
Typescript punishments ( #5728 )
2019-08-29 19:46:42 -05:00
TheJetOU
2b28c9fd6b
Refactor Rooms(), Users() to Rooms.get(), Users.get() ( #5725 )
2019-08-25 06:33:56 -07:00
TheJetOU
7fe2e5338c
TypeScript Tournaments ( #5723 )
2019-08-24 03:48:13 -07:00
Guangcong Luo
e0a2cf07e1
Correctly define global types for .ts files
...
Global types are defined differently for `.ts` files than for `.js`
files, leading to some confusion for past refactors.
This commit defines them correctly.
I'm also considering making certain global types only available under
namespaces, but I don't want to do that to `User` or `Room`, so for
now, there are no changes there, besides putting streams in the
`Streams` namespace (so `WriteStream` is now `Streams.WriteStream`).
2019-08-23 09:33:49 -07:00
TheJetOU
5597916644
TypeScript Rooms and Roomlogs ( #5699 )
2019-08-14 20:44:57 +02:00
TheJetOU
3c3d897b92
Move JSDoc comments from assignment to declaration ( #5701 )
...
This makes IntelliSense show the JSDoc comment.
2019-08-13 17:25:29 +02:00
TheJetOU
f586e88326
Simplify Map declarations ( #5702 )
2019-08-13 17:23:27 +02:00
whales
10266ffe92
Typescript chat ( #5620 )
2019-08-10 15:30:34 -07:00
whales
9b43bf4448
Set prevUsers properly when merging ( #5690 )
...
* Set prevnames properly when merging
* change param order
* rename, again
2019-08-09 17:57:44 -07:00
whales
9b222862c5
Send updateuser when changing status type ( #5675 )
2019-08-05 09:56:54 +02:00
whales
2336659432
Fix self idle display on merging ( #5674 )
2019-08-05 09:42:19 +02:00
whales
2eaed9105d
Update status properly on merging ( #5663 )
2019-08-01 13:56:43 +02:00
Kirk Scheibelhut
4326aeae04
Add forcedpublicprefixes for public OLT battles ( #5661 )
2019-08-01 09:28:48 +02:00
Guangcong Luo
dd6ce3c2dd
Give sysops isStaff
...
This fixes a situation where sysops couldn't see the results of
commands they used.
2019-07-20 08:53:15 -05:00
Guangcong Luo
8313f6a825
Properly give gdrivers roommod powers
...
The previous solution had some rough edges, like accidentally
knocking global leaders down to roommod.
This also restores the corresponding symbols, for better clarity.
2019-07-20 08:50:59 -05:00
Kirk Scheibelhut
21cd5cf02c
Actually ACTUALLY prevent Idle state from propagating
2019-07-19 09:31:19 -07:00
Kirk Scheibelhut
ba4e0254d8
Actually prevent Idle state from propagating
2019-07-19 09:03:27 -07:00
asgdf
97a42995db
Add easy method of undoing /trustuser ( #5631 )
2019-07-19 10:40:19 -05:00
Kirk Scheibelhut
c43e2557f0
Prevent Idle state from propagating ( #5630 )
2019-07-18 21:12:39 -05:00
Kirk Scheibelhut
37ba36b2da
Remove Idle popup ( #5622 )
...
This was originally added in the original design when we were
actively logging Idle users out of their account. Currently it
serves mostly to explain what Idle is, but mostly it just annoys
users.
2019-07-17 12:19:39 -05:00
whales
94bb4084d5
Typescript users ( #5617 )
2019-07-16 19:22:38 -07:00