summaryrefslogtreecommitdiff
path: root/modules/nickserv
AgeCommit message (Collapse)Author
2024-11-25Use the Module * overload of GetModule() in the nickserv module.Sadie Powell
2024-11-25Fix pluralising languages which use the same plural for 0 as 1.Sadie Powell
2024-11-25Add a missing override keyword.Sadie Powell
2024-11-25Rework how guest nicks work.Sadie Powell
- Use the config setting as a string template instead of as a prefix. - Allow users of IRCds that have UIDs to use that as the guest nick. - Fall back to a UID before killing if a guest nick can not be found.
2024-11-22Improve language selection.Sadie Powell
- Allow selecting languages using an abbreviated language code (e.g. en for en_US.UTF-8). - Preprocess the language list on load as it never changes. This allows us to stop special casing the English language.
2024-11-19Add a plural form overload of CommandSource::Reply.Sadie Powell
2024-11-18Move the set option to its own module.Sadie Powell
This is the first step of rewriting nickname protection.
2024-11-13Use the remaining wait time in the registration delay message.Sadie Powell
Closes #452.
2024-11-13Use durations instead of seconds in waiting messages.Sadie Powell
2024-11-11Merge branch '2.0' into 2.1.Sadie Powell
2024-10-22Replace usestrictprivmsg with something actually useful.Sadie Powell
Every IRC server we support (other than Bahamut which is probably on the chopping bock) uses UIDs so this setting does nothing. Instead, allow configuring a server-side alias for each service and use that when servicealias is enabled.
2024-10-22Move nickserv/set/message to a new module, kill options:useprivmsg.Sadie Powell
2024-10-11Let the user know about their cert being auto-added to their account.Sadie Powell
2024-10-02Change User::SetModesInternal to take a split mode change.Sadie Powell
2024-10-01Raise the default nickname expiry time to one year.Sadie Powell
2024-08-29Refactor ns_getemail slightly.Sadie Powell
2024-08-29Allow server admins to require that a display nick drops last.Sadie Powell
Closes #348.
2024-08-18Add account identifier to nickserv/info output.Sadie Powell
2024-08-14Automatically determine SQL column type from the field.Sadie Powell
Also add more column types to ensure we are storing data in the best format in the database.
2024-06-23Merge branch '2.0' into 2.1.Sadie Powell
2024-06-22Split nickserv/{sa,}set/language out to its own module.Sadie Powell
2024-06-12Fix a string that should be marked as translatable in ns_info.Sadie Powell
2024-06-12Add support for looking up account information from a nick.Sadie Powell
Closes #407.
2024-06-10Fix a crash in ns_cert.Sadie Powell
2024-06-03Avoid NickAlias lookups by storing a pointer in the NickCore.Sadie Powell
2024-05-18Fix an iterator invalidation issue in cs_set and ns_set.Sadie Powell
2024-05-11Store when the account name was registered in the NickCore.Sadie Powell
2024-05-01Add the ReplaceCert method to CertService.Sadie Powell
2024-05-01Automatically add client certificates to the cert list on register.Sadie Powell
2024-04-14Avoid duplicate entries in ReplaceCert.Sadie Powell
2024-04-07Add more documentation for overriding confirmation codes.Sadie Powell
2024-04-05Add an operator privilege to allow overriding drop codes.Sadie Powell
Closes #392
2024-03-15Use consistent casing when referring to vhosts and vidents.Sadie Powell
2024-03-15Consistently use READ_ONLY_MODE everywhere.Sadie Powell
2024-03-14Restore some functionality that was removed in an earlier commit.Sadie Powell
2024-03-12Show the full command in CONFIRM_DROP.Sadie Powell
2024-03-12Merge branch '2.0' into 2.1.Sadie Powell
2024-03-12Simplify limit extraction code.Sadie Powell
2024-03-11Reject registrations and password changes if password encryption fails.Sadie Powell
2024-03-11Clean up some dead code in ns_register.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-03-09Rename hash_map to unordered_map to match the underlying container.Sadie Powell
2024-03-07Remove a guarantee that may not necessarily be correct.Sadie Powell
2024-03-07Consistently use email instead of e-mail.Sadie Powell
2024-03-07Use the C++11 random number generator instead of rand().Sadie Powell
This is safer, faster, and doesn't require seeding.
2024-03-07Require new accounts to have email addresses.Sadie Powell
2024-03-07Also use drop confirmation codes for nicknames.Sadie Powell
2024-03-04Add NickAlias::GetVhostMask for getting the vident@vhost.Sadie Powell
2024-02-29Rip out ns_access and related code.Sadie Powell
This is wildly insecure and has been disabled by default for at least a decade.
2024-02-27Make functions that don't use `this` static.Sadie Powell