192 Commits

Author SHA1 Message Date
6fd6a4edf3 Add actions/MediaActions and reducers/media 2019-11-16 12:23:04 -03:00
46eeae04fc Use removeListener instead of off for Node 8 2019-11-16 09:57:07 -03:00
e90c8c53f6 Update all libraries (including react)
Setting muted to video results in warning:

Warning: unstable_flushDiscreteUpdates: Cannot flush updates when React
is already rendering

This seems to be a bug in React:

https://github.com/testing-library/react-testing-library/issues/470
2019-11-16 09:47:54 -03:00
3b47de551d Remove email: false from .travis.yml 2019-11-16 09:19:17 -03:00
976bd5642c Fix failing test 2019-11-16 09:18:42 -03:00
8cd6f63551 Merge branch 'typed-socket' 2019-11-16 00:06:54 -03:00
92a5f2063c Use SignalData on server-side
This should not cause compile issues when simple-peer is not installed
(because client-side JS will be precompiled after pkg is published in
NPM repository) because types are not used in runtime.
2019-11-16 00:06:41 -03:00
7fa09fa6b8 Use TypedEmitter for client socket connections 2019-11-15 23:38:19 -03:00
703c13f296 Add TypedSocket to server 2019-11-15 23:17:52 -03:00
45b5a3bbf2 Add TypedEmitter 2019-11-15 20:28:13 -03:00
15ef955811 Merge branch 'typescript' 2019-11-15 19:59:22 -03:00
46f639021e Use tsify instead of tsc --watch
ts --watch currenly writes all files after a change. This is not good
because a server always reboots after a change in client, and vice-versa
2019-11-15 19:58:45 -03:00
4c28775b12 Add tsify and run npm audit fix 2019-11-15 19:54:30 -03:00
3877893ec1 Add test for Node 12 2019-11-14 00:30:16 -03:00
45486aa837 Fix SocketActions.test.ts 2019-11-14 00:30:09 -03:00
43895f4b06 Fix stream.test.tsx 2019-11-14 00:28:40 -03:00
7e3956068b Fix linting errors 2019-11-14 00:27:22 -03:00
0b068dbe1d Add types to package.json 2019-11-14 00:23:14 -03:00
dcbacc9a65 Fix video not showing 2019-11-14 00:18:15 -03:00
03aa7696ba Do not count system messages for unread 2019-11-14 00:01:32 -03:00
cb61490db1 Fix watchify command 2019-11-13 23:52:15 -03:00
43f5754be9 Add debug as dependency 2019-11-13 23:36:12 -03:00
d5453c9c30 Use babel-minify instead of uglify-js 2019-11-13 23:31:18 -03:00
20caf4d1f4 Add core-js polyfill 2019-11-13 23:22:56 -03:00
b50ee272b7 Upgrade packages 2019-11-13 23:16:12 -03:00
0a0c5d0ae9 Add lib/ to .eslintignore 2019-11-13 22:35:48 -03:00
a06bd72629 Add rimraf and npm run clean task 2019-11-13 22:30:13 -03:00
17bea91c1d Move src/{views,res} to root
To make it available after ts server files are compiled into lib folder
2019-11-13 22:27:34 -03:00
523fd27307 Move frontend dependencies into devDependencies 2019-11-13 22:25:13 -03:00
33b3651002 Upgrade screenfull 2019-11-13 22:23:14 -03:00
aafc076a0f Remove redux-mock-store 2019-11-13 22:18:26 -03:00
b7f2b454ba Replace underscore by lodash 2019-11-13 22:16:34 -03:00
9e8b353dea Fix all TypeScript tests 2019-11-13 22:06:17 -03:00
4659151892 Fix NotifyActions.test.ts 2019-11-13 21:35:27 -03:00
0075d93879 Fix simple-peer mock 2019-11-13 21:34:14 -03:00
4bdd2e4cae Fix CallActions.test.ts 2019-11-13 21:28:43 -03:00
7009e53037 Fix broken App.test.tsx 2019-11-13 20:14:57 -03:00
3a5b07c218 Fix broken ts build 2019-11-13 20:08:10 -03:00
4fa6a0d17a Refactor all components 2019-11-13 18:36:31 -03:00
69122466b1 Add async middleware 2019-11-13 16:23:35 -03:00
e9926e3484 Refactor actions/reducers to TS 2019-11-13 11:16:09 -03:00
1eaca46a16 Install typescript, upgrade server to TypeScript 2019-11-13 00:54:35 -03:00
085fae4b22 Fix send file name 2019-11-11 23:18:53 -03:00
47ed465252 Fix unread messages 2019-11-11 23:17:56 -03:00
6d3201d1fe Fix broken tests 2019-11-11 23:10:51 -03:00
7e5c7db3f9 Show all notifications in chat log 2019-11-11 22:21:25 -03:00
644fcbe06d Add ability to send file via base64-encoded msg 2019-11-11 22:14:37 -03:00
3352c68f5c Disable pointer events on notifications and alerts 2019-11-11 22:13:31 -03:00
19fd89ba86 Add file icon 2019-11-11 21:18:16 -03:00
b1e9a883f7 2.0.12 v2.0.12 2019-11-11 19:52:22 -03:00