Shivaram Lingamneni
1c4f9daae7
remove some dead code
3 years ago
Shivaram Lingamneni
06882a9b89
fix #1225
3 years ago
Shivaram Lingamneni
df8be72c6f
move StringSet to utils package
3 years ago
Shivaram Lingamneni
6a2fba9812
make it easier to patch out the maximum line length
3 years ago
Shivaram Lingamneni
027886046c
clean up always-on state machine
4 years ago
Shivaram Lingamneni
eaae3165f2
don't trigger auto-away if the client is already away
4 years ago
Shivaram Lingamneni
6916dbeae0
use consistent phrase for auto-away message
4 years ago
Shivaram Lingamneni
ffd00e1aff
minor optimization to Client.Friends
4 years ago
Conrad Lukawski
6f8711da3b
Persist realname for always-on clients
4 years ago
Shivaram Lingamneni
a7ca6601c7
enhancements to moderation (#1134, #1135)
4 years ago
Shivaram Lingamneni
6ea2eb367d
fix #328 (implement DEFCON)
4 years ago
Shivaram Lingamneni
067e62ad5e
fix #1166 and #1168
4 years ago
Shivaram Lingamneni
70f533ee07
fix #1155
4 years ago
Shivaram Lingamneni
0f04acaa40
persist last seen on shutdown
4 years ago
Shivaram Lingamneni
e22adf47ca
increase write interval for lastSeen
4 years ago
Shivaram Lingamneni
a4f9e08a85
fix #1151
4 years ago
Shivaram Lingamneni
cb530050f1
fix #1053, #1083
4 years ago
Shivaram Lingamneni
01bd04a8ff
fix #1050
4 years ago
Shivaram Lingamneni
17cd831319
fix #1144
4 years ago
Shivaram Lingamneni
df1be01f54
simplify lastSeen handling
4 years ago
Shivaram Lingamneni
218bea5a3e
fix #843
4 years ago
Shivaram Lingamneni
e70acf4c17
fix #1108
4 years ago
Shivaram Lingamneni
32ee9440c8
fix #1027
4 years ago
Shivaram Lingamneni
2def06b98f
fix #1076
4 years ago
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 years ago
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 years ago
Shivaram Lingamneni
ef0aa20cff
fix #1035
4 years ago
Shivaram Lingamneni
4d50607c79
add persistence for user modes
4 years ago
Shivaram Lingamneni
a0f4e90b7e
add auto-away
4 years ago
Shivaram Lingamneni
d7cdaf1a90
correct old proxiedConn name
4 years ago
Shivaram Lingamneni
b2483f5cf2
fix #1030
4 years ago
Shivaram Lingamneni
67150bc8f7
fix #1020
4 years ago
Shivaram Lingamneni
8efbc4bc32
maintain lenBytes as a running count
4 years ago
Shivaram Lingamneni
2779fe7c10
fix #1005
4 years ago
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
4 years ago
Shivaram Lingamneni
d94a0aea9a
upgrade go-ident to fix parsing issue
4 years ago
Alex Jaspersen
d5cec62df3
Call ApplyUserModeChanges for default user modes.
This ensures that counts like the number of invisible users are updated
correctly.
4 years ago
Shivaram Lingamneni
d562c6d25a
more informative IP connection logline
4 years ago
Shivaram Lingamneni
0f7d58b1c5
fix #996
4 years ago
Shivaram Lingamneni
6f688a4644
fix #994
4 years ago
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 years ago
Alex Jaspersen
b3cfcc1289
Show users in WHO queries if they are friends, i.e. they share a channel.
4 years ago
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
4 years ago
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
4 years ago
Shivaram Lingamneni
3a571f28ac
use shorter batch IDs
4 years ago
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 years ago
Alex Jaspersen
df9bf15f00
Add support for setting user modes by default.
4 years ago
Shivaram Lingamneni
f4f7a8afaa
shorten type names to 10 chars
4 years ago
Shivaram Lingamneni
73d795e6b4
fix #817
4 years ago
Shivaram Lingamneni
761d215ecd
remove unnecessary comment
4 years ago