Bump version to v0.8.0

This commit is contained in:
Joscha 2024-01-04 13:54:03 +01:00
parent a0b029b353
commit 6352fcf639
4 changed files with 45 additions and 33 deletions

View file

@ -15,8 +15,11 @@ Procedure when bumping the version number:
## Unreleased ## Unreleased
## v0.8.0 - 2024-01-04
### Added ### Added
- Support for multiple euph server domains - Support for multiple euph server domains
- Support for `TZ` environment variable
- `time_zone` config option - `time_zone` config option
- `--domain` option to `cove export` command - `--domain` option to `cove export` command
- `--domain` option to `cove clear-cookies` command - `--domain` option to `cove clear-cookies` command

View file

@ -8,15 +8,11 @@ Here is an example config that changes a few different options:
measure_widths = true measure_widths = true
rooms_sort_order = "importance" rooms_sort_order = "importance"
[euph.rooms.welcome] [euph.servers."euphoria.leet.nu".rooms]
autojoin = true welcome.autojoin = true
test.username = "badingle"
[euph.rooms.test] test.force_username = true
username = "badingle" private.password = "foobar"
force_username = true
[euph.rooms.private]
password = "foobar"
[keys] [keys]
general.abort = ["esc", "ctrl+c"] general.abort = ["esc", "ctrl+c"]
@ -24,17 +20,6 @@ general.exit = "ctrl+q"
tree.action.fold_tree = "f" tree.action.fold_tree = "f"
``` ```
If you want to configure lots of rooms, TOML lets you write this in a more
compact way:
```toml
[euph.rooms]
foo = { autojoin = true }
bar = { autojoin = true }
baz = { autojoin = true }
private = { autojoin = true, password = "foobar" }
```
## Key bindings ## Key bindings
Key bindings are specified as strings or lists of strings. Each string specifies Key bindings are specified as strings or lists of strings. Each string specifies
@ -94,7 +79,7 @@ any options related to the data dir.
See also the `--ephemeral` command line option. See also the `--ephemeral` command line option.
### `euph.rooms.<room>.autojoin` ### `euph.servers.<domain>.rooms.<room>.autojoin`
**Required:** yes **Required:** yes
**Type:** boolean **Type:** boolean
@ -102,7 +87,7 @@ See also the `--ephemeral` command line option.
Whether to automatically join this room on startup. Whether to automatically join this room on startup.
### `euph.rooms.<room>.force_username` ### `euph.servers.<domain>.rooms.<room>.force_username`
**Required:** yes **Required:** yes
**Type:** boolean **Type:** boolean
@ -112,7 +97,7 @@ If `euph.rooms.<room>.username` is set, this will force cove to set the
username even if there is already a different username associated with username even if there is already a different username associated with
the current session. the current session.
### `euph.rooms.<room>.password` ### `euph.servers.<domain>.rooms.<room>.password`
**Required:** no **Required:** no
**Type:** string **Type:** string
@ -120,7 +105,7 @@ the current session.
If set, cove will try once to use this password to authenticate, should If set, cove will try once to use this password to authenticate, should
the room be password-protected. the room be password-protected.
### `euph.rooms.<room>.username` ### `euph.servers.<domain>.rooms.<room>.username`
**Required:** no **Required:** no
**Type:** string **Type:** string
@ -642,15 +627,39 @@ See also the `--offline` command line option.
**Required:** yes **Required:** yes
**Type:** string **Type:** string
**Values:** `"alphabet"`, `"importance"` **Values:** `"alphabet"`, `"importance"`
**Default:** `alphabet` **Default:** `"alphabet"`
Initial sort order of rooms list. Initial sort order of rooms list.
`alphabet` sorts rooms in alphabetic order. `"alphabet"` sorts rooms in alphabetic order.
`importance` sorts rooms by the following criteria (in descending order `"importance"` sorts rooms by the following criteria (in descending
of priority): order of priority):
1. connected rooms before unconnected rooms 1. connected rooms before unconnected rooms
2. rooms with unread messages before rooms without 2. rooms with unread messages before rooms without
3. alphabetic order 3. alphabetic order
### `time_zone`
**Required:** no
**Type:** string
**Default:** `$TZ` or local system time zone
Time zone that chat timestamps should be displayed in.
This option is interpreted as a POSIX TZ string. It is described here in
further detail:
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html>
On a normal system, the string `"localtime"` as well as any value from
the "TZ identifier" column of the following wikipedia article should be
valid TZ strings:
<https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>
If the `TZ` environment variable exists, it overrides this option. If
neither exist, cove uses the system's local time zone.
**Warning:** On Windows, cove can't get the local time zone and uses UTC
instead. However, you can still specify a path to a tz data file or a
custom time zone string.

8
Cargo.lock generated
View file

@ -280,7 +280,7 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
[[package]] [[package]]
name = "cove" name = "cove"
version = "0.7.1" version = "0.8.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@ -311,7 +311,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-config" name = "cove-config"
version = "0.7.1" version = "0.8.0"
dependencies = [ dependencies = [
"cove-input", "cove-input",
"cove-macro", "cove-macro",
@ -322,7 +322,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-input" name = "cove-input"
version = "0.7.1" version = "0.8.0"
dependencies = [ dependencies = [
"cove-macro", "cove-macro",
"crossterm", "crossterm",
@ -336,7 +336,7 @@ dependencies = [
[[package]] [[package]]
name = "cove-macro" name = "cove-macro"
version = "0.7.1" version = "0.8.0"
dependencies = [ dependencies = [
"case", "case",
"proc-macro2", "proc-macro2",

View file

@ -5,7 +5,7 @@ resolver = "2"
members = ["cove", "cove-*"] members = ["cove", "cove-*"]
[workspace.package] [workspace.package]
version = "0.7.1" version = "0.8.0"
edition = "2021" edition = "2021"
[workspace.dependencies] [workspace.dependencies]