Commit Graph

1427 Commits

Author SHA1 Message Date
Robin Townsend
faa8f95f97 Reduce the size of the local feed in 1:1 calls at small window sizes 2023-01-04 08:38:24 -05:00
Robin
e5572210d3
Merge pull request #813 from RiotTranslateBot/weblate-element-call-element-call
Translations update from Weblate
2023-01-03 23:06:48 -05:00
David Baker
11a262b58f
Merge pull request #819 from vector-im/dbkr/prefix_other_fullscreen_apis
Use prefixed versions of other fullscreen APIs too
2023-01-03 22:56:49 +00:00
David Baker
62e4e80ca3
Merge pull request #818 from vector-im/dbkr/fix_copyright_headers
Fix copyright headers
2023-01-03 22:56:40 +00:00
David Baker
f55cc21289
Enable rageshake in preview builds (#817) 2023-01-03 22:56:21 +00:00
David Baker
c34a1f7f65 Use prefixed versions of other fullscreen APIs too 2023-01-03 18:35:00 +00:00
David Baker
70b693ef3c Revert d2175b4
Unintentionally comitted to main
2023-01-03 18:34:27 +00:00
David Baker
d2175b40a4 Use prefixed versions of other fullscreen APIs too 2023-01-03 18:33:11 +00:00
David Baker
1830acbddf Fix copyright pt. 2: CSS files 2023-01-03 16:58:38 +00:00
David Baker
df9c1fed2a Fix copyright headers
This is an Element project (in the vector-im repo) so the Copyright
should be for New Vector: it was incorrectly attributed to the
foundation for some files (and some files were missing headers).
2023-01-03 16:55:26 +00:00
Timo
05be247946
send posthog callEnded events instantly in embedded mode (prohibit missing events) (#816)
Signed-off-by: Timo K <timok@element.io>
Co-authored-by: Timo K <timok@element.io>
2023-01-03 17:09:21 +01:00
Timo
1f5c22e325
Posthog new api key (#815)
new api key

Signed-off-by: Timo K <timok@element.io>
Co-authored-by: Timo K <timok@element.io>
2023-01-03 16:59:06 +01:00
David Baker
b9ee9583e4
Fix fullscreen on Safari (#814)
* Fix fullscreen on Safari

Safari only supports it via the webkit prefix

Fixes https://github.com/vector-im/element-call/issues/539

* NOT THAT LOGGER, VSCODE
2023-01-03 11:24:10 +00:00
David Baker
fef503c65d
Upload source maps to sentry (#810)
* Pretend to upload source maps to sentry

* Build release not in docker so we can upload source maps sensibly

and also upload the release as a plain tarball while we're at it

* fix yaml

* Try specifying version this way

* test rebuild

* pass secrets through

* Too many sentries

* It's almost 2023 and we're still having BSD vs GNU tar issues

* Maybe get sensible tag name & release identifier

* Wrong plugin, and also try the 'release' option which might the right thing

* Try a different github action

see if github likes that any better

* add contents write permission

and switch to the asset upload plugin that had the helpful doc

* actually put release name in tarball path

* copy docker config to right path

* Prettify vite config

* Only activate sentry plugin if we have secrets

* Use env var for tag name

* Also spelling env correctly would likely help

* Fix variable syntax

* Put env var in correct place

One day maybe I will not find yaml syntax confusing
2023-01-03 10:48:48 +00:00
David Baker
dc37c83aac
Merge pull request #809 from vector-im/dbkr/optional_rageshake
Don't show option to submit bug reports if no endpoint configured
2023-01-03 09:55:08 +00:00
Avery
398e238bfb Translated using Weblate (Spanish)
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/es/
2023-01-02 16:33:20 +00:00
David Baker
10819ed044
Merge pull request #812 from vector-im/dg/use_env_variable
Use environment variable for branch name
2022-12-23 10:39:10 +00:00
Davide Girardi
6edcdd3890 Use environment variable for branch name 2022-12-23 10:53:02 +01:00
Robin
5e47a439ca
Merge pull request #811 from vector-im/dbkr/gha_filter_on_head_repo
Add conditional on head_repo on Netlify main GHA job
2022-12-22 18:51:20 -05:00
David Baker
d1091eda17 Add conditional on head_repo on Netlify main GHA job
As per comment
2022-12-22 20:22:54 +00:00
Timo
0488cbdd8c
Change posthog key and host to selfhosted instance (#775)
* change posthog key and host

* Refresh Key

* change key again
2022-12-22 19:59:29 +01:00
David Baker
5823cd41e8 Translate separately so the i18n gets less confused 2022-12-22 14:23:19 +00:00
David Baker
de0f2e65a5 Don't show option to submit bug reports if no endpoint configured 2022-12-22 14:12:49 +00:00
David Baker
891ff86b49
Merge pull request #808 from vector-im/dbkr/remove_overflow_fullscreen
Remove the overflow menu button in fullscreen mode
2022-12-22 13:28:14 +00:00
David Baker
d7d7bee685 Remove the overflow menu button in fullscreen mode
It didn't work and fixing it is a bit of a project: see comment

https://github.com/vector-im/element-call/issues/807
2022-12-22 12:16:05 +00:00
David Baker
2c2aded094
Merge pull request #806 from vector-im/dbkr/too_many_olms
Remove Olm from devDependencies
2022-12-21 22:21:04 +00:00
David Baker
f35b50d89f Remove Olm from devDependencies
It was in devDependencies as well as dependencies for some reason
2022-12-21 18:49:49 +00:00
David Baker
0880faf312
Merge pull request #799 from vector-im/dbkr/sample_config
Make sample config just have the HS config
2022-12-21 17:58:43 +00:00
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
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