13857 Commits

Author SHA1 Message Date
Peter Powell
4e0cb28c19 Fix not rejecting invalid durations in DCCALLOW. 2018-12-12 21:39:46 +00:00
Peter Powell
654355c2d1 Reject setting modes which are null or not registered. 2018-12-12 14:43:55 +00:00
Peter Powell
51891f10f2 Fix a crash when the core_oper module is not loaded. 2018-12-12 14:43:55 +00:00
Peter Powell
372c5c9496 Fix overly escaping MOTDs if they are in more than one connect class. 2018-12-10 17:27:19 +00:00
Peter Powell
cb7e83aa4e Move some config parser-internal types out of the public header. 2018-12-09 16:13:27 +00:00
Peter Powell
f99f0af6d1 Fix the example help files using the wrong name for <helpmsg:nohelp>.
Thanks to @genius3000 for pointing this out.
2018-12-09 08:10:39 +00:00
Peter Powell
db5610a564 Use consistent numerics when a mode already exists or doesn't exist. 2018-12-09 06:57:10 +00:00
Peter Powell
a5b9f37d62 Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules. 2018-12-09 06:29:48 +00:00
Peter Powell
16864d1871 Fix a numeric collision with UnrealIRCd's help numerics.
We were not using these correctly and the ircd-ratbox numerics are
more widely supported so using those is better.
2018-12-09 06:15:07 +00:00
Peter Powell
5cf88fd79e Allow users on an accept list to bypass the +R user mode.
As implemented in ircd-seven and possibly other servers.
2018-12-09 04:28:25 +00:00
Peter Powell
9dab477dad Allow modules to check if a user is on a callerid accept list. 2018-12-09 04:28:20 +00:00
Peter Powell
94eb36566e Clean up the callerid documentation slightly. 2018-12-09 02:19:42 +00:00
Peter Powell
9361492b41 Raise the default max number of ACCEPT entries from 16 to 30. 2018-12-09 02:13:47 +00:00
Peter Powell
a4c1b1f4fc Add an option for changing the allowed server clock drift. 2018-12-04 19:04:09 +00:00
Peter Powell
ec6955f28b Fix detecting secure clients connecting through HAProxy/WEBIRC. 2018-12-01 23:48:33 +00:00
Peter Powell
9574997540 Only check if a SSL cert is usable if we're getting the fp. 2018-11-26 14:33:44 +00:00
Peter Powell
0d4138631c Use the default if an invalid duration is found in getDuration. 2018-11-24 23:27:49 +00:00
Peter Powell
cc5aff3e5a Move IsValidDuration into the core. 2018-11-24 23:27:16 +00:00
Peter Powell
6596fb5ffe Fix some incorrect conditions in the showfile module.
Thanks to @genius3000 for pointing this out.
2018-11-24 19:03:55 +00:00
Peter Powell
b00cd0295e Improve the description of the maphide module. 2018-11-24 18:57:28 +00:00
Peter Powell
56a95ff4ae Improve the output of the showfile module.
- Omit the starting numeric if a zero numeric is specified.
- Omit the ending numeric if a zero numeric is specified or if the
  end message is empty.
