Sadie Powell
bfed2e1bf5
Use paths relative to data/conf in the config file.
...
This was done in some places already but not consistently.
Closes #349 .
2024-03-19 15:51:55 +00:00
Sadie Powell
fde3438ef2
Allow using absolute paths in more places.
2024-03-19 15:11:40 +00:00
Sadie Powell
a1972ba9b6
Prevent using enc_posix as a primary encryption module.
2024-03-19 11:54:39 +00:00
Sadie Powell
5a72d8783e
Add verify-only support for POSIX crypt() hashes from Atheme.
2024-03-18 22:17:14 +00:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
fb9c8950ed
Refactor the enc_bcrypt module and expose an encryption provider.
2024-03-10 20:46:03 +00:00
Sadie Powell
f919bb0748
Add self-tests to the encryption providers.
2024-03-10 20:20:24 +00:00
Sadie Powell
9a8cac060d
Add support for encrypting passwords with the Argon2 algorithm.
...
Closes #369 .
2024-03-10 15:09:38 +00:00
Sadie Powell
bb8df01e25
Move some modules which can be built by default out of extra.
2024-03-07 23:18:08 +00:00
Sadie Powell
3272c1bbc6
Require new accounts to have email addresses.
2024-03-07 22:25:32 +00:00
Sadie Powell
08a35231ef
Merge branch '2.0' into 2.1.
2024-03-04 12:10:22 +00:00
Sadie Powell
9649dc78a1
When using ldap/sql auth prevent displays expiring before their group.
...
This prevents zombie accounts from being left around that can't be
authenticated to.
Closes #355 .
2024-03-04 12:08:28 +00:00
Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
4cc68397dc
Update the copyright headers for 2024.
2024-02-17 19:58:17 +00:00
Sadie Powell
2c5b84bd1d
Replace Condition and Mutex with the C++11 standard equivalents.
2024-02-11 19:53:05 +00:00
Sadie Powell
dfd41b9b94
Fix Clang and GCC disagreeing about whether a move is needed.
2024-01-24 16:12:29 +00:00
Sadie Powell
7ac1fe5847
Rename several modules to remove the m_ prefix.
2024-01-24 12:22:51 +00:00
Sadie Powell
72acef4e15
Mark types that have no inheritors as final.
2024-01-23 16:53:06 +00:00
Sadie Powell
a6a0f6c447
Improve the layout of types that inherit from another type.
2024-01-23 15:28:23 +00:00
Sadie Powell
349ae043b6
Always build the stats modules.
...
These have no external dependencies so it makes no sense to not
always build them.
2024-01-09 21:25:44 +00:00
Sadie Powell
710e7dd3a2
Bump the minimum OpenSSL version to 1.1.
2024-01-09 21:25:44 +00:00
Sadie Powell
1e9c6d7931
Always disable SSLv3 support, allow disabling TLSv1.[012].
2024-01-09 21:25:44 +00:00
Sadie Powell
5772b924cc
Drop support for ancient versions of GnuTLS.
2024-01-09 21:25:44 +00:00
Sadie Powell
fce5f4cc0f
Update the default SSL filenames to use the Certbot names.
2024-01-09 21:25:44 +00:00
Sadie Powell
0439e3b21b
Add a string overload of User::SetModes.
2024-01-08 14:14:57 +00:00
Sadie Powell
f083795c79
Fix various format string issues.
2024-01-08 13:11:50 +00:00
Sadie Powell
688ecf1c1d
Fix an oversight in the mysql module.
2024-01-06 23:19:18 +00:00
Sadie Powell
c0453cfec1
Fix a sign conversion issue in the mysql module.
2024-01-06 13:39:03 +00:00
Sadie Powell
a9ab0c72a6
Use auto in places where the type is unambiguous.
2024-01-06 13:23:37 +00:00
Sadie Powell
a40f8e0b9d
Update the copyright headers for 2024.
2024-01-04 22:25:48 +00:00
Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
eb0e5c89b2
Remove the m_regex_pcre module.
...
Users should migrate to m_regex_pcre2 instead.
2023-12-17 13:46:34 +00:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
9d0a6ddc67
Merge branch '2.0' into 2.1.
2023-06-03 21:51:07 +01:00
Adam
ce42810265
m_ldap: use Wldap on windows
2023-06-02 21:31:12 -04:00
Adam
07babdbd77
use Conan for extra's dependencies on Windows
...
conan install src\win32\conanfile.txt --build=missing
cmake -B build .
cmake --build build --config Release --target PACKAGE
2023-06-02 19:08:55 -04:00
Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
dfdcd3021a
Add support for linking over UNIX sockets.
2022-12-17 11:50:38 +00:00
Sadie Powell
5fa3d8f929
Use emplace() instead of insert(std::make_pair()).
2022-12-09 16:50:29 +00:00
Sadie Powell
1a2da82106
Merge branch '2.0' into 2.1.
2022-12-07 15:59:46 +00:00
Sadie Powell
4a2861ba3d
Add a module that provides regex/pcre using PCRE2.
2022-12-07 15:43:39 +00:00
Sadie Powell
23ac008cc1
Remove NO_CLIENT_LONG_LONG from the mysql module.
...
This is not necessary now we use C++17.
2022-01-13 01:12:05 +00:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
0e6f8488d3
Avoid duplicate checks in irc2sql.
2022-01-10 16:20:56 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
7d1047490e
Consistently use #pragma once across all header files.
...
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
2022-01-04 12:10:32 +00:00
Sadie Powell
eb81f22a5b
Modernize CXXFLAGS on Unix and enable -Werror on CI.
...
Also clear up warnings that this exposed.
2022-01-04 00:39:05 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00