aboutsummaryrefslogtreecommitdiffstats
path: root/include/inspircd.h
Commit message (Expand)AuthorAgeFilesLines
* Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* Add stdalgo::iterator_range and switch config tag reading to use it.•••This allows us to use range-based for loops which were not possible with the previous config tag system. Gravatar Sadie Powell2020-10-311-0/+1
* Convert OperInfo from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+2
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\
| * Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
* | Move FindNickOnly to UserManager.Gravatar Sadie Powell2020-02-091-4/+0
* | Move FindNick to UserManager.Gravatar Sadie Powell2020-02-091-7/+0
* | Move FindUUID to the UserManager class.Gravatar Sadie Powell2020-02-091-6/+0
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-22/+28
* | Make WritePID read directly from the config.Gravatar Sadie Powell2020-02-061-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-6/+12
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-6/+12
* | Move ISupport logic out of the core and into core_info.Gravatar Sadie Powell2020-01-051-4/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-011-15/+1
|\|
| * Make BindPorts return size_t instead of int.Gravatar Peter Powell2019-12-091-1/+1
| * Improve behaviour when running as root.•••- 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. Gravatar Peter Powell2019-12-081-5/+0
| * Convert InspIRCd::SetSignals to a static function.Gravatar Peter Powell2019-12-081-4/+0
| * Move forking code into a function and remove DaemonSeed.Gravatar Peter Powell2019-12-081-5/+0
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-0/+1
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-271-5/+5
|\|
| * Fix various cases of broken indentation.Gravatar Peter Powell2019-07-261-5/+5
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-0/+1
|\|
* | Replace socketengine_{pthread,win32} with C++11 threads.Gravatar Sadie Powell2019-05-151-5/+2
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-4/+4
|\|
| * 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
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-0/+6
|\|
| * 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
* | Remove the now unused fakederef class.Gravatar Sadie Powell2019-02-071-11/+0
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-5/+9
|/
* 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