Commit Graph

47 Commits

Author SHA1 Message Date
Ken-Håvard Lieng
fad2e030d4 Fix h2 push hash check 2019-02-01 06:39:38 +01:00
Ken-Håvard Lieng
24960f23b9 Add topic modal 2019-01-25 03:57:58 +01:00
Ken-Håvard Lieng
aab1ad3e99 Fix h2 push 2019-01-25 02:32:22 +01:00
Ken-Håvard Lieng
8526805c2f Add headers config, closes #25 2018-12-20 11:51:31 +01:00
Ken-Håvard Lieng
6fedb23363 Prerender index page 2018-12-17 14:44:46 +01:00
Ken-Håvard Lieng
71f79fd84e Pass in config struct 2018-12-11 10:54:05 +01:00
Ken-Håvard Lieng
0438a099cf Fix dev mode, turn off react concurrent mode, update dependencies 2018-11-29 11:54:05 +01:00
Ken-Håvard Lieng
df71c54d37 Use a map to serve files 2018-11-27 12:07:48 +01:00
Ken-Håvard Lieng
d24d33d94c Fix push cookie hash check 2018-11-27 11:34:02 +01:00
Ken-Håvard Lieng
05527e41b7 Use absolute paths 2018-11-22 08:48:29 +01:00
Ken-Håvard Lieng
90785aba20 Create sessions on boot requests instead of websocket handshakes 2018-11-17 11:52:36 +01:00
Ken-Håvard Lieng
4dcf674c4b Add robots.txt, clean up index template 2018-11-14 10:11:15 +01:00
Ken-Håvard Lieng
d867ca8477 Add worker-src csp directive 2018-11-14 08:34:35 +01:00
Ken-Håvard Lieng
474afda9c2 Add manifest.json, icons and install button, flatten client/src 2018-11-10 12:33:44 +01:00
Ken-Håvard Lieng
4b4b2394a9 Link rel preload boot data 2018-11-09 07:12:43 +01:00
Ken-Håvard Lieng
9b6844449d Vendor workbox 2018-11-08 09:39:32 +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
f86e0d9283 Dont do auth on service worker index page requests 2018-11-07 02:55:00 +01:00
Ken-Håvard Lieng
fd6c8a70e2 Append pathname to bootloader request 2018-11-07 02:07:23 +01:00
Ken-Håvard Lieng
ed40b956b7 Set publicPath in production webpack config 2018-11-07 01:35:53 +01:00
Ken-Håvard Lieng
ca222ff10d Add cache-first service worker 2018-11-06 11:13:32 +01:00
Ken-Håvard Lieng
d930365eeb Code split the client, update dependencies 2018-11-04 07:23:07 +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
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
fb8fec38ff Use correct hash length when reading the push cookie 2018-04-30 22:53:29 +02:00
Ken-Håvard Lieng
6f0ea05f4b Use shorter asset hashes 2018-04-26 21:19:47 +02:00
Ken-Håvard Lieng
e294e109f8 Handle requests with no Accept-Encoding properly 2017-04-16 01:37:26 +02:00
Ken-Håvard Lieng
64a4bfbd8a Unvendor x/net/http2 2017-04-15 04:52:40 +02:00
Ken-Håvard Lieng
37c8e780bc Add HTTP/2 push 2017-04-15 04:48:24 +02:00
Ken-Håvard Lieng
495598ac37 Remove favicon 404 2017-04-14 04:40:31 +02:00
Ken-Håvard Lieng
e5832d2c58 Add brotli support 2017-04-14 04:33:44 +02:00
Ken-Håvard Lieng
8eea1e5cb0 Prevent favicon requests 2017-03-23 20:55:34 +01:00
Ken-Håvard Lieng
240392dcae Use egon templating for the index page 2016-03-16 23:23:16 +01:00
Ken-Håvard Lieng
cd317761c5 Switch from Godep to go vendoring 2016-03-01 01:51:26 +01:00
Ken-Håvard Lieng
7108fa572c Update client dependencies 2016-02-04 03:35:50 +01:00
Ken-Håvard Lieng
90b74ee022 Implement Content-Security-Policy 2016-02-03 19:44:44 +01:00
Ken-Håvard Lieng
e5bc38aafc Use local fonts 2016-02-03 02:22:45 +01:00
Ken-Håvard Lieng
22d8b8b363 Embed servers, channels and users in index.html 2016-01-26 22:10:44 +01:00
Ken-Håvard Lieng
068f3c04a0 Add configurable HSTS and some other headers 2016-01-25 22:41:54 +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
2ccca3a778 Implement client connect form defaults 2016-01-25 01:01:37 +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
eeb45e17c2 Name it 2015-12-11 04:35:48 +01:00
Ken-Håvard Lieng
d11ad72f03 Separate vendor bundle 2015-06-08 00:11:03 +02:00
Ken-Håvard Lieng
61aa5880d3 Add config file, handle it with Viper, add a command to open it in an editor 2015-05-25 04:00:21 +02:00
khlieng
e47cb5f0e4 Implement Last-Modified caching 2015-05-16 01:18:52 +02:00