3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00
ergo/irc
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.
2021-08-25 22:32:55 -04:00
..
caps update draft/register -> draft/account-registration 2021-07-07 07:37:46 -04:00
cloaks fix #1647 2021-05-27 02:00:59 -04:00
connection_limits first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
custime use custime.Duration for more config fields 2020-02-20 00:09:39 -05:00
email Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
flatip initial UBAN implementation 2021-01-19 08:49:45 -05:00
history first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
isupport isupport List.Tokens map[string]*string -> map[string]string 2020-05-27 00:16:33 +01:00
jwt replace jwt library 2021-07-29 16:49:35 -04:00
languages upgrade go to 1.16 2021-02-17 15:14:53 -05:00
logger shorten type names to 10 chars 2020-04-12 14:01:07 -04:00
migrations support migrating anope databases 2020-10-12 15:06:17 -04:00
mkcerts fix #898 2020-03-22 18:18:48 -04:00
modes first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
mysql first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
passwd refactor the password hashing / password autoupgrade system 2018-08-06 02:26:21 -04:00
smtp Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
sno DISCONNECT Sno for always-on and/or multiclient 2021-07-03 04:41:42 +05:30
utils upgrade go to 1.17 2021-08-20 15:59:26 -04:00
accounts.go Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
authscript.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
channel.go Allow +v users to talk in +R channels. 2021-06-28 17:27:50 -07:00
channelmanager.go fix #1756 2021-07-15 06:31:27 -04:00
channelreg.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
chanserv.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
client_lookup_set.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
client_test.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
client.go fix incorrect handling of overlong lines when allow-truncation is enabled 2021-08-02 21:49:42 -04:00
commands.go update draft/register -> draft/account-registration 2021-07-07 07:37:46 -04:00
config_test.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
config.go remove SCRAM-SHA-256 from advertised SASL mechanisms 2021-08-25 18:34:27 -04:00
constants.go tweak version strings again 2020-05-21 11:42:17 -04:00
database.go Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
dline.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
errors.go implement SCRAM-SHA-256 2021-07-30 12:20:13 -04:00
fakelag_test.go fix #817 2020-03-27 10:40:19 -04:00
fakelag.go fix #861 2020-10-26 21:06:03 -04:00
gateways.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
getters.go Rename "realIP" to "ip" in WhoWas struct. 2021-06-20 11:13:18 -07:00
handlers.go Merge pull request #1778 from ProgVal/empty-realname 2021-08-13 16:58:53 -04:00
help.go add missing disconnect sno help 2021-07-07 18:43:42 +05:30
histserv.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
hostserv.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
import.go Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
ircconn.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
kline.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
legacy.go first draft of atheme migration code 2020-10-02 16:48:37 -04:00
listeners.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
message_cache.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
misc_test.go time.Unix still requires normalization to UTC 2020-02-21 00:33:37 -05:00
modes_test.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
modes.go fix handling of +k with an empty key parameter 2021-08-10 15:11:11 -04:00
monitor.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
nickname.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
nickserv.go Add email-based password reset (#1779) 2021-08-25 22:32:55 -04:00
numerics.go Show real IP in WHOWAS to opers with ban capability. 2021-06-20 10:26:30 -07:00
responsebuffer.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
roleplay.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
script.go scripting API for IP bans 2020-09-14 04:28:12 -04:00
semaphores.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
server.go always mark the service ready after rehash 2021-07-04 19:51:35 -04:00
services.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
signals_plan9.go upgrade go to 1.17 2021-08-20 15:59:26 -04:00
signals.go upgrade go to 1.17 2021-08-20 15:59:26 -04:00
snomanager.go use ergochat/irc-go instead of goshuirc/irc-go 2021-06-18 02:43:25 -04:00
socket.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
stats.go Apply default user modes just before registration. 2020-05-28 15:53:14 +00:00
strings_test.go validate normalized masks as IRC params 2020-10-25 23:32:24 -04:00
strings.go migrate additional dependencies to ergochat 2021-05-26 21:58:29 -04:00
types.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
uban.go fix UBAN ADD of masks (k-lines) not killing clients 2021-07-04 08:14:38 -04:00
usermaskset_test.go fix #307 2020-10-21 11:08:55 -04:00
usermaskset.go first pass at renaming Oragono to Ergo 2021-05-26 15:55:24 -04:00
version.go set up new development version 2021-06-08 10:47:18 -04:00
whowas_test.go refactor channel registration 2019-03-12 04:16:16 -04:00
whowas.go refactor channel registration 2019-03-12 04:16:16 -04:00
znc.go fix znc.in/playback for individual DM targets 2021-05-28 18:07:54 -04:00