Commit Graph

34 Commits

Author SHA1 Message Date
Łukasz Margiela
d605d64d1d Add build tag for modernc/sqlite driver 2022-09-26 19:31:43 +02:00
Simon Ser
a9949c2e95 database/sqlite: make optional
SQLite requires cgo, for some use cases this is undesirable.
2022-09-11 13:57:00 +02:00
Simon Ser
695cd2eaa5 readme: copy over updated description from website 2022-06-27 14:30:28 +02:00
Simon Ser
2b9e23c278 readme: restrict CI badge to master branch 2022-04-28 14:13:13 +02:00
Simon Ser
66a83e6345 makefile: switch to BSD/GNU make
Let's stop using POSIX make, it's too much of a pain.
2022-02-08 16:10:19 +01:00
Simon Ser
27ea855ea2 readme: add note to use system libsqlite3 2021-09-21 11:44:08 +02:00
Hubert Hirtz
f4562a7534 Add a C compiler to the list of dependencies
It's needed to build sqlite3.
2021-07-07 10:32:16 +02:00
Simon Ser
9a53d4cd08 readme: list dependencies 2021-06-24 21:32:54 +02:00
Simon Ser
314da0ab3e readme: link to rendered man page 2021-05-23 21:41:01 +02:00
Simon Ser
bbc51c00be readme: add link to IRC channel 2021-05-22 00:04:22 +02:00
Simon Ser
53e876eba5 readme: move quickstart to dedicated doc page 2021-05-22 00:01:06 +02:00
Simon Ser
c8ccc641d9 readme: mention Makefile, assume soju is installed system-wide 2021-04-19 16:35:18 +02:00
Simon Ser
73f9a6e455
readme: update mailing list link 2020-07-24 09:49:54 +02:00
Simon Ser
ec7c78050a
readme: mention the znc-import tool 2020-07-22 13:36:19 +02:00
Nomeji
9d27f393dc readme: expand usage 2020-07-22 13:06:03 +02:00
Simon Ser
ccf9cff351
readme: extend copyright notice to all contributors
soju now has multiple contributors. Even if they weren't explicitly
listed as copyright holders, they still retain copyright ownership for
their contributions. Make this clear. See [1].

[1]: https://www.linuxfoundation.org/blog/2020/01/copyright-notices-in-open-source-software-projects/
2020-06-12 14:37:43 +02:00
Simon Ser
33a69edbfe
readme: add link to website 2020-06-10 23:00:50 +02:00
delthas
21af06302a sojuctl: Add support for creating admin users
This adds a new flag, `-admin` for creating admin users, which can
access admin service commands, among which create-user to create other
users on-the-fly.

Since the person running the commands in the README will be the local
soju administrator, the user they create should be admin as well, hence
the README update.
2020-06-08 22:30:09 +02:00
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