# # ChangeLog for trunk/downstream.go in code # # Generated by Trac 1.6 # Jun 8, 2025, 7:01:42 PM Wed, 22 Jul 2020 10:16:01 GMT contact [362] * trunk/downstream.go (modified) * trunk/logger.go (modified) go fmt Wed, 15 Jul 2020 15:47:57 GMT contact [360] * trunk/downstream.go (modified) * trunk/logger.go (modified) Implement CHATHISTORY AFTER References: ... Mon, 06 Jul 2020 16:13:40 GMT contact [354] * trunk/downstream.go (modified) Strip network name from nickname when auto-saving network Wed, 01 Jul 2020 15:02:37 GMT contact [347] * trunk/conn.go (modified) * trunk/downstream.go (modified) * trunk/server.go (modified) Add RemoteAddr to ircConn interface Mon, 29 Jun 2020 16:09:48 GMT contact [343] * trunk/downstream.go (modified) * trunk/service.go (modified) * trunk/upstream.go (modified) Reply to WHO BouncerServ Closes: https://todo.sr.ht/~emersion/soju/75 Wed, 24 Jun 2020 21:02:46 GMT hubert [340] * trunk/downstream.go (modified) Don't save corrupted NickServ credentials soju saved most NickServ ... Sun, 07 Jun 2020 12:13:46 GMT contact [323] * trunk/cmd/soju/main.go (modified) * trunk/config/config.go (modified) * trunk/conn.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/go.mod (modified) * trunk/go.sum (modified) * trunk/server.go (modified) * trunk/upstream.go (modified) Add support for WebSocket connections WebSocket connections allow ... Sat, 06 Jun 2020 10:52:22 GMT contact [322] * trunk/downstream.go (modified) Fail auth on empty password in DB Fri, 05 Jun 2020 21:50:31 GMT delthas [319] * trunk/downstream.go (modified) * trunk/logger.go (modified) * trunk/server.go (modified) Add support for downstream CHATHISTORY This adds support for the ... Thu, 04 Jun 2020 15:27:57 GMT contact [315] * trunk/conn.go (modified) * trunk/downstream.go (modified) * trunk/service.go (modified) * trunk/upstream.go (modified) Introduce ircConn This interface will allow a conn to be backed by ... Tue, 02 Jun 2020 09:24:22 GMT fox.cpp [307] * trunk/db.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/service.go (modified) * trunk/upstream.go (modified) Implement upstream SASL EXTERNAL support Closes: ... Mon, 01 Jun 2020 16:57:20 GMT hubert.hirtz [306] * trunk/downstream.go (modified) Send the full user mask in RPL_LOGGEDIN As per the spec [1]: ... Wed, 27 May 2020 21:48:08 GMT delthas [303] * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Add support for TAGMSG and client message tags Previously we ... Wed, 27 May 2020 21:46:31 GMT delthas [301] * trunk/downstream.go (modified) Send a label with all messages sent from downstream This is ... Wed, 27 May 2020 21:44:38 GMT delthas [299] * trunk/downstream.go (modified) Add support for downstream WHOIS nick/network nick/network Many IRC ... Wed, 27 May 2020 21:43:46 GMT delthas [298] * trunk/downstream.go (modified) Add support for downstream LIST to a single upstream Sometimes, ... Wed, 27 May 2020 21:43:04 GMT delthas [297] * trunk/downstream.go (modified) Add support for downstream NICK to a single upstream Users often ... Wed, 27 May 2020 21:42:38 GMT delthas [296] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Update downstream nicks in single-server mode and after NICK ... Thu, 21 May 2020 20:36:54 GMT delthas [293] * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Fix parsing MODE messages by updating channel memberships ... Mon, 11 May 2020 10:25:49 GMT delthas [292] * trunk/bridge.go (modified) * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Add support for multiple user channel memberships User channel ... Tue, 05 May 2020 14:52:50 GMT contact [291] * trunk/downstream.go (modified) Add time tag to echo messages Closes: ... Fri, 01 May 2020 19:56:40 GMT delthas [289] * trunk/downstream.go (modified) Fix not properly marshaling self in single-server mode In ... Fri, 01 May 2020 15:39:53 GMT contact [285] * trunk/downstream.go (modified) Don't clear channel key on JOIN Closes: ... Fri, 01 May 2020 13:18:14 GMT contact [284] * trunk/db.go (modified) * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Add support for detached channels Channels can now be detached by ... Thu, 30 Apr 2020 08:25:16 GMT contact [279] * trunk/downstream.go (modified) * trunk/service.go (modified) * trunk/user.go (modified) Remove network.upstream This is an artifact from when we used ... Wed, 29 Apr 2020 17:45:37 GMT contact [278] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add upstreamConn.caps Instead of adding one field per capability, ... Wed, 29 Apr 2020 17:34:44 GMT contact [276] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Add support for away-notify This makes use of cap-notify to ... Wed, 29 Apr 2020 17:34:38 GMT contact [275] * trunk/downstream.go (modified) Add downstream support for cap-notify Fri, 24 Apr 2020 16:26:44 GMT delthas [268] * trunk/downstream.go (modified) Unmarshal nicks in texts of PRIVMSG and NOTICE from downstreams ... Thu, 16 Apr 2020 15:25:39 GMT contact [262] * trunk/downstream.go (modified) Fix typo Thu, 16 Apr 2020 15:23:35 GMT contact [261] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Support sending history when upstream is disconnected Previously, ... Thu, 16 Apr 2020 15:19:00 GMT contact [260] * trunk/bridge.go (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) Make downstreamConn.marshal{Entity,UserPrefix} take a network This ... Thu, 16 Apr 2020 14:57:33 GMT contact [259] * trunk/bridge.go (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) Kill downstreamConn.marshal{Nick,Channel} We can just use ... Thu, 16 Apr 2020 14:54:13 GMT contact [258] * trunk/downstream.go (modified) Disallow marshalling for anotehr network Thu, 16 Apr 2020 14:33:56 GMT contact [257] * trunk/downstream.go (modified) Unify downstreamConn.marshal{Entity,Nick,Channel} We don't actually ... Wed, 15 Apr 2020 09:29:15 GMT contact [256] * trunk/downstream.go (modified) Add support for downstream batch & chathistory Fri, 10 Apr 2020 17:22:47 GMT contact [253] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Per-entity ring buffers Instead of having one ring buffer per ... Tue, 07 Apr 2020 20:30:54 GMT contact [249] * trunk/downstream.go (modified) Document downstreamConn.{,un}marshalEntity Tue, 07 Apr 2020 17:45:29 GMT contact [245] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Centralize logged messages marshaling This allows messages added to ... Tue, 07 Apr 2020 12:45:08 GMT contact [242] * trunk/downstream.go (modified) * trunk/ring.go (modified) Make Ring.NewConsumer seq argument mandatory There's no point in ... Mon, 06 Apr 2020 19:42:55 GMT contact [239] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Make upstreamConn.produce log messages Mon, 06 Apr 2020 19:34:45 GMT contact [238] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add origin argument to upstreamConn.produce Mon, 06 Apr 2020 17:08:43 GMT contact [236] * trunk/downstream.go (modified) Remove downstreamConn.ourMessages We can just do the filtering when ... Mon, 06 Apr 2020 16:34:33 GMT contact [233] * trunk/downstream.go (modified) Simplify ring consumer loop No need to use Peek here. Mon, 06 Apr 2020 16:31:48 GMT contact [231] * trunk/downstream.go (modified) * trunk/ring.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Remove downstreamConn.ringConsumers We no longer need long-lived ... Mon, 06 Apr 2020 16:23:39 GMT contact [230] * trunk/downstream.go (modified) Remove downstreamConn.lock Everything is now accessed from the user ... Mon, 06 Apr 2020 16:13:46 GMT contact [228] * trunk/downstream.go (modified) * trunk/ring.go (modified) * trunk/user.go (modified) Remove channel from ring buffer consumers This is unused. Mon, 06 Apr 2020 16:05:36 GMT contact [227] * trunk/doc/architecture.md (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Remove per-network ring buffer goroutines Just dispatch from the ... Mon, 06 Apr 2020 15:28:49 GMT contact [226] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Introduce upstreamConn.produce The logic in this function is about ... Sun, 05 Apr 2020 13:04:52 GMT contact [222] * trunk/downstream.go (modified) * trunk/user.go (modified) Add network.{createUpdate,delete}Channel These are about to get ... Fri, 03 Apr 2020 19:00:19 GMT contact [217] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add NOTICE messages to ring buffer References: ... Fri, 03 Apr 2020 18:48:23 GMT contact [216] * trunk/downstream.go (modified) * trunk/logger.go (modified) * trunk/upstream.go (modified) Add time tag to all messages Fri, 03 Apr 2020 16:59:17 GMT contact [215] * trunk/downstream.go (modified) * trunk/logger.go (added) * trunk/upstream.go (modified) * trunk/user.go (modified) Introduce messageLogger This centralizes formatting related to ... Fri, 03 Apr 2020 15:15:12 GMT contact [213] * trunk/downstream.go (modified) Log self-messages too Closes: https://todo.sr.ht/~emersion/soju/44 Fri, 03 Apr 2020 15:01:25 GMT contact [212] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Use conn.ReadMessage instead of irc.Conn.ReadMessage Fri, 03 Apr 2020 14:55:49 GMT contact [211] * trunk/downstream.go (modified) Add support for downstream echo-message extension Fri, 03 Apr 2020 14:35:08 GMT contact [210] * trunk/conn.go (added) * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/upstream.go (modified) Introduce conn for common connection logic This centralizes the ... Fri, 03 Apr 2020 14:15:25 GMT contact [209] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Fix writer goroutine races Any SendMessage call after Close could ... Wed, 01 Apr 2020 15:34:22 GMT contact [207] * trunk/db.go (modified) * trunk/downstream.go (modified) Fix SQL error logged on JOIN Closes: ... Wed, 01 Apr 2020 14:27:53 GMT contact [205] * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/upstream.go (modified) Set write deadlines References: https://todo.sr.ht/~emersion/soju/26 Wed, 01 Apr 2020 14:02:31 GMT contact [204] * trunk/downstream.go (modified) * trunk/user.go (modified) Simplify ring consumer goroutine Since network.history is now only ... Wed, 01 Apr 2020 13:48:56 GMT contact [203] * trunk/downstream.go (modified) * trunk/ring.go (modified) * trunk/user.go (modified) Stop ring consumers when deleting network Tue, 31 Mar 2020 17:50:31 GMT contact [194] * trunk/downstream.go (modified) Add downstream support for server-time Tue, 31 Mar 2020 17:39:06 GMT contact [191] * trunk/downstream.go (modified) Expose message-tags capability downstream Strip tags if the client ... Tue, 31 Mar 2020 17:02:02 GMT contact [190] * trunk/doc/soju.1.scd (modified) * trunk/downstream.go (modified) Make "@" and "/" indicate client name and network, respectively ... Tue, 31 Mar 2020 16:16:54 GMT contact [188] * trunk/downstream.go (modified) Consume ring messages outside of writer goroutine This fixes ... Sat, 28 Mar 2020 16:36:09 GMT contact [185] * trunk/downstream.go (modified) Use clientName to decide whether or not history should be sent ... Sat, 28 Mar 2020 16:28:28 GMT contact [184] * trunk/downstream.go (modified) Remove downstreamConn.username Replace it with ... Sat, 28 Mar 2020 16:25:48 GMT contact [183] * trunk/downstream.go (modified) Add downstreamConn.clientName Sat, 28 Mar 2020 09:40:33 GMT contact [182] * trunk/downstream.go (modified) Update password on NickServ SET PASSWORD message Sat, 28 Mar 2020 00:03:00 GMT contact [181] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) s/List/LIST/ when referring to the command Fri, 27 Mar 2020 23:54:42 GMT contact [180] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Document functions safe to call from any goroutine Fri, 27 Mar 2020 23:51:58 GMT contact [179] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Introduce eventUpstreamDisconnected This allows us to perform ... Fri, 27 Mar 2020 23:07:20 GMT delthas [177] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Add LIST support This commit adds support for downstream LIST ... Fri, 27 Mar 2020 23:07:20 GMT delthas [176] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Make upstream.SendMessageLabeled use an uint64 id This commit is ... Fri, 27 Mar 2020 21:38:38 GMT contact [173] * trunk/db.go (modified) * trunk/downstream.go (modified) Stop accessing user data in downstreamConn.authenticate This ... Fri, 27 Mar 2020 18:17:58 GMT contact [168] * trunk/downstream.go (modified) * trunk/user.go (modified) Nuke user.lock Split user.register into two functions, one to make ... Fri, 27 Mar 2020 16:55:03 GMT contact [167] * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/user.go (modified) Add eventDownstreamDisconnected This should remove the need for ... Fri, 27 Mar 2020 16:21:05 GMT contact [166] * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/user.go (modified) Add eventDownstreamConnected In a later commit, we'll be able to ... Fri, 27 Mar 2020 15:33:19 GMT contact [165] * trunk/downstream.go (modified) * trunk/server.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Introduce a user.events channel This allows to easily add new ... Fri, 27 Mar 2020 08:40:51 GMT delthas [164] * trunk/downstream.go (modified) Add downstream NOTICE support Thu, 26 Mar 2020 21:43:48 GMT delthas [163] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add downstream INVITE support Thu, 26 Mar 2020 21:33:44 GMT delthas [162] * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Add upstream RPL_CREATIONTIME support Thu, 26 Mar 2020 21:27:46 GMT delthas [160] * trunk/bridge.go (modified) * trunk/downstream.go (modified) Add downstream TOPIC support Wed, 25 Mar 2020 23:15:26 GMT delthas [159] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add KICK support Downstream and upstream message handling are ... Wed, 25 Mar 2020 23:12:53 GMT delthas [158] * trunk/downstream.go (modified) Simplify error handling for downstream JOIN/PART ... Wed, 25 Mar 2020 22:21:14 GMT delthas [156] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Route NAMES, WHO, WHOIS replies to the requesting downstream Using ... Wed, 25 Mar 2020 22:17:46 GMT delthas [154] * trunk/downstream.go (modified) * trunk/server.go (modified) Add a server-unique id to each downstream Adding a simple uint64 id ... Wed, 25 Mar 2020 10:54:08 GMT contact [146] * trunk/db.go (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add support for channel keys Wed, 25 Mar 2020 10:32:44 GMT contact [145] * trunk/downstream.go (modified) Handle downstream JOIN/PART with multiple channel names Closes: ... Wed, 25 Mar 2020 10:28:25 GMT contact [144] * trunk/downstream.go (modified) * trunk/user.go (modified) Consume ring buffer for networks added on-the-fly Wed, 25 Mar 2020 09:53:08 GMT contact [143] * trunk/downstream.go (modified) * trunk/upstream.go (modified) * trunk/user.go (modified) Move upstreamConn.ring to network This handles upstream ... Wed, 25 Mar 2020 08:51:22 GMT delthas [142] * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add downstream self WHO and WHOIS support Wed, 25 Mar 2020 08:48:00 GMT delthas [141] * trunk/downstream.go (modified) Add user hostname to downstream user prefix Wed, 25 Mar 2020 08:47:26 GMT delthas [140] * trunk/bridge.go (modified) * trunk/downstream.go (modified) * trunk/upstream.go (modified) Add downstream NAMES support NAMES reply for channels currently ... Wed, 25 Mar 2020 08:40:08 GMT delthas [139] * trunk/bridge.go (modified) * trunk/downstream.go (modified) * trunk/irc.go (modified) * trunk/upstream.go (modified) Add MODE arguments support - Add RPL_ISUPPORT support with ... Mon, 23 Mar 2020 15:05:00 GMT contact [137] * trunk/downstream.go (modified) * trunk/user.go (modified) Add user.{add,remove}Downstream Sat, 21 Mar 2020 09:24:38 GMT contact [136] * trunk/downstream.go (modified) * trunk/user.go (modified) Add network.upstream helper Sat, 21 Mar 2020 07:44:03 GMT contact [135] * trunk/downstream.go (modified) Fix typo Sat, 21 Mar 2020 07:41:14 GMT contact [134] * trunk/downstream.go (modified) Fix empty SASL challenge message We were sending an empty string. ...