13714 Commits

Author SHA1 Message Date
Sadie Powell
cf95aaaa23 Use C++14 compilers in Docker on Travis. 2019-01-25 02:47:00 +00:00
Sadie Powell
9828a06514 Switch the build system to use C++14. 2019-01-25 02:46:43 +00:00
Sadie Powell
1799bcff97 Merge branch 'insp3' into master 2019-01-24 15:58:57 +00:00
linuxdaemon
2f35b78fba Add translation for casemapping between 2.0/3.0 (#1544)
If the casemapping is set to ascii, advertise the m_ascii module to 2.0
to allow use of the m_ascii extras module for 2.0
2019-01-24 15:56:58 +00:00
Sadie Powell
8e3de7312b Add translation for casemapping between 2.0/3.0 (#1544)
If the casemapping is set to ascii, advertise the m_ascii module to 2.0
to allow use of the m_ascii extras module for 2.0
2019-01-24 15:52:59 +00:00
Peter Powell
1ab93cf702 Merge the censor module example config into modules.conf.example. 2019-01-24 15:23:17 +00:00
Peter Powell
4047a143fc Move the <disabled> tag out of the core to a new module. 2019-01-24 15:10:02 +00:00
Peter Powell
cbef0241a0 Implement support for the extended tag space for client tags. 2019-01-24 14:28:21 +00:00
linuxdaemon
a7fac86ccd Avoid forwarding passwords to nickserv when using SASL (#1562) 2019-01-24 13:34:54 +00:00
Peter Powell
806e400619 Fix a crash in m_sslinfo when a socket is SSL but a gateway is not. 2019-01-23 15:16:07 +00:00
Peter Powell
997e570fe4 Don't tell the user if DNS lookups are disabled. 2019-01-23 15:16:07 +00:00
linuxdaemon
5394adf41f Fix away broadcast logic (#1561) 2019-01-23 08:40:25 +00:00
Sadie Powell
b86ed5b544 Mark as version v4.0.0pre1. 2019-01-22 12:16:41 +00:00
Peter Powell
965c81baee Rename OnClientProtocolProcessTag to OnProcessTag. 2019-01-22 12:09:28 +00:00
Peter Powell
0a1f9bc594 Call the OnUserInit hook from earlier in UserManager::AddUser.
This fixes messages being lost when sending them to a user who has
only just connected to the server.
2019-01-20 09:52:38 +00:00
Peter Powell
0a9c72335a Move ident lookups to the OnSetUserIP hook. 2019-01-20 09:51:12 +00:00
Peter Powell
25b3686f43 Fix sending the entire VERSION output as a single parameter.
Closes #1560.
2019-01-19 13:10:56 +00:00
Robby
0527f858ce m_check: Fix showing oper permissions (privileges). (#1556) 2019-01-17 11:20:26 +00:00
Peter Powell
11cc922584 Fix the hostchange set action swapping the host/value fields. 2019-01-14 21:33:51 +00:00
linuxdaemon
f400d5f394 Redo OnSetEndPoint logic to fix duplicate clones (#1549). 2019-01-14 11:48:45 +00:00
linuxdaemon
0a7d2456d9 Allow wildcards in <connect:dnsbl>
This makes it consistent with other <connect> class parameters like
`webirc`
2019-01-11 16:17:51 +00:00
Robby
e784524e11 The <ident:bind> setting doesn't exist anymore, remove the reference to it from the config.
This setting was removed in commit 0a1fe6cf293bef91b419f57374b96a6d2aec636e.
2019-01-11 15:01:56 +00:00
Peter Powell
98e90d6d68 Fix reading the server path for UNIX sockets. 2019-01-10 19:14:17 +00:00
Peter Powell
100c6c419c Fix copying too much data into the remote endpoint field.
This is a buffer overrun but its harmless as the things it will
overwrite are no longer necessary.
2019-01-10 19:09:02 +00:00
Peter Powell
21ae8e3144 m_ircv3_echomessage: only echo the tags which were actually used. 2019-01-10 11:45:59 +00:00
Peter Powell
00a11bd0b5 Improve the error messages given when creating a mode. 2019-01-10 10:42:31 +00:00
Peter Powell
be91435ccb core_privmsg: respect the exemption list when sending $* messages. 2019-01-09 19:58:43 +00:00
Peter Powell
aea67c2520 Fix m_alias not initialising 'active' before use. 2019-01-09 15:57:04 +00:00
Matt Schatz
f2e3fd5952 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>
2019-01-09 10:07:09 +00:00
Peter Powell
f4041a13c3 Release v3.0.0 release candidate 1. v3.0.0rc1 2019-01-07 22:41:54 +00:00
Peter Powell
2e3c630909 core_stub: add stubs for the SUMMON and USERS commands. 2019-01-07 01:37:55 +00:00
Peter Powell
4317e2c4d9 Improve consistency of the restrictchans module example config. 2019-01-05 16:55:51 +00:00
Peter Powell
29696ca3eb Fix http_parser last updated date. 2019-01-05 16:54:34 +00:00
Peter Powell
f155271638 Move RPL_UNINVITED to 653 to avoid a collision with Bahamut/ircu. 2019-01-05 16:54:34 +00:00
Peter Powell
b30988ee60 Fix the websocket origin config example. 2019-01-05 16:54:34 +00:00
linuxdaemon
9aadc251e9 Merge m_restrictchans and m_regonlycreate due to converging functionality (#1541). 2019-01-04 20:31:08 +00:00
Peter Powell
cefa51ba8e Update the names in the /INFO credits.
- Add linuxdaemon to Active Contributors.
- Move Sheogorath to Active Contributors.
2019-01-04 20:06:01 +00:00
Peter Powell
f5de55813b Improve the spanningtree "unknown command" error message. 2019-01-03 22:36:42 +00:00
Peter Powell
d33c174e58 Fix building modules which depend on vendor libs on Windows. 2019-01-03 13:19:07 +00:00
linuxdaemon
b6ca49a232 Add the ability to disable console colors in stdout logging (#1539). 2019-01-03 13:17:23 +00:00
Peter Powell
e433401fb8 Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message. 2019-01-02 20:28:48 +00:00
Peter Powell
aafc03bdfc Fix message tags not being broadcast across the network. 2019-01-02 20:28:46 +00:00
Peter Powell
93390f6ccb Strip message tags when talking with 1202 protocol servers. 2019-01-02 16:56:25 +00:00
Peter Powell
8fd5f78f83 Remove spanningtree check for lines sent without a source.
We don't send any of these anymore.
2019-01-02 16:56:08 +00:00
Peter Powell
d45060c2ba Update the vendored http_parser library to v1.3. 2019-01-01 14:11:06 +00:00
linuxdaemon
7530285740 Only parse valid durations, don't treat invalid multipliers as seconds (#1538) 2018-12-21 19:37:22 +01:00
Peter Powell
60ae49b62a Fix thinking that 1202 protocol servers have not finished bursting.
A server introduction is only a burst if all of the parent servers
of it are not bursting.

Fixes #1527.
2018-12-20 15:08:17 +01:00
Peter Powell
f904042e9e Fix docs referring to channel mode e using the wrong name. 2018-12-19 10:06:46 +00:00
Peter Powell
36da0833c5 Add the <maxlist> tag and switch ListModeBase to always use it.
The old method of doing this was:

1. Extremely inconsistently used. Some list modes used <banlist>
   and some used their own config tag.
2. Not documented in the slightest. There was a small reference to
   <maxbans> for the ban mode but nothing else.
3. In some cases conflicting with other config tags. The chanfilter
   module defined a <chanfilter> tag for general config whilst also
   using it for the max list settings.

The new <maxlist> tag avoids these issues entirely.
2018-12-19 09:02:09 +00:00
linuxdaemon
4fbd6681fe Make more modules rehash atomically (#1535)
Have each module validate the values it loads before setting them, so
any errors don't result in partial application of the configs
2018-12-19 01:06:56 +00:00