Commit Graph

5474 Commits

Author SHA1 Message Date
Shivaram Lingamneni ec7db5a02b fix #2349 (#2350)
Add msgid to push messages when available, as required by the spec
2026-03-10 17:50:01 -04:00
Shivaram Lingamneni 3c41a81921 bump irctest 2026-03-10 11:43:32 -04:00
Shivaram Lingamneni 69efae2c2e postgres: accept libpq URIs (#2347) 2026-03-05 14:58:09 -05:00
Shivaram Lingamneni 5fd8ed8ed6 add a postgres history backend (#2322)
Postgres support is behind a build tag; use `make build_full`
or `make install_full` to compile it in.
2026-03-05 01:18:28 -05:00
Shivaram Lingamneni ee0071b37a bump irctest 2026-03-02 23:19:50 -05:00
Shivaram Lingamneni 2e6fd75525 support draft/ACCOUNTREQUIRED in 005 (#2341)
https://github.com/ircv3/ircv3-specifications/pull/585
2026-03-02 04:10:58 -05:00
Shivaram Lingamneni 76e8e61705 fix #2227 (#2334)
* fix #2227

Instead of returning an error from Accept(), force the caller to process
errors from trying to read and parse the PROXY protocol.

The advantage here is that we don't have to rely on (net.Error).Temporary
or incur timed backoff from net/http when hitting these errors. However,
we still risk stalling processing of new incoming connections if someone
opens a connection to the proxy listener and doesn't send anything.
This is hard to fix while maintaining the net.Listener abstraction in
cooperation with http.Server.

* reduce proxy deadline to 5 seconds
2026-03-02 04:10:26 -05:00
Shivaram Lingamneni b120806fd5 fix #2345 (#2346)
Nil dereference from CS DEOP and EXTJWT; no security implications
2026-03-01 12:45:21 -05:00
Shivaram Lingamneni 23e1ef384c mysql: fix channels allocation 2026-03-01 06:04:07 -05:00
Shivaram Lingamneni 3e83f52f3a Merge pull request #2338 from ergochat/dependabot/go_modules/filippo.io/edwards25519-1.1.1
Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1
2026-02-19 12:15:13 -08:00
dependabot[bot] 1e00095055 Bump filippo.io/edwards25519 from 1.1.0 to 1.1.1
Bumps [filippo.io/edwards25519](https://github.com/FiloSottile/edwards25519) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/FiloSottile/edwards25519/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: filippo.io/edwards25519
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-19 18:51:35 +00:00
Shivaram Lingamneni 11a38b7119 bump irctest to test websockets (#2331)
Install python3-websockets for irctest in CI. This won't actually work
as expected until Ubuntu 26.04.
2026-02-16 18:19:04 -05:00
Shivaram Lingamneni c79b65cf8a bump irc-go 2026-02-11 04:01:40 -05:00
Shivaram Lingamneni 8fe491156c upgrade to go 1.26 (#2330)
Also upgrade actions for compatibility with 1.26
2026-02-10 19:19:08 -05:00
Shivaram Lingamneni 5fa9757b43 fix #2328 (#2329)
* Add API endpoint /v1/ns/passwd to change passwords
* New naming scheme for API endpoints under /v1/ns/
* /v1/ns/list no longer returns error responses
2026-02-08 01:27:13 -05:00
Shivaram Lingamneni 2b1dad982f clarify when history.channel-length applies (#2323) 2026-01-27 08:13:21 -08:00
Shivaram Lingamneni 3ff0341944 bump irctest 2026-01-26 12:22:31 -05:00
Shivaram Lingamneni 2152000312 use correct name for RPL_INVEXLIST (#2326)
Rename the constants only; no functional change
2026-01-11 02:27:37 -05:00
Shivaram Lingamneni 2da19a0760 fix #2324 (#2325)
Validate user limit parameter
2026-01-10 18:57:49 -05:00
Shivaram Lingamneni 5c0af196da fix (noopSequence).Ephemeral() 2026-01-01 15:06:53 -05:00
Shivaram Lingamneni 63a04a5ff0 bump irctest 2026-01-01 12:33:12 -05:00
Shivaram Lingamneni f28b10986e redact: fix error line for missing channel (#2321) 2025-12-31 14:56:23 -05:00
Shivaram Lingamneni d2c9c80cc1 fix mysql logline 2025-12-31 02:37:00 -05:00
Shivaram Lingamneni 6386b9ef70 fix some redact bugs (#2320)
* Consistently return UNKNOWN_MSGID for unknown or invalid msgids
* If both client's DMs are stored in persistent history, a single
  server.DeleteMessage will delete the single canonical copy of the message.
  So the second call will fail, which is fine.
2025-12-31 02:15:11 -05:00
Shivaram Lingamneni 6ba60c89c4 move mysql serialization tools to shared pkgs 2025-12-30 23:34:05 -05:00
Shivaram Lingamneni 0b7be24f80 propagate mysql close error 2025-12-30 23:13:55 -05:00
Shivaram Lingamneni 9f54ea07b7 prep for alternative history databases (#2316)
* abstract history DB interface

* make mysql error logging consistent

Consistently propagate database errors to the client, making the client
responsible for logging them.

* move ListCorrespondents from Sequence to Database/Buffer
2025-12-30 23:12:30 -05:00
Shivaram Lingamneni 3179fdffb0 REDACT: fix reason handling (#2319)
REDACT without a reason parameter was being relayed with an
empty reason parameter instead; fix this.
2025-12-30 18:41:24 -05:00
Shivaram Lingamneni 13653b5202 fix #2284 (#2317)
Send a configurable NOTICE on first connection that hopm can
detect via target_string
2025-12-30 02:27:09 -05:00
Shivaram Lingamneni b26571e891 bump irctest 2025-12-29 12:41:20 -05:00
Shivaram Lingamneni b7ede0730f consistent casing for SQL queries (#2315)
Makes it easier to read diffs with other database backends
2025-12-29 00:03:58 -05:00
Shivaram Lingamneni 05b41e18af bump irctest 2025-12-28 21:47:27 -05:00
Shivaram Lingamneni 748700877e dependency upgrades for v2.18 release cycle (#2314) 2025-12-23 00:07:39 -05:00
Shivaram Lingamneni 462e568f00 fix #2311 (#2312)
Validate bcrypt-cost config value to prevent silent errors
2025-12-22 03:26:09 -05:00
Shivaram Lingamneni 3c4c5dde4d fix #2309 (#2310)
If bob is monitoring alice, bob should get METADATA lines for alice
even if bob doesn't have extended-monitor.

This implementation also removes the check for extended-monitor
when sending account-notify, away-notify, chghost, setname
(which are explicitly mentioned in the extended-monitor spec)
on the grounds that nothing bad will happen if clients who support
the cap receive notifications for users they're not explicitly tracking.
2025-12-22 03:25:27 -05:00
Shivaram Lingamneni 3e9fa38f6b set up new development version 2025-12-22 03:22:05 -05:00
Shivaram Lingamneni 16186d677d bump version and changelog for v2.17.0 2025-12-22 02:34:40 -05:00
Shivaram Lingamneni d5fb189a55 changelog and version bump for v2.17.0-rc1 (#2308) 2025-12-14 04:43:30 -05:00
Shivaram Lingamneni 53664694c4 add RPL_WHOISKEYVALUE output (#2302) 2025-12-14 04:32:02 -05:00
Shivaram Lingamneni d26aa37f2c pin Alpine to 3.22 (#2306)
* Upgrade the production image from 3.19 to 3.22 (3.19 went EOL
  2025-11-01)
* Downgrade the build image to 3.22 (3.23 is buggy, see #2305)
2025-12-14 02:50:21 -05:00
Shivaram Lingamneni 9ca936a777 bump irctest 2025-12-14 02:15:44 -05:00
Shivaram Lingamneni fdd261a1e6 fix #2303 (#2304)
Fix inconsistent behavior when history.enabled is set but
history.chathistory-maxmessages is not
2025-12-14 02:13:15 -05:00
Shivaram Lingamneni aef5d77b3b Merge pull request #2301 from slingamn/ratelimited
more metadata follow-ups
2025-12-08 01:48:39 -05:00
Shivaram Lingamneni 0ce9016098 add persistence for user metadata 2025-12-07 03:05:34 -05:00
Shivaram Lingamneni f91d1d94f6 add METADATA response when MONITOR triggered 2025-12-01 07:03:26 +00:00
Shivaram Lingamneni 0119bbc36f implement FAIL METADATA RATE_LIMITED 2025-12-01 04:09:45 +00:00
Shivaram Lingamneni 96aa018352 bump irctest 2025-11-26 03:27:13 -05:00
Shivaram Lingamneni 68faf82787 Merge pull request #2299 from ergochat/shivaram_ping.1
configurable idle timeouts
2025-11-09 21:49:39 -05:00
Shivaram Lingamneni 5cda5bdac9 Merge pull request #2298 from slingamn/shivaram_operthrottle
changes to OPER command
2025-11-09 21:41:53 -05:00
Shivaram Lingamneni ed841ee62a configurable idle timeouts
Fixes #2292
2025-11-09 21:11:04 -05:00