Commit graph

16 commits

Author SHA1 Message Date
Simon Ser 6c1634799a
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.
2020-06-04 20:16:23 +02:00
Simon Ser f79cf305ab
readme: add CI badge 2020-05-01 21:58:29 +02:00
Simon Ser d74fa2d222
readme: fix ref to manpage 2020-04-16 18:55:21 +02:00
Simon Ser 2194259124
Set up DB migration infrastructure
The database is now initialized automatically on first run. The schema
version is stored in SQLite's user_version special field. Migrations are
stored in an array and applied based on the schema version.
2020-04-10 22:45:02 +02:00
Simon Ser 8e6eb18d09
readme: advise connecting with "<username>/<network>"
This matches znc's behavior and is more consistent with the
multiple-upstream mode (where channels and nicks are suffixed with
"/<network>" as well).
2020-03-31 18:41:14 +02:00
Simon Ser 7714c84669
Fix deadlocks in single-upstream mode 2020-03-20 10:42:17 +01:00
Simon Ser 75cbc57555
readme: add ref to man page, add link to GitHub repo 2020-03-19 14:33:49 +01:00
Simon Ser 88877f3c5a
Strip client & network name from username 2020-03-16 09:32:18 +01:00
Simon Ser f3940117d1
Rename project to soju 2020-03-13 18:13:03 +01:00
Simon Ser 85f28daf2d
Auto-save IRC networks 2020-03-12 21:28:09 +01:00
Simon Ser c732b82976
schema: make User.password NOT NULL 2020-03-12 15:23:46 +01:00
Simon Ser e25037f5a6
readme: pipe commands into sqlite3 instead of using -init
This makes it so sqlite3 exits after executing the file.
2020-03-04 20:13:20 +01:00
Simon Ser 57fd268f77
readme: add instructions to initialize database 2020-03-04 18:27:33 +01:00
Simon Ser 86f9221ddc
readme: add some high-level goals, add contributing links 2020-02-17 12:19:27 +01:00
Simon Ser 6e352f43b1
Switch license to AGPLv3 2020-02-07 17:41:51 +01:00
Simon Ser fb0825a100
Add LICENSE and README.md 2020-02-04 10:50:28 +01:00