Commit Graph

678 Commits

Author SHA1 Message Date
Val Lorentz 136a7923c0
Bump linter versions (#188)
The isort we had has some weird poetry issue, I figured I might as well
bump the other linters at the same time

```
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('/home/runner/.cache/pre-commit/repo0m3eczdf/py_env-python3.7/bin/python', '-mpip', 'install', '.')
return code: 1
stdout:
    Processing /home/runner/.cache/pre-commit/repo0m3eczdf
      Installing build dependencies: started
      Installing build dependencies: finished with status 'done'
      Getting requirements to build wheel: started
      Getting requirements to build wheel: finished with status 'done'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'error'

stderr:
      error: subprocess-exited-with-error

      × Preparing metadata (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [14 lines of output]
          Traceback (most recent call last):
            File "/home/runner/.cache/pre-commit/repo0m3eczdf/py_env-python3.7/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
              main()
            File "/home/runner/.cache/pre-commit/repo0m3eczdf/py_env-python3.7/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
              json_out['return_val'] = hook(**hook_input['kwargs'])
            File "/home/runner/.cache/pre-commit/repo0m3eczdf/py_env-python3.7/lib/python3.7/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
              return hook(metadata_directory, config_settings)
            File "/tmp/pip-build-env-beaf5dxh/overlay/lib/python3.7/site-packages/poetry/core/masonry/api.py", line 40, in prepare_metadata_for_build_wheel
              poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
            File "/tmp/pip-build-env-beaf5dxh/overlay/lib/python3.7/site-packages/poetry/core/factory.py", line 57, in create_poetry
              raise RuntimeError("The Poetry configuration is invalid:\n" + message)
          RuntimeError: The Poetry configuration is invalid:
            - [extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'

          [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: metadata-generation-failed

    × Encountered error while generating package metadata.
    ╰─> See above for output.

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.
```
2023-03-04 10:51:40 +01:00
Val Lorentz 5364f963ae
Add tests for draft/extended-monitor (#180) 2023-03-04 10:11:51 +01: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
Valentin Lorentz 6815dd238b Fix race condition on Ergo 2023-02-11 22:26:23 +01:00
Mitchell Riley 00562ff82d
Run utf8 tests on servers which advertise UTF8ONLY (#185) 2023-01-28 10:12:32 +01:00
Shivaram Lingamneni b7e8a7a5f5
direct message tests (#184)
* Test privmsg to non-existent user

* Test privmsg to user

* fix synchronization issue

* apply black

Co-authored-by: ma-anwar <ma.rizvi.anwar@gmail.com>
2023-01-22 07:45:25 -05:00
Valentin Lorentz 6181dd07ad Skip failure on RPL_WHOISSPECIAL with Dlk-Services 2022-12-16 19:09:09 +01:00
Valentin Lorentz 5fe4d4cfd8 github: Force ubuntu-20.04
Bahamut does not support ubuntu-22.04
2022-12-06 20:59:27 +01:00
Val Lorentz 544ca4b7ed
Update flake8 URL
The Gitlab.com repo was removed today
2022-12-03 08:57:04 +01:00
Valentin Lorentz 35d342a478 account_registration: Add missing 'services' mark 2022-11-20 23:33:20 +01:00
Valentin Lorentz 29e4c2bbdb Hardcode DH parameters
openssl version in ubuntu 22.04 forbids moduli smaller than 512,
which would take longer to generate.
2022-11-18 18:57:51 +01:00
Val Lorentz fd0b050686
Add support for Dlk-Services (#176) 2022-11-14 22:58:30 +01:00
Valentin Lorentz d0645ab1a8 dashboard: Use qualified class names in multi-module views 2022-11-12 11:49:14 +01:00
Valentin Lorentz 65d7e0e506 whowas: Update quotes and links to Modern spec
In particular, this takes https://github.com/ircdocs/modern-irc/pull/196
into account.
2022-10-22 15:49:30 +02: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
Shivaram Lingamneni 40385c112b
add a test for AWAY :\r\n (#175) 2022-09-18 13:27:48 -04:00
Val Lorentz 9d4212504b
Add tests for TIME. (#127) 2022-09-11 17:18:10 +02:00
Valentin Lorentz cae3aec338 workflows: Remove special-casing of Anope 2022-09-10 15:15:29 +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
Shivaram Lingamneni dbdadec677
test that WHO ignores +i for bare nicknames (#171) 2022-08-26 19:01:41 +02:00
Valentin Lorentz 6290825c64 README: Remove reference to setup.py 2022-08-20 18:05:47 +02:00
Valentin Lorentz f1c9218fbb Bump Go version for Ergo 2022-08-04 21:24:48 +02:00
Valentin Lorentz 6b6017b40c testStarNick: Replace unreliable workaround for irc2 2022-06-27 20:54:04 +02:00
Valentin Lorentz 601f49a9ef Fix infinite loop when server is slow (eg. Bahamut) 2022-06-27 20:53:50 +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 8a4f254a21 Reduce parallelism on other servers as well 2022-06-18 22:01:36 +02:00
Valentin Lorentz 81dac6f582 bahamut: lower mainloop delay, and reduce parallelism to make tests less flaky 2022-06-18 20:26:53 +02:00
Valentin Lorentz 53710779f0 Prevent tests from blocking for too long
Bahamut frequently gets stuck, and waiting 6h is a waste of time.
2022-06-11 02:08:58 +02:00
Shivaram Lingamneni 058fab85b0
test incorrect channel keys (#169) 2022-05-29 09:49:21 +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
Shivaram Lingamneni 83017483ba
test +R user mode as implemented in Ergo (#168) 2022-05-13 19:49:40 +02:00
Valentin Lorentz 627f0b6415 Try fixing flakyness of Plexus4 and others 2022-05-01 11:56:09 +02:00
Mitchell Riley 7ccf5a4f9e
Check for 'U' ELIST param in testListUsers (#164) 2022-04-28 20:39:20 +02:00
Val Lorentz 641bea5f0a
bot_mode: Make draft/ prefix optional (#167)
The spec is ratified.
2022-04-28 20:38:49 +02:00
Valentin Lorentz 8c73ac2b75 patma: Add support for operators in keys
Will be used to match either '@bot' or '@draft/bot'.
2022-04-28 20:12:18 +02:00
Valentin Lorentz ca35069487 Replace remote download of irc2 with a git clone
To avoid flakiness and hitting the irc.org servers too hard
2022-04-26 22:56:01 +02:00
Valentin Lorentz 011bdff7e4 Fix ELIST detection 2022-04-26 22:22:36 +02:00
Shivaram Lingamneni c4d86aef4e bump black to fix click dependency issue
https://github.com/psf/black/ #2964
2022-04-26 21:46:06 +02:00
Shivaram Lingamneni c0af9bc0a8 add a regression test for ergochat/ergo#1928
LIST on a nonexistent channel does not get an error response.
2022-04-26 21:46:06 +02:00
Val Lorentz a15025a276
Add tests for JOIN with some invalid channels in the target param (#163) 2022-04-16 12:15:56 +02:00
Val Lorentz a923353ec4
Add test for ban exception mode (+e) (#162) 2022-04-16 08:12:27 +02:00
Val Lorentz 45dd42e682
Replace incorrect uses of NotImplementedByController exception (#161) 2022-04-15 16:01:36 +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 9bc331483a
deploy_to_netlify.py: Fix crash on the first commit of a PR (#160) 2022-04-14 20:21:49 +02:00
Val Lorentz 2cd5fc1dca
dashboard: Add a page for each implementation (#159) 2022-04-14 19:56:06 +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 8e2670df54
unreal: Prevent download of geoIP database on first startup (#156) 2022-04-13 20:19:07 +02:00