Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2013-08-04 | Change the syntax of FOREACH macros to be less dumb. | Adam | |
2013-07-04 | Remove $Core and $Mod* comments apart from $ModDep. | Peter Powell | |
2013-06-02 | Move a few trivial functions into headers | attilamolnar | |
2013-05-23 | Some systems with whacky va_list implementations do undefined stuff when ↵ | Adam | |
vsnprintf is called multiple times with the same list, so have InspIRCd::Format va_copy the list before each call | |||
2013-05-21 | Merge pull request #545 from SaberUK/master+logging-cleanup | Attila Molnar | |
Clean up the logging system (part 1 of 2). | |||
2013-05-20 | Fixup last commit | Adam | |
2013-05-19 | Fix spacing in calls to LogManager::Log. | Peter Powell | |
2013-05-19 | Purge a ton of code related to non <log> related logging. | Peter Powell | |
- InspIRCd::OpenLog - ./inspircd --logfile [file] This is no longer needed now we have (since 1.2) custom logging. | |||
2013-05-18 | Replaced vsnprintf with VAFORMAT pretty much everywhere. | Daniel Vassdal | |
2013-05-18 | Added macro to allow simpler logic in functions with the need to vsnprintf | Daniel Vassdal | |
2013-05-18 | Remove the size argument from IsChannel and IsNick. | Peter Powell | |
There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. |