103 Commits

Author SHA1 Message Date
InspIRCd Robot
ae3e2db109 Update copyright headers. 2024-06-07 10:37:56 +01:00
Sadie Powell
386f0dafd5 Replace FileReader with something more sensible. 2023-07-03 18:43:58 +01:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
175bf0fa91 Merge branch 'insp3' into master. 2022-11-30 21:33:29 +00:00
Sadie Powell
1c68f3d2e2 Mark the entire client protocol namespace as CoreExport. 2022-11-30 21:11:40 +00:00
Sadie Powell
ee44af8d04 Refactor the internals of the oper system.
- Allow overriding privileges from the <class> blocks in the <type>
  and <oper> blocks.
- Separate oper types from oper accounts in the code. This enables
  moving some core stuff out of the config tag later.
- Merge the config tags together to make a synthetic tag that can
  have getXXX called on it instead of using getConfig and then
  converting it.
- Move the details of Have*Permission into the oper type class.
- Improve oper events to allow modules to easily hook into the oper
  system.
2022-11-28 02:57:50 +00:00
Sadie Powell
41926908ec Fix some types which were missed when making stuff final. 2022-10-30 12:58:38 +00:00
Sadie Powell
ac377bdee5 Slim down the forward declarations in typedefs. 2022-10-29 18:05:15 +01:00
Sadie Powell
561fe0fe64 Clean up the typedefs for OnBuildNeighborList. 2022-10-29 17:38:58 +01:00
Sadie Powell
8af4e2f9a2 Move xline-related typedefs from typedefs to the xline header. 2022-10-29 17:06:29 +01:00
Sadie Powell
1cdf4a5ca1 Rename user_hash to UserMap and move to usermanager. 2022-10-07 20:03:05 +01:00
Sadie Powell
e4efd41a99 Use a global typedef for representing a character set. 2022-09-30 20:21:59 +01:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
fe9107c992 Modernize the syntax of various templates. 2022-06-23 21:22:04 +01:00
Sadie Powell
d7912e6a3e Merge branch 'insp3' into master. 2022-04-29 11:24:05 +01:00
InspIRCd Robot
346ec99c43 Update copyright headers. 2022-04-28 18:49:16 +01:00
Sadie Powell
4f58176bc2 Merge branch 'insp3' into master. 2022-04-26 17:09:31 +01:00
Sadie Powell
c886bc0395 Remove a forward declaration for a non-existent type. 2022-04-21 22:51:14 +01:00
Sadie Powell
b96af051c2 Merge branch 'insp3' into master. 2022-01-03 15:14:36 +00:00
InspIRCd Robot
adbe149c56 Update copyright headers. 2021-12-30 18:52:08 +00:00
Sadie Powell
2ec53e10ee Merge branch 'insp3' into master. 2021-11-24 07:17:50 +00:00
Sadie Powell
2cdd311735 Document ConnectClass and reorder it to avoid unnecessary padding. 2021-11-16 18:59:18 +00:00
Sadie Powell
0c750c0608 Move channel logic from InspIRCd to the new ChannelManager class. 2021-05-08 15:31:50 +01:00
Sadie Powell
3075cc7bd0 Move config typedefs to ServerConfig and use auto in more places. 2020-11-03 22:30:58 +00:00
Sadie Powell
be3b34fcea Rename ConfigItems to ConfigTag::Items. 2020-11-03 19:54:13 +00:00
Sadie Powell
1b181b42b8 Convert ConfigTag from reference<> to std::shared_ptr<>. 2020-10-31 23:21:15 +00:00
Sadie Powell
441bd151da Add stdalgo::iterator_range and switch config tag reading to use it.
This allows us to use range-based for loops which were not possible
with the previous config tag system.
2020-10-31 22:33:35 +00:00
Sadie Powell
58e9055162 Merge branch 'insp3' into master. 2020-06-08 18:14:19 +01:00
Sadie Powell
1cb1430c70 ModResult is a class now. 2020-05-22 17:20:34 +01:00
Sadie Powell
b755d2a778 Merge branch 'insp3' into master. 2020-05-05 22:03:14 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
a9e8e1f03a Add an event provider class for the event/messagetag event. 2020-01-03 21:01:52 +00:00
Sadie Powell
fb17bba197 Replace the TR1NS macro with the std namespace. 2019-01-25 02:49:03 +00:00
Peter Powell
58a0a7e014 Implement IRCv3 message tag support.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 21:51:11 +01:00
Peter Powell
2beb73aba7 Get rid of the unused string_list typedef. 2018-07-24 10:02:07 +01:00
Peter Powell
5a378e8954 Change FailedPortList to store a sockaddrs/int instead of string. 2017-09-12 15:05:24 +01:00
Peter Powell
4b37c61225 Make the config system case insensitive. 2017-02-04 18:23:22 +00:00
Peter Powell
3fd1ba753d Store config values in a map instead of a unique vector of pairs. 2016-12-08 02:01:40 +00:00
Attila Molnar
adc366ab1d Replace irc::string in XLineLookup with irc::insensitive_swo map 2016-08-22 16:37:32 +02:00
Attila Molnar
019914b67d Predeclare IOHookProvider, remove iohook.h include from socket.h 2016-08-08 14:24:40 +02:00
Attila Molnar
304b6dbbf5 Introduce Stats::Context, pass it to the OnStats hook and switch all code to it 2016-02-25 17:02:03 +01:00
Attila Molnar
bc8664c5c4 Move and rename typedef LocalUserList to UserManager::LocalList 2014-07-19 14:23:31 +02:00
Attila Molnar
7e0e54eba3 Move typedef OperIndex to ServerConfig::OperIndex 2014-07-16 12:32:47 +02:00
Attila Molnar
046da7da9b Move typedef ClassVector to ServerConfig::ClassVector 2014-07-16 12:30:05 +02:00
Attila Molnar
46c97a8db7 Rename UserChanList to User::ChanList, remove UCListIter 2014-07-14 16:24:59 +02:00
Attila Molnar
63601e946e Remove typedef UserMembIter, use Channel::MemberMap::iterator instead
Remove the now unused UserMembList typedef too
2014-07-14 16:19:34 +02:00
Attila Molnar
fb8cb21144 Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead 2014-07-14 16:15:38 +02:00