Commit Graph

1397 Commits

Author SHA1 Message Date
David Baker
51be754ad8
Merge pull request #798 from vector-im/dbkr/move_to_config_file
Move default homeserver to config file
2022-12-21 17:57:16 +00:00
David Baker
70522ed8da Also add comment 2022-12-21 15:26:24 +00:00
David Baker
3581aceb5a Addd ResolvedConfigOptions back 2022-12-21 15:25:08 +00:00
David Baker
16e8ea3420
Merge pull request #801 from vector-im/dbkr/pr_preview_use_branch_config
Use config from the branch we built on PR previews
2022-12-21 15:23:08 +00:00
David Baker
29f48f25f4 Actually remove the bit that's no longer neccessary 2022-12-21 15:17:34 +00:00
David Baker
089234ae09 Use config from the branch we built on PR previews
No harm in doing this - just as easy to override config in the code
itself.
2022-12-21 15:11:24 +00:00
David Baker
4dd823eca4
Merge pull request #800 from vector-im/dbkr/pr_preview
Add deploy previews
2022-12-21 14:42:35 +00:00
David Baker
6bc5b16b02 These appear to be important? 2022-12-21 13:09:41 +00:00
David Baker
f67eb328bf Add permissions, fix artifact name, filter branches 2022-12-21 12:36:00 +00:00
David Baker
1c824da32b Add config & redirects files 2022-12-21 12:08:08 +00:00
David Baker
1442e57a23 Prettify workflow file 2022-12-21 12:01:06 +00:00
David Baker
39e92b9e2e Add deploy previews
Using workflow from element-web
2022-12-21 11:57:15 +00:00
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
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