Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34: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
Sadie Powell
fd1ca96e2c
Merge branch '2.0' into 2.1.
2022-01-03 15:50:22 +00:00
Sadie Powell
a1a1b3ad01
Add a build time check that OpenLDAP is reentrant.
2021-12-28 19:20:23 +00:00
Robert Scheck
7a28d81b44
Reflect OpenLDAP 2.5 upstream change from libldap_r to libldap
...
Starting with OpenLDAP 2.5 upstream decided to merge the non-threaded
libldap_r library into the threaded libldap library. And starting with
OpenLDAP 2.6 common Linux distributions such as Fedora do not ship the
compatibility symbolic link anymore (which leads to a build failure),
thus the linking tests for libldap_r and uses alternatively libldap.
See also:
- https://lists.openldap.org/hyperkitty/list/openldap-announce@openldap.org/thread/BH3VDPG6IYYF5L5U6LZGHHKMJY5HFA3L/
- https://bugzilla.redhat.com/show_bug.cgi?id=2032707
2021-12-28 19:20:03 +00:00
Sadie Powell
e7e8447fa3
Deduplicate code for checking if a user is securely connected.
2021-08-01 19:23:48 +01:00
Josh Soref
fd88b756fc
Fix various spelling issues ( #274 ).
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >.
2021-06-17 15:02:30 +01:00
Sadie Powell
a040f17787
Use InnoDB instead of the deprecated MyISAM engine.
...
Ref: https://www.percona.com/blog/2016/10/11/mysql-8-0-end-myisam/
2021-04-27 23:21:07 +01:00
Sadie Powell
6274bd0b34
Use utf8mb4 instead of utf8 in chanstats and irc2sql.
...
The utf8 charset, confusingly, is an alias for utf8mb3 which is not
a real UTF-8 encoding as it can only store three byte characters.
The real UTF-8 charset is utf8mb4.
2021-04-27 23:18:04 +01:00
Robby
c5a4e8337c
Update copyright to 2021.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00
Sadie Powell
a3c7f716bd
Fix the query used by IRC2SQL for updating server information.
2020-10-21 16:26:08 +01:00
Robby
d319fc6eb5
m_chanstats: Make ChanServ's HELP SET CHANSTATS translatable too. ( #253 )
...
Also refresh the language files while at it.
2020-01-07 02:45:30 +01:00
Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Peter Powell
6617d29b52
Fix a bunch of broken indentation.
2019-12-14 18:38:13 +00:00
Peter Powell
14ee76a0ad
Fix various typos.
2019-09-23 14:48:49 +01:00