Commit Graph

173 Commits

Author SHA1 Message Date
Ken-Håvard Lieng 360bed00f9 Implement old storage.Path API 2020-04-20 03:02:15 +02:00
Pierre-Alain TORET ca81475fa5 Add option --config and --data to specify where to store the configuration and the data 2020-03-20 18:24:17 +01:00
Ken-Håvard Lieng 855f4d3e64 Stop using pointers for nested config structs, closes #41 2019-06-09 02:29:35 +02:00
Ken-Håvard Lieng fad2e030d4 Fix h2 push hash check 2019-02-01 06:39:38 +01: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 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 5e674254f0 Use pointer receiver in stateData 2019-01-23 08:20:16 +01:00
Ken-Håvard Lieng 24b26aa85f Add channel joining UI, closes #37 2019-01-23 07:34:39 +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 67e32661f1 Update dependencies 2018-12-31 02:20: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 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 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 fbbcf6457e Show version info in settings 2018-11-22 12:08:18 +01:00
Ken-Håvard Lieng 9b40934654 Grab referer in /init handler instead of getIndexData() 2018-11-22 10:40:29 +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 04852cdf58 Implement http.Handler in server.Dispatch 2018-11-09 07:32:47 +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 7fb0cd3e6a Send default settings when there is no user yet 2018-10-15 09:06:43 +02:00
Ken-Håvard Lieng 6c6a9e12cf Add colored nicks settings option 2018-10-15 08:56:17 +02:00
Ken-Håvard Lieng ec03db4db6 Remove base64-arraybuffer 2018-10-10 21:23:42 +02:00
Ken-Håvard Lieng 963e36c296 Preload fonts 2018-09-18 22:09:08 +02:00
Ken-Håvard Lieng c8c09bce8c Add option to choose which address to listen on, closes #31 2018-08-22 00:31:29 +02:00
Ken-Håvard Lieng c975c5d120 Add option to hex encode the source IP of a client and use it as the ident, closes #24 2018-08-10 21:02:09 +02:00
Pierre-Alain TORET 8ed27bf54b Add support for X-Forwarded-For 2018-07-24 22:01:01 +02:00
Edward Betts ad238726b7 Correct spelling mistakes. 2018-06-18 14:47:51 +01:00
Ken-Håvard Lieng 494dbc4cf5 Remove session expiration timer 2018-06-01 05:59:13 +02: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 e8f5809940 Do session disk writes in a new goroutine 2018-06-01 04:47:11 +02:00
Ken-Håvard Lieng e0200a2b2a Name all storage interface params, return slices of pointers 2018-06-01 04:16:38 +02:00
Ken-Håvard Lieng 09248edd59 Fix irc handler tests 2018-06-01 03:37:22 +02:00