Commit Graph

45 Commits

Author SHA1 Message Date
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 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 09d57b7023 Use easyjson 2018-05-25 23:54:36 +02:00
Ken-Håvard Lieng 6fd5235ec9 Add new connect form, closes #7 2018-05-16 05:02:48 +02:00
Ken-Håvard Lieng c005fc7cae Add initial support for choosing to still connect when the server uses a self-signed cert and verify_vertificates is turned on 2017-07-04 11:28:56 +02:00
Ken-Håvard Lieng 0a96ebb428 Improve connection handling 2017-07-03 07:35:38 +02:00
Ken-Håvard Lieng 18aff3ded6 Show last IRC connection error in status tab, log IRC connection errors 2017-07-02 03:31:00 +02:00
Ken-Håvard Lieng 786d8013b9 Set InsecureSkipVerify correctly when theres no client cert, rename verify_client_certificates to verify_certificates 2017-06-30 07:20:38 +02:00
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 b639ba6846 Support changing the server name by clicking it in the status tab 2017-06-12 06:31:27 +02:00
Ken-Håvard Lieng aa59e71745 Forward irc errors to the client, improve command validation and feedback, handle topic changes 2017-05-28 07:20:43 +02:00
Ken-Håvard Lieng 8684e2dea2 Store the last tab in a cookie so the server can use it for embedding state 2017-05-21 09:53:47 +02:00
Ken-Håvard Lieng 62a69dfd44 Send logged messages when joining a channel 2017-05-20 23:22:56 +02:00
Ken-Håvard Lieng 45c61e7596 Add message scrollback 2017-05-02 23:21:25 +02:00
Ken-Håvard Lieng 2525b06c28 Use firebase push IDs for messages 2017-04-20 05:32:22 +02:00
Ken-Håvard Lieng 0daf3244cb Log outgoing messages 2017-04-20 02:05:56 +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 ebee2746d6 Rename message.message to message.content 2017-04-17 22:36:37 +02:00
Ken-Håvard Lieng e84f2dd993 Improve nick change handling 2017-04-11 06:04:59 +02:00
Ken-Håvard Lieng 961c0415a0 Handle nick collisions by right-padding with _ 2017-04-06 23:26:58 +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 b50a4a1068 Add /raw command 2016-01-27 20:48:47 +01:00
Ken-Håvard Lieng f678aaed8e Only use the default password when connecting to the default server 2016-01-27 18:30:07 +01:00
Ken-Håvard Lieng 2e8418516a Dont send default server password to the client 2016-01-27 18:08:20 +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 76f99c8332 Use MessagePack on disk 2016-01-17 23:33:52 +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 796bbd834e Add verify_client_certificates to the config 2016-01-14 06:17:53 +01:00
Ken-Håvard Lieng 13a3d96b44 Improve port handling 2016-01-14 05:56:53 +01:00
Ken-Håvard Lieng f429a528ba Add IRC connection status indicator 2016-01-13 18:53:54 +01:00
Ken-Håvard Lieng 81500cc89e Synchronize user.certificate access 2016-01-12 00:32:40 +01:00
Ken-Håvard Lieng 937560e859 Add support for client certificates 2016-01-11 21:04:57 +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 c6c740e24b Make storage.User synchronous, call session.setWS earlier 2015-06-07 06:16:16 +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 be695a9881 Reconnect websockets 2015-06-04 02:06:17 +02:00
Ken-Håvard Lieng c325168a20 Reconnect and retry IRC connections 2015-06-01 05:44:30 +02:00
khlieng 7aae7685c5 Add early search prototype on the client, add leave button 2015-05-11 03:39:34 +02:00
khlieng d440aac023 Send null server list to new users 2015-05-04 23:52:34 +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