summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-08-26Make the build reproducible by removing time related macros.Peter Powell
The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour.
2017-08-25Fix mistakenly hardcoding the halfop prefix char in timedbans.Peter Powell
This will almost always be % but if the server admin is using the customprefix module and remaps it to something else messages will not be sent out correctly.
2017-08-16m_chghost: use an iterator instead of a NULL-checking loop.Peter Powell
2017-08-16m_sethost: check the length first for consistency with CHGHOST.Peter Powell
2017-08-16m_sethost: use length() instead of counting in the loop.Peter Powell
2017-08-13Remove <alias:matchcase> and associated code.Peter Powell
This was never documented and seems pretty useless.
2017-08-13Change the maximum nick/user size to match other implementations.Peter Powell
2017-08-11Use RPL_LUSEROP instead of the raw numeric in m_hideoper.Peter Powell
2017-08-11Fix a broken distro constraint in the m_ssl_openssl PackageInfo.Peter Powell
2017-08-06Purge code for Windows XP and MSVC pre-2015.Peter Powell
2017-08-05Merge pull request #1351 from SaberUK/master+webircPeter Powell
Allow filtering WebIRC connections into a connect class by gateway.
2017-07-30Fix the server failing to rehash when <server:name> is unset.Peter Powell
2017-07-30Fix exceptions not having a line ending when appending to errmsg.Peter Powell
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-07-24Replace the deprecated MAXBANS token with MAXLIST.Peter Powell
2017-07-24Add DEFAULT_LIST_SIZE for the default list mode size.Peter Powell
2017-07-12cmd_kill: deduplicate logicAdam
2017-07-12cmd_kill: log all kills from or to remote usersAdam
2017-07-12cmd_kill: correct notices to show as a remote kill when a remote oper kills ↵Adam
a local user
2017-07-12cmd_kill: rename u to targetAdam
2017-07-12cmd_kill: don't show kill path in KILL messages to usersAdam
2017-07-12cmd_kill: reshuffleAdam
2017-07-12Merge pull request #1270 from SaberUK/master+saslPeter Powell
Always append the SSL fingerprint even if EXTERNAL is not used.
2017-07-12Remove an unused variable in m_cloaking.Peter Powell
2017-07-12Merge pull request #1267 from SaberUK/master+configPeter Powell
Store config values in a map instead of a unique vector of pairs.
2017-07-12Merge pull request #1211 from SaberUK/master+overridePeter Powell
Add CXX11_OVERRIDE to overridden members that lack it.
2017-07-12Merge pull request #677 from Robby-/master-dnsblzlinePeter Powell
[master] m_dnsbl: Correct the address in the Z-line snomask message.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2017-07-12Merge pull request #1337 from SaberUK/master+mergePeter Powell
Merge v2.0.23 and v2.0.24 into master.
2017-07-11Improve and centralize socket engine event counters.Robin Burchell
The write counters were close to useless because they were only incremented on a write "event" which is only triggered when writing would block. Read handling was a little more useful in that all reads must happen through the socket engine, so these were happening at the correct time, but we can clean this up by doing it in the SE itself rather than each platform port. This means that both read and write events are now easily and usefully defined as "a syscall of either read or write was attempted". We also count empty read and write events as being an event, because they still were an attempt to poll a socket in some way. This may help to identify "bad" code which is repeatedly trying to read a socket for some reason. Lastly, we check for failed read/write calls, and log them as an error event. A lot of the time, this is how sockets are determined as being disconnected (ie. at read/write time). While we're at it, split Update() in two to make the calls more self-describing. This has no real impact since only one call is made at a time anyway.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-07-09Merge pull request #1302 from Adam-/master+txtAttila Molnar
core_dns: add support for txt records
2017-07-09Merge pull request #1320 from SaberUK/master+autopermAttila Molnar
Automatically apply +P to all permanent channels.
2017-06-22Allow filtering WebIRC connections into a connect class by gateway.Peter Powell
2017-06-16Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Peter Powell
Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
2017-05-19Remove some dead code from m_md5.Peter Powell
This is left over from the old hashing system that allowed you to customise these values.
2017-05-18Release v2.0.24v2.0.24Adam
2017-05-17m_override: fix parentheses compiler warningAdam
2017-05-17Merge pull request #1094 from SISheogorath/insp20+fixed-OverrideAdam
fix override issue
2017-05-17Merge pull request #1328 from Adam-/insp20+sakickAdam
m_sakick: remove unused "Unable to kick" notice
2017-05-17Merge pull request #1284 from Adam-/insp20+preregcloakAdam
m_cloaking: don't apply cloak to already cloaked users during registration
2017-05-17m_cloaking: don't apply cloak to already cloaked users during registrationAdam
This can happen if services set a vhost during registration (like with SASL)
2017-05-17Merge pull request #1321 from SaberUK/insp20+permwarnAttila Molnar
[2.0] Warn when a user configures a permanent channel without +P.
2017-05-17Merge pull request #1269 from Adam-/insp20+saslhostAttila Molnar
m_sasl: send host/ip info
2017-05-17Merge pull request #1230 from SaberUK/insp20+ipcacheAttila Molnar
[2.0] Invalidate the caches properly when User::SetClientIP is called.
2017-05-11m_sakick: remove unused "Unable to kick" noticeAdam
This has never worked due to the channel lookup using the user's nick
2017-04-27Penalise clients that use WEBIRC incorrectly.Peter Powell
2017-04-27Fix WEBIRC not rejecting invalid IP addresses.Peter Powell
2017-04-24Warn when a user configures a permanent channel without +P.Peter Powell
2017-04-23core_dns: add support for txt recordsAdam
This might be used later by m_dnsbl to get reasons for listings