source: code/trunk/upstream.go

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @282   5 years contact Introduce permanentUpstreamCaps
(edit) @281   5 years contact Add upstream cap-notify support
(edit) @278   5 years contact Add upstreamConn.caps Instead of adding one field per capability, …
(edit) @277   5 years contact Rename upstreamConn.caps to supportedCaps For consistency with …
(edit) @276   5 years contact Add support for away-notify This makes use of cap-notify to …
(edit) @274   5 years contact Don't use forEachDownstreamByID when forwarding RPL_AWAY We should …
(edit) @273   5 years contact Check upstream NOTICE prefix is non-nil
(edit) @272   5 years contact Forward RPL_AWAY messages
(edit) @270   5 years delthas Add support for the irc+insecure address scheme Some servers do not …
(edit) @269   5 years delthas Add support for IRC address schemes This is preparatory work for …
(edit) @267   5 years contact Add network.channels, remove DB.GetChannel Store the list of …
(edit) @263   5 years delthas Add support for custom network on-connect commands Some servers use …
(edit) @261   5 years contact Support sending history when upstream is disconnected Previously, we …
(edit) @260   5 years contact Make downstreamConn.marshal{Entity,UserPrefix} take a network This …
(edit) @259   5 years contact Kill downstreamConn.marshal{Nick,Channel} We can just use …
(edit) @253   5 years contact Per-entity ring buffers Instead of having one ring buffer per …
(edit) @248   5 years contact Make newMessageLogger take a *network instead of an *upstreamConn …
(edit) @246   5 years contact Remove outdated comment Locks are gone for good.
(edit) @245   5 years contact Centralize logged messages marshaling This allows messages added to …
(edit) @244   5 years contact Fix upstream NICK handling - uc.nicl was compared to msg.Prefix.Name …
(edit) @240   5 years contact Fix server-time tags timezone We need to use UTC time.
(edit) @239   5 years contact Make upstreamConn.produce log messages
(edit) @238   5 years contact Add origin argument to upstreamConn.produce
(edit) @235   5 years contact Log TOPIC messages See [1]. [1]: …
(edit) @231   5 years contact Remove downstreamConn.ringConsumers We no longer need long-lived ring …
(edit) @227   5 years contact Remove per-network ring buffer goroutines Just dispatch from the user …
(edit) @226   5 years contact Introduce upstreamConn.produce The logic in this function is about to …
(edit) @221   5 years delthas Remove unused entityLog struct Since the logging refactoring in …
(edit) @218   5 years delthas Send one NOTICE on new upstream disconnect/connect errors In order to …
(edit) @217   5 years contact Add NOTICE messages to ring buffer References: …
(edit) @216   5 years contact Add time tag to all messages
(edit) @215   5 years contact Introduce messageLogger This centralizes formatting related to …
(edit) @212   5 years contact Use conn.ReadMessage instead of irc.Conn.ReadMessage
(edit) @210   5 years contact Introduce conn for common connection logic This centralizes the …
(edit) @209   5 years contact Fix writer goroutine races Any SendMessage call after Close could …
(edit) @206   5 years contact Set connect timeout References: https://todo.sr.ht/~emersion/soju/26
(edit) @205   5 years contact Set write deadlines References: https://todo.sr.ht/~emersion/soju/26
(edit) @198   5 years contact Auto away Closes: https://todo.sr.ht/~emersion/soju/13
(edit) @197   5 years contact Only set network.conn when registered
(edit) @195   5 years contact Fix log dir permission We need the permission to list files in the dir.
(edit) @193   5 years contact Request server-time cap If the server didn't populate the time tag, …
(edit) @192   5 years contact Avoid directly forwarding NOTICE messages This would forward tags …
(edit) @187   5 years contact Rename AppendLog to appendLog This function is only safe to call from …
(edit) @186   5 years contact Fix missing upstreamConn.closed initialization Fixes: b33e5f29abbe …
(edit) @181   5 years contact s/List/LIST/ when referring to the command
(edit) @180   5 years contact Document functions safe to call from any goroutine
(edit) @179   5 years contact Introduce eventUpstreamDisconnected This allows us to perform cleanup …
(edit) @178   5 years delthas Add support for bouncer logs Add bouncer logs, in a …
(edit) @177   5 years delthas Add LIST support This commit adds support for downstream LIST …
(edit) @176   5 years delthas Make upstream.SendMessageLabeled use an uint64 id This commit is …
(edit) @175   5 years contact Fix race condition in upstreamConn.Close upstreamConn.closed was a …
(edit) @174   5 years delthas Fix parsing wrong empty element in RPL_WHOISCHANNELS channel list …
(edit) @171   5 years delthas Marshal NOTICE user prefixes and channels NOTICE messages can be both …
(edit) @165   5 years contact Introduce a user.events channel This allows to easily add new events, …
(edit) @163   5 years delthas Add downstream INVITE support
(edit) @162   5 years delthas Add upstream RPL_CREATIONTIME support
(edit) @161   5 years delthas Fix capitalization of 'id' Following the Go project source code …
(edit) @159   5 years delthas Add KICK support Downstream and upstream message handling are …
(edit) @157   5 years delthas Fix wrong handling of members parameter of RPL_NAMREPLY Some servers …
(edit) @156   5 years delthas Route NAMES, WHO, WHOIS replies to the requesting downstream Using …
(edit) @155   5 years delthas Add upstream labeled-response capability support
(edit) @153   5 years delthas Add upstream batch capability support
(edit) @152   5 years delthas Add upstream message-tags capability support
(edit) @146   5 years contact Add support for channel keys
(edit) @143   5 years contact Move upstreamConn.ring to network This handles upstream disconnection …
(edit) @142   5 years delthas Add downstream self WHO and WHOIS support
(edit) @140   5 years delthas Add downstream NAMES support NAMES reply for channels currently …
(edit) @139   5 years delthas Add MODE arguments support - Add RPL_ISUPPORT support with CHANMODES, …
(edit) @131   5 years contact Move upstreamConn.history to network
(edit) @129   5 years delthas Fix MODE downstream support - Fix replies without client as first …
(edit) @128   5 years delthas Add WHOIS support
(edit) @127   5 years delthas Add WHO support
(edit) @125   5 years contact Remove some IRCv3 constants go-irc v3.1.2 adds some missing IRCv3 …
(edit) @117   5 years contact Add basic infrastructure for bouncer service
(edit) @115   5 years delthas Add upstream INVITE support
(edit) @109   5 years contact Protect upstreamConn.history with a lock
(edit) @103   5 years contact Per-user dispatcher goroutine This allows message handlers to read …
(edit) @102   5 years contact Rename messages channels to outgoing
(edit) @98   5 years contact Rename project to soju
(edit) @97   5 years contact Forward NOTICE messages coming from upstream connections
(edit) @96   5 years contact Update dependencies go-irc v3.1.1 contains a breaking change. …
(edit) @95   5 years contact Add support for SASL authentication We now store SASL credentials in …
(edit) @93   5 years contact Add support for upstream PASS command
(edit) @92   5 years contact Add upstream CAP LS support
(edit) @83   5 years contact Pass-through QUIT messages
(edit) @82   5 years contact Pass-through NICK messages for other users
(edit) @79   5 years contact go fmt
(edit) @77   5 years contact Add SQLite database Closes: https://todo.sr.ht/~emersion/jounce/9
(edit) @74   5 years contact Fix TOPIC parsing, broadcast to downstream clients
(edit) @73   5 years contact Allow clients to specify an upstream name in their username
(edit) @72   5 years contact Remove upstream prefix for outgoing MODE and PRIVMSG We shouldn't set …
(edit) @69   5 years contact Add functions to translate between upstream and downstream names
(edit) @68   5 years contact Fix PING handlers, again
(edit) @67   5 years contact Enable TCP keep-alive on all connections
(edit) @66   5 years contact Properly handle PING messages
(edit) @64   5 years contact Add a -debug flag
(edit) @60   5 years contact Add upstreamConn.SendMessage Allows us to change upstreamConn …
(edit) @57   5 years contact Fix issues related to Ring - RingConsumer is now used directly in the …
(edit) @55   5 years contact Abbreviate {upstream,downstream}Conn with uc and dc This makes it …
(edit) @54   5 years contact Don't write to downstreamConn.messages directly Use a helper function …
Note: See TracRevisionLog for help on using the revision log.