Commit Graph

5531 Commits

Author SHA1 Message Date
Shivaram Lingamneni 8ec95e912a fix: don't close multiline batch twice 2026-06-30 21:22:38 +00:00
Shivaram Lingamneni 857cd690b0 apply deferred fakelag immediately after execution
If the client sends a long multiline, then pauses on its own
before sending more data, we want to apply deferred fakelag
during the pause, rather than upon receiving the next input line.
2026-06-30 20:43:37 +00:00
Shivaram Lingamneni 08d8145f26 draft/AUTHTOKEN support (#2385)
Includes two compatibility breaks:

* New, incompatible configuration format for extjwt
* JWTs accepted with IRCV3BEARER MUST have an expiration time
2026-06-30 12:13:56 -07:00
Shivaram Lingamneni 69d0dc7935 Merge pull request #2407 from Jokler/store-relaymsg-tags
Store tags for messages using draft/relaymsg in history
2026-06-10 22:37:37 -07:00
Jokler e69f3a36b5 Store tags for messages using draft/relaymsg in history 2026-06-11 01:04:16 +02:00
Shivaram Lingamneni 2e12a8371f bump irctest, fix changelog entry (#2406)
* bump irctest

* fix erroneous changelog entry
2026-06-07 18:50:48 -04:00
Shivaram Lingamneni 7ab4053e90 filter secret channels from unprivileged NS INFO (#2405) 2026-05-31 23:47:52 -04:00
Shivaram Lingamneni 834147a111 Merge pull request #2404 from slingamn/finaldata.1
fix #2402
2026-05-19 14:45:36 -07:00
Shivaram Lingamneni 51b2476af7 fix #2402
Labeled QUIT from the client should receive a labeled QUIT in return
2026-05-19 03:08:39 +00:00
Shivaram Lingamneni 1b40b8a43b Merge pull request #2401 from tacerus/apparmor
Update AppArmor profile
2026-05-17 14:42:18 -07:00
Georg Pfuetzenreuter d1c7051086 Update AppArmor profile
sync with distribution changes:
- allow ergo to execute ergo-ldap as a subprocess to allow for LDAP
  authentication
- allow ergo to create backup files to allow for autoupgrade
- consolidate and sort some lines for easier maintenance

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2026-05-16 18:35:47 +02:00
Shivaram Lingamneni 8c02b854b7 Merge pull request #2398 from slingamn/shutdown.3
ensure always-on state is flushed
2026-05-11 11:57:45 -07:00
Shivaram Lingamneni 6ccd4e2313 ensure always-on state is flushed
* Fix a race condition in persisting channel memberships for always-on
  clients (the asynchronous write of the client's channel memberships
  could precede the update to the channel's member list, resulting in
  the membership not being observed and written)

* Ensure always-on state is flushed on shutdown (we were already
  flushing timestamps, because those writes are heavily debounced, but
  we were relying on immediate asynchronous writeback for channel
  memberships and similar state).
2026-05-08 04:25:09 +00:00
Shivaram Lingamneni 2874e181aa Merge pull request #2397 from slingamn/keynotset
make METADATA CLEAR send RPL_KEYNOTSET
2026-05-07 10:29:55 -07:00
Shivaram Lingamneni 4b20b85687 make METADATA CLEAR send RPL_KEYNOTSET 2026-04-29 00:45:33 -04:00
Shivaram Lingamneni 1c823b5666 bump irctest 2026-04-28 13:22:19 -04:00
Shivaram Lingamneni 2dc37b9886 Merge pull request #2394 from slingamn/bot.2
fix #2393 and #2395
2026-04-27 22:24:15 -07:00
Shivaram Lingamneni 85f7fe2c06 fix #2395
Ensure bot tag is replayed for DMs
2026-04-28 05:14:48 +00:00
Shivaram Lingamneni 899ec1e2d4 fix #2393
Add the bot tag to echo messages when applicable
2026-04-28 04:56:46 +00:00
Shivaram Lingamneni 20dde44b62 Merge pull request #2392 from ergochat/dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
Bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.2
2026-04-22 21:50:41 -07:00
dependabot[bot] 6459969b35 Bump github.com/jackc/pgx/v5 from 5.8.0 to 5.9.2
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.8.0 to 5.9.2.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.8.0...v5.9.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.9.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 01:00:51 +00:00
quaff 147403ea73 IRCv3 spec no-implicit-names has been ratified. (#2390) 2026-04-21 14:40:37 -04:00
Shivaram Lingamneni 49192e6fa5 add /v1/whois to API (#2387) 2026-04-20 00:58:29 -04:00
Shivaram Lingamneni 7c8d81ac79 pointless optimization to (*caps.Set).Strings (#2386)
Doesn't change anything on arm64 (where atomic load is a plain MOV),
but reduces atomic instructions on arm64 and other platforms.
2026-04-20 00:56:48 -04:00
Shivaram Lingamneni de005ee69f enhanced auth integrations (#2383)
* Harvest cookies from the initial websocket handshake to pass to an
  auth-script (#2185)
* Allow running auth-script and ip-check-script over unix domain socket
  (#2280)
2026-04-15 01:48:29 -04:00
Shivaram Lingamneni cfee1917f3 use deferred unlock in two more places (#2381)
No functional change, just defensive coding
2026-04-13 23:06:08 -04:00
Shivaram Lingamneni 9556e5c025 add support for draft/chathistory-end tag (#2379) 2026-04-13 22:50:24 -04:00
Shivaram Lingamneni 10da32292f fix missing read permissions checks for METADATA (#2382)
These were incorrectly refactored out in #2277.
Also group the two write subcommands together, then the
three read subcommands.
2026-04-13 22:46:10 -04:00
Shivaram Lingamneni 5bb94efaf6 fix handling of invalid API bearer tokens (#2380)
Not doing a pointfix since this only affects obvious misconfigurations of Ergo
(our attempt to be defensive against those misconfigurations failed)
2026-04-10 13:32:09 -04:00
Shivaram Lingamneni cbbe18314a documentation updates (#2378) 2026-04-10 05:17:49 -04:00
Shivaram Lingamneni 44cd51ef36 new development version 2026-03-22 01:38:47 -04:00
Shivaram Lingamneni 4fabfb8ee3 release v2.18.0 2026-03-22 00:55:45 -04:00
Shivaram Lingamneni ef28345fd5 Merge pull request #2371 from slingamn/sqlite_fix
fix (*SQLite).ListChannels
2026-03-19 22:41:40 -07:00
Shivaram Lingamneni f9a11db153 fix (*SQLite).ListChannels
If the final channel we attempted to list had no messages, sql.ErrNoRows
would be returned as the error for the entire function, which would
prevent any channels from appearing in the targets list.
2026-03-20 04:15:29 +00:00
Shivaram Lingamneni 73276d8685 changelog for build tags 2026-03-19 22:54:23 -04:00
Shivaram Lingamneni 56f0691bef fix 2026-03-19 17:50:25 -04:00
Shivaram Lingamneni 9ea307c92e add more build documentation 2026-03-19 17:49:22 -04:00
Shivaram Lingamneni e6b55903f0 tweaks to changelog 2026-03-17 14:42:06 -04:00
Shivaram Lingamneni 45548138c3 update changelog 2026-03-17 14:34:56 -04:00
Shivaram Lingamneni 937bad6717 fix #2287 (#2369)
Allow restricting metadata modification to server operators
2026-03-17 14:33:11 -04:00
Shivaram Lingamneni 9e61528711 update documentation for persistent history (#2368) 2026-03-17 03:23:59 -04:00
Shivaram Lingamneni 2a114dc78a release v2.18.0-rc1 (#2364) 2026-03-16 00:53:01 -04:00
Shivaram Lingamneni da037c0162 clean up config tests 2026-03-15 05:56:31 -04:00
Shivaram Lingamneni 0e76470249 allow testing irc/ with i18n compiled out (#2363)
Add to `make test` as well
2026-03-15 03:47:33 -04:00
Shivaram Lingamneni 93495e2cf5 update FAQ entry for OPER issues (#2230) 2026-03-15 03:38:25 -04:00
Shivaram Lingamneni 620e7d13d5 Merge pull request #2362 from slingamn/issue2275.6
fix #2275
2026-03-15 00:28:09 -07:00
Shivaram Lingamneni 218cac3037 fix environment overrides against map fields 2026-03-15 07:16:44 +00:00
Shivaram Lingamneni 3bc010a6d9 document limitations of environment overrides 2026-03-15 04:40:26 +00:00
Shivaram Lingamneni e4e9e20986 bump irctest 2026-03-13 16:38:07 -04:00
Shivaram Lingamneni 52fc77433e api: defcon endpoint (#2359) 2026-03-13 03:18:23 -04:00