aboutsummaryrefslogtreecommitdiff
path: root/include/inspircd.h
Commit message (Expand)AuthorAgeFilesLines
* Implement serialisation of users.•••This allows for various things which will be coming in the future. e.g. Transferring users to another server on upgrade. Gravatar Peter Powell2019-10-141-0/+1
* Fix various cases of broken indentation.Gravatar Peter Powell2019-07-261-5/+5
* Fix building against older versions of glibc.Gravatar Peter Powell2019-05-061-0/+4
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-4/+4
* Add a function for displaying human-readable durations.•••Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s). Gravatar Matt Schatz2019-02-181-0/+6
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-1/+1
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-0/+8
* Move IsValidDuration into the core.Gravatar Peter Powell2018-11-241-0/+6
* Fix warnings from Doxygen.Gravatar Peter Powell2018-10-211-2/+2
* Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-231-15/+0
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-0/+19
* Replace irc::stringjoiner with a generic stdalgo::string::join.•••This can also be used with different types of collection containing values which are not a string. Gravatar Peter Powell2018-07-261-1/+1
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+7
* Add InspIRCd::IsHost for checking the validity of hostnames.Gravatar Peter Powell2018-07-101-0/+6
* Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-161-0/+1
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-1/+0
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-1/+0
* Fix some minor Doxygen errors.Gravatar Peter Powell2018-01-141-2/+2
* Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-0/+1
* Make InspIRCd::Format return std::string instead of const char*.•••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. Gravatar Peter Powell2018-01-031-2/+2
* Get rid of InspIRCd::QuickExit.•••This is just a thin wrapper around exit(). I don't think we really need it. While we are changing this code the setgroup/setuser code should be using EXIT_STATUS_CONFIG too. Gravatar Peter Powell2017-12-231-5/+0
* Convert the remaining things away from the caller/handler API.Gravatar Peter Powell2017-11-251-1/+0
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-6/+8
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-7/+9
* Convert IsIdent to std::function.Gravatar Peter Powell2017-11-251-7/+9
* Convert IsNick to std::function.Gravatar Peter Powell2017-11-251-7/+8
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Move operquit out of the core and into core_user.Gravatar Peter Powell2017-09-111-4/+0
* Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-0/+1
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-9/+0
* Merge insp20Gravatar Attila Molnar2016-08-171-1/+2
|\
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-171-1/+2
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-0/+1
* | Add Numeric::NumericGravatar Attila Molnar2016-02-251-0/+1
* | Move implementation of ConvTo*() and related functions into convto.hGravatar Attila Molnar2016-02-251-82/+1
* | Include stdint.h from inspircd.hGravatar Attila Molnar2016-02-251-0/+1
* | Add Numeric::BuilderGravatar Attila Molnar2015-12-301-0/+1
* | Strip all control codes except \001 in InspIRCd::StripColor()•••Fixes issue #1100 reported by @uecasm Gravatar Attila Molnar2015-12-081-1/+1
* | Move InspIRCd::SendError() to cmd_die•••Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message Gravatar Attila Molnar2015-05-171-5/+0
* | Move OnWhois* events to core_whois, add Whois::Context•••Remove InspIRCd::SendWhoisLine() Gravatar Attila Molnar2015-04-281-17/+2
* | Add flat_[multi]{map,set} containersGravatar Attila Molnar2014-12-151-0/+1
* | Add the insp::aligned_storage templateGravatar Attila Molnar2014-09-271-0/+1
* | Remove InspIRCd::BindSocket()Gravatar Attila Molnar2014-08-041-9/+0
* | Move ISupportManager class declaration to isupportmanager.h from inspircd.hGravatar Attila Molnar2014-07-141-21/+1
* | Add InspIRCd::TimingSafeCompare() function that compares strings in a timing-...Gravatar Attila Molnar2014-06-281-0/+9
* | Add parameter to InspIRCd::TimeString for UTC time formats.•••Missing doc added by @attilamolnar Gravatar Peter Powell2014-06-251-1/+2
* | Add formatting to InspIRCd::TimeString; switch all code to use it.•••m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849 Gravatar Peter Powell2014-06-251-1/+4
* | Change allocation of InspIRCd::Users to be physically part of the object cont...Gravatar Attila Molnar2014-06-241-1/+1