Peter Powell
785f3a2866
Document OnUserWrite.
2019-02-07 11:56:53 +00:00
linuxdaemon
d4a1ea7045
Expand searching in m_httpd_stats, add global handling of GET parameters ( #1566 )
2019-02-06 10:33:06 +00:00
Peter Powell
a638de7715
Release v3.0.0 release candidate 2.
2019-02-06 10:02:31 +00:00
Peter Powell
bf046f87c8
Delete the old broken test suite.
...
This doesn't work properly and is disabled in both debug & release
builds. It will be resurrected with a proper unit testing framework
in the future.
2019-02-05 17:11:54 +00:00
Sadie Powell
bfa5fb407e
Merge branch 'insp3' into master.
2019-02-05 00:47:30 +00:00
Peter Powell
8d87fa3837
DLLManager: add a function for retrieving a symbol.
2019-02-04 23:37:54 +00:00
linuxdaemon
2ee2e8b60d
Allow multiple fingerprints in an oper block ( #1564 )
2019-02-01 09:47:20 +00:00
B00mX0r
e844a2cef9
Fix a minor typo in ssl.h
2019-02-01 09:43:32 +00:00
Peter Powell
18678c6a22
Add ParamMode::IsParameterSecret and remove special casing of keys.
2019-01-28 17:26:15 +00:00
Peter Powell
874ce50b8d
Add overloads for ConvToNum to prevent (unsigned) char weirdness.
2019-01-28 11:08:19 +00:00
Sadie Powell
0fab643858
Convert repetitive functions to use C++11 variadic templates.
2019-01-25 15:17:37 +00:00
Sadie Powell
68c0257851
Remove support for the deprecated rfc1459 casemapping,
...
Closes #1017 .
2019-01-25 03:48:10 +00:00
Sadie Powell
b4685e06d4
Remove all 2.0 config compatibility code.
2019-01-25 03:27:13 +00:00
Sadie Powell
c78ecdf579
Replace the override macro with the override keyword.
2019-01-25 02:52:11 +00:00
Sadie Powell
42046ac6d3
Remove the DEPRECATED_METHOD macro.
...
C++14 has [[deprecated]] which does the same thing as this.
2019-01-25 02:49:15 +00:00
Sadie Powell
fb17bba197
Replace the TR1NS macro with the std namespace.
2019-01-25 02:49:03 +00:00
Peter Powell
961109ae4f
Remove trailing whitespace from various source files.
2019-01-24 22:18:22 +00:00
Peter Powell
dba2cddc46
Fix overriding <options:exemptchanops> with the exemptchanops mode.
...
Closes #1558 .
2019-01-24 18:03:12 +00:00
Peter Powell
3b39a88fdf
Fix a minor Doxygen warning.
2019-01-24 17:15:13 +00:00
Matt Schatz
d5b50d9ed1
Add the reason to xline removal notices. ( #1545 )
...
Show the reason in manual xline removal SNOTICEs, just like
expiry SNOTICEs do.
This modifies XLineManager::DelLine() to require another string
reference passed to it.
Requested by @Robby-.
2019-01-24 16:01:56 +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
Peter Powell
965c81baee
Rename OnClientProtocolProcessTag to OnProcessTag.
2019-01-22 12:09:28 +00:00
linuxdaemon
f400d5f394
Redo OnSetEndPoint logic to fix duplicate clones ( #1549 ).
2019-01-14 11:48:45 +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.
2019-01-07 22:41:54 +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
aafc03bdfc
Fix message tags not being broadcast across the network.
2019-01-02 20:28:46 +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
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
Peter Powell
8ec9a73a91
Fix ParamModeBase::OnUnset() not being virtual.
...
Closes #1536 .
2018-12-16 01:41:47 +00:00
Peter Powell
ee7db9bbfb
Store durations as unsigned long not long in XLine and m_filter.
2018-12-13 14:20:43 +00:00
Peter Powell
0f7cfd46ef
Fix conversion issues by replacing ConvToInt with ConvToNum<T>.
...
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
2018-12-12 21:43:24 +00:00
Peter Powell
654355c2d1
Reject setting modes which are null or not registered.
2018-12-12 14:43:55 +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
db5610a564
Use consistent numerics when a mode already exists or doesn't exist.
2018-12-09 06:57:10 +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
a4c1b1f4fc
Add an option for changing the allowed server clock drift.
2018-12-04 19:04:09 +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
cc5aff3e5a
Move IsValidDuration into the core.
2018-11-24 23:27:16 +00:00
Peter Powell
6adca3e099
Fix the OnSendWhoLine event being completely broken with WHOX.
2018-11-15 19:24:47 +00:00
Peter Powell
79892a727e
Implement support for WEBIRC attributes.
2018-11-04 15:29:06 +00:00
Peter Powell
ae0ae8ea61
Allow HAProxy to specify that a client is connecting with SSL.
2018-10-25 13:50:43 +01:00
Peter Powell
d62c870ffb
Store the type of a StreamSocket within itself.
...
Similar to with IOHooks this allows you to convert StreamSocket to
a UserIOHandler quickly.
2018-10-25 13:50:43 +01:00
Peter Powell
0e6b18ff91
Fix warnings from Doxygen.
2018-10-21 19:18:08 +01:00
Peter Powell
98a80a730e
Fix unregistered user modes thinking they are enabled.
2018-10-18 10:59:52 +01:00
Peter Powell
08177bccc2
Move <security:userstats> into core_stats.
2018-10-01 17:26:22 +01:00
Peter Powell
d7dd8d193c
Move <security:hidesplits> to the spanningtree module.
2018-10-01 17:26:22 +01:00
Peter Powell
ff5fdd21c1
Move <security:genericoper> into core_whois.
2018-10-01 17:26:22 +01:00
Peter Powell
9ddb9cc658
Move <security:hideulinekills> into core_oper.
2018-10-01 17:26:22 +01:00