Commit graph

793 commits

Author SHA1 Message Date
900a686d0d Fix changelog heading
"Updated" does not conform to Keep a Changelog.
2025-02-23 04:28:21 +01:00
2fa1bec421 Remove special rl2dev code 2025-02-23 04:27:22 +01:00
e750f81b11 Drop once_cell dependency
It's now part of the standard library :D
2025-02-22 16:42:26 +01:00
866176dab6 Move cursor to new room in room list 2025-02-22 12:33:59 +01:00
bf11e055b6 Reformat changelog
There should always be space around headlines and lists in markdown
documents.
2025-02-22 12:33:59 +01:00
6c884f3077 Update RPIT lifetime bounds for the 2024 edition
When the bound matches the implicit bound, i.e. when you'd just write

    impl ... + use<'_>

then it can be omitted. My gut instinct is to always write the bound
explicitly, but maybe that'll harm readability once I'm more used to how
bounds work now.

Anyways, always try to keep the bound as small as possible, ideally just

    impl ... + use<>
2025-02-21 19:18:01 +01:00
d29e3e6651 Set up GitHub CI 2025-02-21 15:02:21 +01:00
fbc64de607 Merge and reorder imports
This change brings them in-line with the default settings of
rust-analyzer. Originally, I disliked this style, but by now, I've grown
used to it and prefer it slightly. Also, I like staying on the default
path since I usually don't need to check the imports to see if
rust-analyzer messed anything up (except for omitting the self:: when
importing modules defined in the current module, grr :D).

I've also come around to the idea of trailing mod definitions instead of
putting them at the top: I would also put module definitions that
contain code instead of referencing another file below the imports. It
feels weird to have code above imports. So it just makes sense to do the
same for all types of mod definitions.

If rustfmt ever gains stable support for grouping imports, I'll probably
use that instead.
2025-02-21 12:46:25 +01:00
816d8f86a3 Migrate rustfmt style to 2024 edition 2025-02-21 12:17:57 +01:00
25d2cc7c98 Migrate to 2024 edition 2025-02-21 12:17:57 +01:00
f45e66f572 Fix or ignore 2024 edition migration lints 2025-02-21 12:11:58 +01:00
bd43fe060b Update dependencies
Except rusqlite and vault, because newer sqlite versions appear to
result in a *very* big performance drop. I suspect the query planner,
though I really have no idea.
2025-02-21 00:41:01 +01:00
e1ba15cb9e Update time_zone docs 2025-02-21 00:32:44 +01:00
edc4219258 Update euphoxide and jiff 2025-02-21 00:31:50 +01:00
55d4321770 Fix outdated reference in config docs
Thanks, JRF!
2025-02-20 19:40:29 +01:00
e80d41cc47 Fix panic due to rustls 2024-12-04 21:17:11 +01:00
f471b9ce00 Switch to jiff from time 2024-12-04 21:08:06 +01:00
2ecc482533 Configure all deps in workspace 2024-12-04 20:20:17 +01:00
cff933b0bf Add and fix more lints 2024-12-04 20:14:41 +01:00
e43b27acfd Satisfy clippy lint 2024-11-06 22:04:57 +01:00
461cc37d88 Remove unused method 2024-11-06 22:01:56 +01:00
106a047b78 Fix clippy lint about lints 2024-11-06 22:01:56 +01:00
7aba041c9f Bump version to 0.8.3 2024-05-20 19:18:13 +02:00
19242a658e Update dependencies 2024-05-20 19:12:41 +02:00
db734c5740 Bump version to 0.8.2 2024-04-25 20:45:00 +02:00
d3666674b2 Update dependencies 2024-04-25 20:41:04 +02:00
c2cfa6e527 Remove todos 2024-04-25 20:38:43 +02:00
3a3d42bcf3 Fix clippy warning 2024-04-25 20:38:43 +02:00
db529688e9 Use cargo workspace lints 2024-04-25 20:38:21 +02:00
131b581880 Change json-stream export format to json-lines 2024-03-08 22:19:21 +01:00
50be653244 Fix incorrect cli option reference 2024-01-27 13:21:59 +01:00
998a2f2ffd Fix crash when window too small with msg editor visible 2024-01-14 12:41:48 +01:00
a5b33440c5 Fix spelling of "indexes" 2024-01-12 22:21:44 +01:00
133681fc62 Bump version to v0.8.1 2024-01-11 11:25:45 +01:00
37e4c6b845 Update dependencies 2024-01-11 11:22:34 +01:00
ee7121b04e Implement live caesar cipher 2024-01-05 23:29:41 +01:00
ab81c89854 Set window title
The title includes the amount of unseen messages in the room or room
list. The room list heading also now contains the amount of connected
rooms as well as the amount of unseen messages in total (if any).
2024-01-05 15:07:20 +01:00
ed7bd3ddb4 Remove key binding to open present page 2024-01-04 23:50:35 +01:00
6352fcf639 Bump version to v0.8.0 2024-01-04 13:55:20 +01:00
a0b029b353 Update dependencies 2024-01-04 13:52:18 +01:00
dadbb205e5 Fix cargo doc warnings 2024-01-03 23:51:27 +01:00
e0948c4f1c Fix duplicated key presses on windows 2024-01-03 23:51:20 +01:00
88ba77b955 Move domains in front of room names in the UI
The reasoning behind this change in the room list is that putting the
domain (which rarely changes) in front of the room name (which often
changes) is a lot more readable. It also moves it away from the status
info parentheses, making them more obvious again.

The reasoning for the individual room view is consistency. Putting the
domain at the end here looked fine, but putting it in front matches the
room list and still looks fine.
2024-01-03 18:56:29 +01:00
2d2dab11ba Reduce connection timout to 10 seconds 2024-01-03 18:13:15 +01:00
a8570cf9c5 Make TZ env var override time_zone config option 2024-01-03 17:03:00 +01:00
f94eb00dcd Clean up config docs 2024-01-03 16:30:08 +01:00
f555414716 Improve tz load error message very slightly 2024-01-03 02:53:04 +01:00
1189e3eb7b Display chat time stamps in configured time zone 2024-01-03 02:20:59 +01:00
43a8b91dca Load time zone when opening vault 2024-01-03 02:06:33 +01:00
c286e0244c Add time_zone config option 2024-01-03 02:05:53 +01:00