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
Shivaram Lingamneni
f4f7a8afaa
shorten type names to 10 chars
4 vuotta sitten
Shivaram Lingamneni
73d795e6b4
fix #817
4 vuotta sitten
Shivaram Lingamneni
761d215ecd
remove unnecessary comment
4 vuotta sitten
Shivaram Lingamneni
f3d64d2859
move idletimer and fakelag initialization before certfp read
4 vuotta sitten
Shivaram Lingamneni
65ebe7f64a
fix #868
4 vuotta sitten
Shivaram Lingamneni
458d813ee1
work around mirc bug
4 vuotta sitten
Shivaram Lingamneni
bbe9e09d46
clean up trailing hack
4 vuotta sitten
Shivaram Lingamneni
d50c4c2bd6
fix #848
4 vuotta sitten
Shivaram Lingamneni
5447fc79ff
fix confusion between lastSeen and lastActive
4 vuotta sitten
Shivaram Lingamneni
d72037725b
simplify read of lastSeen
4 vuotta sitten
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 vuotta sitten
Shivaram Lingamneni
a74450d6ca
remove redundant database write on always-on recreation
4 vuotta sitten
Shivaram Lingamneni
d967129446
fix #833
4 vuotta sitten
Shivaram Lingamneni
85dfebce43
fix #831
4 vuotta sitten
Shivaram Lingamneni
1dc93bbb9f
fix #829
also, handle nickname targets in znc.in/playback
4 vuotta sitten
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 vuotta sitten
Shivaram Lingamneni
1975b0968a
fix double decrement of stats on ping timeout
4 vuotta sitten
Shivaram Lingamneni
b45f8436a4
refactoring / bug fixing in history preferences
4 vuotta sitten
Shivaram Lingamneni
03378da81b
CHATHISTORY with no results SHOULD send an empty batch
4 vuotta sitten
Shivaram Lingamneni
4472683d58
persist lastSignoff in the database
4 vuotta sitten
Shivaram Lingamneni
17a89838b8
fix Client.historyStatus
4 vuotta sitten
Shivaram Lingamneni
8f4c14c783
miscellaneous review fixes
4 vuotta sitten
Shivaram Lingamneni
ad32356e34
move authentication data from Client to Session
4 vuotta sitten
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4 vuotta sitten
Shivaram Lingamneni
a3f008e348
mitigate #772
4 vuotta sitten
Shivaram Lingamneni
5d662742b9
remove oragono.io/maxline-2 and fmsgid
4 vuotta sitten
Shivaram Lingamneni
6838d19acc
don't check the real IP for bans on proxy-before-TLS
In the k8s PROXY-before-TLS setting, we don't know all the IPs
of the load balancers, so we can't whitelist them, so they're at
risk of being d-lined.
4 vuotta sitten
Shivaram Lingamneni
d67d77bee7
fix #731
4 vuotta sitten
Shivaram Lingamneni
f920d3b79f
fix #530, #721
4 vuotta sitten
Shivaram Lingamneni
358c4b7d81
implement draft/multiline
4 vuotta sitten
Shivaram Lingamneni
b717402b5e
implement review feedback
1. If both fingerprint and hash are specified, require both instead of either
2. Implement auto-oper on connect
4 vuotta sitten
Shivaram Lingamneni
ab444a3980
remove unnecessary uses of Casefold
4 vuotta sitten
Shivaram Lingamneni
4b37b5dd3e
tweak to avoid a potential data race
4 vuotta sitten
Shivaram Lingamneni
3480f124cd
fix #688
4 vuotta sitten