Tags give the ability to mark specific points in history as being important
-
-
-
-
v0.8.0
6d0f7330 · ·soju v0.8.0 This release contains the following new features: - Support for a new file-upload IRC extension, to allow clients to upload files to the bouncer. The extension is disabled by default and requires an HTTP listener to be set up. - Unix domain sockets are now supported for HTTP and WebSocket listeners. - Round-robien DNS resolution is used when per-user IP addresses are set up, to better spread load for larger bouncer deployments. - Highlights are now ignored when they appear inside a URL. Full commit history below. Alex McGrath (1): fileupload: add CORS header fields Egor (1): Add unix domain socket listeners for HTTP and WS Henrique Dias (1): Upgrade to go-sqlite3 to fix musl build Moritz Poldrack (2): Fix crash on start when file-upload is disabled doc: add documentation for the file-upload key Simon Ser (43): doc/man: add note that memory message store is basic Add .b4-config contrib/certbot: new document contrib/tlstunnel: new document database: move schema into separate file contrib/certbot: set -eu in renewal hook server: fix malformed Web Push subscriber URI downstream: use fresh context to send timeout errors Add conn.Shutdown upstream: consoldate TCP dial into function config: use scfg unmarshaler Add https:// and http+insecure:// listeners cmd/soju: add withDefaultPort helper config: fix MaxUserNetworks default value service: don't send PART if not joined in "channel delete" doc/per-user-ip: fix subnet length in ip route command Upgrade dependencies doc/ext/bouncer-networks: drop work-in-progress disclaimer Add support for file uploads Add http-ingress config directive doc/ext/filehost: fix heading level downstream: fix FILEHOST endpoint fileupload: serve select MIME types as inline doc: note that file uploads require an HTTP listener config: validate http-origin patterns Upgrade dependencies Wire up server logger to testing package Ignore highlights in URLs fileupload: append ext to filename if missing fileupload: hardcode a few primary file extensions fileupload: URL-escape output filename upstream: use round-robin DNS resolution when per-user IPs are set up Upgrade dependencies upstream: fix conditional for resolveIPAddr auth/pam: upgrade to github.com/msteinert/pam v2 server: print error on getOrCreateUser failure fileupload: fix http-origin pattern matching upstream: fix panic on malformed RPL_CHANNELMODEIS downstream: shallow copy message in SendMessage instead of deep copy downstream: ensure numerics always carry a source prefix Drop unnecessary prefixes for numerics Drop source prefix from most non-numeric server messages Remove RLIMIT_NOFILE bump Tomasz Hołubowicz (1): contrib/clients: update information on ERC for Emacs delthas (1): Automatically join a stored channel on INVITE dubious (1): Upstream change for senpai jacob1 (2): Fix missing prefix on away numerics Include prefix in CAP messages again -
-
v0.7.0
67f7d9aa · ·soju v0.7.0 This is a smaller release, it contains small new features and bug fixes. - The new draft/pre-away extension allows short-lived and background clients (e.g. chathistorysync and Goguma's background worker) to not toggle the auto-away status. - The new draft/no-implicit-names extension allows clients with low bandwidth to connect faster (e.g. Goguma with 3G). - The contrib/migrate-db script is now a lot faster. - SASL ANONYMOUS is now supported to log out from an upstream network. - STATUSMSG messages are now properly routed. Full commit history below. Antonio Mika (1): Update user.go to not broadcast a push notification when generated from us Calvin Lee (4): fix empty CHATHISTORY TARGETS database: batch msg inserts contrib/migrate-db: use explicit src/dest network Fix saving `+draft/react` is msgstores Eric Mertens (7): Fix capability associated with account message-tag Don't drop RPL_LISTSTART - passthrough to downstream ERR_NOSUCHSERVER unqueues WHOIS Pass MODE and TOPIC through for unjoined channels Add support for STATUSMSG Forward complete MODE message to upstream when changing modes Only log unhandled messages in debug mode Simon Ser (62): downstream: set CLIENTTAGDENY=* when upstream is missing message-tags upstream: add forwardMsgByID upstream: forward ERR_NOSUCHNICK upstream: don't print "unhandled message" for registration errors downstream: return channel in cached WHO reply gitignore: add doc/sojuctl.1 user: fix dup upstream connections due to race user: unconditonally stop network in updateNetwork() downstream: return FAIL on unknown BOUNCER command before registration downstream: take irc.Message in handleCap Improve Server.Handle readability downstream: inline authenticate function user: fix upstream connections closed after 1 minute downstream: fix connection registration Stop setting *user in downstreamConn.register downstream: rename downstreamRegistration.password to pass downstream: add support for ANONYMOUS SASL auth downstream: error out if SASL PLAIN identity is specified upstream: introduce upstreamConn.forwardMessage downstream: pass context to SendMessage contrib/systemd: add AmbientCapabilities=CAP_NET_BIND_SERVICE doc/packaging: add section about binding to privileged ports database/sqlite: fix missing argument in DeleteUser Panic if isHighlight is called with empty nick Use database.GetNick in network.isHighlight service: reject params for commands that don't take any Rename Config.Log{Driver,Path} to MsgStore Add CHATHISTORY test downstream: fix nick in auth error message msgstore/znclog: fix panic on malformed input line msgstore/znclog: fix error message downstream: improve SASL error logging Upgrade dependencies server: add metric for goroutine panics Introduce soju.im/pre-away Replace soju.im/pre-away with draft/pre-away service: add a way to reset a network certfp Upgrade dependencies doc: expand on message store specificities doc: clarify that client suffixes are not required for chathistory doc: remove mention of dropped multi-upstream mode contrib/clients: drop mention of single-upstream mode Use * instead of nick in some numeric replies server: drop TODO about configurable vars Use downstreamConn.upstreamForCommand when handling user MODE Remove remnant comments about multi-upstream mode Don't send bouncer-networks updates for removed networks build: cleanup all man pages build: improve readability of Go -ldflags service: convert network certfp to lower-case doc: add openssl command to fetch server fingerprint go fmt database: add NewNetwork database: fix default value for Network.AutoAway database: add NewUser cmd/sojudb: use User.SetPassword contrib/znc-import: leave password empty by default database: drop unnecessary comment Upgrade dependencies upstream: use unspecified AWAY reason if possible conn: drop ErrClosed workaround for WebSocket Add support for draft/no-implicit-names delthas (1): Fix SEARCH queries with special characters on SQLite sentriz (1): database: use postgresQueryTimeout for PostgresDB StoreMessages -
-
-
v0.6.1
1e99e08c · ·soju v0.6.1 Simon Ser (14): downstream: set CLIENTTAGDENY=* when upstream is missing message-tags upstream: add forwardMsgByID upstream: forward ERR_NOSUCHNICK upstream: don't print "unhandled message" for registration errors downstream: return channel in cached WHO reply gitignore: add doc/sojuctl.1 user: fix dup upstream connections due to race user: unconditonally stop network in updateNetwork() downstream: return FAIL on unknown BOUNCER command before registration user: fix upstream connections closed after 1 minute downstream: error out if SASL PLAIN identity is specified database/sqlite: fix missing argument in DeleteUser Panic if isHighlight is called with empty nick Use database.GetNick in network.isHighlight