Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-05 | Fix a bunch of really obvious unnecessary includes. | Sadie Powell | |
2021-03-05 | Update copyright headers. | InspIRCd Robot | |
2020-10-30 | Update copyright headers. | InspIRCd Robot | |
2020-09-23 | Refactor GenRandomStr for performance and readability. | Sadie Powell | |
2020-04-24 | Update copyright headers. | InspIRCd Robot | |
2020-04-21 | Fixes by misspell-fixer | InspIRCd Robot | |
2020-04-14 | Update user-facing text and comments of SSL to TLS. | Matt Schatz | |
2020-01-11 | Update copyright headers. | InspIRCd Robot | |
2019-12-08 | Improve behaviour when running as root. | Peter Powell | |
- Only give the annoying message about root if --runasroot is not specified. - If --runasroot is specified then assume the user knows what they are doing. - Move CheckRoot to a static function in inspircd.cpp. | |||
2019-07-04 | DurationString(): Return "0s" for a duration of 0 (#1677). | Matt Schatz | |
Usually a duration of 0 is not allowed or handled separately, but it can also be used as a 'no set time' without separation. Case in point: m_chanhistory calls DurationString() to convert the max time seconds back to a human readable string for the mode serializer. Returning a blank string is bad here. | |||
2019-07-04 | Fix years being offset from weeks (#1678). | Matt Schatz | |
Currently a duration of 52w will return a blank string. When I added weeks to the calculations, I failed to update the number of seconds to a year. As 365 days and 52 weeks aren't the same, but the calculation needs to be consistent. | |||
2019-02-18 | Add a function for displaying human-readable durations. | Matt Schatz | |
Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s). | |||
2018-12-21 | Only parse valid durations, don't treat invalid multipliers as seconds (#1538) | linuxdaemon | |
2018-11-24 | Move IsValidDuration into the core. | Peter Powell | |
2018-11-20 | Add missing special character for reversing color. | Robby | |
2018-11-18 | Fix single backslashes in the MOTD erroneously being removed. | Peter Powell | |
2018-07-20 | Use arc4random_buf() instead of random() when available. | Peter Powell | |
2018-07-10 | Add InspIRCd::IsHost for checking the validity of hostnames. | Peter Powell | |
2018-04-22 | Improve support for MOTD escape codes. | Peter Powell | |
- Implement escapes for italic, monospace, and strikethrough. - Use the escape codes in the example MOTDs to demonstrate their formatting effects. - Remove support for octal escape codes. In modern computing octal is rarely used and is confusing for users who might confuse it for decimal. | |||
2018-01-03 | Make InspIRCd::Format return std::string instead of const char*. | Peter Powell | |
Using the latter is problematic as if you don't copy the return value before calling Format again your formatted message will be overwritten by something else. This bug was observed in m_callerid where InspIRCd::Format was being used for formatting two arguments the latter of which was being overwritten with the former. We could have preserved the return type and just copied the string but then callers would have had to deallocate the string once they have finished with it which is an undesirabable burden to put on callers. | |||
2017-12-19 | Use GetMaxMask in InspIRCd::IsValidMask instead of hardcoding 250. | Peter Powell | |
2017-11-25 | Convert GenRandom to std::function. | Peter Powell | |
2017-11-25 | Convert IsChannel to std::function. | Peter Powell | |
2017-11-25 | Convert IsIdent to std::function. | Peter Powell | |
2017-11-25 | Convert IsNick to std::function. | Peter Powell | |
2017-11-17 | Fix a ton of -Wsign-conversion warnings. | Peter Powell | |
2017-10-20 | Switch the default datetime format to something easier to read. | Peter Powell | |
2017-03-20 | Move the OnCheckExemption hook out of the core. | Peter Powell | |
2015-12-29 | Fix InspIRCd::StripColor() stripping characters that shouldn't be stripped | Attila Molnar | |
2015-12-08 | Strip all control codes except \001 in InspIRCd::StripColor() | Attila Molnar | |
Fixes issue #1100 reported by @uecasm | |||
2015-12-07 | Deduplicate code in InspIRCd::FindNick() | Attila Molnar | |
2015-05-17 | Move InspIRCd::SendError() to cmd_die | Attila Molnar | |
Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message | |||
2015-04-28 | Move OnWhois* events to core_whois, add Whois::Context | Attila Molnar | |
Remove InspIRCd::SendWhoisLine() | |||
2015-04-28 | Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine() | Attila Molnar | |
2014-07-19 | Access local user list via new UserManager::GetLocalUsers() and make ↵ | Attila Molnar | |
local_users private | |||
2014-07-19 | Move and rename typedef LocalUserList to UserManager::LocalList | Attila Molnar | |
2014-06-25 | Add parameter to InspIRCd::TimeString for UTC time formats. | Peter Powell | |
Missing doc added by @attilamolnar | |||
2014-06-25 | Add formatting to InspIRCd::TimeString; switch all code to use it. | Peter Powell | |
m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849 | |||
2014-05-26 | Switch to std::string::compare() from substr() in a couple of places | Attila Molnar | |
2014-03-15 | Change allocation of UserManager::clientlist to be physically part of the ↵ | Attila Molnar | |
object containing it | |||
2014-03-14 | Change allocation of UserManager::uuidlist to be physically part of the ↵ | Attila Molnar | |
object containing it | |||
2014-03-14 | Change allocation of InspIRCd::chanlist to be physically part of the object ↵ | Attila Molnar | |
containing it | |||
2014-01-05 | Move server description field from TreeServer into Server; remove ↵ | Attila Molnar | |
OnGetServerDescription hook | |||
2014-01-05 | Introduce Server class | Attila Molnar | |
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() | |||
2013-12-18 | Clean up CoreException | Attila Molnar | |
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs | |||
2013-12-18 | Fix issues discovered by Coverity | Daniel Vassdal | |
- Fix resource leak in InspIRCd::Format() - Explicitly set NewServices to NULL before the object it points to goes out of scope | |||
2013-11-12 | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵ | Adam | |
automatically | |||
2013-09-11 | Move prefix mode specific fields and getters into PrefixMode | attilamolnar | |
Add ModeHandler::IsPrefixMode() | |||
2013-08-30 | Merge insp20 | attilamolnar | |
2013-08-27 | Fix crash caused by passing a large integer to ctime() | attilamolnar | |
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny |