Commit Graph

322 Commits (6fa6c6517c8c1ed39be72fea82a0a3ed0c0bae31)

Author SHA1 Message Date
Michael Telatynski badff8cae5
Fix copy-res
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 11:24:22 +01:00
Michael Telatynski 5a534e4010
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:49:41 +01:00
Michael Telatynski 472c07c0a8
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:43:44 +01:00
Michael Telatynski c944a273d0
Convert copy-res to typescript
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:33:57 +01:00
Michael Telatynski 501f01cdd5
Remove hardcoded INCLUDE_LANGS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-08 10:14:31 +01:00
Michael Telatynski c525b633bd
Migrate translations to keys and switch to Localazy () 2023-09-05 17:17:25 +01:00
Michael Telatynski 86c563cd29
Simplify languages.json file and grab language names from Intl () 2023-08-22 15:07:17 +01:00
Michael Telatynski 062e93a5d2
Tidy and improve dev scripts () 2023-08-18 08:34:56 +01:00
Michael Telatynski 96c652ef08
Switch to nested object pluralisation format for i18n files () 2023-08-17 09:37:59 +01:00
Michael Telatynski 311c5fec66
Delete redundant make-icons.sh () 2023-07-10 16:48:06 +01:00
Michael Telatynski d31a498457
Tweak branch matching to allow not applying outside of PRs for matrix-analytics-events () 2023-07-04 17:14:31 +01:00
renovate[bot] 5557487ef2
Update dependency mkdirp to v3 ()
* Update dependency mkdirp to v3

* Iterate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-18 16:01:10 +00:00
Michael Telatynski ddc2932541
Use frozen lockfile instead of pure lockfile on yarn install () 2023-03-31 14:52:29 +00:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Telatynski 7defcf3957
Adding tarfile member sanitization to extractall() ()
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: TrellixVulnTeam <charles.mcfarland@trellix.com>
2022-12-05 17:03:17 +00:00
Michael Telatynski b34a4ed311
Delete redeploy.py () 2022-11-22 10:49:18 +00:00
Robin 46c005a5d3
Don't hardcode /bin/bash in scripts ()
Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
2022-11-09 09:58:06 -05:00
Michael Telatynski 3be527cac8
Deploy `develop` branch to Cloudflare Pages ()
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-11-08 13:27:20 +00:00
Michael Telatynski 341b0b469e
Make bash scripts exit on error rather than continue () 2022-10-12 16:15:51 +01:00
Michael Telatynski ae2c163441
Fix if condition for deciding how to structure docker version file () 2022-09-05 09:35:16 +01:00
Michael Telatynski 4b6d9a067b
Update deploy scripts for gha-webhook-listener compatibility ()
* Soft fail Sentry uploads from Webpack

* Delete duplicated script

* Delint script

* Move symlink support from redeploy to deploy
2022-08-09 13:23:41 +01:00
Michael Telatynski d86e897ba6
Rework dockerhub builds ()
* WIP

* Attempt to wire up dockerhub building in GHA

* Fix issue with mime types

* Skip linux/arm, Cypress only installs on 64-bit

* Update dockerhub.yaml

* Update comment
2022-07-29 14:30:16 +01:00
Šimon Brandner ee3b9c3310
Improve dead code detection () 2022-07-25 09:35:48 +00:00
Šimon Brandner e1d4817d54
Add a script to check for dead code () 2022-07-13 10:04:32 +02:00
Michael Telatynski 5630a7defe
Update matrix-analytics-events to @matrix-org/analytics-events ()
* Update matrix-analytics-events to @matrix-org/analytics-events

* Update layered.sh
2022-06-07 20:08:38 +01:00
Robin 359e0e205f
Make Lao translation available () 2022-05-26 08:49:58 -04:00
Michael Telatynski b3ef2c179a
Update weblateToCounterpart to be more resilient ()
* Update i18n check CI to ignore RiotTranslateBot

* Update `weblateToCounterpart` to be more resilient
2022-05-17 17:44:30 +01:00
Michael Telatynski 6c87e294c4
Run CI in Github Actions ()
* Tidy workflows

* Update get-version-from-git.sh

* Run tests in Actions

* Upload coverage to SonarCloud

* Run linters in Actions

* Run builds in Actions, consolidating with sentry uploader

* Update sonar-project.properties

* chmod +x

* Iterate

* Use new env vars

