Shivaram Lingamneni
1121e3d320
fix #404
5 лет назад
Shivaram Lingamneni
3d445573cf
implement draft/resume-0.4
5 лет назад
Shivaram Lingamneni
8fc588375b
implement user preferences system
5 лет назад
Shivaram Lingamneni
c193def606
fix some issues found with staticcheck.io
5 лет назад
Shivaram Lingamneni
278e4acf57
fix handling of nil session in reattach code
5 лет назад
Shivaram Lingamneni
4af783ed9e
fix #449
5 лет назад
Shivaram Lingamneni
c2faeed4b5
initial implementation of bouncer functionality
5 лет назад
Shivaram Lingamneni
63029e2ff5
refactor channel registration
5 лет назад
Shivaram Lingamneni
a5f04495a1
fix #389
5 лет назад
Shivaram Lingamneni
d147708158
allow SAREGISTER even when normal registration is fully disabled
5 лет назад
Shivaram Lingamneni
754934b429
unregister should boot clients if sasl is required
5 лет назад
Shivaram Lingamneni
7786043275
make the land-grab check case-insensitive
5 лет назад
Shivaram Lingamneni
6d690b0e36
add loglines for account registration, login, and unregistration
5 лет назад
Shivaram Lingamneni
e4c9351254
fix: set the existing channels unregistered
5 лет назад
Shivaram Lingamneni
ff7bbc4a9c
track channel registrations per account
* limit the total number of registrations per account
* when an account is unregistered, unregister all its channels
5 лет назад
Shivaram Lingamneni
775ead700f
prevent nick reservation land-grabs
5 лет назад
Shivaram Lingamneni
1c23af8767
add sasl-only config option
5 лет назад
Shivaram Lingamneni
35948d2e5b
refactor some conditions for clarity
5 лет назад
Shivaram Lingamneni
b9b2553a2f
use the TR39 skeleton algorithm to prevent confusables (#178)
5 лет назад
Shivaram Lingamneni
a52d167278
additional defensive check in EnforcementStatus
5 лет назад
Shivaram Lingamneni
f20abf414f
don't log an error logline for an incorrect SASL password
5 лет назад
Shivaram Lingamneni
2ee89b15b3
per-user settings for nickname enforcement
5 лет назад
Shivaram Lingamneni
c2b2559ab4
avoid some uses of Sprintf for loglines
5 лет назад
Shivaram Lingamneni
48f9b5e4fa
implement NS PASSWD for password changes
5 лет назад
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
5 лет назад
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
6 лет назад
Daniel Oaks
6260869068
Upgrade password hashing.
Previously, we generated and prepended a long salt before generating
password hashes. This resulted in the hash verification cutting off long
before it should do. This form of salting is also not necessary with
bcrypt as it's provided by the password hashing and verification
functions themselves, so totally rip it out.
This commit also adds the functionality for the server to automagically
upgrade users to use the new hashing system, which means better
security and more assurance that people can't bruteforce passwords.
No need to apply a database upgrade to do this, whoo! \o/
6 лет назад
Shivaram Lingamneni
cc9941cb07
review fixes, bug fixes
6 лет назад
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
6 лет назад
Daniel Oaks
a95c77bb86
Remove old command line that's no longer valid
6 лет назад
Shivaram Lingamneni
fd34c78d6b
add sadrop command
6 лет назад
Shivaram Lingamneni
679f25491c
can't reserve a nick that's the name of an unverified account
6 лет назад
Shivaram Lingamneni
47b9fe50be
can't register an account with the same name as a registered nick
6 лет назад
Shivaram Lingamneni
a022befffe
nickserv: implement GHOST, GROUP, DROP, and INFO
6 лет назад
Shivaram Lingamneni
a5897baa2b
clean up redundant error handling
6 лет назад
Shivaram Lingamneni
878f9ca94c
fix: store the uncasefolded account name correctly
6 лет назад
Shivaram Lingamneni
89ae261739
implement mailto callbacks
6 лет назад
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 лет назад
Shivaram Lingamneni
73391f11a6
replace ACC UNREGISTER with nickserv unregister
6 лет назад
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
6 лет назад
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
6 лет назад
Daniel Oaks
2419f69879
Move all errors into errors.go
6 лет назад
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
6 лет назад
Daniel Oaks
275227a461
Make like every client-facing string translatable
6 лет назад
Daniel Oaks
9bfdc4fdfb
Move caps to their own package to prevent conflicts
6 лет назад
Daniel Oaks
cd8b4877b6
accounts: Check for account logins correctly, fixes registration. Also fix a typo, thanks squigz!
6 лет назад
Daniel Oaks
c48d869f4d
Allow multiple account registrations for testing
6 лет назад
Daniel Oaks
c0fbc7908d
sasl: Always send a 906 in response to AUTHENTICATE *
7 лет назад
Daniel Oaks
c9ed749538
Rename deps
7 лет назад
Daniel Oaks
a8fa131244
Move to new repo
7 лет назад