2018-11-24 17:41:53 +00:00
Peter Powell
248fa43bf9 Kill users that fail a WEBIRC auth instead of penalising them.
This behaviour is specified in the IRCv3 WebIRC specification.
2018-11-21 14:01:52 +00:00
Peter Powell
a77954b218 Only try to parse the WebIRC IP if the user matches a host. 2018-11-21 14:01:52 +00:00
Robby
705853459e m_filter: Add a warn action for notifying opers while still allowing the message through.
Thanks to @H7-25 (Simos) for the idea.
2018-11-21 01:15:12 +00:00
Robby
05413dcaf3 m_blockcolor: Check for colors the same way InspIRCd::StripColor() does. 2018-11-21 00:48:30 +00:00
Robby
4c6d7a12ab Add missing special character for reversing color. 2018-11-20 23:37:20 +00:00
Peter Powell
28ffef39c8 Add support for multiple cloak configurations.
The first will be used for cloaking and the rest will be used for
checking bans.
2018-11-19 11:00:17 +00:00
Peter Powell
3683d85e71 Exclude the vendor directory from Doxygen-generated documentation. 2018-11-19 02:49:32 +00:00
Peter Powell
1ec87c328f Fix single backslashes in the MOTD erroneously being removed. 2018-11-18 13:12:07 +00:00
Peter Powell
37977710a7 Fix sending DNSBL error snotices when a user isn't DNSBLed. 2018-11-16 23:42:49 +00:00
Peter Powell
d50a4bf02d Fix an inverted condition in the cgiirc module. 2018-11-16 22:13:11 +00:00
Peter Powell
6adca3e099 Fix the OnSendWhoLine event being completely broken with WHOX. 2018-11-15 19:24:47 +00:00
Michael Hazell
19c0cfa3e5 m_filter: add Z-Line support 2018-11-12 01:13:48 +00:00
Peter Powell
16e3ed8d4a Fix the syntax description for the WHO command.
Thanks to @KoraggKnightWolf for reporting this.
2018-11-11 19:21:47 +00:00
Peter Powell
77730fd5f0 Merge tag 'v2.0.27' into master. 2018-11-07 11:20:10 +00:00
Peter Powell
0d9c5a2262 Release v2.0.27 v2.0.27 2018-11-05 22:59:02 +00:00
Peter Powell
79892a727e Implement support for WEBIRC attributes. 2018-11-04 15:29:06 +00:00
Peter Powell
39ddf2fb7a Fix exposing the ban reason when an xline is found in the bancache. 2018-11-04 10:02:28 +00:00
Peter Powell
efdb51bc9d WebSocket: send messages as text by default.
This requires all messages to be UTF-8. If you are using a UTF-8
incompatible text encoding then you can disable this by setting
<websocket:sendastext> to false.
2018-11-03 14:12:59 +00:00
Peter Powell
99af213a58 WebSocket: use one WebSocket message per IRC message.
This makes more sense for WebSocket clients than CR+LF termination
as the protocol already understands the concept of messages.
2018-10-31 05:28:20 +00:00
Peter Powell
dfe7e7da97 Fix the ordering of libraries in the vendor readme. 2018-10-31 05:28:16 +00:00
Peter Powell
dccf47d0a0 Also synchronise the prefix rank between servers. 2018-10-28 13:01:33 +00:00
Peter Powell
ea7eb543cb Remove deprecated config checker and make <die> actually useful.
- Remove the deprecated config tag checker. This checker is neither
  exhaustive nor is it particularly accurate. Instead the new docs
  site will contain a page detailing the breaking changes between
  releases.
- Remove the insulting <die> tags in inspircd.conf.example and add
  some descriptive ones in files that it is critical for the user
  to edit correctly.
- Show the message from the <die> tag so the user actually knows
  what they did wrong.
2018-10-27 18:31:32 +01:00
Peter Powell
72e28e60de Fix a shadowing warning in the spanningtree module. 2018-10-27 18:17:23 +01:00
Peter Powell
ac09aff7f4 Improve CAPAB negotiation in the spanningtree module.
- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205
  protocol. These have entirely been superceded by the CHANMODES
  and USERMODES CAPAB commands.

- Only compare the 1202 PREFIX tokens if the remote server did not
  send CAPAB CHANMODES. This replicates the existing behaviour
  used for the CHANMODES token.

- Fix checking whether the remote server has an appropriate case
  mapping. If it is not sent we assume it is the same as the local
  server as always. This should prevent issues with people using
  services packages that do not send this token yet.

- Fix checking if the user modes are mismatched and then promptly
  overwriting the error message with mismatched channel modes.

- Fix servers not being able to tell whether a mode on the remote
  server is a prefixless prefix mode. Requires the 1205 protocol.

- Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not
  checking the type of those modes. Requires the 1205 protocol.
2018-10-27 18:13:29 +01:00
Peter Powell
0fc595caac Enable as many extra modules as possible when running configure. 2018-10-27 04:27:16 +01:00
Peter Powell
2e46197918 Fix ircv3_capnotify being defined twice in modules.conf.example. 2018-10-26 22:41:12 +01:00
Peter Powell
a9a94b6587 Fix "smartmatch is experimental" warning from the helper script. 2018-10-26 14:18:42 +01:00
Peter Powell
0e397ff721 Tell the user to check out the latest tag rather than the branch.
When the InspIRCd 3.x branch forks this will tell the user to go
back to the latest tag on the branch.
2018-10-26 02:57:13 +01:00
Peter Powell
2d50984185 Fix a bunch of harmless compiler warnings on recent GCC releases. 2018-10-26 01:20:35 +01:00