aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
Commit message (Collapse)AuthorAgeFilesLines
* Move <security:hidesplits> to the spanningtree module.Gravatar Peter Powell2018-10-013-1/+7
|
* Fix the chanhistory module being inconsistent across servers.Gravatar Peter Powell2018-10-011-1/+16
| | | | Closes #331.
* Amend OnPostCommand to specify whether the command is loopcalled.Gravatar Peter Powell2018-09-112-2/+2
| | | | | This restores previous behaviour which was lost when the original line parameter was removed.
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-133-5/+6
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-124-19/+29
| | | | | | | OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed.
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.Gravatar Peter Powell2018-08-102-9/+9
| | | | | This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously.
* Parse CAPAB CAPABILITIES and FJOIN messages with spacesepstream.Gravatar Peter Powell2018-08-102-2/+2
| | | | Special tokenisation rules are not necessary here.
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-103-4/+4
| | | | | | | | | In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-072-3/+3
|
* Make the FJOIN timestamp message easier for users to understand.Gravatar Peter Powell2018-08-051-1/+2
|
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-3/+3
|
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-303-3/+3
|
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-304-6/+9
|
* Replace irc::stringjoiner with a generic stdalgo::string::join.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This can also be used with different types of collection containing values which are not a string.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-2643-138/+138
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
|
* Fix building on Windows.Gravatar Peter Powell2018-07-241-0/+2
|
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-1/+7
|
* Add the family() member to the sockaddrs union.Gravatar Peter Powell2018-07-181-1/+1
|
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-1/+1
|
* Convert some usages of ato[il] to use ConvToNum.Gravatar Peter Powell2018-04-171-1/+1
|
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-162-2/+2
|
* Remove the default value in ConfigTag::get{Duration,Float,Int}.Gravatar Peter Powell2018-04-161-7/+4
|
* Change ServerInfo::gecos to descriptionGravatar genius30002018-04-112-2/+2
|
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-082-2/+6
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* Rework message handling.Gravatar Peter Powell2018-01-062-12/+12
| | | | | | | | | | | | | - 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.
* Show server versions in /MAP for opersGravatar B00mX0r2017-12-195-1/+24
| | | | This resolves #1203
* Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-031-5/+4
|
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-033-7/+7
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-213-33/+33
| | | | GCCs warnings for this are much better than Clangs.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-176-13/+13
|
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-1/+1
|\
| * Update wiki links to use HTTPS and point to the correct pages.Gravatar Peter Powell2017-10-151-1/+1
| | | | | | | | | | When we release 3.0 these links will break as they will point to the pages for 3.0 rather than 2.0.
| * Fix SpanningTreeProtocolInterface::SendChannelPrivmsg() and ↵Gravatar genius30002016-12-071-5/+10
| | | | | | | | SendChannelNotice() sending statusmsgs to whole channel
* | Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-282-5/+5
| | | | | | | | | | This removes the need to invalidate the cache after changing a user's hostname.
* | Change SetClientIP to take a C++ string instead of a char array.Gravatar Peter Powell2017-10-271-1/+1
| |
* | Add a constructor to OperInfo and use it to set the type name.Gravatar Peter Powell2017-10-181-4/+1
| |
* | Implement support for configurable casemapping & default to ASCII.Gravatar Peter Powell2017-09-081-0/+19
| |
* | Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-2/+2
| |
* | Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-271-1/+1
| |
* | Purge code for Windows XP and MSVC pre-2015.Gravatar Peter Powell2017-08-061-1/+1
| |
* | Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-126-13/+13
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | Clean up User::FormatModes(), rename to GetModeLetters()Gravatar Attila Molnar2016-12-301-1/+1
| | | | | | | | Prefix the returned string with '+'
* | Deduplicate nickname overruling codeGravatar Attila Molnar2016-12-301-6/+2
| | | | | | | | Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
* | Replace snprintf usage with InspIRCd::Format.Gravatar Peter Powell2016-09-091-3/+1
| |
* | Bump version to 3.0 in comments and messagesGravatar Attila Molnar2016-09-023-4/+4
| |
* | m_spanningtree Allow multiple valid ips for link blocks as a result of ↵Gravatar Adam2016-09-021-3/+6
| | | | | | | | SecurityIPResolver
* | m_spanningtree Add workaround to make SVS* commands work when using ENCAPGravatar Attila Molnar2016-09-021-0/+11
| |
* | m_spanningtree Refuse topic changes that would result in desyncGravatar Attila Molnar2016-09-022-0/+14
| | | | | | | | This is a workaround until the protocol is updated
* | Replace loop over alphabet with loop over mode list in several placesGravatar Attila Molnar2016-08-301-13/+11
| |