Adam
fbf3b34474
add gettext to conan deps
2023-06-02 23:01:27 -04: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
Adam
66f37139cb
regchannels: remove dependency on no-delete-null-pointer-checks
2023-05-28 21:26:03 -04:00
Adam
0646547c9e
config: remove dependency on no-delete-null-pointer-checks
2023-05-28 21:25:59 -04:00
Sadie Powell
29db25dac7
Fix missing override keywords.
2023-03-13 13:52:56 +00:00
Sadie Powell
ebe3fd7e57
Merge branch '2.0' into 2.1.
2023-02-19 11:21:58 +00:00
Bram Matthys
fef0cc1c29
unreal4: set vhost/vident during SASL
2023-02-09 16:05:50 +00: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
b64dc09bd2
Fix marking services pseudoclients as an oper on InspIRCd.
...
The bot user needs to be marked as introduced in order to send an
oper type.
2022-12-31 21:55:05 +00:00
Sadie Powell
f6e5e6a2b4
Add sockaddrs::str to stringify a sockaddrs properly.
...
Also clean up the socket code slightly.
2022-12-17 12:39:48 +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
9d92de1157
Import InspIRCd's vendoring tool and use it to vendor crypt_blowfish.
2022-10-22 20:08:30 +01:00
miwob
211bd80061
Update ircd-hybrid protocol module
...
* Add METADATA command handler which currently only allows to modify a client's certificate fingerprint
* Minor reformatting and style inconsistency fixes
2022-09-29 13:05:05 +01:00
Austin Ellis
32679a107a
Add the ability to confirm accounts via webcpanel after logging in.
2022-09-22 17:38:07 +01:00
Sadie Powell
1664689eb7
Merge branch '2.0' into 2.1.
2022-09-15 18:46:51 +01:00
miwob
bc101d10de
Update hybrid protocol module to improve compatibility with the latest ircd-hybrid release.
...
* Remove support for deprecated channel mode `u`
* Add support for channel mode `N`
* Fixed the `UID` message handler requiring the correct amount of arguments
* Fixed the `SID` message handler requiring the correct amount of arguments
* Fixed the `SJOIN` message handler requiring the correct amount of arguments
* Minor documentation updates and style corrections
* Remove pointless return statement in the `JOIN` message handler
* Add support for the owner and admin channel prefix modes
* Add support for `MLOCK`
* Fixed SendChannel() so modes are prefixed with a `+`
* Change SendJoin() to actually use the mode stacker
* Add support for channel mode `Q`
* Add support for channel mode `Z`
* Add support for user mode `B` and `Z`
* Actually user mode `g` is not oper only. For some reason this mode got set to oper only in anope/anope@1e625b6
* Work properly with extended bans, e.g. don't normalize masks starting with a `$`
2022-09-15 14:13:24 +01:00
Sadie Powell
0c61915e31
Bahamut now has support for halfops.
2022-09-12 17:56:45 +01:00
Michael Stapelberg
a5425e3bf3
database: write to temporary file and rename.
...
This decreases the likelihood of ending up with a zero-byte (or missing)
anope.db.
Co-authored-by: Michael Stapelberg <michael@robustirc.net >
2022-07-27 17:40:49 +01:00
Sadie Powell
ac98ed615b
Merge branch '2.0' into 2.1.
2022-04-22 10:34:04 +01:00
Sadie Powell
c2ba553483
Remove unnecessary ProcessModes call in unreal4.
...
This was made obsolete by the previous commit.
2022-04-11 15:34:37 +01:00
Sadie Powell
09c587bed0
Remove TR1 compatibility layer.
...
This isn't necessary now we use C++17.
2022-03-01 05:09:29 +00:00
PeGaSuS
8dd1fb8ac2
Fix unsetting vhosts on unreal4 ( #289 ).
2022-02-13 14:30:09 +00:00
Sadie Powell
091c0eea28
Rip out check_functions().
...
This isn't actually used anywhere and just slows down the build.
2022-01-13 01:42:46 +00:00
Sadie Powell
eaaabd8de0
Rip out calculate_depends().
...
This code is incredibly error prone and it just duplicates behaviour
that CMake already implements with depend.make files.
2022-01-13 01:42:38 +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
33b42ce86e
Use the default CMake modules for finding gettext instead of our own.
2022-01-12 23:05:25 +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
Filippo Cortigiani
56687c27cb
Fix ns_resetpass not returning a response for XMLRPC ( #243 )
...
Co-authored-by: filippo nicola cortigiani <simos@H7-25.fritz.box >
2022-01-10 16:12:33 +00:00
k4bek4be
9b0c7929d9
Multiple updates for unreal4 protocol ( #285 )
...
* Parse PROTOCTL PREFIX and PROTOCTL USERMODES
* Add several previously unhandled modes
* Fix incorrect SJOIN prefix handling
* Enable message tags sending from ircd
* Add timedban matcher
* Add operclass matcher
* Store all client and channel moddata.
* Call unreal's internal unban on /cs unban
* Check for ~a:0 ban
* Add country ban matcher
* Use +B umode for services bots
2022-01-10 15:50:17 +00:00
Michael Wobst
c38106211c
Adjust IsIdentValid test to comply with upcoming ircd-hybrid release ( #272 ).
...
hybrid.cpp: adjust IsIdentValid test to comply with upcoming ircd-hybrid where
user names may only consist of [A-Za-z0-9._-] and may not begin with '.', '-',
or '_'.
As a side effect this fixes an issue where currently it is possible to introduce
bots whose user name starts with (non-alnum) characters considered invalid for
ircd-hybrid leading to a services shutdown due to a nick introduction/kill loop.
2022-01-09 15:25:09 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
8eb6a4da71
Update more IRCServices references to reflect the current project.
...
- If referring to the specific piece of software use "Anope".
- If referring to services in general use "services".
2022-01-04 14:11:07 +00:00
Sadie Powell
ec7dfb3675
Use C++11 header names instead of their deprecated equivalents.
2022-01-04 12:36:35 +00:00
Sadie Powell
106750db77
Replace all uses of push_back with emplace_back.
2022-01-04 12:28:55 +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
c9f93eeaed
Merge branch '2.0' into 2.1.
2022-01-04 00:39:34 +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
a31a7f5a6c
Use C++11 default initializers and destructors where possible.
2022-01-04 00:17:19 +00:00
Sadie Powell
7531e90499
Use C++11 style class/struct initialisation.
2022-01-04 00:17:13 +00:00
Sadie Powell
ba2c82e2f5
Fix some minor issues discovered whilst working on 2.1.
2022-01-03 19:37:33 +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