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
Shivaram Lingamneni
f3d64d2859
move idletimer and fakelag initialization before certfp read
4 years ago
Shivaram Lingamneni
65ebe7f64a
fix #868
4 years ago
Shivaram Lingamneni
458d813ee1
work around mirc bug
4 years ago
Shivaram Lingamneni
bbe9e09d46
clean up trailing hack
4 years ago
Shivaram Lingamneni
d50c4c2bd6
fix #848
4 years ago
Shivaram Lingamneni
5447fc79ff
fix confusion between lastSeen and lastActive
4 years ago
Shivaram Lingamneni
d72037725b
simplify read of lastSeen
4 years ago
Shivaram Lingamneni
c0192e0e52
add missing initialization for writerSemaphore
It was only initialized for always-on clients, not for regular clients.
This explains a lot in terms of #812 failing to reproduce.
4 years ago
Shivaram Lingamneni
a74450d6ca
remove redundant database write on always-on recreation
4 years ago
Shivaram Lingamneni
d967129446
fix #833
4 years ago
Shivaram Lingamneni
85dfebce43
fix #831
4 years ago
Shivaram Lingamneni
1dc93bbb9f
fix #829
also, handle nickname targets in znc.in/playback
4 years ago
Shivaram Lingamneni
db39608bcb
change "last signoff" tracking to "last seen"
Explicit quit and ping timeout behave the same way,
but reattach after abandoning/losing the previous session
(without the break being detected server-side) is more aggressive
about replaying missed messages, at the cost of potential duplication.
4 years ago
Shivaram Lingamneni
1975b0968a
fix double decrement of stats on ping timeout
4 years ago
Shivaram Lingamneni
b45f8436a4
refactoring / bug fixing in history preferences
4 years ago