Peter Powell
15bb93a4ea
Remove the OnNamesListItem event out of the core.
2019-04-19 11:51:42 +01:00
Peter Powell
2cd6efcc64
Rename HasPermission to HasCommandPermission.
2019-04-19 10:05:06 +01:00
Peter Powell
21f0718c4a
Remove the 'noisy' mode for HasPrivPermission.
...
This was only used in one place.
2019-04-19 00:39:57 +01:00
Peter Powell
14e1d1f844
Replace the geoip module with geo_maxmind, geoban, and geoclass.
...
MaxMind have EOL'd the library that the geoip module uses and have
replaced it with libmaxminddb.
The geoip module has been split into geo_maxmind which provides
geolocation data, geoban which provides location-based channel
bans, and geoclass which is used to filter a user into a connect
class based on location.
2019-04-15 19:08:22 +01:00
Peter Powell
7c8e2990a1
Bump the API revision for the previous commit.
2019-04-15 12:24:13 +01:00
Peter Powell
c2c4de7267
Fix linking servers with UNIX sockets.
...
- Remove the address/port overloads of BeginConnect.
- Change DoConnect to take a sockaddrs instead of an address/port.
2019-04-15 12:21:12 +01:00
Peter Powell
b00451a85c
Fix various typos.
2019-04-04 14:36:45 +01:00
Peter Powell
656ce184b9
Bump the API revision for the previous commit.
2019-04-04 12:27:56 +01:00
Peter Powell
be0c809590
Document OnUserInit properly and add OnUserPostInit.
2019-04-04 12:27:56 +01:00
Sadie Powell
1fff2f7f87
Merge branch 'insp3' into master.
2019-03-30 22:06:19 +00:00
Peter Powell
bdded70ac2
Rename OnClientProtocolPopulateTags to OnPopulateTags.
2019-03-30 11:53:51 +00:00
linuxdaemon
1003c593bf
Rename GetFlagIndex -> GetFieldIndex
2019-03-12 17:14:53 +00:00
linuxdaemon
dfb1e0da78
Add Who::Request::GetFlagIndex to get field index
...
Replaces the dirty logic in m_hideoper and m_namesx
2019-03-12 17:14:53 +00:00
Matt Schatz
9b25df3109
Improve the handling of config X-lines and filters. ( #1583 )
2019-02-22 13:44:57 +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
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
Sadie Powell
fa6109b373
Replace translation macros with a C++11 initialiser list.
2019-02-15 23:15:56 +00:00
Sadie Powell
e75f03d32f
Merge branch 'insp3' into master.
2019-02-15 16:24:02 +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
ebb3258ff4
WriteNeighborsWithCap: add the ability to send to the origin user.
2019-02-14 14:40:12 +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
Sadie Powell
b5524ce636
Remove the now unused fakederef class.
2019-02-07 12:18:32 +00:00
Sadie Powell
2cc168cfc0
UserManager: remove fakederef.
2019-02-07 12:18:12 +00:00
Sadie Powell
8e908f0a68
SnomaskManager: remove fakederef.
2019-02-07 12:17:09 +00:00
Sadie Powell
641b2d07ab
ModuleManager: remove fakederef.
2019-02-07 12:16:33 +00:00
Sadie Powell
7ba7290bf0
ModeParser: remove fakederef.
2019-02-07 12:14:37 +00:00
Sadie Powell
e862582e7e
LogManager: remove fakederef.
2019-02-07 12:14:07 +00:00
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