eab230e796
Derive Debug for more types
2023-01-22 00:12:29 +01:00
d02b9a2e76
Update config constructor functions
2023-01-21 16:22:54 +01:00
fb8bb33965
Support cookies in instances
2023-01-21 16:17:27 +01:00
99893a1272
Clean up emoji file
2023-01-21 16:17:17 +01:00
4365d14923
Add logging to instance
2023-01-21 16:17:17 +01:00
f243e2243d
Make conn::Result public
2023-01-21 14:05:42 +01:00
e5f1b21303
Export Emoji struct instead of emoji submodule
2023-01-21 14:05:42 +01:00
3f5ae51a41
Add debug logging to connection
2023-01-21 14:05:42 +01:00
bd74931ecd
Fix instance not setting nick or using password
2023-01-21 13:12:18 +01:00
c1a970ae3c
Re-add tokio-tungstenite tls feature
...
I'm not sure how to best leave this up to the user. Probably by cloning
those features? I'll have to have a look at what tokio-tungstenite does.
2023-01-21 01:25:03 +01:00
5805c25408
Use tokio's sleep_until
...
Instead of my own hastily thrown together implementation
2023-01-21 01:05:06 +01:00
02019762e0
Simplify replies code
2023-01-21 01:04:41 +01:00
74423b6207
Add testbot example for Instance
2023-01-21 00:45:12 +01:00
705ef90e98
Update testbot example
...
Packet handling is now extracted into a separate function and the bot
uses euphoxide's joined.since for its !uptime command.
2023-01-21 00:22:28 +01:00
7357435ee1
Add Instance
2023-01-21 00:08:11 +01:00
0ea72259f6
Add bot feature and submodule
2023-01-21 00:08:03 +01:00
84af98b5aa
Build all features by default
2023-01-20 23:18:42 +01:00
90aa3fda31
Track time since connecting and joining
2023-01-20 22:43:08 +01:00
c15c05a64e
Take emoji into account when calculating nick hue
2023-01-20 19:20:21 +01:00
94159e8cad
Remove emoji
2023-01-20 19:20:21 +01:00
f47dff6ca8
Replace emoji
2023-01-20 19:20:21 +01:00
72eb15543a
Find emoji
2023-01-20 19:20:21 +01:00
e151c721c4
Add all emoji the vanilla client knows
2023-01-20 19:20:21 +01:00
ebb40edd0e
Relax trait bounds on Replies methods
2023-01-20 19:20:21 +01:00
6916977a47
Rewrite conn module
2023-01-20 19:20:21 +01:00
470f3455f7
Add Time::new constructor
2023-01-20 17:11:00 +01:00
142cdfab1c
Add vscode settings
2023-01-20 15:48:27 +01:00
fab7ac52f2
Add Status utility methods
2023-01-02 14:38:09 +01:00
22e729289d
Simplify lints
2022-12-11 20:41:08 +01:00
58e39fa5bc
Bump version to 0.2.0
2022-12-10 02:32:42 +01:00
5b9648271c
Update dependencies
2022-12-10 02:32:42 +01:00
1c0f73b6b0
Remove todo
2022-10-23 14:07:57 +02:00
f5ba899a36
Add connect function
2022-10-23 13:59:17 +02:00
547256b842
Remove direct dependency on thiserror
...
Thiserror is still a transitive dependency due to tungstenite.
2022-10-23 13:33:45 +02:00
34eda3dbd1
Bump version to 0.1.0
2022-10-23 02:42:06 +02:00
c54a16e1c8
Update dependencies
2022-10-23 02:41:49 +02:00
bdb17db5bf
Track sessions only known by nick-events
2022-09-26 15:49:53 +02:00
e59216809a
Fix listing being indexed by wrong id
2022-09-26 10:00:06 +02:00
748d6b7ded
Add wrapper types for various kinds of id
2022-09-26 10:00:06 +02:00
01a442c1f0
Disconnect on account events
2022-08-22 18:18:54 +02:00
516bb82323
Fix field not being public
2022-08-22 16:54:38 +02:00
b8ac67631e
Add account commands to api
2022-08-22 16:54:31 +02:00
b2400b60ad
Improve api documentation
2022-08-22 16:45:25 +02:00
5ac16db3fc
Make timeout configurable
2022-08-20 23:50:00 +02:00
2579a9860d
Remove unnecessary todo
...
The disconnect is followed by the server closing the connection, so
there is no need to handle it manually.
2022-08-20 20:34:38 +02:00
49b37649e3
Return entire packet in ConnTx::recv
2022-08-20 20:18:43 +02:00
741d6c8548
Serialize all parts of Package if set
2022-08-20 20:07:31 +02:00
c385ae9d97
Fix websocket pinging behaviour
...
The websocket standard allows sending arbitrary pong frames at any time
as a unidirectional heartbeat. With the connection's previous
implementation of websocket pinging, this would result in a disconnect
because the connection thought the server had missed its pong.
The current implementation only results in false positives, not
negatives, if the server accidentally sends an unprompted pong with the
same payload as our last ping. It can be debated whether this is an
actual *false* positive or just a plain positive though as the server is
still alive.
2022-08-20 20:02:18 +02:00
47b9f5938c
Add todo about ws pong handling
2022-08-19 23:38:55 +02:00
73949f56fc
Reduce required features of future crate
2022-08-18 18:30:25 +02:00