Commit graph

104 commits

Author SHA1 Message Date
96743e26e2 Update emoji 2023-12-26 15:24:15 +01:00
2decee83e9 Switch euphoria.io (RIP) to euphoria.leet.nu
euphoria.io is dead for good now, and euphoria.leet.nu is the blessed
clone/fork that will take its place. May this crevice of the internet
survive another day.
2023-12-26 13:57:18 +01:00
09aed3181e Add whitespace todo 2023-05-14 14:55:47 +02:00
34f33ff038 Rename Snapshot to ConnSnapshot 2023-05-14 14:44:49 +02:00
0f217a6279 Fix euph errors always turning into conn::Errors 2023-04-08 20:22:19 +02:00
0c135844a4 Fix deserializing empty events and replies 2023-04-08 20:05:41 +02:00
768a259f02 Add timeout while opening connection
This should hopefully fix an issue where instances would get stuck in a
"Connecting" state after suspending the host machine or maybe just
connecting it to a different wifi. I've not managed to reliably
reproduce the bug, so this may not fix it at all.
2023-03-12 16:31:58 +01:00
373a98c26c Make Instance cloneable 2023-03-04 00:07:13 +01:00
5005e56881 Fix phone and mobile emoji 2023-03-01 01:22:25 +01:00
3aaef7ab11 Make command parsing helper function public 2023-02-27 14:07:06 +01:00
4479126500 Return whether command handled message 2023-02-27 12:41:49 +01:00
a6331d50b8 Implement Command for Uptime 2023-02-27 12:04:00 +01:00
d303dfbd0d Stay connected on bounce if no password is set 2023-02-26 21:17:57 +01:00
f60420afa5 Add Instances::is_from_known_instance 2023-02-26 21:17:57 +01:00
480ea3bd82 Reorganize Uptime code 2023-02-26 21:17:57 +01:00
23d3166c2d Implement Command for FullHelp 2023-02-26 21:17:57 +01:00
f5c5043896 Implement Command for ShortHelp 2023-02-26 21:17:57 +01:00
8b8d281f8a Implement Command for Ping 2023-02-26 21:17:57 +01:00
aa6383c1cf Fix instances taking too long to stop 2023-02-26 21:17:57 +01:00
be9d43f8cc Don't reconnect when encountering 404 2023-02-26 21:17:43 +01:00
319de09c35 Refactor instance logging 2023-02-17 16:55:35 +01:00
bcbe2614ab Fix !uptime minutes 2023-02-13 19:24:44 +01:00
a5a6f121bd Make mentions more permissive 2023-01-31 10:36:18 +01:00
f394ddc5a6 Use new nick functions in bang command 2023-01-30 19:01:16 +01:00
de62727dc6 Fix clippy lints 2023-01-30 18:57:28 +01:00
46d9367670 Add ConnTx::send_only 2023-01-30 18:57:06 +01:00
09a9620f8e Implement nick normalization and mentioning 2023-01-30 18:46:19 +01:00
e6898cc9f7 Move nick hue functions to their own module 2023-01-30 18:25:38 +01:00
3bc50dcf26 Add Prefixed command constructor 2023-01-26 20:00:04 +01:00
ff886efd78 Make Command system more flexible 2023-01-26 18:18:21 +01:00
2719ab3301 Fix connection not checking pings 2023-01-24 18:11:41 +01:00
dfacc05749 Log full packets under different target 2023-01-24 17:43:03 +01:00
a0d55482cc Add botrulez 2023-01-24 15:47:57 +01:00
5655fa7c4a Construct Commands 2023-01-24 15:26:11 +01:00
ec9c4c9dd4 Add error type parameter to commands 2023-01-24 14:48:59 +01:00
4dcc021f73 Add bot::command::clap 2023-01-24 14:36:19 +01:00
84b742ee6e Add bot::command and bot::commands 2023-01-24 12:15:22 +01:00
9023de6509 Add bot::instances 2023-01-24 10:46:04 +01:00
63464fdc59 Log disconnect events 2023-01-23 22:48:05 +01:00
29b7d0ed7a Send Snapshot on Connected event 2023-01-23 21:38:48 +01:00
cd4b65d9cc Add InstanceConfig::force_username setting 2023-01-23 19:09:42 +01:00
24e2da9fd3 Add Event::config 2023-01-23 18:32:09 +01:00
9315e5798c Add and update documentation 2023-01-22 22:33:52 +01:00
b34de07fe1 Compact function signatures 2023-01-22 22:33:37 +01:00
d5b45ecb39 Fix log message 2023-01-22 22:05:15 +01:00
820da6db1b Add Instance::stop 2023-01-22 21:57:09 +01:00
5d1d12522e Stop instance when it is dropped 2023-01-22 21:42:04 +01:00
3f14151feb Send different kinds of events 2023-01-22 20:51:08 +01:00
0c7e8c1dff Hide cookies in ServerConfig Debug impl 2023-01-22 20:49:34 +01:00
1ea5ede442 Limit Snapshot to Conn 2023-01-22 19:16:33 +01:00