summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
AgeCommit message (Collapse)Author
2024-03-12Simplify limit extraction code.Sadie Powell
2024-03-12Add a protocol module function for extracting timestamps.Sadie Powell
2024-03-12Add ProtocolException and use it to send fatal errors.Sadie Powell
2024-03-11Replace convertTo/stringify with non-throwing alternatives.Sadie Powell
Having these throw is terrible for ergonomics and there are loads of places where the exception was either silently ignored or not handled at all. Having a function which returns an optional and another that returns a default works a lot better imo.
2024-02-29Add names for the numerics used by the core.Sadie Powell
2024-02-29If a PRIVMSG or NOTICE is empty then send a single space instead.Sadie Powell
Currently a bunch of code does source.Reply(" ") to ensure that an empty line gets rendered but this is a much better way to handle this problem. The code that does this already will be updated in a future commit to avoid breaking translations in progress.
2024-02-27Simplify several boolean expressions.Sadie Powell
2024-02-26Rework IRCDMessage/IRCDMessageFlag.Sadie Powell
2024-02-26Remove several string format IRCDProto function overloads.Sadie Powell
2024-02-26Implement support for the IRCv3 +draft/channel-context tag.Sadie Powell
Closes #358.
2024-02-22GetMaxListFor: use size_t and add a default like the other fields.Sadie Powell
2024-02-22If the IRCd sends a field limit then use it over that of the config.Sadie Powell
2024-02-22Route message tags into more message functions.Sadie Powell
2024-02-22Rework SendModeInternal to be usable with Uplink::Send.Sadie Powell
2024-02-22Rework SendNumericInternal to be usable with Uplink::Send.Sadie Powell
2024-02-22Convert most core protocol handlers to use Uplink::Send.Sadie Powell
2024-02-22Inline, constify, and document GetProtocolName.Sadie Powell
2024-02-21Move IRCDProto member initializers to the header.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-11-14Implement support for the ANONYMOUS SASL mechanism.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Use C++11 style class/struct initialisation.Sadie Powell
2021-08-01Merge branch '2.0' into 2.1.Sadie Powell
2021-06-17Fix various spelling issues (#274).Josh Soref
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>.
2021-06-04Add support for per-mode list limits.Sadie Powell
2021-06-01Allow protocol modules to declare that the IRCd supports tags.Sadie Powell
This is not being used currently but will be soon.
2021-02-18Merge branch '2.0' into 2.1.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-09-28Remove the non-tagged version of IRCDMessage::Run.Sadie Powell
2020-09-28Remove operserv/oline and CanSVSO/SendSVSO in IRCDProto.Sadie Powell
Now UnrealIRCd 3.2.x support has been removed nothing uses this.
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-09-23Update the core message parser to allow parsing IRCv3 message tags.Peter Powell
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-01-10Add networkinfo:nick_chars option to allow configuring additional characters ↵Adam
allowed in nicknames
2014-11-24Fix sid generator generating invalid sids after sid 999Adam
2014-05-27Do not normalize extban masksAdam
2014-05-21Core prep for p10 stuffAdam
2014-05-13Sanitize nuh masks more to prevent the other side from rewriting them, which ↵Adam
screws with our internal tracking of them
2014-04-19Fix SVSNICK target being a nick even when UIDs are availableAttila Molnar
2014-02-27Handle nick collisions somewhat instead of blindly overwriting the nicksAdam
in memory, which does weird things. For fun different ircds implement this differently (Unreal compares timestamps, TS6 compares timestamps and user username/host), and whether or not we get a kill for our user also varies, so just kill everyone. This can't really happen anyway with properly set qlines, only if services haven't yet set the qlines, or possibly in a bot add/nick user introduce race, or with enforcers, which not many ircds require.
2014-02-01Improve IsChannelValid()Daniel Vassdal