source: code/trunk/server.go

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @801   2 years koizumi.aoi Rename to suika Signed-off-by: Aoi K <koizumi.aoi@…>
(edit) @798   2 years koizumi.aoi dev: move import uris to this repository
(edit) @766   3 years contact Retry on temporary net.Listener failure Instead of stopping to …
(edit) @756   4 years contact server: cleanup user in defer If a user goroutine panics, this …
(edit) @747   4 years contact Add Logger.Debugf Makes it easy to print debugging messages which …
(edit) @746   4 years contact Remove Logger.Print Callers can just use Logger.Printf instead.
(edit) @735   4 years contact Add exponential backoff when re-connecting to upstream The first …
(edit) @734   4 years contact Add soju_upstream_connect_errors_total metric
(edit) @711   4 years contact Add message counter metrics
(edit) @710   4 years contact Add number of upstream connections to metrics
(edit) @709   4 years contact Add int64 gauge abstraction We want to serve metrics via both …
(edit) @708   4 years contact Add basic active users and downstreams metrics
(edit) @707   4 years contact Add basic Prometheus metrics exporter This only exports the default …
(edit) @705   4 years contact Add per-user IP addresses The new upstream-user-ip directive allows …
(edit) @704   4 years contact Add timeout for downstream connection registration
(edit) @694   4 years contact Add config option to globally disable multi-upstream mode Closes: …
(edit) @691   4 years contact Allow most config options to be reloaded Closes: …
(edit) @689   4 years contact Add panic handlers for user and downstream goroutines This only …
(edit) @680   4 years contact Add context support to Server.createUser
(edit) @675   4 years contact Plumb context in downstreamConn.handleMessageRegistered References: …
(edit) @670   4 years contact Turn CHATHISTORY and backlog limits into constants
(edit) @667   4 years contact msgstore: add context to messageStore methods This allows setting a …
(edit) @662   4 years contact Add title config option Closes: https://todo.sr.ht/~emersion/soju/146
(edit) @656   4 years contact Fix missing imports in server.go Oops.
(edit) @655   4 years contact Get rid of io.EOF errors in logs Closes: …
(edit) @652   4 years contact Add context args to Database interface This is a mecanical change, …
(edit) @636   4 years contact Add bouncer MOTD Closes: https://todo.sr.ht/~emersion/soju/137
(edit) @612   4 years contact Add max-user-networks config option
(edit) @605   4 years contact Add "server status" command Right now, it prints the number of active …
(edit) @601   4 years contact Use isErrClosed in Server.Serve
(edit) @599   4 years contact Close DB on shutdown
(edit) @597   4 years contact Add support for IRCv3 WebSocket text subprotocol Technically we …
(edit) @563   4 years contact Allow admins to broadcast message to all bouncer users Typically done …
(edit) @531   4 years sir db: refactor into interface This refactors the SQLite-specific bits …
(edit) @474   4 years contact Stop reading X-Forwarded-Port X-Forwarded-Port contains the …
(edit) @473   4 years contact Fix Forwarded HTTP header handling "for" contains the port, if any. …
(edit) @472   4 years contact Add support for the Forwarded HTTP header This is the standard …
(edit) @471   4 years contact Drop "irc" WebSocket subprotocol The subprotocol hasn't been …
(edit) @449   4 years contact Add support for graceful shutdown Closes: …
(edit) @409   5 years contact Nuke in-memory ring buffer Instead, always read chat history from …
(edit) @398   5 years contact Implement rate limiting for upstream messages Allow up to 10 outgoing …
(edit) @385   5 years contact Add an ident server Closes: https://todo.sr.ht/~emersion/soju/69
(edit) @378   5 years contact Remove user from Server map when stopped
(edit) @370   5 years contact Add accept-proxy-ip config directive This allows to set the list of …
(edit) @348   5 years contact Accept "irc" WebSocket subprotocol
(edit) @347   5 years contact Add RemoteAddr to ircConn interface
(edit) @345   5 years contact Only read X-Forwarded-* if remote address is loopback
(edit) @344   5 years contact Extract X-Forwarded-* headers for WebSocket connections
(edit) @329   5 years delthas Add support for the user create admin service command This adds …
(edit) @323   5 years contact Add support for WebSocket connections WebSocket connections allow …
(edit) @319   5 years delthas Add support for downstream CHATHISTORY This adds support for the WIP …
(edit) @316   5 years contact Remove keepAlivePeriod This is a remnant of setKeepAlive. Fixes: …
(edit) @210   5 years contact Introduce conn for common connection logic This centralizes the …
(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) @178   5 years delthas Add support for bouncer logs Add bouncer logs, in a …
(edit) @172   5 years contact Get rid of Server.downstreamConns This is unused right now. Let's …
(edit) @167   5 years contact Add eventDownstreamDisconnected This should remove the need for …
(edit) @166   5 years contact Add eventDownstreamConnected In a later commit, we'll be able to move …
(edit) @165   5 years contact Introduce a user.events channel This allows to easily add new events, …
(edit) @154   5 years delthas Add a server-unique id to each downstream Adding a simple uint64 id …
(edit) @103   5 years contact Per-user dispatcher goroutine This allows message handlers to read …
(edit) @101   5 years contact Split user logic into its own file
(edit) @98   5 years contact Rename project to soju
(edit) @91   5 years contact Auto-save IRC networks
(edit) @90   5 years contact Store NICK changes in the DB
(edit) @79   5 years contact go fmt
(edit) @77   5 years contact Add SQLite database Closes: https://todo.sr.ht/~emersion/jounce/9
(edit) @75   5 years contact Remove unused user.getChannel, move getUpstream to user
(edit) @73   5 years contact Allow clients to specify an upstream name in their username
(edit) @71   5 years contact Retry connecting to upstream servers Rate-limit retries in case …
(edit) @67   5 years contact Enable TCP keep-alive on all connections
(edit) @65   5 years contact Don't leave connections half-opened
(edit) @64   5 years contact Add a -debug flag
(edit) @57   5 years contact Fix issues related to Ring - RingConsumer is now used directly in the …
(edit) @50   5 years contact Add an in-memory ring buffer References: …
(edit) @49   5 years contact Handle downstream PART messages
(edit) @46   5 years contact Handle downstream MODE messages
(edit) @44   5 years contact Add upstreamConn.register
(edit) @41   5 years contact Skip unregistered and closed upstream connections
(edit) @40   5 years contact Add user.forEachDownstream
(edit) @39   5 years contact Add user.forEachUpstream
(edit) @38   5 years contact Add Server.getUser
(edit) @37   5 years contact Per-user connections
(edit) @29   5 years contact Keep track of upstream connections in a list
(edit) @24   5 years contact Remove downstream conn from list on disconnect
(edit) @23   5 years contact Allow Server to have access to upstreamConn
(edit) @22   5 years contact Maintain a list of downstream connections
(edit) @21   5 years contact Add per-upstream logger
(edit) @19   5 years contact Join channels on upstream servers
(edit) @13   5 years contact Split downstram and upstream code into separate files
(edit) @12   5 years contact Log upstream server errors
(edit) @11   5 years contact Add basic upstream message handler
(edit) @10   5 years contact Connect to upstream servers
(edit) @9   5 years contact Add Server.Logger
(edit) @8   5 years contact Rename conn to downstreamConn
(edit) @7   5 years contact Handle PING
(edit) @6   5 years contact Send ERR_NOMOTD on registration
(edit) @5   5 years contact Add connection registration
(edit) @4   5 years contact Handle NICK and USER
Note: See TracRevisionLog for help on using the revision log.