David Baker
c879090a34
Re-jig config accessors
...
We only ever used the static instance() method to get to the config
object, so just make a static instance that returns the ConfigOptions
directly, throwing an exception if it's not yet initialised. This way
the types can all be non-optional (plus it's shorter).
2022-12-21 10:17:53 +00:00
David Baker
6303b357ab
Update default homeserver to match what the docs say
2022-12-21 10:01:37 +00:00
David Baker
b3d97810a8
Unused import
2022-12-21 09:44:28 +00:00
David Baker
eaf14a0562
Don't send rageshakes or start sentry if we don't have config for them
2022-12-21 09:42:27 +00:00
David Baker
fd3c0d9fc6
Don't guess the server name from the URL
...
It only uses the default HS URL anywayso just use the default
server name.
2022-12-21 09:27:25 +00:00
Robin
7765cfe1c2
Merge pull request #792 from RiotTranslateBot/weblate-element-call-element-call
...
Translations update from Weblate
2022-12-20 15:32:38 -05:00
David Baker
b94562d43b
Indent config sample properly
2022-12-20 18:26:10 +00:00
David Baker
19e478f2a9
Make sample config just have the HS config
...
The other options are things people usually won't need or want to
set, so just keep it to the basics.
* Rename config sample to match element-web
* Update / simplify build instructions
* Rename nginx config file to differentiate it from EC config
2022-12-20 18:13:08 +00:00
David Baker
d6b8ecdfd1
Remove default HS env var from build
2022-12-20 17:42:20 +00:00
David Baker
47ade7ee3c
Add default HS for CD deployment
2022-12-20 17:37:07 +00:00
David Baker
23387ee75f
Fix syntax
2022-12-20 17:32:04 +00:00
David Baker
c85d1c1d9c
Don't touch the product name option for now
2022-12-20 17:30:47 +00:00
David Baker
96de515e56
Move default homeserver to config file
2022-12-20 17:26:45 +00:00
David Baker
e4c25bcc69
Merge pull request #797 from vector-im/dbkr/fix_docker_build
...
Fix docker build
2022-12-20 13:34:00 +00:00
David Baker
824ed06f36
Fix docker build
...
Remove the element-call directory level which isn't necessary any
more (accidentally removed the `cd element-call` in #794 ).
2022-12-20 11:44:27 +00:00
David Baker
aa57cf039a
Merge pull request #794 from vector-im/dbkr/simplify_build
...
Simplify build process
2022-12-19 18:55:41 +00:00
David Baker
850d6a40cc
Simplify build process
...
* We don't need to check out the js-sdk separately anymore
* Remove the vite proxying: there's no need since Matrix HSes allow
cross origin requests. This will let us move the default homeserver
config to the config file (in a separate PR...)
* Remove the product name variable which just set it to the default anyway
2022-12-19 18:43:42 +00:00
David Baker
282a4853cf
Merge pull request #791 from vector-im/dbkr/spatial_audio_ff_only
...
Make spatial audio Firefox-only
2022-12-19 15:22:33 +00:00
David Baker
7c26bdbda3
Put the maximised conditional back
...
and comment it
2022-12-19 15:10:25 +00:00
David Baker
4ad5ea49c2
Merge remote-tracking branch 'origin/main' into dbkr/spatial_audio_ff_only
2022-12-19 13:18:12 +00:00
Timo
e3aa810230
Posthog widget embedding ( #767 )
...
* load analytics id from url in embedded mode
Signed-off-by: Timo K <timok@element.io>
* add start call in the widget code path
Signed-off-by: Timo K <timok@element.io>
* send group call id instead of call name
Signed-off-by: Timo K <timok@element.io>
* generate analyticsid based on account analyticsid
This make it impossible to find users from the element web posthog instance
in the element call instance
* move registration type setup PosthogAnalytics.ts
* Order identificaition and tracking.
This fixes an issue that the widget version did not identify the user before sneding
the first track event.
Because start call is called right after app startup.
Signed-off-by: Timo K <timok@element.io>
2022-12-19 12:16:59 +01:00
Jozef Gaal
db2e0758de
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (139 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/sk/
2022-12-18 18:33:16 +00:00
Šimon Brandner
39467f434e
Translated using Weblate (Czech)
...
Currently translated at 100.0% (139 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/cs/
2022-12-18 18:33:15 +00:00
Jozef Gaal
fddf344923
Added translation using Weblate (Slovak)
2022-12-17 14:04:38 +00:00
Toomore Chiang
f806538e2c
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 9.3% (13 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hant/
2022-12-17 11:33:15 +00:00
David Baker
c6ad2003f0
Add other missing file
2022-12-16 17:28:52 +00:00
David Baker
9aed344a80
Add missing file
2022-12-16 17:25:28 +00:00
David Baker
d8b4fea6fc
i18n
2022-12-16 17:22:38 +00:00
David Baker
0c55efe4b6
Don't reorder imports - 3rd time's a charm
2022-12-16 17:20:52 +00:00
David Baker
c93df1fd06
Don't reorder import try 2
2022-12-16 17:19:40 +00:00
David Baker
c30eb19021
Don't reorder imports
2022-12-16 17:18:52 +00:00
David Baker
2d8c33d66d
Merge remote-tracking branch 'origin/main' into dbkr/spatial_audio_ff_only
2022-12-16 17:17:30 +00:00
David Baker
223793a445
Make spatial audio Firefox-only
...
Hopefully explained in comment: we have a heisenbug where we sometimes
lack audio from a certain participant, so this simplifies the audio
path by removing the workaround required to do AEC with spatial audio
on chrome.
2022-12-16 17:12:17 +00:00
Robin
b60a92112f
Merge pull request #779 from RiotTranslateBot/weblate-element-call-element-call
...
Translations update from Weblate
2022-12-16 11:54:25 -05:00
Toomore Chiang
b017faac36
Added translation using Weblate (Chinese (Traditional))
2022-12-16 11:00:52 +00:00
Rodion Borisov
1615b6e559
Translated using Weblate (Russian)
...
Currently translated at 97.8% (136 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/ru/
2022-12-16 11:00:52 +00:00
MomentQYC
d71542a757
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (139 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hans/
2022-12-16 11:00:52 +00:00
phardyle
eb8a1cea45
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (139 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hans/
2022-12-16 11:00:52 +00:00
MomentQYC
a44a716100
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (139 of 139 strings)
Translation: Element Call/element-call
Translate-URL: https://translate.element.io/projects/element-call/element-call/zh_Hans/
2022-12-16 11:00:52 +00:00
MomentQYC
34a4403135
Added translation using Weblate (Chinese (Simplified))
2022-12-16 11:00:52 +00:00
Robin
cfe5ce977e
Merge pull request #790 from robintown/no-controls
...
Hide controls completely in picture-in-picture view
2022-12-14 07:37:34 -05:00
Robin Townsend
102ce87bb0
Hide controls completely in picture-in-picture view
...
This is to prepare for upcoming design changes to the picture-in-picture view in Element Web.
2022-12-13 18:20:30 -05:00
Robin
f9845617b3
Merge pull request #783 from robintown/font-params
...
Add URL params to control fonts
2022-12-10 18:55:35 -05:00
Robin
1ec598453b
Merge pull request #784 from robintown/prettier-everything
...
Apply Prettier to the entire project
2022-12-10 18:55:15 -05:00
Robin
4659e58be8
Merge pull request #785 from robintown/leave-icon
...
Update the leave icon
2022-12-10 18:54:58 -05:00
Robin
9f6cacb3b6
Merge pull request #782 from robintown/yarn-lock
...
Save lockfile
2022-12-09 15:09:02 -05:00
Robin Townsend
32168fb467
Update the leave icon
2022-12-09 14:41:43 -05:00
Robin Townsend
90ef5505bb
Apply Prettier to the entire project
...
This ensures that our tests will be formatted by Prettier, among other things.
2022-12-09 14:34:25 -05:00
Robin Townsend
acc41c532e
Add URL params to control fonts
...
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
Robin Townsend
fb4fe0e928
Save lockfile
2022-12-09 08:40:58 -05:00