Commit graph

342 commits

Author SHA1 Message Date
2ee64c11be Update dependencies 2022-07-15 00:20:04 +02:00
eb2b8e818c Bundle sqlite 2022-07-14 21:52:18 +02:00
ee7316f65b Fix rendering of scrolled lists 2022-07-14 14:05:27 +02:00
9169cbb657 Fix warnings 2022-07-13 15:29:31 +02:00
cc3fbaf968 Print info while exporting logs 2022-07-13 14:48:37 +02:00
f527c46dde Fix scrolling when nick list is visible 2022-07-13 11:44:44 +02:00
9aed0a3cee Use frame stack instead of explicit pos and size parameters 2022-07-13 11:34:52 +02:00
44470b973d Remove unused function 2022-07-12 21:55:29 +02:00
2f60b0390e Use widgets for List rows instead of Styleds 2022-07-12 21:55:29 +02:00
204eb95fa5 Add Empty widget 2022-07-12 21:42:21 +02:00
d2c4d2b029 Add Background widget 2022-07-12 21:42:09 +02:00
8eda1ad97d Box widgets
This way, widgets containing other widgets can be heterogenous. Wenever
a widget is expeted, *any* widget will work.
2022-07-12 21:10:03 +02:00
dea0384162 Use List widget for nick list 2022-07-12 19:29:50 +02:00
da6bab4b13 Use List widget in rooms view 2022-07-12 19:29:50 +02:00
82049aedc0 Add List widget 2022-07-12 19:29:50 +02:00
0a91f2077d Update toss
The latest toss commit includes a width function that runs directly on a
&Styled. This avoids using &styled.text(), which unnecessarily allocates
a new string. Probably premature optimization, but nicer to use
nontheless.
2022-07-12 19:18:52 +02:00
d3229370f3 Consume widget during rendering 2022-07-12 19:18:52 +02:00
53a0f8d4af Add Text widget 2022-07-12 09:27:16 +02:00
f08f653bfc Begin the widgetization 2022-07-11 23:30:16 +02:00
717ac4c47a Sort nick list alphabetically 2022-07-10 13:45:01 +02:00
e188a99f2a Implement simple single-line editor 2022-07-08 11:28:43 +02:00
cd320b3678 Improve export format slightly
- Use [...] instead of ... as placeholder
- Fix indentation on multiline messages
2022-07-08 00:06:02 +02:00
0ccf788d7b Add option to export plain text room logs 2022-07-07 03:41:44 +02:00
02d3b067b8 Show informative prefixes in nick list
~ = logged into an account
* = is host (supercedes ~)
! = is staff (supercedes *)
> = is current session
2022-07-06 19:34:30 +02:00
39560f1fc5 Show amount of rooms in room list 2022-07-06 11:33:57 +02:00
e1585bfe30 Update dependencies 2022-07-06 11:23:34 +02:00
9f9f68466a Don't always render list cursor 2022-07-06 10:18:31 +02:00
a03971c019 Remove unused code 2022-07-06 10:18:00 +02:00
47d67022f0 Fix chat rendering over room status 2022-07-06 10:12:29 +02:00
2a710ab727 Render nick list with generic list 2022-07-06 10:10:05 +02:00
4effe38c1d Increase ping and reply timeout
While downloading logs for &music, the server would repeatedly time out
on ws pings because it took too much time responding to the log
commands. This change makes reconnects less likely at the cost of not
noticing them as quickly.
2022-07-05 20:49:36 +02:00
9b3ea00d1b Use longer time format 2022-07-05 20:49:07 +02:00
4712798bf5 Stay connected if room requires auth
Even though authentication is not possible yet
2022-07-05 20:18:40 +02:00
7f1dc020d3 Render room list with new generic list 2022-07-05 19:37:29 +02:00
8b7c58b702 Add generic list 2022-07-05 19:37:29 +02:00
446e3e885a Move chat to ui module 2022-07-05 19:37:29 +02:00
603876738f Fix hue hash for emoji-heavy nicks 2022-07-04 22:40:49 +02:00
93cc2a6c13 Switch to new toss commit 2022-07-04 19:50:07 +02:00
11422801b0 Display nicks with hashed color 2022-07-02 17:23:30 +02:00
37d10821a4 Implement euph color hashing 2022-07-02 17:22:59 +02:00
025bd788cf Fix warnings 2022-06-30 15:16:47 +02:00
e1ef195198 Fix ping pong 2022-06-30 15:16:37 +02:00
4da132b5bb Fix suffixes in room list 2022-06-28 10:32:10 +02:00
075a9b266e Fix chat size calculations 2022-06-28 10:24:28 +02:00
6fbc0c5ff7 Render and interact with individual rooms 2022-06-28 10:24:20 +02:00
9cd7ee008d Store time of first and last join for each room 2022-06-27 10:34:13 +02:00
19d9a19c06 Delete existing rooms 2022-06-27 10:19:17 +02:00
3e9ceba302 Connect to new rooms 2022-06-27 10:14:30 +02:00
05ac42ab78 Connect to and disconnect from existing rooms 2022-06-27 09:51:22 +02:00
365b3fffd0 Fix unique constraint violation when joining 2022-06-27 09:50:56 +02:00