647 Commits

Author SHA1 Message Date
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
561fe0fe64 Clean up the typedefs for OnBuildNeighborList. 2022-10-29 17:38:58 +01:00
Sadie Powell
6fc111ccb6 Rename session registration to connection to avoid a semantic conflict.
We previously referred to both session registration and user registration
as "registration" which is confusing for users who aren't familiar with
how IRC works.
2022-10-29 15:54:59 +01:00
Sadie Powell
859088dac5 More const correctness. 2022-10-23 14:51:33 +01:00
Sadie Powell
89537ed2ab Fix various cases of the &* being next to the name instead of type. 2022-09-29 12:36:01 +01:00
Sadie Powell
61283b949d Refactor the core event macros. 2022-08-20 18:24:56 +01:00
Sadie Powell
5c751696d6 Rename OnSetUserIP to OnChangeRemoteAddress. 2022-08-10 22:18:06 +01:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
968bf77eb4 Make dynamic a non-default header. 2022-06-26 17:06:22 +01:00
Sadie Powell
c31e4c6a97 Add a typedef for a mode rank. 2022-05-17 13:45:18 +01:00
Sadie Powell
ed95dcf44a Remove unnecessary arguments to On(Post)Oper.
These are already accessible from the user object.
2022-05-07 18:01:43 +01:00
Sadie Powell
e23ee3fde1 Rewrite logging calls to use the new APIs. 2022-05-01 22:07:14 +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
2d329701db Merge branch 'insp3' into master. 2022-03-11 14:52:56 +00:00
Sadie Powell
744f8b4604 Fix various minor Doxygen warnings. 2022-02-02 14:15:57 +00:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Sadie Powell
5486c0f383 Add ConnectClass::Ptr as an alias for std::shared_ptr<ConnectClass>. 2022-01-16 14:26:49 +00:00
Sadie Powell
b867007d20 Allow setting extension data on connect classes. 2022-01-16 02:19:16 +00:00
Sadie Powell
6282e1f287 Promote ExtensionItem::ExtensibleType to a top level enum class. 2021-12-23 21:34:53 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
b7615ccd86 Merge branch 'insp3' into master. 2021-08-28 13:20:53 +01:00
InspIRCd Robot
4540162276 Update copyright headers. 2021-08-27 09:38:22 +01:00
Sadie Powell
06a96d121f Add a detach method that takes an Implementation array. 2021-08-17 13:50:51 +01:00
Sadie Powell
e0fedaacb2 Reorder some functions in the ModuleManager class. 2021-08-17 13:50:51 +01:00
Sadie Powell
d95d7fc4f5 Merge branch 'insp3' into master. 2021-07-01 12:33:51 +01:00
Josh Soref
de6d4dbd1e
Fix various spelling issues (#1883).
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-06-21 21:47:06 +01:00
Sadie Powell
b2fde769b6 Merge branch 'insp3' into master. 2021-06-18 15:02:34 +01:00
Sadie Powell
e8d302911f Fix xline matching on WebIRC connections. 2021-06-17 11:10:28 +01:00
Sadie Powell
ee1325cf9d Fire OnUserPreJoin regardless of whether the join is an override. 2021-05-23 01:58:34 +01:00
Sadie Powell
ecabf153d0 Add a new map-based method for building link data.
The new link data is not currently used but will be in the near
future.
2021-05-10 01:46:51 +01:00
Sadie Powell
e701bd0305 Rip out the OnConnectionFail event.
This never really worked correctly and will now be replaced with
something better.
2021-04-19 00:14:53 +01:00
Sadie Powell
6d205fc3fb Rename the cgiirc module to gateway. 2021-04-11 18:34:08 +01:00
Sadie Powell
3c426be2a1 Refer to encryption as TLS instead of SSL in all messages. 2021-04-08 11:45:15 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
49702c621e Convert various mode methods to take Mode::Change.
- AccessCheck
- AfterMode
- BeforeMode
- OnModeChange
- OnRawMode
2021-03-30 18:25:55 +01:00
Sadie Powell
e76b208ce8 Merge branch 'insp3' into master. 2021-03-05 09:54:26 +00:00
Sadie Powell
2ba32afa9a Fix a bunch of really obvious unnecessary includes. 2021-03-05 09:17:13 +00:00
Sadie Powell
1e1cf527d2 Merge branch 'insp3' into master. 2021-03-05 02:32:35 +00:00
InspIRCd Robot
7b1ab06a95 Update copyright headers. 2021-03-05 02:16:11 +00:00
Sadie Powell
4e488cb54d Refactor classbase/CullResult into Cullable/Cullable::Result. 2021-03-02 05:56:56 +00:00
Sadie Powell
c88af976ff Add a function for shrinking module names. 2020-12-24 22:36:43 +00:00
Sadie Powell
a63b6e16df Merge branch 'insp3' into master. 2020-12-21 16:40:52 +00:00
Sadie Powell
ffacccbb6f Add a typedef for the data provider map. 2020-12-04 18:06:42 +00:00
Sadie Powell
89a21202de Convert ConnectClass from reference<> to std::shared_ptr<>. 2020-11-03 19:54:13 +00:00
Sadie Powell
579a17df38 Clean up a bunch of contructors and destructors. 2020-11-01 02:22:41 +00:00
Sadie Powell
5a88a78f99 Merge branch 'insp3' into master. 2020-10-27 10:50:28 +00:00
Sadie Powell
7cb27dabe6 Convert CmdResult to an 8-bit strongly typed enum. 2020-10-27 00:59:11 +00:00
Sadie Powell
e81dcaec7f Recheck users for xlines when their real hostname changes. 2020-10-06 10:31:39 +01:00
Sadie Powell
1b356e5a89 Move the property string from cmd_modules to Module & show on load. 2020-07-24 05:05:27 +01:00