Michael Telatynski
c7a935777d
Fix the jitsi qs parsing, as the `?` after `#` here is optional, unlike in EW
2021-07-16 19:37:48 +01:00
Michael Telatynski
75e4d16462
use js-sdk decodeParams utility
2021-07-16 13:10:58 +01:00
Michael Telatynski
b03b4582c0
Merge branch 'develop' of github.com:vector-im/element-web into t3chguy/querystring
...
Conflicts:
package.json
src/@types/global.d.ts
src/vector/app.tsx
src/vector/jitsi/index.ts
src/vector/platform/WebPlatform.ts
yarn.lock
2021-07-16 12:45:37 +01:00
Michael Telatynski
43695fbc58
Merge branch 'develop' into fix/space-shortcut-local/17776
2021-07-15 13:53:06 +01:00
Michael Telatynski
8289d6937f
Merge pull request #18006 from vector-im/t3chguy/spacesperf
2021-07-15 10:18:18 +01:00
Michael Telatynski
2877ef8fcf
Fix skinning
2021-07-15 08:29:18 +01:00
Michael Telatynski
f65231268d
Cache value of feature_spaces* flags as they cause page refresh so are immutable
2021-07-15 08:26:50 +01:00
Germain
bd4c6b8c6c
Merge pull request #17980 from psrpinto/fix/naming
...
Standardise casing of identity server
2021-07-15 08:07:10 +01:00
Michael Telatynski
80bc659b11
Merge branch 'develop' of github.com:vector-im/element-web into t3chguy/ts/c3
...
Conflicts:
src/vector/indexeddb-worker.ts
2021-07-14 17:50:40 +01:00
Paulo Pinto
0b6789c290
Standardise casing of identity server
...
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-13 16:19:56 +01:00
Michael Telatynski
54ebd0cca1
Fix types to match Typescripted IndexedDB store
2021-07-12 18:47:40 +01:00
Michael Telatynski
66ada58101
Use webpack worker-loader to load the IndexedDB worker instead of homegrown hack
2021-07-12 18:43:21 +01:00
Michael Telatynski
2983215dee
Improve and consolidate typing
2021-07-10 15:43:48 +01:00
Michael Telatynski
629630a086
Update Modernizr and stop it from polluting classes on the html tag
2021-07-09 11:49:07 +01:00
Šimon Brandner
2760a36f47
Convert a few files to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-06 21:41:02 +02:00
J. Ryan Stinnett
491b179971
Auto-fix lint errors
2021-06-30 13:28:31 +01:00
Michael Telatynski
4bc53aaed1
Merge pull request #17647 from vector-im/t3chguy/fix/17282
...
Remove spurious overflow: auto on #matrixchat element
2021-06-29 22:23:49 +01:00
Germain Souquet
33d05678b4
Enhance security by disallowing CSP object-src rule
2021-06-28 16:47:33 +01:00
Šimon Brandner
f8da8254ce
Better handling space shortcuts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-28 15:17:26 +02:00
Šimon Brandner
76d9f26a16
Fix space shortcuts on non-English layouts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-25 16:04:12 +02:00
Michael Telatynski
e2a109667a
Merge branch 'develop' of github.com:vector-im/element-web into t3chguy/ts/5.1
...
Conflicts:
src/vector/platform/ElectronPlatform.tsx
2021-06-23 14:54:06 +01:00
Michael Telatynski
1805a28d51
Merge pull request #17457 from vector-im/t3chguy/fix/17128-1
2021-06-22 14:21:46 +01:00
Michael Telatynski
f461c900cf
Improve typing of Event Index Manager / Seshat
2021-06-19 15:37:06 +01:00
Michael Telatynski
9e4eebed26
Change spaces shortcut to have 1 = space 1, 0 = home
2021-06-18 08:24:36 +01:00
Michael Telatynski
d5ac6d8c7e
Remove spurious overflow: auto on #matrixchat element
2021-06-14 22:07:41 +01:00
Michael Telatynski
a70803a36e
Add Modernizr test for Promise.allSettled given js-sdk and react-sdk depend on it
2021-05-25 16:12:54 +01:00
Michael Telatynski
f7ea7b948a
Wire space switch shortcut via dispatcher to prevent app load explosion due to skinning
2021-05-24 18:23:04 +01:00
Michael Telatynski
aa1145960a
Spaces keyboard shortcuts first cut
2021-05-24 18:08:31 +01:00
Hubert Chathi
53eb0e0f26
Bump libolm dependency, and update package name.
2021-05-21 16:10:48 -04:00
Germain Souquet
dc4cc02682
Change lang type to allow for multiple locales
2021-04-26 13:54:17 +01:00
Germain Souquet
f5c2d51f1e
Implement IPC call to Electron to set language
2021-04-23 17:14:40 +01:00
Travis Ralston
69b4296fa7
Merge branch 'develop' into travis/voice/event_type
2021-04-22 14:37:23 -06:00
Germain Souquet
8abc7cd87c
Only inject Inter fonts to HtmlWebpackPlugin
2021-04-22 14:31:06 +01:00
Germain Souquet
417835fcca
Preload Inter font to avoid FOIT on slow connections
2021-04-22 12:09:50 +01:00
Germain Souquet
708f6a26b1
Upgrade html-webpack-plugin to v4.5.2
2021-04-22 10:22:52 +01:00
Travis Ralston
9c3627dca9
Register RecorderWorklet from react-sdk
2021-04-19 21:51:25 -06:00
Germain
72f987a42b
Rename blackboxing to new option ignore list
2021-04-15 10:57:54 +01:00
Travis Ralston
1952cf6563
Add missing closing tag in guide
2021-04-08 18:43:15 -06:00
Travis Ralston
5642fc4026
Doc the return
2021-04-06 19:43:24 -06:00
Travis Ralston
97a43d058d
Support a config option to skip login/welcome and go to SSO
...
For deployments which want this sort of functionality for their users. Ideal for self-hosted deployments.
2021-04-06 19:39:26 -06:00
Germain Souquet
1d79f97a7a
Add user settings for warn before exit
2021-03-25 14:15:34 +00:00
Travis Ralston
a76c4ae943
Disable rageshake persistence if no logs would be submitted
...
This also delays the persistence until later in the app startup - this is fine for the reasons listed on the partner PR: https://github.com/matrix-org/matrix-react-sdk/pull/5767
Fixes https://github.com/vector-im/element-web/issues/16694
2021-03-16 14:22:06 -06:00
David Baker
b910fcd38a
Add option for audio live streaming
...
Starts jitsi streaming to a specially configured URL so that the
jitsi server can start an audio-only stream, in combination with an
API to manage audio streams by room ID.
2021-03-04 18:00:55 +00:00
J. Ryan Stinnett
4f0fccfe96
Merge pull request #15851 from SimonBrandner/feature-multi-language-spell-check
...
Add multi language spell check
2021-03-02 14:38:29 +00:00
Šimon Brandner
86d7652d93
Merge branch 'feature-multi-language-spell-check' of https://github.com/SimonBrandner/element-web into feature-multi-language-spell-check
2021-03-02 14:58:58 +01:00
Šimon Brandner
c745991a9a
Remove duplicate supportsMultiLanguageSpellCheck()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 14:58:40 +01:00
Šimon Brandner
0f7a42258c
Add a comment
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-03-02 14:53:04 +01:00
Šimon Brandner
8cf2ab436d
Use getSpellCheckLanguages() instead of a setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:12:51 +01:00
Šimon Brandner
4961037dbe
Remove setting languages on startup
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:16:33 +01:00
Šimon Brandner
5f15ee4ea5
Mark macOS as false
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:05:40 +01:00
Šimon Brandner
9953bc3b22
Merge branch 'develop' into feature-multi-language-spell-check
2021-02-18 18:16:37 +01:00
Travis Ralston
c67951f254
Jitsi widget: Read room name from query parameters
...
This is an aesthetic change to the Jitsi widget and has no bearing on the widget's functionality.
Paired with https://github.com/matrix-org/matrix-react-sdk/pull/5649
2021-02-15 08:54:56 -07:00
Michael Telatynski
438eef0acd
Update src/vector/app.tsx
2021-02-11 16:27:55 +00:00
Michael Telatynski
e15d1c1501
Update src/vector/platform/WebPlatform.ts
2021-02-11 16:27:30 +00:00
Ibragim/Parviz Bekliev
92a5787528
Migrating from Node's deprecated `url` API to browser's `URL`
...
Related to https://github.com/vector-im/element-web/pull/16292
Signed-off-by: Bekliev Parviz <nightkon95@gmail.com>
2021-02-11 18:59:59 +03:00
Ibragim/Parviz Bekliev
3e57378631
fix / sso: after complete login via token make sure to delete only loginToken query-param from the window.location api.
...
Related to https://github.com/vector-im/element-web/pull/16292
Signed-off-by: Bekliev Parviz <nightkon95@gmail.com>
2021-02-09 16:40:52 +03:00
J. Ryan Stinnett
27a92a5c89
Add RegExp dotAll feature test
...
As mentioned in
https://github.com/vector-im/element-web/issues/16020#issuecomment-774384598 ,
we're depending on the `dotAll` / `s` regex feature. This adds a test so
browsers without this see an error screen.
2021-02-08 16:44:59 +00:00
Michael Telatynski
d5a824d6dd
Merge pull request #16292 from vector-im/t3chguy/sso_fixes
...
Use history replaceState instead of redirect for SSO flow
2021-01-29 13:29:02 +00:00
J. Ryan Stinnett
0f3623393f
Fix typing errors after upgrades
2021-01-27 14:35:02 +00:00
Michael Telatynski
d47948fb7b
Improve SSO auth flow
...
Use replaceState instead of a redirect to strip the loginToken
Put user into the same post-auth flows of E2ESetup
Skip UIA prompt in this post-auth flow, happy path is a server grace period
2021-01-27 12:50:14 +00:00
Travis Ralston
5cb323feed
Supply server_name for optional federation-capable Jitsi auth
...
See https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification/pull/3
2021-01-19 10:23:23 -07:00
J. Ryan Stinnett
0bbcda09af
Move into constructor
2021-01-15 12:35:42 +00:00
J. Ryan Stinnett
e077d9ca5f
Move service worker into platform
2021-01-15 12:25:21 +00:00
J. Ryan Stinnett
87e67d8168
Skip the service worker for Electron
...
At the moment, there's no point in installing the empty service worker on
Electron.
Fixes https://github.com/vector-im/element-web/issues/16008
2021-01-15 11:05:27 +00:00
J. Ryan Stinnett
58eca1aa7d
Use isolated IPC API
...
This adjusts to match changes on the desktop side where we now use Electron's
context isolation feature to expose only the IPC channels and methods we
actually expect to use.
2021-01-13 15:39:18 +00:00
Alexandru M Stan
35d1c0d980
webplatform: Fix notification closing
...
After a notification arrives, when the user focuses on element, the
notification never goes away (unless directly interacted with), this was a bug.
displayNotification was never returning the notification handle, which means
that matrix-react-sdk later on had no way to .close it.
Closes #16026
Signed-off-by: Alexandru M Stan <alex@hypertriangle.com>
2020-12-24 02:01:40 -08:00
Hubert Chathi
e0e29996e0
Update to new API from matrix-react-sdk#5483 ( #15942 )
2020-12-15 12:57:17 -05:00
Travis Ralston
d0b9b211c9
Fix an important semicolon
2020-12-07 14:46:56 -07:00
Šimon Brandner
24cc106d90
Merge branch 'develop' into feature-multi-language-spell-check
2020-12-03 12:04:46 +01:00
Šimon Brandner
ccc3038793
Don't exclude default
2020-12-03 08:27:18 +01:00
Šimon Brandner
6844c8f92e
Hide spell-check settings if not using Electron
2020-12-02 20:15:00 +01:00
Michael Telatynski
a63bd875bc
Merge pull request #15771 from vector-im/t3chguy/socials
...
Extend Platform to support idpId for SSO flows
2020-12-02 15:48:56 +00:00
Šimon Brandner
1c9d25986a
Cleanup
2020-12-01 20:19:14 +01:00
Šimon Brandner
a8a422105b
Added getAvailableSpellCheckLanguages() method
2020-11-29 20:52:19 +01:00
Šimon Brandner
3419140bee
Fix spelling
2020-11-28 19:38:39 +01:00
Šimon Brandner
13a5192995
Added a call to loadSpellCheckLanguages() method
2020-11-28 19:36:39 +01:00
Šimon Brandner
7ae86af7df
Added loadSpellCheckLanguages() method
2020-11-28 19:36:18 +01:00
J. Ryan Stinnett
d8e0ea5791
Include KaTeX CSS as a dependency
...
This changes the KaTeX CSS inclusion to function just like the other bits of the
CSS that we import from dependencies.
2020-11-27 12:18:24 +00:00
J. Ryan Stinnett
f1e89bf833
Replace various instances of Riot with Element
2020-11-25 17:01:19 +00:00
J. Ryan Stinnett
d05c022d4f
Rebrand some GitHub links
2020-11-25 14:16:55 +00:00
Michael Telatynski
1e1a14c9a9
Extend Platform to support idpId for SSO flows
2020-11-19 11:07:44 +00:00
Michael Telatynski
0bdf979c46
fix the Jitsi bg colour to not be transparent as the app colours may be anything and bleed through
2020-10-27 11:26:41 +00:00
Michael Telatynski
7c895bd8c0
Fix theme variable handling with invalid values
2020-10-27 11:26:41 +00:00
Michael Telatynski
593a56e2d7
Jitsi accept theme variable and restyle
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 19:40:53 +01:00
J. Ryan Stinnett
dfb1579625
Adjust for new widget messaging APIs
...
As part of changing to the `events` package, the API surface changed slightly.
Related to https://github.com/vector-im/element-web/issues/15493
2020-10-19 16:43:55 +01:00
Travis Ralston
917a85ead9
Don't fatally end the Jitsi widget when it's not being used as a widget
2020-10-14 16:16:08 -06:00
Damir Jelić
0507cd2d90
electron-platform: Use camel case for the user/device id.
2020-10-13 17:04:40 +02:00
Damir Jelić
5350c5e551
electron-platform: Pass the user/devce id pair when initializing the event index.
2020-10-13 16:36:38 +02:00
Travis Ralston
5f353c4907
Merge pull request #15102 from vector-im/travis/widget-api
...
Switch to using the Widget API SDK for Jitsi widgets
2020-10-01 10:16:11 -06:00
Travis Ralston
9cb823b210
Fix join button
2020-10-01 09:59:13 -06:00
Michael Telatynski
cfee4c925a
Revert "Attempt to fix tests some more"
...
This reverts commit c76a5f2c
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:05:07 +01:00
Michael Telatynski
1edbe36547
Revert "Tidy up Service Worker, only run Workbox in production"
...
This reverts commit c47532fe
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:32 +01:00
Michael Telatynski
87c42934ea
Revert "Disable workbox when running in webpack dev server, not in dev mode"
...
This reverts commit 11e676ce
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:21 +01:00
Michael Telatynski
daa755017e
Revert "consolidate"
...
This reverts commit aa2f3918
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:11 +01:00
Travis Ralston
cdf9547220
Appease the linter
2020-09-30 20:51:31 -06:00
Travis Ralston
7b93c56bd0
Fix custom hangup button
2020-09-30 20:09:42 -06:00
Michael Telatynski
ca78985abc
Merge pull request #15345 from vector-im/t3chguy/fix/workbox
...
Disable workbox when running in webpack dev server, not in dev mode
2020-09-30 19:26:31 +01:00
Michael Telatynski
aa2f3918cc
consolidate
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:36:57 +01:00
Michael Telatynski
11e676cee0
Disable workbox when running in webpack dev server, not in dev mode
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:35:12 +01:00
Qt Resynth
10d6fbaef7
Update Riot -> Element in index.ts
2020-09-30 11:10:35 +00:00
Travis Ralston
c56368cdbb
Fix hangup button handler
2020-09-29 13:20:16 -06:00
Travis Ralston
15a8ee6663
Merge branch 'develop' into travis/widget-api
2020-09-29 13:17:18 -06:00
Travis Ralston
20c6e6dd73
Merge pull request #15316 from vector-im/travis/jitsi-widget
...
Give the Jitsi widget an icon to help with discovery
2020-09-29 11:06:42 -06:00
Travis Ralston
7d3ccb6242
Merge pull request #15219 from vector-im/travis/ft-sep1620/04-jitsi-hangup
...
Jitsi widget wrapper updates for hangup button
2020-09-29 11:06:28 -06:00
Travis Ralston
7ef0702df4
re-todo
2020-09-29 11:04:08 -06:00
Travis Ralston
a1e6b019d2
Give the Jitsi widget an icon to help with discovery
...
We think users will be expecting to follow a series of icons into their conference, so we'll remind them here of what is going on with a giant icon.
This does not change depending on the call type because the jitsi widget doesn't understand the call type anyways - it's always a video conference.
2020-09-29 11:01:26 -06:00
Travis Ralston
97afe18310
Merge branch 'develop' into travis/widget-api
2020-09-28 21:09:10 -06:00
Michael Telatynski
aa9b517664
Merge pull request #15271 from vector-im/t3chguy/fix/15265
...
Tidy up Service Worker, only run Workbox in production
2020-09-28 16:47:15 +01:00
Travis Ralston
c114932da0
Merge branch 'develop' into travis/widget-api
2020-09-25 09:38:52 -06:00
David Baker
4eb5bb2bae
Merge pull request #15274 from vector-im/dbkr/remove_conferencehandler
...
Remove conference handler
2020-09-25 15:52:25 +01:00
Travis Ralston
82749c3de3
Fix Jitsi for new widget-api
2020-09-24 13:25:59 -06:00
David Baker
c988988a70
This is unused now
2020-09-24 16:44:05 +01:00
David Baker
b31bf6cfca
Remove conference handler
2020-09-24 16:19:00 +01:00
Michael Telatynski
c47532fe2a
Tidy up Service Worker, only run Workbox in production
...
Moves ServiceWorker load into Platform so its not done by Electron
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-24 13:01:34 +01:00
Travis Ralston
b9b859dd28
Merge branch 'develop' into travis/widget-api
2020-09-23 12:00:54 -06:00
Michael Telatynski
477b7a362b
Merge pull request #15196 from vector-im/t3chguy/fix/12591
...
Replace dummy sw.js with pre-caching and runtime-caching workbox SW
2020-09-23 17:03:26 +01:00
Travis Ralston
c7617c2538
Fix bad merge
2020-09-22 09:01:55 -06:00
Travis Ralston
465a2ce314
Merge branch 'develop' into travis/widget-api
2020-09-22 09:00:48 -06:00
Travis Ralston
05d5e3f680
Remove debugging
2020-09-17 14:59:43 -06:00
Travis Ralston
737fa7dca5
Jitsi widget wrapper updates for hangup button
...
See https://github.com/matrix-org/matrix-react-sdk/pull/5223
2020-09-16 14:39:40 -06:00
Michael Telatynski
40813a6b33
If no bug_report_endpoint_url, hide rageshaking from the App
2020-09-15 15:49:25 +01:00
Michael Telatynski
c76a5f2c52
Attempt to fix tests some more
2020-09-15 13:19:47 +01:00
Michael Telatynski
ac447fd318
Fix onNewScreen to use replace when going from roomId->roomAlias to prevent locking the user in place
2020-09-09 16:52:48 +01:00
Jason Robinson
7018a498a7
Quieten some IDE warnings
2020-09-08 12:52:17 +03:00
Jason Robinson
579650a1dd
Move most of the OpenID token flow to WidgetAPI
2020-09-08 12:50:53 +03:00
Jason Robinson
a7abd8599e
More usage of constants
2020-09-08 11:44:11 +03:00
Jason Robinson
3309b2ec55
Block on matrix-org/matrix-react-sdk#5172
...
And shuffle code around a bit.
2020-09-08 11:37:50 +03:00
Jason Robinson
151dd5709c
Fix import
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-09-08 11:32:09 +03:00
Jason Robinson
21c862fe2b
Remove console.log
2020-09-07 20:47:07 +03:00
Jason Robinson
3b434a70d2
Fix typo
2020-09-07 20:36:26 +03:00
Jason Robinson
acfd7252bd
Remove todo
2020-09-07 20:26:05 +03:00
Jason Robinson
4164df647c
Improve error messsage of Jitsi widget
...
If openidtoken request fails, show
an error. Also render error a bit nicer
in generic widget load errors.
2020-09-07 19:51:16 +03:00
Jason Robinson
2205f0611e
Add some links to the openidtoken-jwt spec
2020-09-07 19:25:44 +03:00
Jason Robinson
0410a6b3be
Use Jitsi domain in the JWT issuer
2020-09-07 19:23:36 +03:00
Jason Robinson
8534328921
Implement OpenID token fetch from Jitsi widget
...
Using MSC1960 to fetch an OpenID token via postmessage API. This is needed
for Jitsi openidtoken-jwt auth.
2020-09-07 18:10:19 +03:00
Travis Ralston
2fa8b0f8b2
Make the types happy
2020-09-04 22:02:18 -06:00
Travis Ralston
69745bbd40
Switch to using the Widget API SDK for Jitsi widgets
2020-09-04 21:55:50 -06:00
Jason Robinson
5108697ac8
Add support for Jitsi openidtoken-jwt auth
...
If the widget URL specifies this auth, generate a JWT token
containing the info needed by the Jitsi backend.
2020-09-04 13:14:52 +03:00
Michael Telatynski
ae8595690d
delint
2020-08-29 01:14:51 +01:00
Christoph Settgast
5b5f205892
Link to Element in F-Droid as well
...
The old app-id shows a big warning that it will no longer be maintained,
so avoid linking to it (especially for self-hosted element-web installs).
Signed-off-by: Christoph Settgast <csett86@web.de>
2020-08-19 16:13:59 +02:00
Michael Telatynski
e371f01bb5
Try to close notification on all platforms which support it, not just electron
2020-08-12 12:16:29 +01:00
Bruno Windels
6a52758cc7
update mobile config intercept url
2020-07-28 17:38:50 +02:00
Jorik Schellekens
9bb1f99bd9
Confiure eslint package and fix lint issues
2020-07-21 11:30:28 +01:00
J. Ryan Stinnett
c412406956
Merge pull request #14541 from vector-im/jryans/update-mobile-apps
...
Update all mobile links to match marketing site
2020-07-16 16:21:17 +01:00
Travis Ralston
b2d4432ba9
Fix SSO session ID paramater
2020-07-16 08:11:04 -06:00
J. Ryan Stinnett
503ea3d973
Update all mobile links to match marketing site
2020-07-16 14:42:20 +01:00
Travis Ralston
1b60743910
Use the right protocol for SSO URLs
2020-07-15 17:05:17 -06:00
J. Ryan Stinnett
b720c8a138
Merge remote-tracking branch 'origin/develop' into element
2020-07-15 10:35:45 +01:00
Michael Telatynski
18aab5f655
Remove redundant enum
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:46:39 +01:00
J. Ryan Stinnett
715a4f8dac
Restore device name
2020-07-15 09:38:55 +01:00