Shivaram Lingamneni
a0f4e90b7e
add auto-away
4 vuotta sitten
Shivaram Lingamneni
bced409e78
unconditionally destroy the client on unregister
This avoids conditions where two sessions can be attached to the same client
while not logged into an account.
4 vuotta sitten
Shivaram Lingamneni
df2dfb7270
HistServ is a real service now, remove special casing
4 vuotta sitten
Shivaram Lingamneni
a397756882
fix #1019
4 vuotta sitten
Shivaram Lingamneni
67f35e5c8a
fix #858 and #383
4 vuotta sitten
Shivaram Lingamneni
40d3c59139
fix #955
4 vuotta sitten
Shivaram Lingamneni
d6e3f188cf
enforce nick protection immediately after verification
4 vuotta sitten
Shivaram Lingamneni
8acd58e263
fix #908
4 vuotta sitten
Shivaram Lingamneni
28b7639c26
fix #883
4 vuotta sitten
Shivaram Lingamneni
6d65335071
fix various bugs
4 vuotta sitten
Shivaram Lingamneni
26fd3e69a8
fix #749
4 vuotta sitten
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4 vuotta sitten
Shivaram Lingamneni
5d662742b9
remove oragono.io/maxline-2 and fmsgid
4 vuotta sitten
Shivaram Lingamneni
0880f20f4b
fix analogous invalid parameters for ERR_NOSUCHNICK
4 vuotta sitten
Shivaram Lingamneni
bbf6c4a269
fix #572
5 vuotta sitten
Shivaram Lingamneni
8794740f89
be more pedantic about distinguishing skeletons and casefolds
5 vuotta sitten
Chris Smith
a6164cd9c4
Check restricted nicknames against skeletons
Fixes #519
5 vuotta sitten
Shivaram Lingamneni
4b88a60ba6
clean up some old getters
5 vuotta sitten
Shivaram Lingamneni
f2eb2b05f2
fix #360
5 vuotta sitten
Shivaram Lingamneni
b11bf503e7
improvements to message replay code
5 vuotta sitten
Shivaram Lingamneni
4af783ed9e
fix #449
5 vuotta sitten
Shivaram Lingamneni
c2faeed4b5
initial implementation of bouncer functionality
5 vuotta sitten
Shivaram Lingamneni
18a8b075ea
fix #425 and #395
5 vuotta sitten
Shivaram Lingamneni
baa2c3b581
send the response line to NICK via the response buffer
5 vuotta sitten
Shivaram Lingamneni
4caa362f18
fix histserv nick reservation
5 vuotta sitten
Shivaram Lingamneni
960d51159c
add ClientDetails struct for getting a snapshot of client state
5 vuotta sitten
Shivaram Lingamneni
2c7c8fbaf9
history replay enhancements
5 vuotta sitten
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
5 vuotta sitten
Shivaram Lingamneni
f6373f7a4d
fix #262
6 vuotta sitten
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
6 vuotta sitten
Shivaram Lingamneni
be86684e96
implement #199
6 vuotta sitten
Shivaram Lingamneni
988cb22692
changes to nick reservation
* Clients are now renamed, not disconnected, on reservation timeout
* Nick reservation config is now its own subsection
6 vuotta sitten
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
6 vuotta sitten
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
6 vuotta sitten
Daniel Oaks
2419f69879
Move all errors into errors.go
6 vuotta sitten
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
6 vuotta sitten
Daniel Oaks
275227a461
Make like every client-facing string translatable
6 vuotta sitten
Shivaram Lingamneni
b4907dadb9
fix a bug where the uncasefolded nickname wasn't being recorded
Also, rename the nickname vars to hopefully make things clearer
6 vuotta sitten
Shivaram Lingamneni
d5a5f939dd
review fixes
6 vuotta sitten
Shivaram Lingamneni
52b0fb71e7
refactor ClientManager
6 vuotta sitten
Shivaram Lingamneni
9b74c47b74
rename some getters
Rename getters in conformance with the "Effective Go" styleguide recommendation:
https://golang.org/doc/effective_go.html#Getters
6 vuotta sitten
Shivaram Lingamneni
3877db2391
review fixes: rename MonitorManager methods
6 vuotta sitten
Shivaram Lingamneni
26686d7e86
refactor monitor and /oper implementations
6 vuotta sitten
Shivaram Lingamneni
23a66fa502
fix various data races, including 2 introduced by #139
6 vuotta sitten
Daniel Oaks
3b0d9c4db9
Send nick parameter correctly on ERR_NOSUCHNICK numerics
6 vuotta sitten
Daniel Oaks
e5980beb7d
SANICK: Fix check for new user
7 vuotta sitten
Daniel Oaks
c9ed749538
Rename deps
7 vuotta sitten
Daniel Oaks
317a804644
Fix dates at top of source files
7 vuotta sitten
Daniel Oaks
b33b217fab
Add very initial ChanServ and NickServ virtual clients
As well, add channel registration and re-applying founder privs on the first client joining the channel. I'm going to re-architect our modes system to better acocunt for this sort of change.
7 vuotta sitten
Daniel Oaks
9a9820fa88
NICK: Prevent races, remove a DoS
7 vuotta sitten