Sadie Powell
c4e9c0bf85
If the IRCd sends a field limit then use it over that of the config.
2024-02-22 17:05:30 +00:00
Sadie Powell
7cba665270
Fix some oversights in commit 82fa7e1467.
2024-02-22 11:18:05 +00:00
Sadie Powell
82fa7e1467
Convert protocol modules over to Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
aefbb4fbda
Rework SendModeInternal to be usable with Uplink::Send.
2024-02-22 00:14:08 +00:00
Sadie Powell
72acef4e15
Mark types that have no inheritors as final.
2024-01-23 16:53:06 +00:00
Sadie Powell
a6a0f6c447
Improve the layout of types that inherit from another type.
2024-01-23 15:28:23 +00:00
Sadie Powell
5db79c1e24
Add a non-formatting overload of User::SetModesInternal.
2024-01-08 13:11:50 +00:00
Sadie Powell
a9ab0c72a6
Use auto in places where the type is unambiguous.
2024-01-06 13:23:37 +00:00
Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
6e16e71fda
Remove the two day X-line cap.
2023-11-03 11:01:01 +00:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
1a2da82106
Merge branch '2.0' into 2.1.
2022-12-07 15:59:46 +00:00
miwob
211bd80061
Update ircd-hybrid protocol module
...
* Add METADATA command handler which currently only allows to modify a client's certificate fingerprint
* Minor reformatting and style inconsistency fixes
2022-09-29 13:05:05 +01:00
Sadie Powell
1664689eb7
Merge branch '2.0' into 2.1.
2022-09-15 18:46:51 +01:00
miwob
bc101d10de
Update hybrid protocol module to improve compatibility with the latest ircd-hybrid release.
...
* Remove support for deprecated channel mode `u`
* Add support for channel mode `N`
* Fixed the `UID` message handler requiring the correct amount of arguments
* Fixed the `SID` message handler requiring the correct amount of arguments
* Fixed the `SJOIN` message handler requiring the correct amount of arguments
* Minor documentation updates and style corrections
* Remove pointless return statement in the `JOIN` message handler
* Add support for the owner and admin channel prefix modes
* Add support for `MLOCK`
* Fixed SendChannel() so modes are prefixed with a `+`
* Change SendJoin() to actually use the mode stacker
* Add support for channel mode `Q`
* Add support for channel mode `Z`
* Add support for user mode `B` and `Z`
* Actually user mode `g` is not oper only. For some reason this mode got set to oper only in anope/anope@1e625b6
* Work properly with extended bans, e.g. don't normalize masks starting with a `$`
2022-09-15 14:13:24 +01:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Michael Wobst
c38106211c
Adjust IsIdentValid test to comply with upcoming ircd-hybrid release ( #272 ).
...
hybrid.cpp: adjust IsIdentValid test to comply with upcoming ircd-hybrid where
user names may only consist of [A-Za-z0-9._-] and may not begin with '.', '-',
or '_'.
As a side effect this fixes an issue where currently it is possible to introduce
bots whose user name starts with (non-alnum) characters considered invalid for
ircd-hybrid leading to a services shutdown due to a nick introduction/kill loop.
2022-01-09 15:25:09 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
c68b81eac8
Merge branch '2.0' into 2.1.
2021-02-18 23:59:28 +00:00
Robby
c5a4e8337c
Update copyright to 2021.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00
Sadie Powell
8b2c1548ab
Merge tag '2.0.8' into 2.1.
2020-10-07 14:42:33 +01:00
miwob
1ac3b38fa8
Update/modernize ircd-hybrid protocol module to stay link compatible with next ircd-hybrid release
2020-10-02 14:53:08 +01:00
Sadie Powell
9d6dd4af11
Remove the non-tagged version of IRCDMessage::Run.
2020-09-28 15:28:27 +01:00
miwob
584a209b28
ircd-hybrid protocol module: add support for channel mode 'K' (no knock)
2020-08-01 13:39:35 +01:00
Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Robby
6fbb7cffe9
Update copyright to 2019.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2019-01-01 17:43:35 +01:00
miwob
466e5be741
Update ircd-hybrid protocol module to support latest version of ircd-hybrid better
2018-06-12 08:40:57 -04:00
Robby
e03ae0cd85
Update copyright to 2018.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00
miwob
6cb17c734c
Add channel mode 'u', and 'L' to hybrid protocol module; Remove useless CAPABs that are mandatory for some years now.
2017-03-19 12:02:22 +01:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
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.
2017-01-16 03:13:25 +01:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
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.
2016-01-28 20:24:49 +01:00
Adam
75dd784538
Fix hybrid to compile
2016-01-23 10:53:22 -05:00
Adam
7d674726c2
Merge pull request #145 from miwob/style+copyright
...
Style+copyright
2016-01-23 09:19:08 -06:00
Adam
be50211ae6
Merge pull request #149 from miwob/SendSQLine
...
Update SendSQLine() in hybrid's protocol module to use non-capsulatet…
2016-01-23 09:18:41 -06:00
miwob
2356a1caab
Update SendSQLine() in hybrid's protocol module to use non-capsulatet RESV message
2016-01-20 19:18:52 +01:00
miwob
9d30e1d63f
Update SendSGLine() in hybrid's protocol module to add support for temporary x-lines
2016-01-19 20:07:45 +01:00
miwob
7f418a58da
hybrid.cpp: clean up style to match with other code; update copyright header
2016-01-13 16:23:22 +01:00
Michael Wobst
cd6401f628
Add support for channel mode +T to the ircd-hybrid protocol module
2015-12-26 13:29:18 +01:00
miwob
99282e65a6
hybrid.cpp:SendClientIntroduction(): use a valid IP address format. In the future ircd-hybrid will reject UID messages with invalid IP addresses
2015-12-13 19:48:22 -05:00
miwob
5a25a3807b
hybrid.cpp: add missing CanSQLineChannel = true; to the protocol options
2015-10-24 12:45:19 +02:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
64781817ac
Merge pull request #105 from miwob/master+use-uid-for-svsnick
...
- Change SendForceNickChange() to use UIDs
2015-03-12 08:15:49 -04:00
Adam
69c18f131f
Merge pull request #106 from miwob/master+SendClientIntroduction
...
- Update SendClientIntroduction() to use * for account names instead of ...
2015-03-12 08:15:44 -04:00
Adam
e030771cbc
Merge pull request #107 from miwob/master+misc-hybrid-changes
...
- Misc updates to the hybrid protocol modules:
2015-03-12 08:15:38 -04:00
miwob
76337bc04a
- Misc updates to the hybrid protocol modules:
...
- best supported version is 8.2.x
- fixed UID message handler to cope with account names being '*'
- minium required TS version is TS6 now
2015-02-15 21:47:55 +01:00