Commit Graph

172 Commits

Author SHA1 Message Date
Val Lorentz 79223d35f1
Enable WHO mask tests on Sable (#272)
* Sable: Hide NickServ/ChanServ when running without services

They interfere with 'WHO *' as they are returned as matches

* Enable WHO mask tests on Sable

* Bump Sable
2024-05-04 13:33:50 +02:00
Valentin Lorentz 473db1cc5b ngircd: Disable PAM
It breaks irctest when ngircd was compiled with --with-pam
2024-04-16 21:00:24 +02:00
Sadie Powell 61ae4bcf9e
Relink the modules directory as well as the lib directory. (#260) 2024-04-04 17:47:48 +02:00
Sadie Powell 0c5c91368a
Pass --nopid to Anope. (#259) 2024-03-21 21:04:13 +01:00
Val Lorentz 03b6fbbfc2
Fix support for latest Anope 2.1 (#257)
enc_sha256 cannot be loaded since 6e0f0b8896
2024-03-10 11:20:57 +01:00
Val Lorentz d75e3fae34
Fix support of Anope 2.1.2 (#251)
It is going to change module names:
7ac1fe5847
2024-01-27 10:32:35 +01:00
Sadie Powell 0ebfbdf6ab
Update the Anope config for the new password length fields. (#250) 2024-01-04 23:18:19 +01:00
Sadie Powell 0f6a485d7d
Fix Anope 2.1 not using the right protocol modules. (#249) 2024-01-04 22:13:16 +01:00
Sadie Powell dfd429014a
Update Anope. (#248) 2024-01-04 20:59:57 +01:00
Val Lorentz d9ad638791
Add regression test for Insp's labeled nick bug (#242)
* Add regression test for Insp's labeled nick bug

* Exclude test from irc2 and ircu2 as they error on CAP REQ
2024-01-04 20:46:50 +01:00
Shivaram Lingamneni 032d0e32de
update ergo unicode tests (#245)
* `casemapping: ascii` is now default
* test that non-ascii nicks are rejected by default
* test that non-ascii nicks are accepted under `casemapping: precis`
2023-12-21 09:52:33 +01:00
Val Lorentz d88349a403
Sable: Run services tests (#234)
Also add per-test timeout so I could debug why Sable's services test hang
2023-09-24 15:33:36 +02:00
Val Lorentz 81094a308b
Remove Ergo-specific configuration from draft/account-registration (#239) 2023-09-24 13:26:32 +02:00
Val Lorentz 805635c839
Add Sable (#229)
* [WIP] Add support for Sable

* tweak sable controller

* echo_message: Add missing synchronization for Sable

* update sable

* whois: Simplify test

* WHO: Remove test for oper flag from testWhoChan

So it won't fail on Sable, which hides oper status

* WHO: Skip/xfail tests for Sable as needed

* Skip NakWhole when multi-prefix is not supported

* [WIP] Run Sable on CI

* working-directory is not setable on actions

* this isn't ergo

* this really isn't ergo

* minimize rust install and cache cargo deps

* Need to specify packages to install...

* Phony target

* Give up on 'cargo install', it seems to ignore the cache

* try again to cache the target dir

* This isn't Solanum

* Comment out BaseServicesController

* Parallelize Sable tests

* target is relative...

* sigh

* Fix prefix

* Re-add the other software

* chathistory: Test TOPIC is not sent unless event-playable is enabled

* sable: Dynamically generate certificates

This allows using custom server/services names

* sable: Enable services

* sable: Add support for account registration

Sable doesn't support REGISTER via NickServ

* sable: Lower log verbosity

* Fix lint

* Re-add Sable to CI

* Fix/skip tests on Sable

* Kill sable_services' subprocesses

* Bump Sable to include the labeled-response fix

* Bump Sable to the channel-rename downgrade fix
2023-09-21 09:18:23 +02:00
Val Lorentz 1c6a7188d6
Add more tests for CAP + allow trailing spaces (#216) 2023-09-02 15:08:29 +02:00
Valentin Lorentz 7bc8a81f8a Fix compat with Unreal > 6.1.1.1
The '=' syntax is an ircd-hybrid-ism, and Unreal will drop support for
it in the next release. More specifically, somewhere between
0af88581d380602bfd58a0cdaa36b714fb7ef3c3 and c8c265790494b908ff397c705855a21e591884de
in its Git history.
2023-07-09 20:30:34 +02:00
Val Lorentz a03e9bb8ea
Add support for The Lounge (#132) 2023-05-29 09:50:31 +02:00
Shivaram Lingamneni 3b7f81e22c
strip whitespace from Ergo hashed password output (#198)
Removes the need for some special-casing in `ergo genpasswd`
2023-04-19 02:52:21 -04:00
Val Lorentz 11dc5b046e
unrealircd: Move SSL and port generation out of the critical section (#196) 2023-04-16 09:19:05 +02:00
Val Lorentz ddb37d6c3f
Use real metadata keys (#194) 2023-04-15 23:04:24 +02:00
Val Lorentz aed6478a2c
Bump UnrealIRCd to v6.0.7 (#192) 2023-04-05 08:24:34 +02:00
Val Lorentz 418b526033
Prevent random port collisions between controllers (#191)
This happens from time to time on the CI and is pretty annoying
2023-04-04 22:01:20 +02:00
Val Lorentz 1ea3e1c15c
Fix insp4 support after 'helpop' config file was renamed (#187)
c2e954903a
2023-03-01 20:07:58 +01:00
Valentin Lorentz 8530c85adc sopel: remove use of deprecated argument
it's removed in aceedf5837
2023-02-15 19:11:51 +01:00
Val Lorentz fd0b050686
Add support for Dlk-Services (#176) 2022-11-14 22:58:30 +01:00
Valentin Lorentz 690aaf24a1 Bump flake8 version
Fixes support for importlib_metadata 5.0.0,
https://github.com/PyCQA/flake8/issues/1701
2022-10-22 12:34:46 +02:00
Valentin Lorentz c1442c4301 unrealircd: Use lock around startup/shutdown instead of proot
to ensure no unrealircd instance is starting up while another clears
$PREFIX/tmp/

While proot allows full parallelism and is less error-prone, it takes
a long time to start; and segfaults on my Armbian system.
2022-09-10 14:56:20 +02:00
Valentin Lorentz 507f5b7426 Use pathlib to work with temporary config dirs 2022-09-10 14:17:19 +02:00
Valentin Lorentz e205cc1531 bahamut: pre-initialize entropy to avoid freezing on GH Actions 2022-06-19 16:48:26 +02:00
Valentin Lorentz 683f7c0a15 Fix support of Unreal 5 2022-05-13 22:30:31 +02:00
Valentin Lorentz 0f100a5c80 Work around Unreal >=6.0.4 sending RPL_WHOISSPECIAL by default
085490d780
2022-05-13 22:12:40 +02:00
Val Lorentz a923353ec4
Add test for ban exception mode (+e) (#162) 2022-04-16 08:12:27 +02:00
Val Lorentz 5122c04826
Add tests for the two invite lists (#149)
* Add tests for the two invite lists

* Add workaround for Hybrid

* Skip testInviteList on ircu2

* Fix merge
2022-04-14 21:28:12 +02:00
Val Lorentz 778510e021 Bump Unreal to 6.0.3 and remove ELIST workarounds (#158)
Workarounds that are only still needed for Unreal 5 and and Hybrid/Plexus
2022-04-13 20:54:11 +02:00
Val Lorentz a39ce7f19b
Merge branch 'master' into elist 2022-04-13 18:57:46 +02:00
Val Lorentz 363b62cc80
Add tests for LINKS (#147) 2022-04-13 18:56:29 +02:00
Val Lorentz 2bc68a2208
Use xfail instead of deselection for known failures (#155) 2022-04-12 22:36:28 +02:00
Val Lorentz d24f0b4f12
Add support for Nefarious (#151) 2022-04-10 11:37:35 +02:00
Valentin Lorentz af001fad2e Add tests for ELIST 2022-03-27 17:08:46 +02:00
Valentin Lorentz 72a12ff5ce Add support for 'faketime', to avoid long sleeps in upcoming ELIST tests 2022-03-27 17:08:40 +02:00
Val Lorentz 491f92ca60
Use proot with unreal, to make it parallelizable (#146) 2022-03-23 21:26:41 +01:00
Valentin Lorentz 7608ea5145 Fix flaky LUSERS tests on Unreal 2022-03-20 22:07:07 +01:00
Val Lorentz 7b38c2be8a
Add tests for WHOWAS. (#138) 2022-03-19 20:20:50 +01:00
Val Lorentz 69c5dca4b9
Add client tests for SASL with non-ASCII passwords (#137) 2022-03-19 16:09:27 +01:00
Shivaram Lingamneni 7e112359a2
secret channel test (#135)
* silent.py tests for channels with mode +s appearing in LIST only when the user is connected to that channel

* Added assertions for exact content of lines with command RPL_LIST and checks for exact number of RPL_LIST replies

* fix linter errors

* only validate the first two parameters of RPL_LIST

* rename to secret channel test, add citation

* ignore ngircd pseudo-channel

* attempt to fix charybdis/solanum and ircu issues

* review fixes

Co-authored-by: William Rehwinkel <willrehwinkel@gmail.com>
2022-03-04 21:58:05 +01:00
Val Lorentz 255ef1e469
Add tests for the HELP and HELPOP commands (#117)
* Add tests for the HELP and HELPOP commands

* Make testHelpUnknownSubject accept lowercase

* Add support for Hybrid and Plexus4's normalization
2022-01-10 23:55:24 +01:00
Val Lorentz 05e78802ca
Add support for Unreal 6 (#123)
List of issues we had:
 
* echo wallops missing `!user@host` [wallops: Send a full NUH as prefix in echoed WALLOPS unrealircd/unrealircd#186](https://github.com/unrealircd/unrealircd/pull/186)
* RPL_MONONLINE is (re)sent on nick case change - https://bugs.unrealircd.org/view.php?id=6013
* MONITOR accepts masks - https://bugs.unrealircd.org/view.php?id=6014
* KICK doesn't support multiple channels anymore, despite unchanged TARGMAX - https://bugs.unrealircd.org/view.php?id=6015
2021-12-19 00:45:51 +01:00
Valentin Lorentz 18befc9e96 inspircd: Increase limit of connections on insp4
There used to be no limit by default, but 460220fbf5 set it to 3.
2021-11-25 20:32:14 +01:00
Val Lorentz 2684e7edb7
Enable services tests for hybrid and plexus on the CI (#120)
* Enable services tests for hybrid and plexus on the CI

* Workaround the broken Github CI's host config
2021-11-20 12:15:07 +01:00
Val Lorentz 5e4ae7c999
Add tests for WALLOPS (#109)
* Add tests for WALLOPS

* Add perms on plexus/hybrid, skip on ergo, laxer matching for ircu2

* Fix again for irc2 and ircu2

* Servers MAY send WALLOPS only to operators.
2021-09-19 15:33:31 +02:00