# # ChangeLog for / in code # # Generated by Trac 1.6 # Jun 8, 2025, 2:51:37 PM Tue, 02 Nov 2021 21:58:50 GMT contact [663] * trunk/db_sqlite.go (modified) db_sqlite: use TEXT instead of VARCHAR VARCHAR(n) is pointless in ... Tue, 02 Nov 2021 21:38:07 GMT contact [662] * trunk/cmd/soju/main.go (modified) * trunk/config/config.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/server.go (modified) Add title config option Closes: https://todo.sr.ht/~emersion/soju/146 Tue, 02 Nov 2021 17:32:39 GMT contact [661] * trunk/downstream.go (modified) * trunk/irc.go (modified) Mark bouncer users and BouncerServ as authenticated in WHOX/WHOIS Tue, 02 Nov 2021 17:25:43 GMT contact [660] * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Add support for WHOX This adds support for WHOX, without bothering ... Mon, 01 Nov 2021 17:36:21 GMT contact [659] * trunk/downstream.go (modified) Fix operator flag in RPL_WHOREPLY @ and + indicate channel ... Mon, 01 Nov 2021 17:32:01 GMT contact [658] * trunk/downstream.go (modified) Mark admins as server operators in self WHO/WHOIS replies Mon, 01 Nov 2021 17:28:19 GMT contact [657] * trunk/downstream.go (modified) Mark BouncerServ as server operator That's what some widely used ... Fri, 29 Oct 2021 14:18:34 GMT contact [656] * trunk/server.go (modified) Fix missing imports in server.go Oops. Fri, 29 Oct 2021 14:03:04 GMT contact [655] * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/upstream.go (modified) Get rid of io.EOF errors in logs Closes: ... Fri, 29 Oct 2021 13:51:13 GMT contact [654] * trunk/downstream.go (modified) Unify BOUNCER ADDNETWORK and CHANGENETWORK Thu, 28 Oct 2021 09:29:34 GMT contact [653] * trunk/downstream.go (modified) Always reply ERR_SASLABORTED on SASL abort Some clients (Hexchat) ... Mon, 18 Oct 2021 17:15:15 GMT contact [652] * trunk/cmd/sojuctl/main.go (modified) * trunk/contrib/znc-import.go (modified) * trunk/db.go (modified) * trunk/db_postgres.go (modified) * trunk/db_sqlite.go (modified) * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/server_test.go (modified) * trunk/service.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Add context args to Database interface This is a mecanical change, ... Mon, 18 Oct 2021 07:20:11 GMT contact [651] * trunk/downstream.go (modified) Remove unnecessary downstream cap checks downstreamConn.SendMessage ... Mon, 18 Oct 2021 07:08:52 GMT contact [650] * trunk/downstream.go (modified) Remove incorrect AWAY TODO in downstreamConn.SendMessage ... Sun, 17 Oct 2021 19:54:18 GMT contact [649] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Unify away-notify and account-notify handling Sun, 17 Oct 2021 19:54:18 GMT contact [648] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add support for account-notify Sat, 16 Oct 2021 09:42:32 GMT contact [647] * trunk/downstream.go (modified) Remove unused REGISTRATION_IS_COMPLETED in handleMessageUnregistered ... Sat, 16 Oct 2021 09:41:37 GMT contact [646] * trunk/downstream.go (modified) Send BOUNCER REGISTRATION_IS_COMPLETED error Fri, 15 Oct 2021 20:39:14 GMT hubert [645] * trunk/db_postgres.go (modified) * trunk/db_sqlite.go (modified) Set hard timeouts on DB transactions Fri, 15 Oct 2021 16:11:04 GMT contact [644] * trunk/msgstore_fs.go (modified) * trunk/user.go (modified) msgstore_fs: rename log dir when network is renamed Fri, 15 Oct 2021 07:59:53 GMT contact [643] * trunk/.build.yml (modified) ci: switch to alpine/latest We don't need the bleeding edge. Thu, 14 Oct 2021 18:51:03 GMT contact [642] * trunk/msgstore_fs.go (modified) msgstore_fs: add reference to ZNC Thu, 14 Oct 2021 14:03:14 GMT yyp [641] * trunk/downstream.go (modified) downstream: handle name=... in BOUNCER Thu, 14 Oct 2021 08:09:01 GMT contact [640] * trunk/db_postgres.go (modified) db_postgres: remove unnecessary DEFAULT NULL in schema Wed, 13 Oct 2021 17:15:50 GMT contact [639] * trunk/db_postgres.go (modified) db_postgres: use tx for all queries in StoreClientDeliveryReceipts Wed, 13 Oct 2021 15:38:20 GMT contact [638] * trunk/db_postgres.go (modified) db_postgres: quote table name in StoreClientDeliveryReceipts Wed, 13 Oct 2021 10:53:43 GMT contact [637] * trunk/cmd/soju/main.go (modified) Don't strip spaces at start of MOTD This breaks ASCII art. Instead, ... Wed, 13 Oct 2021 08:58:34 GMT contact [636] * trunk/cmd/soju/main.go (modified) * trunk/config/config.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/server.go (modified) Add bouncer MOTD Closes: https://todo.sr.ht/~emersion/soju/137 Wed, 13 Oct 2021 08:12:14 GMT contact [635] * trunk/db_postgres.go (modified) db_postgres: fix constraints errors Stop using ON CONFLICT DO ... Wed, 13 Oct 2021 06:53:49 GMT hubert [634] * trunk/db_postgres.go (modified) db_postgres: handle both constraints on network updates Closes: ... Tue, 12 Oct 2021 19:49:06 GMT contact [633] * trunk/contrib/clients.md (modified) contrib/clients: update IRCv3 caps for Weechat 3.3 Tue, 12 Oct 2021 19:34:25 GMT contact [632] * trunk/doc/soju.1.scd (modified) doc.soju.1: fix typo and improve formatting for "certfp generate" Tue, 12 Oct 2021 19:31:12 GMT contact [631] * trunk/doc/soju.1.scd (modified) doc/soju.1: add descriptions for all flags for "user create" Tue, 12 Oct 2021 19:27:48 GMT contact [630] * trunk/doc/soju.1.scd (modified) doc/soju.1: use angle-brackets for URL Helps a bit terminal ... Tue, 12 Oct 2021 17:28:44 GMT contact [629] * trunk/downstream.go (modified) Stop sending RPL_CREATED There's no point in sending this numeric ... Tue, 12 Oct 2021 15:36:00 GMT contact [628] * trunk/msgstore_fs.go (modified) msgstore_fs: fix ListTargets error on missing log dir Initially, ... Tue, 12 Oct 2021 15:36:00 GMT contact [627] * trunk/downstream.go (modified) Fix printf formatting in error message Tue, 12 Oct 2021 14:54:51 GMT contact [626] * trunk/go.mod (modified) * trunk/go.sum (modified) Upgrade dependencies Tue, 12 Oct 2021 07:11:14 GMT contact [625] * trunk/doc/soju.1.scd (modified) * trunk/service.go (modified) * trunk/user.go (modified) service: allow updating other users Mon, 11 Oct 2021 14:06:37 GMT contact [624] * trunk/.build.yml (modified) ci: run PostgreSQL tests Mon, 11 Oct 2021 14:01:50 GMT contact [623] * trunk/server_test.go (modified) Fix unused imports in tests Mon, 11 Oct 2021 13:57:37 GMT contact [622] * trunk/server_test.go (modified) Run server test with PostgreSQL too Mon, 11 Oct 2021 13:55:07 GMT contact [621] * trunk/db_postgres_test.go (added) db_postgres: add migration test Mon, 11 Oct 2021 13:21:04 GMT hubert [620] * trunk/cmd/soju/main.go (modified) * trunk/cmd/sojuctl/main.go (modified) * trunk/contrib/znc-import.go (modified) * trunk/db.go (modified) * trunk/db_postgres.go (added) * trunk/db_sqlite.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/go.mod (modified) * trunk/go.sum (modified) * trunk/server_test.go (modified) PostgreSQL support Mon, 11 Oct 2021 10:26:51 GMT contact [619] * trunk/db_sqlite_test.go (added) db_sqlite: add migration test Sun, 10 Oct 2021 10:05:41 GMT hubert [618] * trunk/downstream.go (modified) Correctly send back PRIVMSGs and NOTICEs to self Sun, 10 Oct 2021 10:05:41 GMT hubert [617] * trunk/downstream.go (modified) Send back TAGMSGs to self Sun, 10 Oct 2021 10:05:40 GMT hubert [616] * trunk/downstream.go (modified) Dismiss TAGMSGs directed to BouncerServ Fri, 08 Oct 2021 08:52:03 GMT contact [615] * trunk/doc/soju.1.scd (modified) * trunk/service.go (modified) Add "server notice" command Fri, 08 Oct 2021 07:47:25 GMT contact [614] * trunk/certfp.go (added) * trunk/service.go (modified) Split CertFP logic into separate file Fri, 08 Oct 2021 07:11:31 GMT contact [613] * trunk/Makefile (modified) build: don't clobber config file Use `test -f` instead of `cp -n`, ... Thu, 07 Oct 2021 18:43:10 GMT contact [612] * trunk/cmd/soju/main.go (modified) * trunk/config/config.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/server.go (modified) * trunk/user.go (modified) Add max-user-networks config option Thu, 07 Oct 2021 18:04:20 GMT contact [611] * trunk/doc/soju.1.scd (modified) doc/soju.1: mention that accept-proxy-ip affects PROXY proto Thu, 07 Oct 2021 09:57:42 GMT alex [610] * trunk/msgstore_fs.go (modified) chathistory: Fix truncated backlog due to timezones Because ... Wed, 06 Oct 2021 09:50:12 GMT contact [609] * trunk/downstream.go (modified) Add WHOIS reply for BouncerServ Wed, 06 Oct 2021 09:41:39 GMT contact [608] * trunk/msgstore_fs.go (modified) msgstore_fs: add limit on number of opened files Tue, 05 Oct 2021 17:31:06 GMT contact [607] * trunk/db.go (modified) * trunk/db_sqlite.go (modified) * trunk/service.go (modified) Add DB stats Tue, 05 Oct 2021 17:21:43 GMT contact [606] * trunk/service.go (modified) Add limit for RSA bits Tue, 05 Oct 2021 17:13:53 GMT contact [605] * trunk/doc/soju.1.scd (modified) * trunk/server.go (modified) * trunk/service.go (modified) Add "server status" command Right now, it prints the number of ... Tue, 05 Oct 2021 12:26:10 GMT contact [604] * trunk/server_test.go (modified) test: get rid of testUpstream No need for this complexity. Tue, 05 Oct 2021 12:14:31 GMT contact [603] * trunk/server_test.go (modified) test: add NOTICE broadcast Tue, 05 Oct 2021 12:03:17 GMT contact [602] * trunk/server_test.go (modified) test: add upstream Tue, 05 Oct 2021 12:02:59 GMT contact [601] * trunk/server.go (modified) Use isErrClosed in Server.Serve Tue, 05 Oct 2021 10:11:40 GMT contact [600] * trunk/server_test.go (added) Add basic server test Tue, 05 Oct 2021 09:53:38 GMT contact [599] * trunk/server.go (modified) Close DB on shutdown Tue, 05 Oct 2021 09:10:48 GMT contact [598] * trunk/db_sqlite.go (modified) db_sqlite: fix realname not fetched in ListUsers This fixes ... Tue, 28 Sep 2021 19:25:06 GMT contact [597] * trunk/server.go (modified) Add support for IRCv3 WebSocket text subprotocol Technically we ... Mon, 27 Sep 2021 14:54:06 GMT contact [596] * trunk/db_sqlite.go (modified) db_sqlite: switch to sql.Named This allows us to avoid mixing up ... Tue, 21 Sep 2021 16:19:05 GMT hubert [595] * trunk/db_sqlite.go (modified) Fix DeliveryReceipt not being cleaned up Tue, 21 Sep 2021 09:49:48 GMT contact [594] * trunk/conn.go (modified) Workaround lack of net.ErrClosed in WebSocket library Tue, 21 Sep 2021 09:44:08 GMT contact [593] * trunk/README.md (modified) readme: add note to use system libsqlite3 Sun, 19 Sep 2021 15:00:40 GMT chris [592] * trunk/cmd/soju/main.go (modified) Set a higher timeout for proxyproto listeners go-proxyproto added ... Sun, 19 Sep 2021 14:55:12 GMT hubert [591] * trunk/msgstore_fs.go (modified) msgstore_fs: escape "." and ".." Sun, 19 Sep 2021 14:50:47 GMT hubert [590] * trunk/downstream.go (modified) Allow CAP negotiation to happen with CAP REQ See ... Tue, 14 Sep 2021 16:38:58 GMT hubert [589] * trunk/db_sqlite.go (modified) Use NULL-tolerant comparison for DeliveryReceipts Since NULL = NULL ... Mon, 13 Sep 2021 15:14:04 GMT hubert [588] * trunk/db_sqlite.go (modified) Explicitly close connection to SQLite on failed upgrade Mon, 13 Sep 2021 12:23:33 GMT contact [587] * trunk/go.mod (modified) * trunk/go.sum (modified) Upgrade dependencies Mon, 13 Sep 2021 09:36:25 GMT contact [586] * trunk/downstream.go (modified) Send empty history for service Fixes error when fetching chat ... Mon, 13 Sep 2021 09:25:38 GMT contact [585] * trunk/downstream.go (modified) Don't require upstream to be connected for CHATHISTORY Closes: ... Mon, 13 Sep 2021 09:14:47 GMT contact [584] * trunk/downstream.go (modified) Split unmarshalEntity into two functions Some command handlers need ... Mon, 13 Sep 2021 08:33:46 GMT contact [583] * trunk/user.go (modified) Don't send network notification when removed Closes: ... Thu, 09 Sep 2021 08:07:37 GMT contact [582] * trunk/net_go113.go (modified) * trunk/net_go116.go (modified) go fmt: add go:build tags This is the new style for build tags. The ... Thu, 09 Sep 2021 08:06:31 GMT rafael [581] * trunk/cmd/soju/main.go (modified) Check for TLS config in wss listeners Previously ... Fri, 09 Jul 2021 20:48:58 GMT contact [580] * trunk/downstream.go (modified) Pass-through CLIENTTAGDENY in ISUPPORT Wed, 07 Jul 2021 08:37:18 GMT contact [579] * trunk/contrib/clients.md (modified) contrib/clients: sort alphabetically and wrap lines Wed, 07 Jul 2021 08:36:02 GMT delthas [578] * trunk/contrib/clients.md (modified) contrib/clients: Mention Hexchat Wed, 07 Jul 2021 08:34:46 GMT delthas [577] * trunk/doc/soju.1.scd (modified) * trunk/service.go (modified) service: Introduce network quote This command enables sending a raw ... Wed, 07 Jul 2021 08:32:16 GMT hubert [576] * trunk/README.md (modified) Add a C compiler to the list of dependencies It's needed to build ... Tue, 06 Jul 2021 14:34:15 GMT yyp [575] * trunk/service.go (modified) service: show SHA-512 fingerprint Closes: ... Tue, 29 Jun 2021 20:24:44 GMT contact [574] * trunk/.build.yml (modified) ci: add gofmt check Tue, 29 Jun 2021 20:19:19 GMT jake.nelson [573] * trunk/service.go (modified) Sort `channel status` channels by name Mon, 28 Jun 2021 16:05:03 GMT contact [572] * trunk/service.go (modified) * trunk/user.go (modified) Introduce user.updateUser Unify updatePassword and updateRealname ... Mon, 28 Jun 2021 14:55:49 GMT contact [571] * trunk/doc/soju.1.scd (modified) doc/soju.1: improve "user create" docs Mon, 28 Jun 2021 14:55:44 GMT contact [570] * trunk/doc/soju.1.scd (modified) * trunk/service.go (modified) Merge "change-password" into "user update" Add a -password flag to ... Mon, 28 Jun 2021 14:40:49 GMT contact [569] * trunk/service.go (modified) Only update realname if specified in "user udpate" This will allow ... Fri, 25 Jun 2021 18:33:13 GMT contact [568] * trunk/db.go (modified) * trunk/db_sqlite.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/service.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Add per-user realname setting This allows users to set a default ... Thu, 24 Jun 2021 19:32:54 GMT contact [567] * trunk/README.md (modified) readme: list dependencies Thu, 24 Jun 2021 17:33:46 GMT hubert [566] * trunk/go.mod (modified) * trunk/service.go (modified) * trunk/service_test.go (added) Hand-made word splitter for BouncerServ Remove the (direct) ... Wed, 23 Jun 2021 17:54:22 GMT contact [565] * trunk/downstream.go (modified) Disallow '$' in nicks Wed, 23 Jun 2021 17:30:47 GMT contact [564] * trunk/doc/soju.1.scd (modified) doc/soju.1: document bouncer-wide broadcasts