Commit Graph

15 Commits

Author SHA1 Message Date
Ken-Håvard Lieng ca4db66308 Add __Host- prefix, set X-XSS-Protection to 0, require go1.11 2020-06-25 08:35:15 +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 70b2c4df47 Dont refresh session keys on bootloader requests 2018-11-08 08:39:47 +01:00
Ken-Håvard Lieng c49bbc72d4 Do all session pruning in a single goroutine 2018-06-01 05:40:12 +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
Ken-Håvard Lieng 637f0d956b Wait until a websocket connection comes in before creating new anonymous sessions 2018-05-22 03:57:52 +02:00
Ken-Håvard Lieng 0648b67cb8 Use random session IDs instead of jwt 2018-04-26 21:32:21 +02:00
Ken-Håvard Lieng 971278e7e5 Upgrade server dependencies, manage them with govendor 2017-04-18 03:02:51 +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 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 e856b66f97 Remove empty anonymous sessions after a certain time period 2016-01-19 22:02:12 +01:00
Ken-Håvard Lieng 3bcea0ec98 Set auth cookie expiration 2016-01-19 20:31:22 +01:00
Ken-Håvard Lieng 1def24500a Test message logging 2016-01-17 21:15:29 +01:00
Ken-Håvard Lieng 947823ab41 Vendor jwt-go 2016-01-15 02:32:50 +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