soju forked to be LESS SHIT
Go to file
delthas e510f7a461 Add support for explicit PostgreSQL schema prefixes for tests
PostgreSQL tests use pg_temp only. pg_temp is never searched for FTS
objects, so creating then altering an FTS configuration will not work
because PostgreSQL will not be able to find the FTS configuration it
just created.

Instead, we explicitly refer to the FTS objects with their full name
including their prefix, which makes PostgreSQL able to find the object.

This is only needed for tests.

See: https://stackoverflow.com/a/31095452/2347617
See: https://www.postgresql.org/message-id/15191.1208975632@sss.pgh.pa.us
2023-02-17 14:13:43 +01:00
auth Add support for PAM authentication 2023-01-30 11:55:43 +01:00
cmd Add a database store for messages 2023-02-17 14:13:43 +01:00
config Add a database store for messages 2023-02-17 14:13:43 +01:00
contrib Add a database store for messages 2023-02-17 14:13:43 +01:00
database Add support for explicit PostgreSQL schema prefixes for tests 2023-02-17 14:13:43 +01:00
doc Add a database store for messages 2023-02-17 14:13:43 +01:00
identd Move identd to separate package 2022-05-09 16:36:54 +02:00
msgstore Add a database store for messages 2023-02-17 14:13:43 +01:00
xirc xirc: Fix sending hostnames starting with ':' in WHO replies 2023-01-25 00:02:26 +01:00
.build.yml ci: switch to alpine/latest 2021-10-15 09:59:53 +02:00
.editorconfig Add .editorconfig 2020-11-30 11:39:41 +01:00
.gitignore gitignore: add sojudb 2023-02-11 23:27:17 +01:00
certfp.go Split CertFP logic into separate file 2021-10-08 09:47:25 +02:00
config.in Listen on the default unix admin endpoint in the default configuration 2023-02-06 15:15:09 +01:00
conn.go Upgrade to gopkg.in/irc.v4 2022-11-14 12:06:58 +01:00
downstream.go Add a database store for messages 2023-02-17 14:13:43 +01:00
go.mod Add a database store for messages 2023-02-17 14:13:43 +01:00
go.sum Add a database store for messages 2023-02-17 14:13:43 +01:00
irc_test.go irc: add isHighlight tests 2022-02-25 11:31:41 +01:00
irc.go Add WHO cache 2022-12-01 15:50:33 +01:00
LICENSE Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
Makefile build: fix binaries not being built 2023-02-11 23:28:29 +01:00
net_go113.go go fmt: add go:build tags 2021-09-09 10:07:37 +02:00
net_go116.go go fmt: add go:build tags 2021-09-09 10:07:37 +02:00
rate.go Add exponential backoff when re-connecting to upstream 2021-12-02 12:14:35 +01:00
README.md Add support for PAM authentication 2023-01-30 11:55:43 +01:00
server_test.go Add administrative unix listen endpoint 2023-02-06 15:15:09 +01:00
server.go Add a database store for messages 2023-02-17 14:13:43 +01:00
service_test.go Hand-made word splitter for BouncerServ 2021-06-24 19:33:46 +02:00
service.go service: Return the error rather than printing it 2023-02-06 15:15:09 +01:00
upstream.go Add support for SASL OAUTHBEARER 2023-01-30 11:53:01 +01:00
user.go Add a database store for messages 2023-02-17 14:13:43 +01:00

soju

builds.sr.ht status

soju is a user-friendly IRC bouncer. soju connects to upstream IRC servers on behalf of the user to provide extra functionality. soju supports many features such as multiple users, numerous IRCv3 extensions, chat history playback and detached channels. It is well-suited for both small and large deployments.

Usage

Building and installing

Dependencies:

  • Go
  • BSD or GNU make
  • a C89 compiler (optional, for SQLite)
  • scdoc (optional, for man pages)

For end users, a Makefile is provided:

make
sudo make install

For development, you can use go run ./cmd/soju as usual.

To link with the system libsqlite3, set GOFLAGS="-tags=libsqlite3". To disable SQLite support, set GOFLAGS="-tags=nosqlite". To build with PAM authentication support, set GOFLAGS="-tags=pam".

To use an alternative SQLite library that does not require CGO, set GOFLAGS="-tags=moderncsqlite".

Contributing

Send patches on the mailing list or on GitHub, report bugs on the issue tracker. Discuss in #soju on Libera Chat.

License

AGPLv3, see LICENSE.

Copyright (C) 2020 The soju Contributors