Commit Graph

31 Commits

Author SHA1 Message Date
Ken-Håvard Lieng 0f5c3b57d2 Handle channel names ending with a slash better 2017-06-13 04:25:59 +02:00
Ken-Håvard Lieng 1beb56abcf Print some info when running in dev mode 2017-06-07 00:17:46 +02:00
Ken-Håvard Lieng 0b13431b83 Always listen on port 1337 in dev mode since the client expects it 2017-05-21 11:11:16 +02:00
Ken-Håvard Lieng eedc687f18 Send the 25 last messages for each channel to the client on load 2017-04-20 01:51:55 +02:00
Ken-Håvard Lieng 37c8e780bc Add HTTP/2 push 2017-04-15 04:48:24 +02:00
Ken-Håvard Lieng cd317761c5 Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
Ken-Håvard Lieng 1a7360a573 Allow all websocket origins in development mode 2016-01-27 18:03:38 +01:00
Ken-Håvard Lieng 04d61dd9a6 Only allow websocket connections from the same origin 2016-01-26 20:14:19 +01:00
Ken-Håvard Lieng df02d27674 Set long cache-control and add a hash to css and js urls, clean some things up 2016-01-25 06:01:40 +01:00
Ken-Håvard Lieng f1c3326af1 Update server dependencies 2016-01-15 19:48:03 +01:00
Ken-Håvard Lieng fb54d4966c Store auth info in a JWT token in a cookie 2016-01-15 02:27:30 +01:00
Ken-Håvard Lieng d9b63dd0ef Enable HTTP/2 2016-01-08 18:53:02 +01:00
Ken-Håvard Lieng 47dd4f51cb Refactor lets encrypt integration to support cert changes and ocsp stapling without restarting 2016-01-06 22:19:06 +01:00
Ken-Håvard Lieng b55cb13e44 Let's Encrypt 2016-01-04 19:26:32 +01:00
Ken-Håvard Lieng de1a2dd343 Support websocket over ssl, pass uuid in url 2015-12-29 22:23:07 +01:00
Ken-Håvard Lieng eeb45e17c2 Name it 2015-12-11 04:35:48 +01:00
Ken-Håvard Lieng 114bf8201e Refactor websocket handler 2015-06-17 00:46:58 +02:00
Ken-Håvard Lieng 047027ddec Refactor irc handler, add tests 2015-06-16 23:20:53 +02:00
Ken-Håvard Lieng 7d17b4b30f Set GOMAXPROCS to NumCPU, drop httprouter 2015-06-07 01:18:26 +02:00
Ken-Håvard Lieng ebdb382706 Stop creating new goroutines for irc.Connect() since it doesnt block anymore 2015-06-06 01:02:02 +02:00
Ken-Håvard Lieng adcf12e1fa Pull IRC client out 2015-06-06 00:34:13 +02:00
Ken-Håvard Lieng c325168a20 Reconnect and retry IRC connections 2015-06-01 05:44:30 +02:00
Ken-Håvard Lieng b687c13baa Pass server as parameter instead of capturing it in reconnect() 2015-05-30 01:10:29 +02:00
khlieng e47cb5f0e4 Implement Last-Modified caching 2015-05-16 01:18:52 +02:00
khlieng c7faa254c5 Strip bindata path 2015-05-16 00:33:51 +02:00
Ken-Håvard Lieng 5a535cf53e Update client dependencies, embed only gzipped assets and unzip on the fly if needed 2015-05-15 07:32:32 +02:00
khlieng 92de7cb8ef Concat css 2015-05-12 23:50:55 +02:00
Ken-Håvard Lieng cb4b5e4f6f Allow websocket connections from all origins 2015-05-11 05:13:35 +02:00
khlieng 79095154ca Add clear command and get rid of the development flag 2015-05-02 01:02:21 +02:00
khlieng d1a82a65b5 Switch to gorilla/websocket 2015-05-02 00:20:22 +02:00
khlieng e63c012aad Add cobra, move the server code into its own package 2015-05-01 22:59:46 +02:00