linuxdaemon
20ef7d19f7
Fix not showing all modes on a channel
...
Whenever a mode has a parameter, no modes past that mode will be shown
in RPL_CHANNELMODEIS.
References to items in a vector break when the vector's size is changed.
2019-02-20 08:38:35 +00:00
Peter Powell
c495b5d9cf
Implement support for IRCv3 client-to-client tags.
2019-02-19 22:53:15 +00:00
Peter Powell
74136695f8
Fix erasing event subscribers erasing all with the same priority.
2019-02-19 20:59:04 +00:00
Peter Powell
f06502606e
Allow customising ElementComp in flat_{map,multimap,multiset,set}.
2019-02-19 20:58:53 +00:00
Robby
7d84771f49
Minor text fixes for m_filter.
2019-02-19 20:51:54 +00:00
Matt Schatz
d2ed9f842f
Improve the messages in m_filter.
...
* Deduplicate "FILTER" in some SNOTICES.
* Add the filter reason to removals to match
with X-line removals now.
* Use the new DurationString() function for a
standardized duration display when adding.
* Add X-line mask, duration, and expiry date to
the action messages.
2019-02-19 11:31:06 +00:00
Peter Powell
318d50bc86
Improve support for wildcards in <link:name>.
...
Closes #1569 .
2019-02-18 16:17:23 +00:00
Peter Powell
8bc996bcc1
Fix MatchCIDR matching UNIX socket hostnames.
2019-02-18 15:48:26 +00:00
Matt Schatz
755a32c751
Start using DurationString() in X-line additions and
...
a few other modules where it fits better than just showing seconds.
2019-02-18 09:17:38 +00:00
Matt Schatz
ff7bebe90c
X-line expiries: use the new DurationString() function.
2019-02-18 09:17:38 +00:00
Matt Schatz
e02c22ff16
Add a function for displaying human-readable durations.
...
Add InspIRCd::DurationString() to take a time_t and return a string
with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
2019-02-18 09:17:38 +00:00
Robby
21e7efdadf
Various text improvements: consistency, syntax, help and doc updates/fixes.
2019-02-18 09:15:56 +00:00
Peter Powell
35bbf9bb01
Fix an off-by-one error in User::GetModeLetters().
2019-02-17 10:23:19 +00:00
Peter Powell
b6e548d8df
ircv3_chghost: also send the CHGHOST message to the modified user.
2019-02-16 15:24:55 +00:00
Peter Powell
6daf442c77
Use the local hostname as the server name if one is not specified.
2019-02-16 14:25:29 +00:00
Peter Powell
9b031d4d98
Remove obsolete ifdef in m_ssl_gnutls.
...
GNUTLS_DIG_SHA256 was added in version 1.7.4 and we require 2.0.0+
2019-02-16 12:06:44 +00:00
Peter Powell
27e2617808
Move the close and jumpserver modules to inspircd-extras.
...
- The close module is borderline useless.
- The jumpserver numeric is supported by barely any clients and
has various security problems.
2019-02-15 12:35:51 +00:00
Peter Powell
a7fc2fe0dc
Replace GetServerPort() with server_sa.port().
2019-02-15 11:35:25 +00:00
Peter Powell
168ee80490
Rename User::nping to nextping for consistency with lastping.
2019-02-15 11:35:25 +00:00
Peter Powell
f5b2265c2e
Refactor UserManager::DoBackgroundUserStuff().
2019-02-15 11:35:24 +00:00
Peter Powell
84597efb27
Silence a warning from the helper script on OpenBSD.
2019-02-14 16:16:01 +00:00
Peter Powell
ebb3258ff4
WriteNeighborsWithCap: add the ability to send to the origin user.
2019-02-14 14:40:12 +00:00
Peter Powell
72841a6376
Re-tabularise the helpop cuser/coper command lists.
2019-02-09 13:03:00 +00:00
Peter Powell
18fc0ef29f
Unify the helpop and helpop-full config files.
2019-02-09 12:50:07 +00:00
Peter Powell
c8cc16040d
Implement support for SQUERY from RFC 2812.
...
This is treated internally as a PRIVMSG with a few exceptions:
1. The command MUST have exactly one target.
2. The target MUST be a user.
3. The target MUST be on a u-lined server (e.g. NickServ).
2019-02-09 12:50:06 +00:00
Peter Powell
1f4651e24d
Move CommandMessage::Handle into the class definition.
2019-02-09 10:08:50 +00:00
Peter Powell
2680c7907a
Move message handling code to Handle{Channel,Server,User}Target.
...
This makes the logic for this module considerably easier to read.
2019-02-09 10:08:35 +00:00
Peter Powell
6b23b222bc
Deduplicate firing module events in core_message.
2019-02-09 10:08:33 +00:00
Peter Powell
4c3f1281a1
core_message: remove unnecessary inheritance logic.
2019-02-08 12:26:44 +00:00
Peter Powell
cd57c162f6
Rename core_privmsg to core_message.
2019-02-08 12:10:28 +00:00
Peter Powell
f37590259e
Fix erroneously limiting to the size of sa instead of sun_path.
2019-02-07 17:35:44 +00:00
Peter Powell
499121036c
Add irc::sockets::untosa() for creating AF_UNIX sockaddrs.
...
Also fix an overly long albeit harmless memcpy when creating UNIX
socket listeners. Thanks to @psychon for reporting this.
2019-02-07 15:38:44 +00:00
Peter Powell
dd6f545ab6
Fix an unintentionally inverted condition in core_oper.
2019-02-07 11:57:33 +00:00
Peter Powell
785f3a2866
Document OnUserWrite.
2019-02-07 11:56:53 +00:00
Peter Powell
88d5659922
Tell people to run make install
instead of just make
.
2019-02-06 23:15:33 +00:00
linuxdaemon
577cc512e4
Don't allow invalid characters in UNIX listener paths.
2019-02-06 10:45:58 +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.
v3.0.0rc2
2019-02-06 10:02:31 +00:00
Peter Powell
01451ab26e
Quit users during cleanup instead of when /DIE is executed.
2019-02-05 17:26:19 +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
Peter Powell
6a95b42e11
Move <oper:class> and <oper:vhost> to core_oper.
2019-02-05 02:22:26 +00:00
Peter Powell
104ae68718
ModuleManager: use std::flush instead of fflush(stdout).
2019-02-05 00:06:03 +00:00
Peter Powell
05485be9f0
Module: Initialise 'ModuleDLLManager' and 'dying' correctly.
2019-02-05 00:00:56 +00:00
Peter Powell
8d87fa3837
DLLManager: add a function for retrieving a symbol.
2019-02-04 23:37:54 +00:00
Peter Powell
1ad063eff9
m_check: improve the output when showing list modes.
...
Closes #1568 .
2019-02-04 18:46:02 +00:00
Peter Powell
0a229e70a5
m_check: rename the timestamp key to createdat.
2019-02-04 15:28:01 +00:00
Peter Powell
a7b52308db
m_check: improve the output of the member key.
2019-02-04 15:26:53 +00:00
Peter Powell
4690bbdee8
m_check: split modeperms into chanmodeperms and usermodeperms.
2019-02-04 14:22:49 +00:00
Peter Powell
7141ccc5bb
m_check: remove unnecessary usage of CheckContext::List.
2019-02-04 14:18:32 +00:00
Peter Powell
452a00e69f
Improve the name of the list mode extensible.
2019-02-04 14:04:05 +00:00