Shivaram Lingamneni
8b2f6de3e0
Add email-based password reset (#1779)
* Add email-based password reset
Fixes #734
* rename SETPASS to RESETPASS
* review fixes
* abuse mitigations
* SENDPASS and RESETPASS should both touch the client login throttle
* Produce a logline and a sno on SENDPASS (since it actually sends an email)
* don't re-retrieve the settings value
* add email confirmation for NS SET EMAIL
* smtp: if require-tls is disabled, don't validate server cert
* review fixes
* remove cooldown for NS SET EMAIL
If you accidentally set the wrong address, the cooldown would prevent you
from fixing your mistake. Since we touch the registration throttle anyway,
this shouldn't present more of an abuse concern than registration itself.
2 gadus atpakaļ
Alex Jaspersen
ecd878c169
Correct help text for NS CLIENTS LOGOUT.
"LOGOUT ALL" logs out all clients for a user.
Fixes #1712 .
2 gadus atpakaļ
Shivaram Lingamneni
46572b871f
expose a user-visible error if direct email sending fails
See #1659
3 gadus atpakaļ
Shivaram Lingamneni
1c89f996bc
fix #1738
Fix error message for privileged NS PASSWD on a nonexistent account
3 gadus atpakaļ
Shivaram Lingamneni
4910aefa37
use ergochat/irc-go instead of goshuirc/irc-go
3 gadus atpakaļ
Alex Jaspersen
1d832ee1bc
Show email in NS INFO when user has permission.
Users logged into an account can see their own email.
Opers with the accreg capability can see all users.
3 gadus atpakaļ
Shivaram Lingamneni
23c7218bf1
first pass at renaming Oragono to Ergo
3 gadus atpakaļ
Shivaram Lingamneni
88f8caad0b
fix #1627
Fix incorrect description of channel ownership in NS INFO
3 gadus atpakaļ
Shivaram Lingamneni
5cd76f89d4
fix #1545
Warn users that NS UNREGISTER doesn't give them a "do-over";
the account name will remain reserved.
3 gadus atpakaļ
Shivaram Lingamneni
db41b2bc34
fix #765
CS INFO with no arguments should list your registered channels
3 gadus atpakaļ
Shivaram Lingamneni
ab870c2ffe
fix #1576
List IRCv3 CAPs in `NS CLIENTS LIST` output
3 gadus atpakaļ
Shivaram Lingamneni
5c4984f45f
fix #1544
PerstentStatusMandatory should display as "enabled", not "mandatory",
in the context where it refers to a user-chosen setting.
3 gadus atpakaļ
Shivaram Lingamneni
22af40c995
fix #1547
make PASSWORD an alias for PASSWD in nickserv
3 gadus atpakaļ
Shivaram Lingamneni
de392aea5a
fix incorrect permissions check in NS CLIENTS LOGOUT
3 gadus atpakaļ
Shivaram Lingamneni
bb5276553d
initial UBAN implementation
3 gadus atpakaļ
Shivaram Lingamneni
64bc363cf1
fix #1443
Improve auditability of sensitive operator actions
3 gadus atpakaļ
Shivaram Lingamneni
e195854851
fix #1442
strip local_ from oper capab names, also consolidate unban into ban
3 gadus atpakaļ
Shivaram Lingamneni
9214d978d0
refactor services prefixes and notice handlers
3 gadus atpakaļ
Shivaram Lingamneni
4f571c2cf3
implement NS RENAME
Fixes #1380
3 gadus atpakaļ
Shivaram Lingamneni
5094b9da02
fix strings for NS SUSPEND
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
7fd5bc8d81
review fix
3 gadus atpakaļ
Shivaram Lingamneni
9ed789f67c
fix #1075
3 gadus atpakaļ
Shivaram Lingamneni
a6d793a2d5
pointless optimization
3 gadus atpakaļ
Shivaram Lingamneni
d9f1c8e1c4
require local_ban capab to see uncloaked IPs
3 gadus atpakaļ
Shivaram Lingamneni
bcdf61bd7a
fix #1284
3 gadus atpakaļ
Shivaram Lingamneni
1a9f501383
fix #414
3 gadus atpakaļ
Alex Jaspersen
ca2132ff09
Add NickServ "CLIENTS LIST" and "CLIENTS LOGOUT".
CLIENTS LIST shows information about clients attached to a nick.
CLIENTS LOGOUT allows individual (or all) sessions to be logged out.
SESSIONS is now an alias for CLIENTS LIST.
Fixes #1072 .
3 gadus atpakaļ
Shivaram Lingamneni
f193298dcd
alias for NICKSERV SET PASSWORD
4 gadus atpakaļ
Shivaram Lingamneni
a7ca6601c7
enhancements to moderation (#1134, #1135)
4 gadus atpakaļ
Shivaram Lingamneni
7dd25c6ac7
fix incorrect source of some nickserv messages
4 gadus atpakaļ
Shivaram Lingamneni
39269a903b
fix #1179
4 gadus atpakaļ
Shivaram Lingamneni
fe2332f0cd
remove a stray documentation line
4 gadus atpakaļ
Shivaram Lingamneni
97789cde7e
fix #1059
4 gadus atpakaļ
Shivaram Lingamneni
218bea5a3e
fix #843
4 gadus atpakaļ
Shivaram Lingamneni
32ee9440c8
fix #1027
4 gadus atpakaļ
Alex Jaspersen
e0f91f5649
/ns erase should confirm with /ns erase rather than unregister.
4 gadus atpakaļ
Shivaram Lingamneni
a0f4e90b7e
add auto-away
4 gadus atpakaļ
Shivaram Lingamneni
36dab4e57d
review fix
4 gadus atpakaļ
Shivaram Lingamneni
ab8f542c11
fix #985
4 gadus atpakaļ
Alex Jaspersen
6019ed1e29
Add ChanServ and NickServ LIST commands.
These commands search the registered nicknames/channels for ones
matching the provided regex, or return the entire list.
Only operators with chanreg (for ChanServ) or accreg (for NickServ)
capabilities can use LIST.
4 gadus atpakaļ
Shivaram Lingamneni
a7f020320e
make erase confirmation code nondeterministic
4 gadus atpakaļ
Shivaram Lingamneni
46f68d4cf2
fix #922
4 gadus atpakaļ
Shivaram Lingamneni
895a0e6d68
fix #913
4 gadus atpakaļ
Shivaram Lingamneni
3363076689
fix #793
4 gadus atpakaļ
Shivaram Lingamneni
6d65335071
fix various bugs
4 gadus atpakaļ
Shivaram Lingamneni
edd161ddfd
rename config keys from review feedback
4 gadus atpakaļ
Shivaram Lingamneni
26fd3e69a8
fix #749
4 gadus atpakaļ
Shivaram Lingamneni
579ef668ac
fix #838
4 gadus atpakaļ
Shivaram Lingamneni
42ccd81205
make an exception for saset
4 gadus atpakaļ