Commit Graph

332 Commits (03cf7ca6988fed6f441f16a3fb10a2f83951e2e4)

Author SHA1 Message Date
renovate[bot] 188aac111b
Update dependency prettier to v3 (#26815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 17:53:39 +00:00
David Langley 0562942972 Update org in scripts and workflows 2023-12-12 10:31:44 +00:00
Johannes Marbach b08f83b415 Add Jitsi SDK as a static resource and set up CI to update it on change 2023-11-21 20:24:38 +01:00
Johannes Marbach a56a2268f0 Merge branch 'develop' into johannes/webpack-5 2023-11-16 19:20:22 +01:00
Johannes Marbach d2fa827fad Replace copy/watching of non-language assets with copy-webpack-plugin 2023-11-16 14:21:45 +01:00
Johannes Marbach ba72b3b09b Prevent copy-res -w from triggering unnecessary changes while webpack is already building 2023-11-15 21:43:00 +01:00
Johannes Marbach 08bc6d816a Use only chokidar for watching and add more logging 2023-11-15 20:15:25 +01:00
Johannes Marbach f0c5ed8a30 Appease the linter 2023-11-08 10:06:13 +01:00
Johannes Marbach 0a36934d55 Eliminate use of loader-utils 2023-11-08 10:04:09 +01:00
Michael Telatynski e5d4d5108d
Add script to generate mermaid graph of automations (#26432) 2023-10-27 14:03:30 +01:00
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 (#26106) 2023-09-05 17:17:25 +01:00
Michael Telatynski 86c563cd29
Simplify languages.json file and grab language names from Intl (#26001) 2023-08-22 15:07:17 +01:00
Michael Telatynski 062e93a5d2
Tidy and improve dev scripts (#25978) 2023-08-18 08:34:56 +01:00
Michael Telatynski 96c652ef08
Switch to nested object pluralisation format for i18n files (#25970) 2023-08-17 09:37:59 +01:00
Michael Telatynski 311c5fec66
Delete redundant make-icons.sh (#25747) 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 (#25712) 2023-07-04 17:14:31 +01:00
renovate[bot] 5557487ef2
Update dependency mkdirp to v3 (#25142)
* 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 (#25009) 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() (#23906)
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 (#23814) 2022-11-22 10:49:18 +00:00
Robin 46c005a5d3
Don't hardcode /bin/bash in scripts (#23740)
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 (#23454)
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 (#23467) 2022-10-12 16:15:51 +01:00
Michael Telatynski ae2c163441
Fix if condition for deciding how to structure docker version file (#23186) 2022-09-05 09:35:16 +01:00
Michael Telatynski 4b6d9a067b
Update deploy scripts for gha-webhook-listener compatibility (#23002)
* 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 (#22026)
* 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 (#22829) 2022-07-25 09:35:48 +00:00
Šimon Brandner e1d4817d54
Add a script to check for dead code (#22793) 2022-07-13 10:04:32 +02:00
Michael Telatynski 5630a7defe
Update matrix-analytics-events to @matrix-org/analytics-events (#22469)
* 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 (#22358) 2022-05-26 08:49:58 -04:00
Michael Telatynski b3ef2c179a
Update weblateToCounterpart to be more resilient (#22247)
* 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 (#22054)
* 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 (#21302)
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 (#20487) 2022-01-11 16:15:17 +00:00
J. Ryan Stinnett 6c1fc8e903
Disable Git interactive auth when fetching deps (#20484)
This is important for branch testing, especially via HTTPS.
2022-01-11 12:48:49 +00:00
Travis Ralston 2617b424ce
Fix git protocol usage (#20464)
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 (#20029)
* 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 (#20077)
* 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 (#20032)
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 (#19474)
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