15992 Commits

Author SHA1 Message Date
Sadie Powell
62e588896e Use the stats row count instead of counting opers manually. 2023-02-27 20:29:56 +00:00
Sadie Powell
f4f39c57f0 Allow non-opers with +h to show in /STATS P. 2023-02-27 20:29:56 +00:00
Sadie Powell
90bae4f801 Load both help and helpmode if a user has helpop in their config. 2023-02-27 11:14:03 +00:00
Sadie Powell
c2e954903a Rename the helpop module to help. 2023-02-27 11:13:12 +00:00
Sadie Powell
7110a0e00b Split the help mode out from the helpop module. 2023-02-27 11:05:21 +00:00
Sadie Powell
6dd85b69fc Fix missing override keyword. 2023-02-26 19:00:37 +00:00
Sadie Powell
675f8dfdef Allow opting-out of cloaking by connect class. 2023-02-23 21:46:35 +00:00
Sadie Powell
ff686c5a78 Merge branch 'insp3' into master. 2023-02-22 19:09:36 +00:00
Sadie Powell
9a6ec7ab36 Pin to Conan v1 until all of our dependencies are ready. 2023-02-22 18:46:21 +00:00
Sadie Powell
5e06fef845 Clean up the cloak_md5 module slightly. 2023-02-22 18:06:42 +00:00
Sadie Powell
96b8cb9542 Switch to the Debian fork of the now-obsolete http_parser library.
We should look to switching to its replacement (llhttp) in v4.
2023-02-21 17:19:35 +00:00
Sadie Powell
24cb560e9a Allow applying patches to vendored libraries. 2023-02-21 17:17:50 +00:00
Sadie Powell
f94635cd71 Backport the changes to the vendoring tool from master. 2023-02-21 17:07:33 +00:00
Sadie Powell
73da86e201 Improve the log messages when cloaking users. 2023-02-20 21:14:07 +00:00
Sadie Powell
0eebbc2543 Avoid setting -x+x when a reset cloak has not changed. 2023-02-20 19:49:05 +00:00
Sadie Powell
1a830b5679 Merge the servprotect module into the services module. 2023-02-19 19:29:20 +00:00
Sadie Powell
0b3e14dadb Rename the mode fields in the services module. 2023-02-19 18:59:15 +00:00
Sadie Powell
ed02d73e95 Remove the ability of +k to hide the channels a service is in.
This duplicates the behaviour of +I which services already use.
2023-02-19 18:59:15 +00:00
Sadie Powell
b35ec3290c Bind IP listeners with SCTP and TCP by default. 2023-02-17 21:35:47 +00:00
Sadie Powell
3b02e291cd Refactor the chanhistory mode handler and allow limiting the duration. 2023-02-14 17:40:22 +00:00
Sadie Powell
23ab5cfa51 Allow modules to get/reset the cloak lists. 2023-02-14 14:24:22 +00:00
Sadie Powell
06d801b527 Merge branch 'insp3' into master. 2023-02-14 09:21:59 +00:00
Sadie Powell
61189c9eb6 Alpine CI: disable warnings about variadic macros on C++03 for now. 2023-02-13 17:17:56 +00:00
Sadie Powell
297212ca4d Switch to the IRCv3 standard-replies cap.
Nothing is using this so far so I'm not counting it as a breaking
change.
2023-02-13 14:27:51 +00:00
Sadie Powell
416661d17d Add an option so local non-SSL users can be seen as securely connected. 2023-02-11 09:30:22 +00:00
Sadie Powell
b75fbe320d Add more action types to the repeat module. 2023-02-05 10:46:11 +00:00
Sadie Powell
5fa5d820cf Remove unnecessary mysql include file. 2023-02-05 09:35:23 +00:00
Sadie Powell
a853a9245c Warn users who have been found to be message flooding better. 2023-02-04 07:36:08 +00:00
Sadie Powell
2aa5cfa90e Refactor the messageflood module and add more action types.
This doesn't touch help yet because I want to rewrite it soon.

Closes #311.
Closes #471.
Closes #1032.
2023-02-03 20:29:10 +00:00
Sadie Powell
fdce6c739f Refactor reading the repeat module config. 2023-02-03 14:05:23 +00:00
Sadie Powell
e64ace4c82 Expose the removed away message in OnUserBack. 2023-02-03 09:26:31 +00:00
Sadie Powell
58206bc71d Allow bouncers to introduce a user as away. 2023-02-03 09:11:01 +00:00
Sadie Powell
96a64edf21 Merge branch 'insp3' into master. 2023-02-03 09:10:22 +00:00
Sadie Powell
68c2629ec1 Fix missing some data when synchronising a new user over a link. 2023-02-03 09:03:19 +00:00
dependabot[bot]
b4ed1872b4 Bump turtlebrowser/get-conan from 1.1 to 1.2
Bumps [turtlebrowser/get-conan](https://github.com/turtlebrowser/get-conan) from 1.1 to 1.2.
- [Release notes](https://github.com/turtlebrowser/get-conan/releases)
- [Commits](https://github.com/turtlebrowser/get-conan/compare/v1.1...v1.2)

---
updated-dependencies:
- dependency-name: turtlebrowser/get-conan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 13:24:14 +00:00
Sadie Powell
327a8820b1 Release v4.0.0 alpha 19. v4.0.0a19 2023-02-01 05:10:11 +00:00
Sadie Powell
5e6954152a Update module descriptions. 2023-02-01 04:13:30 +00:00
Sadie Powell
03b25f923c Rename some source files to match their recently renamed headers. 2023-01-27 07:06:28 +00:00
Sadie Powell
44824755ab Fix clamping the size of the IOVector array.
Casting then clamping might result in a weird size here so instead
clamp before casting.
2023-01-27 04:40:30 +00:00
Sadie Powell
d4ff568093 Make reading the core config less of a mess. 2023-01-27 04:15:36 +00:00
Sadie Powell
57cc457ec6 Rename some headers to match the common naming system. 2023-01-26 06:16:57 +00:00
Sadie Powell
c3f0e48166 Don't log object culls unless built with RTTI.
This is spammy and not very useful without type information.
2023-01-25 05:35:44 +00:00
Sadie Powell
4472683dc7 Move CheckExemption::Call to CheckExemption::EventProvider.
Now FirstResult not a macro there's no need for this to be a free
function.
2023-01-25 03:43:40 +00:00
Sadie Powell
d252e8d4a3 Fix using std::max instead of std::min when clamping NetBufferSize. 2023-01-25 02:14:03 +00:00
Sadie Powell
ec02f2a47d Merge branch 'insp3' into master. 2023-01-25 01:04:55 +00:00
Sadie Powell
dede5e9bf1 Work around a bug in reading the config for the Argon2 module.
ProviderConfig::version is set to an argon2 version not a base 10
version so using it as a default for the config may result in the
default being ignored.

Luckily 0x10 and 0x12 are 16 and 18 respectively so we can just
allow them as valid values until v4 where we can eradicate the
SanitiseArgon2Version function and use getEnum instead.
2023-01-25 00:55:57 +00:00
Sadie Powell
af8effe4f0 Replace getInt/getUInt/getFloat with type safe templated functions. 2023-01-25 00:39:27 +00:00
Sadie Powell
babc733d2d Fix using (unsigned) long instead of (s)size_t. 2023-01-24 23:02:35 +00:00
Sadie Powell
e338e88e4f Fix some junk left over in Doxygen comments. 2023-01-24 09:00:16 +00:00
Sadie Powell
f3a023523f Include more stuff in the Doxygen documentation. 2023-01-24 08:02:56 +00:00