Commit Graph

176 Commits

Author SHA1 Message Date
Ken-Håvard Lieng f6a1f793fb Test ChannelStore 2015-06-11 06:27:48 +02:00
Ken-Håvard Lieng 6a5680e299 Add more IRC client tests 2015-06-11 04:57:52 +02:00
Ken-Håvard Lieng 4f0ad5e6d9 Add IRC client connection tests 2015-06-11 02:04:51 +02:00
Ken-Håvard Lieng c78ca7318c Add more parseMessage() test cases, handle a prefix edge case 2015-06-10 22:53:38 +02:00
Ken-Håvard Lieng da8915328d Add some tests to the IRC client 2015-06-10 06:17:53 +02:00
Ken-Håvard Lieng ff9cae7794 Add go vet to travis 2015-06-10 02:01:51 +02:00
Ken-Håvard Lieng 75d06698c7 Travis badge 2015-06-10 01:53:42 +02:00
Ken-Håvard Lieng 35de58b8e6 Travis CI 2015-06-10 01:46:10 +02:00
Ken-Håvard Lieng 0fbf721cbb Fix search positioning 2015-06-10 01:17:24 +02:00
Ken-Håvard Lieng 2a5f7c3afc Close tablist on all interactions 2015-06-10 00:59:41 +02:00
Ken-Håvard Lieng e51c9522de Add messageActions.addAll() 2015-06-10 00:45:28 +02:00
Ken-Håvard Lieng 29c13f4f54 Off-canvas tablist 2015-06-10 00:24:14 +02:00
Ken-Håvard Lieng 27552a2e9c Cache linted files 2015-06-08 01:06:08 +02:00
Ken-Håvard Lieng fe392a08ff Collapse bindata tasks 2015-06-08 00:21:10 +02:00
Ken-Håvard Lieng d11ad72f03 Separate vendor bundle 2015-06-08 00:11:03 +02:00
Ken-Håvard Lieng 3d20edd960 Move JSON encoding to conn.send() 2015-06-07 06:32:19 +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 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 78b6a0859b Add link to readme 2015-06-05 00:18:40 +02:00
Ken-Håvard Lieng be695a9881 Reconnect websockets 2015-06-04 02:06:17 +02:00
Ken-Håvard Lieng 6a1d55c968 Set up ESLint, make it happy 2015-06-02 00:09:36 +02:00
Ken-Håvard Lieng c325168a20 Reconnect and retry IRC connections 2015-06-01 05:44:30 +02:00
Ken-Håvard Lieng 5cf2822c34 Store nick in Message.Nick, keep full prefix in Message.Prefix 2015-06-01 01:48:07 +02:00
Ken-Håvard Lieng 65b3aac977 Remove irc client from session when the connection dies 2015-05-31 23:23:05 +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
Ken-Håvard Lieng 4d8c52fa22 Update readme instructions 2015-05-29 03:36:19 +02:00
Ken-Håvard Lieng 284a35ab09 Add dockerfile, add data directory flag 2015-05-29 01:59:08 +02:00
Ken-Håvard Lieng 1f5dd7a5e0 Use os/exec to run editor 2015-05-25 05:15:32 +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
Ken-Håvard Lieng b8a8ba2e08 Add channel topic to ChatTitle, improve TabList layout 2015-05-23 04:38:43 +02:00
Ken-Håvard Lieng 9b9bef3695 Avoid array conversion in UserList 2015-05-23 01:58:56 +02:00
Ken-Håvard Lieng 6a6aedc5da Implement getInitialState in stores 2015-05-23 00:40:16 +02:00
Ken-Håvard Lieng 6a25c1d6a5 Add GetLastMessages, log messages to nested buckets 2015-05-21 09:15:57 +02:00
Ken-Håvard Lieng a6d7403eba Everything is immutable 2015-05-20 08:14:44 +02:00
khlieng ce72ec9c8c Fix alignment in PureMixin 2015-05-19 23:18:24 +02:00
Ken-Håvard Lieng 17482ee253 Immutable channelStore 2015-05-19 06:50:43 +02:00
khlieng 11ea241b60 Immutable messages, search and selectedTab 2015-05-19 01:17:23 +02:00
khlieng 77c723344c Fix state updating in ChatTitle and UserList 2015-05-16 22:25:22 +02:00
khlieng d4d51778fb Make ChatTitle and UserList render functions pure 2015-05-16 21:43:18 +02:00
Ken-Håvard Lieng f497e248f1 Stop message handler goroutine when connection closes 2015-05-16 03:56:58 +02:00
Ken-Håvard Lieng e55760a1a5 Stop irc and websocket writer goroutines when the connection closes 2015-05-16 02:58:26 +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 375ed94177 Remove unused dependency from package.json 2015-05-15 07:46:07 +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 c4ac9f782c Insert space between timestamp and nick instead of using margin 2015-05-15 00:42:09 +02:00
khlieng 0eca6a1823 Select the previous tab or redirect to /connect when closing a tab, move some CSS from inline react styles to classes 2015-05-14 01:42:25 +02:00
khlieng 92de7cb8ef Concat css 2015-05-12 23:50:55 +02:00