Shivaram Lingamneni
ee7f818674
implement SASL OAUTHBEARER and draft/bearer (#2122)
* implement SASL OAUTHBEARER and draft/bearer
* Upgrade JWT lib
* Fix an edge case in SASL EXTERNAL
* Accept longer SASL responses
* review fix: allow multiple token definitions
* enhance tests
* use SASL utilities from irc-go
* test expired tokens
4 mēnešus atpakaļ
Shivaram Lingamneni
f72a6fa011
round wait times to the nearest millisecond
1 gadu atpakaļ
Shivaram Lingamneni
7ce0636276
refactor of channel persistence to use UUIDs
1 gadu atpakaļ
Shivaram Lingamneni
b11dc1c84c
fix #1886
Add more clarify in NS INFO and SAREGISTER about unregistered nicknames
2 gadus atpakaļ
Shivaram Lingamneni
e1401934df
implement SCRAM-SHA-256
2 gadus atpakaļ
Shivaram Lingamneni
46572b871f
expose a user-visible error if direct email sending fails
See #1659
3 gadus atpakaļ
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3 gadus atpakaļ
Shivaram Lingamneni
4f571c2cf3
implement NS RENAME
Fixes #1380
3 gadus atpakaļ
Shivaram Lingamneni
1f6afa31d6
fix #1274
Enhancements to NS SUSPEND, including stored metadata and the ability
to list suspensions
3 gadus atpakaļ
Shivaram Lingamneni
9ed789f67c
fix #1075
3 gadus atpakaļ
Shivaram Lingamneni
15c54e80de
clean up some error handling
3 gadus atpakaļ
Shivaram Lingamneni
9000383f88
Move config errors to call sites
Since allocating them is rare.
3 gadus atpakaļ
Shivaram Lingamneni
6a2fba9812
make it easier to patch out the maximum line length
3 gadus atpakaļ
Shivaram Lingamneni
32c58c1e1f
fix #1190
4 gadus atpakaļ
Shivaram Lingamneni
067e62ad5e
fix #1166 and #1168
4 gadus atpakaļ
Shivaram Lingamneni
a4f9e08a85
fix #1151
4 gadus atpakaļ
Shivaram Lingamneni
218bea5a3e
fix #843
4 gadus atpakaļ
Shivaram Lingamneni
61738782c0
fix #1107
4 gadus atpakaļ
Shivaram Lingamneni
14bcd46588
fix #982
4 gadus atpakaļ
Shivaram Lingamneni
40d3c59139
fix #955
4 gadus atpakaļ
Shivaram Lingamneni
895a0e6d68
fix #913
4 gadus atpakaļ
Shivaram Lingamneni
73d795e6b4
fix #817
4 gadus atpakaļ
Shivaram Lingamneni
3363076689
fix #793
4 gadus atpakaļ
Shivaram Lingamneni
6d65335071
fix various bugs
4 gadus atpakaļ
Shivaram Lingamneni
26fd3e69a8
fix #749
4 gadus atpakaļ
Shivaram Lingamneni
521617559f
fix #821
Or try to, anyway
4 gadus atpakaļ
Shivaram Lingamneni
33dac4c0ba
initial persistent history implementation
4 gadus atpakaļ
Shivaram Lingamneni
c13597f807
additional LDAP support
4 gadus atpakaļ
Shivaram Lingamneni
5426c9fdc0
disallow TAKE and REQUEST while under a FORBID
4 gadus atpakaļ
Shivaram Lingamneni
f920d3b79f
fix #530, #721
4 gadus atpakaļ
Shivaram Lingamneni
33c8b2177e
fix a bug
In the previous commit, the client would receive a failure message but would
actually remain logged in after an authzid/authcid mismatch. This was a
correctness rather than a security issue, but now it's fixed so that the client
never logs in in the first place.
4 gadus atpakaļ
Shivaram Lingamneni
c5a81d59ff
fix #581
4 gadus atpakaļ
Shivaram Lingamneni
07865b8f63
chanserv enhancements and miscellaneous fixes
* Fix #684
* Fix #683
* Add `CHANSERV CLEAR`
* Allow mode changes from channel founders even when they aren't joined
* Operators with the chanreg capability are exempt from max-channels-per-account
* Small fixes and cleanup
4 gadus atpakaļ
Shivaram Lingamneni
8794740f89
be more pedantic about distinguishing skeletons and casefolds
5 gadus atpakaļ
Shivaram Lingamneni
1121e3d320
fix #404
5 gadus atpakaļ
Shivaram Lingamneni
38b228af6a
review fixes
5 gadus atpakaļ
Shivaram Lingamneni
8fc588375b
implement user preferences system
5 gadus atpakaļ
Shivaram Lingamneni
316d45917d
pass the correct quit message when a proxied client is banned
If you were banned and the ban was only detected when you proxied
(because you were proxying from a DLINE'd IP), you'd get an incorrect
quit message: `QUIT: Bad or unauthorized PROXY command`. This propagates
the correct ban message as the quit line.
5 gadus atpakaļ
Shivaram Lingamneni
63029e2ff5
refactor channel registration
5 gadus atpakaļ
Shivaram Lingamneni
713df3a34d
fix #300
Also upgrade RENAME to latest draft specification
5 gadus atpakaļ
Shivaram Lingamneni
d147708158
allow SAREGISTER even when normal registration is fully disabled
5 gadus atpakaļ
Shivaram Lingamneni
775ead700f
prevent nick reservation land-grabs
5 gadus atpakaļ
Shivaram Lingamneni
f6b3008f8f
add CHATHISTORY and HISTORY implementations
5 gadus atpakaļ
Shivaram Lingamneni
2ee89b15b3
per-user settings for nickname enforcement
5 gadus atpakaļ
Shivaram Lingamneni
a0bf548fc5
draft/resume-0.2 implementation, message history support
5 gadus atpakaļ
Shivaram Lingamneni
dfb0a57040
refactor the password hashing / password autoupgrade system
5 gadus atpakaļ
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 gadus atpakaļ
Shivaram Lingamneni
d3815fbe61
review fixes and updates
6 gadus atpakaļ
Shivaram Lingamneni
5e62cc4ebc
initial vhosts implementation, #183
6 gadus atpakaļ
Shivaram Lingamneni
d1f5c59eef
fix #190
6 gadus atpakaļ