Commit Graph

222 Commits

Author SHA1 Message Date
Ken-Håvard Lieng
889e3b88b7 Colocate reducers, actions and selectors 2017-05-26 08:20:00 +02:00
Ken-Håvard Lieng
41d6099d89 Inform about commands not found 2017-05-22 03:49:37 +02:00
Ken-Håvard Lieng
7e080f2c99 Only call resetInputHistory when there is something to reset 2017-05-21 23:48:01 +02:00
Ken-Håvard Lieng
c428842db7 Fix input history 2017-05-21 23:23:21 +02:00
Ken-Håvard Lieng
4c70d11a86 Add _ to segmentValueCharset 2017-05-21 22:59:35 +02:00
Ken-Håvard Lieng
d96cf68d95 Dont return an array from linkify if the result is just a single node 2017-05-21 11:04:06 +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
4cad5a0b33 Make sure route params can contain all the possible characters in a nick 2017-05-21 08:29:59 +02:00
Ken-Håvard Lieng
5487ecdb57 Redirect to stored tab if the route is not found 2017-05-19 08:36:13 +02:00
Ken-Håvard Lieng
2afbf2359c Add document title handling 2017-05-19 07:29:44 +02:00
Ken-Håvard Lieng
511b9e406c Use functional component for Route 2017-05-19 07:28:08 +02:00
Ken-Håvard Lieng
fc29c48013 Show messages sent to * in server tab again 2017-05-16 23:22:03 +02:00
Ken-Håvard Lieng
05ce88a656 Change tab close icon 2017-05-16 08:38:43 +02:00
Ken-Håvard Lieng
2328cfa940 Show current nick in MessageInput 2017-05-15 22:51:21 +02:00
Ken-Håvard Lieng
d3a0a21338 Put connect defaults into the state 2017-05-15 06:51:24 +02:00
Ken-Håvard Lieng
ff7c563b61 Use replace in updateSelection 2017-05-15 06:27:30 +02:00
Ken-Håvard Lieng
a4d40bef39 Add more message reducer tests 2017-05-15 05:57:12 +02:00
Ken-Håvard Lieng
9bc518fbe9 Load fonts using FontFaceObserver 2017-05-12 10:51:37 +02:00
Ken-Håvard Lieng
2b5a468079 Add support for owner, admin and halfop user modes 2017-05-10 03:47:34 +02:00
Ken-Håvard Lieng
750ffef4c2 Fix message broadcast action 2017-05-10 02:59:46 +02:00
Ken-Håvard Lieng
4dd9671e87 Prevent autoscroll flag being cleared on mount by initial scroll tick 2017-05-08 23:22:53 +02:00
Ken-Håvard Lieng
fec7c93abc Move wrapWidth handling out of MessageBox, improve scroll position handling, use custom routing, close menu when clicking anywhere 2017-05-07 22:19:15 +02:00
Ken-Håvard Lieng
a753efd1dd Bind Navicon toggleMenu in mapDispatchToProps 2017-05-06 23:04:20 +02:00
Ken-Håvard Lieng
cbe3b95d8c Re-add nick click handler in Message 2017-05-06 23:02:45 +02:00
Ken-Håvard Lieng
52acec9d21 Maintain scroll positions when switching tabs 2017-05-03 22:56:06 +02:00
Ken-Håvard Lieng
45c61e7596 Add message scrollback 2017-05-02 23:21:25 +02:00
Ken-Håvard Lieng
ab0bdc4401 Use redux devtools extension compose and redux 3.1 style createStore 2017-04-30 02:21:36 +02:00
Ken-Håvard Lieng
294114028a Add server reducer tests 2017-04-25 05:13:57 +02:00
Ken-Håvard Lieng
164c47d1a6 Add tab reducer tests 2017-04-24 03:08:48 +02:00
Ken-Håvard Lieng
35e2ea39f1 Fix a few bugs in reducers/channels, start adding tests 2017-04-23 08:45:35 +02:00
Ken-Håvard Lieng
307c83958a Extend immutable.Records using es6 classes 2017-04-22 22:24:11 +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
0413960b85 Fix /help output 2017-04-20 04:16:15 +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
c4609574c7 Pre-linkify messages and store breakpoints 2017-04-17 04:11:45 +02:00
Ken-Håvard Lieng
12fbca8110 Call autolinker.compactMatches() and minimize textnode count returned from linkify() 2017-04-16 07:47:02 +02:00
Ken-Håvard Lieng
305c1fa08f Switch back to upstream autolinker 2017-04-16 06:08:45 +02:00
Ken-Håvard Lieng
b2e3e995ce Wait for server comfirmation before updating nick 2017-04-13 01:50:58 +02:00
Ken-Håvard Lieng
ee43d2fe27 Use React Hot Loader 3 instead of React Transform 2017-04-12 00:00:59 +02:00
Ken-Håvard Lieng
18651c1a10 Fix race condition with NICK and QUIT when multiple dispatch users are in the same channel 2017-04-11 03:49:52 +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
50dc0ef64f Fix handling of PART messages with no reason 2017-04-04 22:57:01 +02:00
Ken-Håvard Lieng
52f929ec45 Strip last character from ACTION messages 2017-03-30 05:13:50 +02:00
Ken-Håvard Lieng
007dd3fe63 Use list key provided by react-virtualized in UserList 2017-03-30 04:53:54 +02:00
Ken-Håvard Lieng
6a9942a655 Set scrolldown flag on tab changes in willUpdate instead of receiveProps 2017-03-30 04:37:55 +02:00
Ken-Håvard Lieng
80efb750f9 Rename util.scrollBarWidth() 2017-03-30 04:18:25 +02:00
Ken-Håvard Lieng
9d5707dd3c Use forceUpdateGrid() in UserList 2017-03-30 04:12:30 +02:00
Ken-Håvard Lieng
e19280c2c7 Fix wrapWidth for channels on small screens 2017-03-29 23:45:09 +02:00
Ken-Håvard Lieng
bb8a4d180e Prevent unnecessary wrapWidth updates 2017-03-28 23:55:50 +02:00
Ken-Håvard Lieng
346ba3fdb3 Fix SearchResult component name 2017-03-24 21:18:02 +01:00
Ken-Håvard Lieng
eca5761098 Linkify search results properly 2017-03-24 21:14:45 +01:00
Ken-Håvard Lieng
f8d57f1b6d Upgrade react-virtualized to 9.3.0 2017-03-23 20:38:27 +01:00
Ken-Håvard Lieng
e6892ccd2d Use React.PureComponent instead of pure-render-decorator 2017-02-17 01:46:39 +01:00
Ken-Håvard Lieng
531792b14a Move ref callbacks into class bound methods 2017-02-16 22:56:32 +01:00
Ken-Håvard Lieng
77b53bfc5e Update client dependencies 2017-02-16 03:55:50 +01:00
Ken-Håvard Lieng
493f49a508 Update client dependencies 2016-04-18 01:11:25 +02: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
81b635a872 Update client dependencies 2016-03-14 23:22:24 +01:00
Ken-Håvard Lieng
693e4c27ac Remove .js extension 2016-02-17 01:54:36 +01:00
Ken-Håvard Lieng
47ebd9c84c Use a fork of autolinker with react support to get rid off dangerouslySetInnerHTML 2016-02-17 01:49:27 +01:00
Ken-Håvard Lieng
072daa64f2 Improve message rendering 2016-02-16 22:43:25 +01:00
Ken-Håvard Lieng
23e75b8f40 Render UserList with react-virtualized 2016-02-06 01:54:21 +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
e2fbac7f38 Use only single-method imports from lodash 2016-01-27 21:41:24 +01:00
Ken-Håvard Lieng
b50a4a1068 Add /raw command 2016-01-27 20:48:47 +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
6608bc545a Make command output work in server tabs 2016-01-25 23:42:11 +01:00
Ken-Håvard Lieng
2ccca3a778 Implement client connect form defaults 2016-01-25 01:01:37 +01:00
Ken-Håvard Lieng
a68f5621bc Make search results look like messages 2016-01-23 00:41:35 +01:00
Ken-Håvard Lieng
bd6c0d26eb Switch to Roboto Mono 2016-01-22 20:08:16 +01:00
Ken-Håvard Lieng
82e2343d5b Add SOCKET_SEARCH action constant 2016-01-18 03:21:58 +01:00
Ken-Håvard Lieng
76f99c8332 Use MessagePack on disk 2016-01-17 23:33:52 +01:00
Ken-Håvard Lieng
d023f63a7c Update client dependencies 2016-01-15 20:56:03 +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
13a3d96b44 Improve port handling 2016-01-14 05:56:53 +01:00
Ken-Håvard Lieng
f6d13675c3 Strip port from address everywhere on the client 2016-01-14 04:01:51 +01:00
Ken-Håvard Lieng
d2284551de Properly check if a channel is selected in socket.on('join') 2016-01-13 20:22:41 +01:00
Ken-Håvard Lieng
f429a528ba Add IRC connection status indicator 2016-01-13 18:53:54 +01:00
Ken-Håvard Lieng
67b83fa3d6 Make userlist responsive 2016-01-11 23:31:06 +01:00
Ken-Håvard Lieng
937560e859 Add support for client certificates 2016-01-11 21:04:57 +01:00
Ken-Håvard Lieng
d7c5d0f9cd Upgrade babel to 6.4.0, fail gulp builds on webpack errors 2016-01-07 00:33:19 +01:00
Ken-Håvard Lieng
4b70b9968b Use proper autolinker params in ChatTitle 2016-01-05 19:40:39 +01:00
Ken-Håvard Lieng
24aa119377 Remove pure decorator from the Root container 2016-01-05 19:33:45 +01:00
Ken-Håvard Lieng
7c72cac71f Update airbnb eslint config to 3.0.0 2016-01-05 19:29:22 +01:00
Ken-Håvard Lieng
22892a4073 Hide menu when selecting tab 2015-12-30 22:32:14 +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
e389454535 Switch to redux and webpack 2015-12-29 00:34:32 +01:00
Ken-Håvard Lieng
0259787fe9 Update all client dependencies 2015-12-12 00:43:23 +01:00
Ken-Håvard Lieng
114bf8201e Refactor websocket handler 2015-06-17 00:46:58 +02:00
Ken-Håvard Lieng
b755a593e2 Call trigger in messageStore.addAll() 2015-06-12 01:43:35 +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
d11ad72f03 Separate vendor bundle 2015-06-08 00:11:03 +02:00
Ken-Håvard Lieng
be695a9881 Reconnect websockets 2015-06-04 02:06:17 +02:00