67 Commits

Author SHA1 Message Date
contact
73e3e9a645 doc: update URL to sr.ht hub in man page
git-svn-id: file:///srv/svn/repo/suika/trunk@321 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-06-05 22:23:25 +00:00
contact
d0e4ccf213 doc: add missing change-password service command
git-svn-id: file:///srv/svn/repo/suika/trunk@320 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-06-05 22:21:37 +00:00
contact
adbb37b8d7 Allow multiple listeners, default to ircs
Users can now specify multiple "listen" directives in their
configuration file. If -listen is specified on the CLI, it's added to
the list of listeners.

Listeners are now parsed as URLs. If the scheme is missing "ircs" is
assumed. URLs allow to enable/disable TLS on a per-listener basis and
will be used for Unix sockets too.

The default listening address is changed from irc+insecure://:6667 to
ircs://:6697. This avoids setting up an insecure listener opened to
everybody.

git-svn-id: file:///srv/svn/repo/suika/trunk@317 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-06-04 18:16:23 +00:00
fox.cpp
5f49770e07 Implement upstream SASL EXTERNAL support
Closes: https://todo.sr.ht/~emersion/soju/47

git-svn-id: file:///srv/svn/repo/suika/trunk@307 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-06-02 09:24:22 +00:00
contact
9f84047153 Add support for detached channels
Channels can now be detached by leaving them with the reason "detach",
and re-attached by joining them again. Upon detaching the channel is
no longer forwarded to downstream connections. Upon re-attaching the
history buffer is sent.

git-svn-id: file:///srv/svn/repo/suika/trunk@284 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-05-01 13:18:14 +00:00
delthas
67237abdea Add support for the irc+insecure address scheme
Some servers do not support TLS, or have invalid, expired or self-signed
TLS certificates. While the right fix would be toi contact each server
owner to add support for valid TLS, supporting plaintext upstream
connections is sometimes necessary.

This adds support for the irc+insecure address scheme, which connects to
a network in plain-text over TCP.

git-svn-id: file:///srv/svn/repo/suika/trunk@270 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-28 09:41:13 +00:00
delthas
d94fe63d8a Add support for IRC address schemes
This is preparatory work for adding other connection types to upstream
servers. The service command `network create` now accepts a scheme in
the address flag, which specifies how to connect to the upstream server.

The only supported scheme for now is ircs, which is also the default if
no scheme is specified. ircs connects to a network over a TLS TCP
connection.

git-svn-id: file:///srv/svn/repo/suika/trunk@269 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-28 09:41:13 +00:00
contact
eb0b828944 doc/architecture: ring buffers are now per-channel
git-svn-id: file:///srv/svn/repo/suika/trunk@266 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-17 16:29:49 +00:00
contact
723fe0b92a doc: describe more default settings
git-svn-id: file:///srv/svn/repo/suika/trunk@264 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-16 16:54:47 +00:00
contact
f3a8a13b2b doc: fix SQL driver name in manpage
git-svn-id: file:///srv/svn/repo/suika/trunk@254 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-10 20:37:14 +00:00
contact
35c751da2b Remove per-network ring buffer goroutines
Just dispatch from the user goroutine. This allows removes a lot of complexity.

git-svn-id: file:///srv/svn/repo/suika/trunk@227 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-06 16:05:36 +00:00
contact
ca785e229d doc: document auto-away feature
git-svn-id: file:///srv/svn/repo/suika/trunk@214 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-03 15:25:53 +00:00
contact
0715fdae8a doc: document "network delete"
git-svn-id: file:///srv/svn/repo/suika/trunk@208 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-04-01 15:38:09 +00:00
contact
fc6c4cf40b Make "@" and "/" indicate client name and network, respectively
This allows both kinds "<username>@<client>/<network>" and
"<username>/<network>@<client>".

git-svn-id: file:///srv/svn/repo/suika/trunk@190 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-03-31 17:02:02 +00:00
delthas
3ac0e6bd4d Add support for bouncer logs
Add bouncer logs, in a network/channel/date.log format, in a similar
manner to ZNC log module. PRIVMSG, JOIN, PART, QUIT, MODE are logged.

Add a config directive for the logs file, including a way to disable
them entirely.

git-svn-id: file:///srv/svn/repo/suika/trunk@178 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-03-27 23:07:20 +00:00
contact
f61efcbe80 doc: add basic architecture document
git-svn-id: file:///srv/svn/repo/suika/trunk@170 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-03-27 18:49:55 +00:00
contact
2e6e091858 Move man page to doc/
git-svn-id: file:///srv/svn/repo/suika/trunk@169 f0ae65fe-ee39-954e-97ec-027ff2717ef4
2020-03-27 18:23:41 +00:00