Shivaram Lingamneni
c50c267d3c
better debug logline for failed message building
3 vuotta sitten
Shivaram Lingamneni
b54d0f8f34
add timer coalescing for the common case
4 vuotta sitten
Shivaram Lingamneni
a3e5c9e98c
fix #1229
4 vuotta sitten
Shivaram Lingamneni
1c4f9daae7
remove some dead code
4 vuotta sitten
Shivaram Lingamneni
06882a9b89
fix #1225
4 vuotta sitten
Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
4 vuotta sitten
Shivaram Lingamneni
6a2fba9812
make it easier to patch out the maximum line length
4 vuotta sitten
Shivaram Lingamneni
027886046c
clean up always-on state machine
4 vuotta sitten
Shivaram Lingamneni
eaae3165f2
don't trigger auto-away if the client is already away
4 vuotta sitten
Shivaram Lingamneni
6916dbeae0
use consistent phrase for auto-away message
4 vuotta sitten
Shivaram Lingamneni
ffd00e1aff
minor optimization to Client.Friends
4 vuotta sitten
Conrad Lukawski
6f8711da3b
Persist realname for always-on clients
4 vuotta sitten
Shivaram Lingamneni
a7ca6601c7
enhancements to moderation (#1134, #1135)
4 vuotta sitten
Shivaram Lingamneni
6ea2eb367d
fix #328 (implement DEFCON)
4 vuotta sitten
Shivaram Lingamneni
067e62ad5e
fix #1166 and #1168
4 vuotta sitten
Shivaram Lingamneni
70f533ee07
fix #1155
4 vuotta sitten
Shivaram Lingamneni
0f04acaa40
persist last seen on shutdown
4 vuotta sitten
Shivaram Lingamneni
e22adf47ca
increase write interval for lastSeen
4 vuotta sitten
Shivaram Lingamneni
a4f9e08a85
fix #1151
4 vuotta sitten
Shivaram Lingamneni
cb530050f1
fix #1053, #1083
4 vuotta sitten
Shivaram Lingamneni
01bd04a8ff
fix #1050
4 vuotta sitten
Shivaram Lingamneni
17cd831319
fix #1144
4 vuotta sitten
Shivaram Lingamneni
df1be01f54
simplify lastSeen handling
4 vuotta sitten
Shivaram Lingamneni
218bea5a3e
fix #843
4 vuotta sitten
Shivaram Lingamneni
e70acf4c17
fix #1108
4 vuotta sitten
Shivaram Lingamneni
32ee9440c8
fix #1027
4 vuotta sitten
Shivaram Lingamneni
2def06b98f
fix #1076
4 vuotta sitten
Alex Jaspersen
0241e0c31d
Apply default user modes just before registration.
Previously, we were applying defaults before the user had completed
registration. This meant that the number of invisible users was
incremented when the user connected, and then the total was incremented
when registration was completed.
Now both counters are updated at the same time. If a user disconnects
prior to registration, +i has not yet been applied so it would not be
decremented.
4 vuotta sitten
Shivaram Lingamneni
2f20034bb7
fix TAGMSG playback
1. TAGMSG were incorrectly being considered multilines, because
Is512() was checking the wrong thing
2. Playback of TAGMSG should depend on event-playback, not on message-tags
4 vuotta sitten
Shivaram Lingamneni
ef0aa20cff
fix #1035
4 vuotta sitten
Shivaram Lingamneni
4d50607c79
add persistence for user modes
4 vuotta sitten
Shivaram Lingamneni
a0f4e90b7e
add auto-away
4 vuotta sitten
Shivaram Lingamneni
d7cdaf1a90
correct old proxiedConn name
4 vuotta sitten
Shivaram Lingamneni
b2483f5cf2
fix #1030
4 vuotta sitten
Shivaram Lingamneni
67150bc8f7
fix #1020
4 vuotta sitten
Shivaram Lingamneni
8efbc4bc32
maintain lenBytes as a running count
4 vuotta sitten
Shivaram Lingamneni
2779fe7c10
fix #1005
4 vuotta sitten
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
4 vuotta sitten
Shivaram Lingamneni
d94a0aea9a
upgrade go-ident to fix parsing issue
4 vuotta sitten
Alex Jaspersen
d5cec62df3
Call ApplyUserModeChanges for default user modes.
This ensures that counts like the number of invisible users are updated
correctly.
4 vuotta sitten
Shivaram Lingamneni
d562c6d25a
more informative IP connection logline
4 vuotta sitten
Shivaram Lingamneni
0f7d58b1c5
fix #996
4 vuotta sitten
Shivaram Lingamneni
6f688a4644
fix #994
4 vuotta sitten
Alex Jaspersen
a6e4a26cbb
Performance optimization for determining friends in WHO <mask>.
Construct a hash set of the user's channels and check that rather than
querying channel membership, to reduce the number of locks that need to be
acquired.
4 vuotta sitten
Alex Jaspersen
b3cfcc1289
Show users in WHO queries if they are friends, i.e. they share a channel.
4 vuotta sitten
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
4 vuotta sitten
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
4 vuotta sitten
Shivaram Lingamneni
3a571f28ac
use shorter batch IDs
4 vuotta sitten
Alex Jaspersen
b3a7e5c996
Set default user modes when always-on clients reconnect.
Add default-user-modes configuration to conventional.yaml.
Fix comment on DefaultUserModes.
4 vuotta sitten
Alex Jaspersen
df9bf15f00
Add support for setting user modes by default.
4 vuotta sitten