Commit Graph

41 Commits

Author SHA1 Message Date
Ken-Håvard Lieng
876d9ebdd0 Implement SCRAM-SHA-256 2020-06-04 02:28:41 +02:00
Ken-Håvard Lieng
ead3b37cf9 Collapse and log join, part and quit, closes #27, log nick and topic changes, move state into irc package 2020-06-03 03:04:38 +02:00
Ken-Håvard Lieng
e76beca4a0 Parse ident and host, rename irc.Message.Nick to Sender 2020-05-24 11:09:59 +02:00
Ken-Håvard Lieng
8829793290 Append clientWantedCaps 2020-05-24 07:22:13 +02:00
Ken-Håvard Lieng
e97c7f2ada Pass config struct into irc.Client 2020-05-23 09:42:20 +02:00
Ken-Håvard Lieng
2f8dad2529 Add SASL auth and CAP negotiation 2020-05-23 08:05:37 +02:00
Ken-Håvard Lieng
be8b785813 Scrape horse doc constants, handle all nick collision error types 2020-05-23 02:30:48 +02:00
Ken-Håvard Lieng
e937f5d8b9 Quit on ERROR 2020-05-22 01:22:08 +02:00
Ken-Håvard Lieng
35727fb2b8 Fix dm tab being opened on server messages 2020-05-21 05:24:26 +02:00
Ken-Håvard Lieng
1abe280957 Set timeout and deadline in DownloadDCC 2020-05-20 08:38:18 +02:00
Ken-Håvard Lieng
e33b9f05e4 Implement DCC streaming 2020-05-20 07:21:12 +02:00
Ken-Håvard Lieng
973578bb49 Handle common CTCP messages 2020-05-20 04:19:40 +02:00
Ken-Håvard Lieng
84a10efe36 Log key dcc info messages, keep dcc tab open 2020-05-19 10:37:20 +02:00
Ken-Håvard Lieng
a90e8d4b2f Improve speed calculation, clean some things up 2020-05-18 03:32:57 +02:00
Ken-Håvard Lieng
b92f5cfb43 Send download link on completion 2020-05-17 06:34:59 +02:00
Dario Piombo
1532b2a8c8 changed sendJson param and removed not needed file mode
removed instantaneous speed; update only if percentage delta > 0.1

removed instantaneous speed; update only if percentage delta > 0.1
2020-05-12 16:01:17 +02:00
Ken-Håvard Lieng
2509420ba5 Make ToCTCP handle any type of CTCP message, move DCC handling to separate file 2020-05-12 04:13:05 +02:00
Dario Piombo
ed2e56948e start of DCC implementation
(server side)

small refactoring and added speed calculation

fixup! small refactoring and added speed calculation

download progress

fixup! download progress
2020-05-11 17:34:37 +02:00
Ken-Håvard Lieng
010bb6a102 Sleep before first reconnect attempt 2020-05-05 01:35:05 +02:00
Ken-Håvard Lieng
9cf42df1ea Remove channel from reconnect list when parting 2020-05-01 05:40:49 +02:00
Ken-Håvard Lieng
1794e2680a Update server dependencies 2020-04-29 04:23:32 +02:00
Ken-Håvard Lieng
540efa03c4 Update dependencies 2019-06-09 02:01:48 +02:00
Ken-Håvard Lieng
613d9fca6e Send irc features to the client 2019-01-27 08:53:07 +01:00
Ken-Håvard Lieng
f8e12f5938 Handle channel forwarding and errors better 2019-01-25 11:02:31 +01:00
Ken-Håvard Lieng
f25594e962 Add casefolding to irc lib 2019-01-13 05:10:11 +01:00
Ken-Håvard Lieng
075e404079 Reset backoff on RPL_WELCOME 2019-01-11 05:00:15 +01:00
Ken-Håvard Lieng
eee260f154 Read lines with a bufio.Scanner, reuse input buffer, ignore empty messages, handle multiple spaces between tags and prefix 2019-01-11 04:53:50 +01:00
Ken-Håvard Lieng
a3618b97ae Add list command 2019-01-11 02:46:46 +01:00
Ken-Håvard Lieng
e4d5d2737b Use strings.Replacer to unescape tags 2019-01-11 02:19:57 +01:00
Ken-Håvard Lieng
63cf65100d Pull https handling out into a new package 2018-12-31 03:33:05 +01:00
Ken-Håvard Lieng
95eff71e2e Add go 1.12beta1 travis build 2018-12-21 01:53:35 +01:00
Ken-Håvard Lieng
fc643483be Dont redirect private IPs and localhost 2018-12-17 12:45:33 +01:00
Ken-Håvard Lieng
6c3a5777c4 Use certmagic, simplify config, set HTTP timeouts and a modern TLSConfig 2018-12-16 12:32:03 +01:00
Ken-Håvard Lieng
70b2c4df47 Dont refresh session keys on bootloader requests 2018-11-08 08:39:47 +01:00
Ken-Håvard Lieng
675e350da3 Use Cache-Control immutable and SameSite Lax 2018-10-19 02:11:12 +02:00
Ken-Håvard Lieng
3ec450805b Set SameSite Strict on session cookies 2018-10-06 08:56:29 +02:00
Ken-Håvard Lieng
47bc78b80a Update all dependencies 2018-08-31 03:57:19 +02:00
Ken-Håvard Lieng
fb287dce2f Fix tests 2018-06-18 16:12:19 +02:00
Ken-Håvard Lieng
fde6a9e630 Wait 15 seconds before reconnecting if the connection closed before registration finished 2018-06-17 22:53:22 +02:00
Ken-Håvard Lieng
494dbc4cf5 Remove session expiration timer 2018-06-01 05:59:13 +02:00
Ken-Håvard Lieng
24f9553aa5 Persist, renew and delete sessions, refactor storage package, move reusable packages to pkg 2018-05-31 23:24:59 +02:00