16001 Commits

Author SHA1 Message Date
Sadie Powell
8685129c52 Fix missing a Doxygen parameter comment. 2023-02-28 14:38:44 +00:00
Sadie Powell
1c6d20e73c Refactor the password checking API.
- Rename from (On)PassCompare to (On)CheckPassword.

- Fix the order of the arguments to be password, hash, value. This
  makes more sense than what it was previously.

- Fix the code documentation to not be complete nonsense and not
  reference ancient outdated APIs.
2023-02-28 14:38:44 +00:00
Sadie Powell
80720f4ef1 Fix some unnecessary boolean explicit checks. 2023-02-28 13:54:33 +00:00
Sadie Powell
8efe8fac9a Fix a typo in the example module config. 2023-02-28 13:54:33 +00:00
Sadie Powell
45d68e95c9 Sort opers alphabetically in /STATS P. 2023-02-27 22:11:52 +00:00
Sadie Powell
f72b30c9fa Allow differentiating non-oper helpers from opers. 2023-02-27 21:53:58 +00:00
Sadie Powell
2597dcd153 Refer to users with +h (helpop) as helpers not (help)opers. 2023-02-27 21:47:32 +00:00
Sadie Powell
0000a90d57 Allow user mode +h (helpop) to override +H (hideoper) in /STATS P.
Now we include +h users in the output inclusion doesn't inherently
mean the user is an oper.

Closes #1212.
2023-02-27 21:40:20 +00:00
Sadie Powell
d141f9c025 Make module classes specify their priority manually. 2023-02-27 20:29:56 +00:00
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