Michael Telatynski
7b930da343
Make app load more async
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-04 17:21:59 +01:00
Michael Telatynski
8ca9e4ccb1
Fix Electron SSO handling to support multiple profiles
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-04 00:22:15 +01:00
Michael Telatynski
a377ca7b85
Merge pull request #13020 from vector-im/t3chguy/fix_mac_shortcut
...
Fix Electron mac-specific shortcut being registered on Web too.
2020-04-03 13:23:13 +01:00
Michael Telatynski
c1da3bf537
Fix Electron mac-specific shortcut being registered on Web too.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-03 13:01:28 +01:00
Kegan Dougal
9994c9ea65
Bugfixes for firefox
2020-04-02 18:20:34 +01:00
Kegan Dougal
9328519c29
Fix auto-register and constantly logging you out mess
2020-04-02 18:06:27 +01:00
Travis Ralston
ab29ec123e
Merge pull request #12968 from vector-im/travis/jitsi-errors
...
Add a console warning that errors from Jitsi Meet are fine
2020-04-01 10:54:06 -06:00
Kegan Dougal
330aa285e6
Get login working on logout
2020-04-01 16:18:50 +01:00
David Baker
0bf05e3c7b
Make widget API use optional
...
So we can work when popped out into a browser
2020-04-01 11:08:53 +01:00
David Baker
421fcb115f
Give the jitsi wrapper its own external api script
2020-04-01 10:38:49 +01:00
Travis Ralston
13a7b71e08
Add a console warning that errors from Jitsi Meet are fine
...
See diff for info.
We use the fragment to avoid sending conference information to the web server where possible.
2020-03-31 12:19:17 -06:00
Kegan Dougal
5c3f11a7c7
WIP: auto-registration
2020-03-31 18:05:34 +01:00
Travis Ralston
d9fbbe1696
Merge pull request #12861 from mnoorenberghe/patch-1
...
Don't immediately remove notifications from notification trays
2020-03-26 09:33:11 -06:00
Kegan Dougal
cdd32590fe
Make dendrite load again
2020-03-26 12:33:31 +00:00
Kegan Dougal
52641c5674
[Full Changelog]( https://github.com/vector-im/riot-web/compare/v1.5.13-rc.1...v1.5.13 )
...
* Upgrade to JS SDK 5.1.1 and React SDK 2.2.3
-----BEGIN PGP SIGNATURE-----
iQHFBAABCAAvFiEEXqfg9wRho7y+vk1e9hUYBgMgJvkFAl5w39MRHHJlbGVhc2Vz
QHJpb3QuaW0ACgkQ9hUYBgMgJvlVwQv/QXhOEaioBDRvIgBAd4Q0r1TNNjck4bNu
kSnxusvuK8WBELPurF8IKk2Nx1rzO7AuY4nnjCJH/9Hzi+xKYAIv79j3kleJxlDB
DZ2jTV3wLleAJQbmBtvphSaf5bYGH/A6KNcFBXzKID+fbHoY2reayw1FIe3pCeMe
HDMjyBbkQj0jkHwiO+aMyHd/CBcOXw5MugOk/hi6ftzyQYWCxA+EhCERAC3P7XtT
3/l5DlBepXqFgvnXnKRSyW91+Q6YXrHSmLLv/ZD7Iu5XMB2QvOiX8/yBEHCO8y0L
SxVm/8fBnbyfafGb3+pL5LJk8cY0lde4X4Nwwi+ZgLO4v24B6d9KdOomg8a857Zp
JgZtBmgapDpdoLmQXmnipWBB6QGoF+AqeO47E8weRB3mNko3BuLlfTNjFM4lkthJ
h/xnVuCK7ruYdIoEHqTuOqkDEYOm2fJq0ShD+B77xfdf1B1GaM/0njLXrPCxgdHh
avDv8YswPT17JMG+6SrAFI2Hb87DJQKg
=x4LI
-----END PGP SIGNATURE-----
Merge tag 'v1.5.13' into matthew/p2p
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.13-rc.1...v1.5.13 )
* Upgrade to JS SDK 5.1.1 and React SDK 2.2.3
2020-03-26 11:50:30 +00:00
Kegan Dougal
6f43a14c43
Remove go-sqlite-js and just use sql.js directly
2020-03-26 10:35:40 +00:00
Michael Telatynski
fd385f8450
simplify loadConfig
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:37:28 +00:00
Michael Telatynski
92d8ee355d
merge initial-load.ts into init.ts as its no longer used by Jitsi
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:32:37 +00:00
Michael Telatynski
1f94b25d25
Fix copyrights
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:28:07 +00:00
Michael Telatynski
8929cd9c08
Merge branches 'develop' and 't3chguy/app_load_tweaks' of github.com:vector-im/riot-web into t3chguy/app_load_tweaks
2020-03-25 14:26:48 +00:00
Michael Telatynski
6315907585
Typescript stuff.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 14:07:22 +00:00
Michael Telatynski
6fb9fc4e6f
move loadLanguage to init.ts
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 13:55:25 +00:00
Michael Telatynski
df2b966acd
move loadOlm to init.ts
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 13:54:02 +00:00
Michael Telatynski
e669c681e2
Fetch both config.json-s at the same time, first one fails 99% of the time
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-25 12:39:42 +00:00
Matt N
b8ca1f920e
Don't immediately remove notifications from notification trays
...
Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern Chrome uses OS notifications so the user is in control of the the notification with the OS. This also aligns with the Electron platform version.
Signed-off-by: Matthew Noorenberghe <github@matthew.noorenberghe.com>
2020-03-24 17:27:14 -07:00
Travis Ralston
bde5679d11
Ask for Riot config over postMessage for the Jitsi widget
...
Fixes https://github.com/vector-im/riot-web/issues/12839 by not using the app load order that doesn't detect the right platform anyways.
2020-03-24 09:54:15 -06:00
Travis Ralston
4087ba0c5c
Revert "Remove useless app preloading from Jitsi widget wrapper"
2020-03-24 09:14:59 -06:00
Travis Ralston
350a52b44e
Remove useless app preloading from Jitsi widget wrapper
...
We should always have conference information, and if we don't then the widget is invalid.
2020-03-23 10:38:10 -06:00
Michael Telatynski
3d266cb237
Register Mac electron specific Cmd+, shortcut to User Settings
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 23:42:10 +00:00
Travis Ralston
09e26d0882
Misc case changes, comment updates
2020-03-19 11:47:43 -06:00
Travis Ralston
e1eb16ce46
Use a local widget wrapper for Jitsi calls
...
Effectively fixes https://github.com/vector-im/riot-web/issues/11074
Effectively fixes https://github.com/vector-im/riot-web/issues/7112
Fixes https://github.com/vector-im/riot-web/issues/6930
Fixes Jitsi widgets not working for guests (https://github.com/vector-im/riot-web/issues/8933 )
Fixes https://github.com/vector-im/riot-web/issues/5048
Previously we were relying on an integration manager to be defined, functional, and alive in order to join Jitsi calls. This commit changes this so we aren't reliant on an integration manager for Jitsi calls at all, and gives people the option of choosing a Jitsi server via the config.json.
This side is just the wrapper/shell: the logic is mostly in the react-sdk (to be linked via PRs). This layer simply has an HTML file exported that can be used to render a Jitsi widget, and the react-sdk constructs a URL to access it locally. This is similar to how the mobile apps handle Jitsi widgets: instead of iframing the widget URL directly into the app, they pull apart the widget information and natively render it. We're effectively doing the same here by parsing the widget options and using our local wrapper instead of whatever happens to be defined in the widget state event.
Integration managers should still continue to offer a widget URL for Jitsi widgets as this is what the spec requires.
A large part of this is based upon Dimension's handling of Jitsi and widgets in general: a license has been granted to allow Riot (and therefore the react-sdk) to use the code and be inspired by it.
2020-03-18 15:48:02 -06:00
Michael Telatynski
7296b704a8
Merge pull request #12756 from vector-im/t3chguy/gemini
...
Remove remainders of gemini-scrollbar and react-gemini-scrollbar
2020-03-18 14:03:59 +00:00
Michael Telatynski
5913e3830b
Merge pull request #12735 from vector-im/t3chguy/url
...
Add url tests to Modernizr
2020-03-17 11:16:48 +00:00
Michael Telatynski
8cef591c57
Remove remainders of gemini-scrollbar and react-gemini-scrollbar
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-17 10:31:46 +00:00
Kegan Dougal
d80285d971
Spin up a new dendrite every time we get restarted
2020-03-16 12:57:15 +00:00
Michael Telatynski
eba63ce9ab
Add url tests to Modernizr
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-14 00:13:47 +00:00
Kegan Dougal
3d74d336bf
Use JSServer globals instead of fetchListener
2020-03-13 10:18:08 +00:00
Damir Jelić
20a89d67cb
ElectronPlatform: Add support to remove events from the event index.
2020-03-12 11:51:34 +01:00
Kegan Dougal
1f1f0f1264
Refresh service workers when new versions of sw.js come in
...
- Check once a minute
- When a new sw is here, skip waiting around for the old ones to die and claim the clients
NB: On Chrome, this results in a 2 minute wait with lost connectivity before logout. Refresh to
immediately use the new sw.
NBB: On Firefox, this automatically logs you out without needing to refresh.
2020-03-10 16:26:38 +00:00
Kegan Dougal
bf13ec2285
Claim clients to avoid the refresh
2020-03-10 14:46:18 +00:00
Kegan Dougal
4d1f969c4d
Latest updates; set process stuff to make prometheus happy
2020-03-10 14:28:12 +00:00
Kegan Dougal
0935ccd737
Latest updates
2020-03-04 11:15:06 +00:00
Michael Telatynski
09ed0e781a
Update copy for SSO modal
2020-03-02 20:04:31 +00:00
Michael Telatynski
178c61dbf7
fix typo
2020-03-02 15:01:06 +00:00
Michael Telatynski
c197661be0
riot-desktop open SSO in browser so user doesn't have to auth twice
2020-03-02 14:59:55 +00:00
Travis Ralston
22bc98c8bc
Merge branch 'develop' into noscript
2020-02-28 13:34:39 -07:00
Kegan Dougal
d2635bd282
Stuff from matrix meetup
2020-02-27 10:10:18 +00:00
Michael Telatynski
7c84e406ac
Modernizr remove t3st/es6/contains
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 12:16:35 +00:00
Michael Telatynski
37e17133bc
Switch out any eval-using Modernizr rules
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 10:24:10 +00:00
Kegan Dougal
462fa91938
Better logging
2020-02-25 18:05:45 +00:00