Commit Graph

403 Commits

Author SHA1 Message Date
Ken-Håvard Lieng
b2b5f82486 Shallow render linkify test 2018-11-05 08:23:22 +01:00
Ken-Håvard Lieng
69d5f41270 Fix message rendering 2018-11-05 07:11:15 +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
38ed5a367b Make sure list has mounted before using ref 2018-10-26 08:18:31 +02:00
Ken-Håvard Lieng
4482dd33ce Migrate from react-virtualized to react-window 2018-10-26 07:00:37 +02:00
Ken-Håvard Lieng
7658e3bde7 Avoid dispatching unneeded socket actions 2018-10-16 01:04:49 +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
afc80650e7 Use HSLuv for nick colors 2018-10-08 01:34:53 +02:00
Ken-Håvard Lieng
6146b27adc Update readme 2018-10-07 01:27:26 +02:00
Ken-Håvard Lieng
6f6dfca5fb Move "Add network" button down 2018-10-07 01:13:58 +02:00
Ken-Håvard Lieng
b3f2b53a6f Add colored nicks 2018-10-07 00:25:56 +02:00
Ken-Håvard Lieng
91fd50fe10 Make gen:install work outside GOPATH 2018-10-06 09:15:11 +02:00
Ken-Håvard Lieng
09de41c0a2 Use ErrorMessage component 2018-10-06 08:46:28 +02:00
Ken-Håvard Lieng
66bf957460 Update dependencies 2018-10-06 08:09:29 +02:00
Ken-Håvard Lieng
ccdd56fea4 Explicitly set input background color 2018-09-24 01:10:21 +02:00
Ken-Håvard Lieng
47bc78b80a Update all dependencies 2018-08-31 03:57:19 +02:00
Pierre-Alain TORET
2db878d2cb Change Connect button to Add Network
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-08-23 11:01:44 +02:00
Ken-Håvard Lieng
508969e189 Update client dependencies 2018-08-22 00:53:45 +02:00
Ken-Håvard Lieng
004e7890e5 Update client dependencies 2018-08-12 23:28:58 +02:00
Ken-Håvard Lieng
f20ca4038e Fix connect form readonly casing 2018-08-10 21:35:37 +02:00
Ken-Håvard Lieng
1406b87d77 Fix checkbox 2018-08-10 21:30:44 +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
Ken-Håvard Lieng
a4d2cf17aa Hide original checkbox better 2018-06-20 17:31:59 +02:00
Edward Betts
ad238726b7 Correct spelling mistakes. 2018-06-18 14:47:51 +01:00
Ken-Håvard Lieng
9669092148 Fix horizontal overflow 2018-06-10 21:35:12 +02:00
Ken-Håvard Lieng
3d2dbd5527 Add custom checkbox 2018-06-10 21:25:58 +02:00
Ken-Håvard Lieng
b07d1eb871 Update client dependencies 2018-06-07 23:12:09 +02:00
Ken-Håvard Lieng
d2c1297cf7 Scroll text inputs into view, use red labels in text inputs when theres an error, only autocapitalize the name field 2018-06-03 06:18:03 +02:00
Ken-Håvard Lieng
f5de115534 Remove TTF fonts 2018-06-01 22:10:20 +02:00
Ken-Håvard Lieng
121582f72a Update client dependencies 2018-05-31 23:23:01 +02:00
Ken-Håvard Lieng
9529af55c7 Update prettier to 1.13.0 2018-05-28 03:16:05 +02:00
Ken-Håvard Lieng
21b6740e8b Update client dependencies 2018-05-26 00:04:11 +02:00
Ken-Håvard Lieng
09d57b7023 Use easyjson 2018-05-25 23:54:36 +02:00
Ken-Håvard Lieng
e7cff1686e Clean up some things 2018-05-25 04:12:02 +02:00
Ken-Håvard Lieng
e2a895a1b9 Autoprefix css in development 2018-05-25 03:27:53 +02:00
Ken-Håvard Lieng
b4c9338772 Change browserslist 2018-05-25 03:26:41 +02:00
Ken-Håvard Lieng
2f2c500453 Use correct ssl property name, closes #14 2018-05-18 05:33:33 +02:00
Ken-Håvard Lieng
d27d108a07 Make sure the connect form port is always a string 2018-05-18 05:13:25 +02:00
Ken-Håvard Lieng
4ac0dd7c4b Handle default port properly, closes #18 2018-05-18 04:15:20 +02:00
Ken-Håvard Lieng
2ada552220 Validate port numbers better 2018-05-18 03:39:40 +02:00
Ken-Håvard Lieng
8f8adc37e7 Update react-virtualized to 9.19.0 2018-05-18 02:38:58 +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
f502fea5c1 Update client dependencies 2018-05-16 05:01:31 +02:00
Ken-Håvard Lieng
4fafe2b158 Update gulp to 4.0.0 2018-05-16 03:46:42 +02:00
Ken-Håvard Lieng
29a225ed13 Make it run better in IE11 2018-05-06 21:36:05 +02:00
Ken-Håvard Lieng
91e5556c86 Make it run in IE11 2018-05-05 21:54:00 +02:00
Ken-Håvard Lieng
d4d03eac12 Add promise polyfill 2018-04-30 22:41:12 +02:00
Ken-Håvard Lieng
735f96d3b1 Remove unused eslint rule 2018-04-27 03:14:35 +02:00
Ken-Håvard Lieng
1b202e7c2b Make sure the cookie stored channel exists on the correct server 2018-04-26 20:25:41 +02:00
Ken-Håvard Lieng
4f72e164d7 Use immer 2018-04-25 05:52:55 +02:00
Ken-Håvard Lieng
8724121552 Update redux to 4.0.0 2018-04-17 21:53:41 +02:00
Ken-Håvard Lieng
0ebd2e5c38 Update client dependencies 2018-04-17 21:22:10 +02:00
Ken-Håvard Lieng
39641c315f Add connect defaults readonly flag, closes #10 2018-04-15 01:02:28 +02:00
Ken-Håvard Lieng
fcd204321a Fix css bundle name 2018-04-15 00:58:51 +02:00
Ken-Håvard Lieng
60190fbd98 Update prettier to 1.12 2018-04-13 20:58:45 +02:00
Ken-Håvard Lieng
6ccc57ad64 Update gulp compress glob 2018-04-13 20:51:42 +02:00
Ken-Håvard Lieng
94f3777f5f Handle css with webpack 2018-04-13 20:47:39 +02:00
Ken-Håvard Lieng
3d4c1baeda Remove redundant eslint rules 2018-04-06 01:53:11 +02:00
Ken-Håvard Lieng
b176b79144 Add prettier 2018-04-06 01:46:22 +02:00
Ken-Håvard Lieng
0cbbc1b8ff Update client deps: react 16.3, babel 7 2018-04-05 21:16:37 +02:00
Ken-Håvard Lieng
19bcc51eb4 Update client dependencies 2018-03-25 01:34:41 +01:00
Ken-Håvard Lieng
a4a4588ae6 Add compareUsers test 2017-07-06 07:01:14 +02:00
Ken-Håvard Lieng
8b44f68231 Move user sorting to a selector 2017-07-06 06:46:53 +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
403f7d0942 Copy action payload before passing it to socket handlers 2017-07-03 00:52:16 +02:00
Ken-Håvard Lieng
8a2fbaca7f Improve status tab error layout 2017-07-03 00:04:10 +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
68bdcfc31b Update client dependencies 2017-06-29 07:50:35 +02:00
Ken-Håvard Lieng
3af6ad9cd9 Only redirect to a stored tab if it still exists 2017-06-29 07:36:58 +02:00
Ken-Håvard Lieng
962f7d1eb0 Simplify Settings mapDispatch 2017-06-29 07:11:12 +02:00
Ken-Håvard Lieng
3209238562 Only persist tab if its a channel or status tab 2017-06-29 07:06:05 +02:00
Ken-Håvard Lieng
6624a97ce7 Keep TabList sorted 2017-06-29 06:56:05 +02:00
Ken-Håvard Lieng
7160db9614 Increase scrollback fetch threshold slightly 2017-06-23 03:40:53 +02:00
Ken-Håvard Lieng
6c7bf0d81a Use rewire to test unexported functions 2017-06-23 03:06:44 +02:00
Ken-Håvard Lieng
0dcfcbbafd Add getMessageTab test 2017-06-23 02:43:36 +02:00
Ken-Håvard Lieng
54462b8a1b Add messages sent to channels with dots in the name to the correct tab 2017-06-23 02:27:56 +02:00
Ken-Håvard Lieng
60cc5ca139 Update webpack-dev-middleware 2017-06-23 02:08:17 +02:00
Ken-Håvard Lieng
f7b80b413e Fix tab cookie 2017-06-21 09:45:47 +02:00
Ken-Håvard Lieng
1c199f40e2 Handle import aliases with babel instead of webpack 2017-06-21 09:03:24 +02:00
Ken-Håvard Lieng
86c5451edb Organize components, use webpack import aliases 2017-06-21 08:40:28 +02:00
Ken-Håvard Lieng
f174d98107 Support changing the nick by clicking it in MessageInput 2017-06-21 07:23:07 +02:00
Ken-Håvard Lieng
a4ebd8d4c4 Update webpack to 3.0.0 2017-06-20 04:26:18 +02:00
Ken-Håvard Lieng
37f57b87ac Update react to 15.6.0 and react-virtualized to 9.8.0 2017-06-14 05:28:01 +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
f03b30eff6 Update client dependencies 2017-06-12 06:55:22 +02:00
Ken-Håvard Lieng
9f8a0d72ba Use verbose client test output on travis 2017-06-12 06:39:24 +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
3b33957161 Fix message reducer tests 2017-06-07 05:13:02 +02:00
Ken-Håvard Lieng
b0b9904bc1 Rename state/environment to state/app 2017-06-07 01:03:35 +02:00
Ken-Håvard Lieng
b6e92d6add Fetch scrollback messages earlier, add them when ready 2017-06-07 00:04:37 +02:00
Ken-Håvard Lieng
e5c5938414 Add raw command shorthand 2017-06-02 22:24:03 +02:00
Ken-Håvard Lieng
6d55ce8a2d Enable dev-middleware CORS 2017-06-01 23:17:15 +02:00
Ken-Håvard Lieng
d9e3d71a1f Show warning when disconnected 2017-05-29 06:16:24 +02:00
Ken-Håvard Lieng
2d32df3afe Update client dependencies 2017-05-29 03:12:19 +02:00
Ken-Håvard Lieng
fa9c5a9c16 Fix navicon 2017-05-29 03:02:39 +02:00
Ken-Håvard Lieng
a084e6d0af Dont send empty whois results to the client 2017-05-29 00:52:19 +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
993d29242e Clean up container/component relationship 2017-05-27 07:30:22 +02:00
Ken-Håvard Lieng
01bacafac8 Add linkify tests 2017-05-27 06:47:17 +02:00
Ken-Håvard Lieng
889e3b88b7 Colocate reducers, actions and selectors 2017-05-26 08:20:00 +02:00
Ken-Håvard Lieng
1e7d4c3fe4 Update webpack to 2.6.0 2017-05-23 09:58:08 +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
84624266e0 Update client dependencies 2017-05-20 23:37:29 +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
c598ace18c Update client dependencies 2017-05-14 22:54:43 +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
909c31dff8 Update client dependencies 2017-05-08 02:02:04 +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
b5d12954a6 Update client dependencies 2017-04-30 22:37:09 +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
dce68ce813 Return req.originalUrl from gulpfile proxy 2017-04-21 03:31:35 +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
8d4b707757 Upgrade client dependencies 2017-04-15 02:37:47 +02:00
Ken-Håvard Lieng
e5832d2c58 Add brotli support 2017-04-14 04:33:44 +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
1739b15eaa Add license field to package.json to silence yarn warning 2017-04-12 03:49:19 +02:00
Ken-Håvard Lieng
2e763d916d Remove eventemitter2 and ify-loader 2017-04-12 03:44:28 +02:00
Ken-Håvard Lieng
ee43d2fe27 Use React Hot Loader 3 instead of React Transform 2017-04-12 00:00:59 +02:00