* Delete yarn-sub.js

* Use re-usable sonarqube action

* Add README badges

* Match reality
2022-05-16 16:23:44 +02:00
Travis Ralston 9c23f6c476 Step 14: Remove reskindex 2022-03-28 15:26:22 -06:00
Robin 8ec86eb7d5
Remove Lojban translation ()
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-04 14:17:19 +00:00
Michael Telatynski d7813c09d9
Update default Jitsi URLs to meet.element.io () 2022-01-11 16:15:17 +00:00
J. Ryan Stinnett 6c1fc8e903
Disable Git interactive auth when fetching deps ()
This is important for branch testing, especially via HTTPS.
2022-01-11 12:48:49 +00:00
Travis Ralston 2617b424ce
Fix git protocol usage ()
Prevents this:
```
+ git clone git://github.com/matrix-org/matrix-js-sdk.git matrix-js-sdk --branch develop --depth 1
Cloning into 'matrix-js-sdk'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
```
2022-01-11 09:06:18 +00:00
Ben Parsons a90cbe9476
Include Vietnamese language ()
* Include Vietnamese language

https://translate.element.io/languages/vi/element-web/ has been professionally translated by an Element customer

* Vietnamese -> "Tiếng Việt" ("Vietnamese Language")
2021-12-14 10:16:24 +00:00
James Salter b0abbfacd4
Fix Docker build versioning ()
* Centralise version scripts and fix Docker version
* Refactor generation of a git-hash-based version into get-version-from-git
* Refactor normalization of versions (stripping leading v) into normalize-version.sh
* Call get-version-from-git from ci_package.sh, call normalize-version from package.sh
* Refactor docker-write-version.sh into docker-package.sh, which both writes the
  version file and invokes yarn build passing VERSION
* Normalize the version received from the server
2021-12-07 15:11:01 +11:00
Linerly 1a403a37f9
Add support for the Indonesian language ()
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-03 12:40:56 +00:00
James Salter f550d63198
Pass our VERSION to sentry plugin's release arg via env ()
Use our existing VERSION, deduced by the packaging script, as the release for sentry sourcemaps.

This will be undefined for dev builds.
2021-10-22 15:06:14 +01:00
Germain Souquet 6e15d0f5e8 Do not generate a lockfile when running in CI 2021-07-07 16:10:40 +02:00
Robin Townsend 77476451bd Fix Olm asm.js support
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-31 12:29:30 -04:00
Germain Souquet 86c61cab33 Move i18n utils to its own module 2021-04-26 16:52:11 +01:00
J. Ryan Stinnett 14c23f1387 Remove old `-d` argument when packaging on CI
This `-d` argument was removed from `package.sh` ages ago
(ec66069e96), but we seem to have missed removing
it here.
2021-04-19 15:45:16 +01:00
J. Ryan Stinnett a72ab0da04
Merge pull request from vector-im/jryans/add-langs-2021-01
Add Hebrew language
2021-01-19 11:24:55 +00:00
J. Ryan Stinnett cdc97a220a Add Hebrew language 2021-01-19 11:16:56 +00:00
J. Ryan Stinnett 8c98921842 Fix develop Docker builds
An extra step is needed for develop Docker builds after recent build process
changes. This was regressed by
https://github.com/vector-im/element-web/pull/15999.

Fixes https://github.com/vector-im/element-web/issues/16119
2021-01-18 12:01:58 +00:00
J. Ryan Stinnett 48884c711b Cloned deps no longer need so much building 2020-12-18 15:32:56 +00:00
J. Ryan Stinnett f1e89bf833 Replace various instances of Riot with Element 2020-11-25 17:01:19 +00:00
J. Ryan Stinnett 6583064cb4 A few additional packaging changes
This renames a few more packaging bits to match the new brand.

Fixes https://github.com/vector-im/element-web/issues/14896
2020-11-24 15:38:48 +00:00
J. Ryan Stinnett 5b86aa3a7a Merge remote-tracking branch 'origin/develop' into jryans/rebrand-packaged-artifact 2020-11-23 17:43:19 +00:00
Travis Ralston 44bf49d414
Update scripts/build-jitsi.js 2020-10-16 13:15:08 -06:00
Sebastian Denz 7f4f9b2cf1 Use HTTPS_PROXY environment variable for downloading external_api.min.js if set 2020-10-16 14:48:28 +02:00