Shivaram Lingamneni
a4f9e08a85
fix #1151
před 4 roky
Shivaram Lingamneni
cb530050f1
fix #1053, #1083
před 4 roky
Shivaram Lingamneni
01bd04a8ff
fix #1050
před 4 roky
Shivaram Lingamneni
17cd831319
fix #1144
před 4 roky
Shivaram Lingamneni
df1be01f54
simplify lastSeen handling
před 4 roky
Shivaram Lingamneni
218bea5a3e
fix #843
před 4 roky
Shivaram Lingamneni
e70acf4c17
fix #1108
před 4 roky
Shivaram Lingamneni
32ee9440c8
fix #1027
před 4 roky
Shivaram Lingamneni
2def06b98f
fix #1076
před 4 roky
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.
před 4 roky
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
před 4 roky
Shivaram Lingamneni
ef0aa20cff
fix #1035
před 4 roky
Shivaram Lingamneni
4d50607c79
add persistence for user modes
před 4 roky
Shivaram Lingamneni
a0f4e90b7e
add auto-away
před 4 roky
Shivaram Lingamneni
d7cdaf1a90
correct old proxiedConn name
před 4 roky
Shivaram Lingamneni
b2483f5cf2
fix #1030
před 4 roky
Shivaram Lingamneni
67150bc8f7
fix #1020
před 4 roky
Shivaram Lingamneni
8efbc4bc32
maintain lenBytes as a running count
před 4 roky
Shivaram Lingamneni
2779fe7c10
fix #1005
před 4 roky
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
před 4 roky
Shivaram Lingamneni
d94a0aea9a
upgrade go-ident to fix parsing issue
před 4 roky
Alex Jaspersen
d5cec62df3
Call ApplyUserModeChanges for default user modes.
This ensures that counts like the number of invisible users are updated
correctly.
před 4 roky
Shivaram Lingamneni
d562c6d25a
more informative IP connection logline
před 4 roky
Shivaram Lingamneni
0f7d58b1c5
fix #996
před 4 roky
Shivaram Lingamneni
6f688a4644
fix #994
před 4 roky
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.
před 4 roky
Alex Jaspersen
b3cfcc1289
Show users in WHO queries if they are friends, i.e. they share a channel.
před 4 roky
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
před 4 roky
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
před 4 roky
Shivaram Lingamneni
3a571f28ac
use shorter batch IDs
před 4 roky
Alex Jaspersen
b3a7e5c996
Set default user modes when always-on clients reconnect.
Add default-user-modes configuration to conventional.yaml.
Fix comment on DefaultUserModes.
před 4 roky
Alex Jaspersen
df9bf15f00
Add support for setting user modes by default.
před 4 roky
Shivaram Lingamneni
f4f7a8afaa
shorten type names to 10 chars
před 4 roky
Shivaram Lingamneni
73d795e6b4
fix #817
před 4 roky
Shivaram Lingamneni
761d215ecd
remove unnecessary comment
před 4 roky
Shivaram Lingamneni
f3d64d2859
move idletimer and fakelag initialization before certfp read
před 4 roky
Shivaram Lingamneni
65ebe7f64a
fix #868
před 4 roky
Shivaram Lingamneni
458d813ee1
work around mirc bug
před 4 roky
Shivaram Lingamneni
bbe9e09d46
clean up trailing hack
před 4 roky
Shivaram Lingamneni
d50c4c2bd6
fix #848
před 4 roky
Shivaram Lingamneni
5447fc79ff
fix confusion between lastSeen and lastActive
před 4 roky
Shivaram Lingamneni
d72037725b
simplify read of lastSeen
před 4 roky
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.
před 4 roky
Shivaram Lingamneni
a74450d6ca
remove redundant database write on always-on recreation
před 4 roky
Shivaram Lingamneni
d967129446
fix #833
před 4 roky
Shivaram Lingamneni
85dfebce43
fix #831
před 4 roky
Shivaram Lingamneni
1dc93bbb9f
fix #829
also, handle nickname targets in znc.in/playback
před 4 roky
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.
před 4 roky
Shivaram Lingamneni
1975b0968a
fix double decrement of stats on ping timeout
před 4 roky
Shivaram Lingamneni
b45f8436a4
refactoring / bug fixing in history preferences
před 4 roky