Sadie Powell
da2ac3e8a2
Fix detection of the nopartmsg module in the InspIRCd proto modules.
2023-06-20 01:00:37 +01:00
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
Bram Matthys
fef0cc1c29
unreal4: set vhost/vident during SASL
2023-02-09 16:05:50 +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
4a2861ba3d
Add a module that provides regex/pcre using PCRE2.
2022-12-07 15:43:39 +00: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
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
c2ba553483
Remove unnecessary ProcessModes call in unreal4.
...
This was made obsolete by the previous commit.
2022-04-11 15:34:37 +01:00
PeGaSuS
8dd1fb8ac2
Fix unsetting vhosts on unreal4 ( #289 ).
2022-02-13 14:30:09 +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
ba2c82e2f5
Fix some minor issues discovered whilst working on 2.1.
2022-01-03 19:37:33 +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
64f65b035e
Fix some message params being sent as <middle> instead of <trailing>.
2021-11-20 19:54:56 +00:00
Sadie Powell
a736b54ef1
Use the server name as the enforcer hostname if not otherwise set.
2021-11-14 20:45:01 +00:00
Sadie Powell
1cab1d32c2
Send the oper mode for services pseudoclients on InspIRCd.
2021-08-29 18:37:12 +01:00
Adam
91321bdf68
webcpanel: fix command source ip to use extforward ip
2021-07-24 12:09:12 -04: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
8d1bc95faf
Use the InspIRCd-sent maxlist size instead of networkinfo:modelistsize.
2021-06-04 02:19:54 +01:00
Sadie Powell
e67c2d5632
Add support for per-mode list limits.
2021-06-04 02:12:09 +01:00
Sadie Powell
3728a0bda1
Fix some misleading indentation in ns_register.
2021-05-31 20:53:29 +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
Sadie Powell
095a25d473
Add the anope_override keyword to methods that lack it.
2021-04-27 21:41:19 +01:00
Sadie Powell
faee68e85f
Don't enforce casemapping when using the 1202 InspIRCd protocol.
...
This allows older servers which use a module that provides custom
casemapping (e.g. the ascii module) to link.
2021-04-16 22:17:47 +01:00
PeGaSuS
9483da3239
Added Account to show the main nick of a grouped nick(s).
...
#270
2021-02-19 01:42:13 +00:00
Adam
4d271e0210
cs_access: require accounts to be confirmed for level 0 access
2021-01-31 12:05:25 -05: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
Michael Hazell
4031dc7321
inspircd3: Enable support for channel SQLines ( #268 )
2021-01-01 19:03:23 +00:00
Sadie Powell
a3c7f716bd
Fix the query used by IRC2SQL for updating server information.
2020-10-21 16:26:08 +01:00
Sadie Powell
95f4e29edd
Unset the account id before the account name on InspIRCd.
...
This avoids the id being shown on the logout event.
2020-10-12 17:47:41 +01:00
Sadie Powell
cdf147f351
Fix not sending an account id to InspIRCd on SASL.
...
Also, send the account id first so it shows on the ACCOUNT message.
2020-10-12 17:30:05 +01:00
Sadie Powell
d0e8392445
Fix the global/global command showing the wrong origin nick.
2020-10-06 15:13:14 +01:00
miwob
1ac3b38fa8
Update/modernize ircd-hybrid protocol module to stay link compatible with next ircd-hybrid release
2020-10-02 14:53:08 +01:00
Michael
bf725aa8dc
HostServ: Remove vhost when a nick is dropped
2020-09-28 12:15:48 +01:00
Sadie Powell
52914216f0
Clarify that unreal4 also works for UnrealIRCd 5.
2020-09-14 16:49:25 +01:00
Sadie Powell
8180dd414e
Implement support for immutable account identifiers.
2020-09-10 15:15:34 +01:00
miwob
584a209b28
ircd-hybrid protocol module: add support for channel mode 'K' (no knock)
2020-08-01 13:39:35 +01:00