Commit graph

161 commits

Author SHA1 Message Date
Michael Telatynski 4e0d1b1497
Create packages.element.io directory index scripts (#456) 2022-11-29 09:59:02 +00:00
Michael Telatynski 247eca7b24
Update to Electron 21 (#458) 2022-11-22 10:17:42 +00:00
t3chguy d95838cb9a [create-pull-request] automated change 2022-11-15 17:58:37 +00:00
RiotRobot 23b83bac26 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2022-11-08 16:23:45 +00:00
Michael Telatynski a104be4fa1
Update to @electron/notarize 2022-11-08 09:59:42 +00:00
ElementRobot 25d3ca5a4a
[Backport staging] Fix macOS builds in GHA (#445)
(cherry picked from commit b4ea922b4b)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-08 09:16:03 +00:00
Michael Telatynski 6f263e1db6
Update to @electron/notarize (#444)
* Update to @electron/notarize

* Fix lockfile
2022-11-08 09:12:58 +00:00
Michael Telatynski 537904f51b
Add eslint rule unicorn/no-instanceof-array (#434)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2022-11-04 15:58:19 +00:00
Michael Telatynski 184bfb8f1a
Merge branch 'develop' into actions/upgrade-deps 2022-11-04 12:22:28 +00:00
Michael Telatynski b4ea922b4b
Fix macOS builds in GHA (#438) 2022-11-04 12:20:16 +00:00
t3chguy a7c3aea8fd [create-pull-request] automated change 2022-11-01 15:03:34 +00:00
t3chguy 8a1f461dc0 [create-pull-request] automated change 2022-10-18 13:38:27 +00:00
t3chguy 596adca864 [create-pull-request] automated change 2022-10-04 13:08:48 +00:00
ElementRobot 0068a18feb
Merge pull request #418 from vector-im/actions/upgrade-deps
Upgrade dependencies
2022-09-23 14:45:48 +01:00
Michael Telatynski 392005b3a4
Fix use of detect-libc typing (#421) 2022-09-23 12:14:09 +01:00
t3chguy c38263ff21 [create-pull-request] automated change 2022-09-20 14:34:36 +00:00
t3chguy 4c43b5c255 [create-pull-request] automated change 2022-09-06 12:58:24 +00:00
Michael Telatynski f0201cfe31
First attempt at automated Playwright tests (#402)
* First attempt at automated Playwright tests

* Fix deb installation in CI

* Try again with .deb

* Try xvfb

* Fix paths

* Prepare macOS runner for UI tests

* test_artifacts

* Increase test timeout to 30s

* Add timeout

* Split out build & test stages for easier retrying

* Use a single test matrix job

* Fix testing

* Yarn install

* Install deps

* Make prep more generic

* Update build.yaml

* Update build.yaml

* Update build.yaml
2022-08-25 18:04:14 +00:00
t3chguy 6dc981292f [create-pull-request] automated change 2022-08-23 10:13:50 +00:00
Michael Telatynski 868e45a4a2
Upgrade to Electron 20 (#403) 2022-08-19 10:37:04 +01:00
t3chguy cd62bcd91f [create-pull-request] automated change 2022-08-09 16:44:41 +00:00
t3chguy 1e07bf721b [create-pull-request] automated change 2022-07-26 17:08:47 +00:00
Michael Telatynski 389f6f4334
Split electron-main into smaller chunks (#377)
* Split electron-main into smaller chunks

* Affix @types/node version and upgrade electron-store

* Iterate PR

* tidy up

* Actually run the split out code
2022-07-01 20:17:40 +01:00
t3chguy a07e298971 [create-pull-request] automated change 2022-06-28 15:39:40 +00:00
Michael Telatynski 86f6d8c557
Update matrix-web-i18n (#382) 2022-06-27 20:31:59 +00:00
Jan Christian Grünhage fa5f42a627
support compilation on more targets (#376)
* support compilation on more targets

* Update scripts/hak/target.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-06-10 20:51:34 +00:00
Michael Telatynski 4cef2524ce
Upgrade to Electron 19 (#372) 2022-06-02 16:03:16 -04:00
t3chguy 1386f9fac0 [create-pull-request] automated change 2022-05-17 19:03:24 +00:00
t3chguy 283cc47ce1 [create-pull-request] automated change 2022-05-04 13:49:12 +00:00
dependabot[bot] 03c6345735
Bump ejs from 3.1.6 to 3.1.7 (#352)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 10:02:59 +00:00
Michael Telatynski 9838d89bdf
Revert "Upgrade to Electron 18" (#346)
This reverts commit 4d67e0561d.
2022-04-22 19:33:22 +01:00
Michael Telatynski 7ad5c9b01c
Fix macOS and Linux build regressions (#345)
* Fix macOS builds by pinning Typescript

Due to https://github.com/joyent/node-verror/issues/86

* Fix linux build, we no longer use tclsh

* Correct fix for linux build issue

* fix it for realsies this time
2022-04-22 14:40:16 +01:00
Michael Telatynski 4d67e0561d
Upgrade to Electron 18 (#343) 2022-04-22 09:07:54 +00:00
Michael Telatynski d7ad6cdd62
Upgrade dependencies (#341) 2022-04-21 08:08:59 +01:00
dependabot[bot] 6cae9fb3a2
Bump plist from 3.0.4 to 3.0.5 (#332)
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 00:01:51 -06:00
dependabot[bot] 281ecc0662
Bump minimist from 1.2.5 to 1.2.6 (#331)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-25 17:26:22 -06:00
David Baker a80bc76e22
Upgrade to electron 17 (#318)
In theory, this might make https://github.com/vector-im/element-web/issues/20467 go away
2022-02-08 19:25:06 +00:00
David Baker 230657b1db
Yarn upgrade (#317) 2022-02-08 19:17:09 +00:00
David Baker e3f3814a25
yarn upgrade (#313) 2022-01-31 17:06:55 +00:00
David Baker 8fd24d2fa2
Downgrade to electron 15 (#311)
Attempt 2 of https://github.com/vector-im/element-desktop/pull/310 after conflicting dependabot PR

Due to https://github.com/vector-im/element-web/issues/20467
2022-01-26 16:45:58 +00:00
dependabot[bot] bfb96a33ba
Bump node-fetch from 2.6.6 to 2.6.7 (#309)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:35:36 +00:00
David Baker 0d37d8d8e9
Upgrade to electron 16.0.7 (#308)
Couple of minor fixes (although doesn't look like it fixes https://github.com/vector-im/element-web/issues/20467)

Also un-pin the version as we now can (and should) upgrade electron
as we would a regular dependency.
2022-01-26 13:31:39 +00:00
J. Ryan Stinnett 9aaeab2221
Use published matrix-web-i18n (#301) 2022-01-13 10:30:19 +00:00
David Baker 771483d324
Yarn upgrade (#300) 2022-01-11 17:17:28 +00:00
Michael Telatynski 90359643ba
Upgrade to Electron 16 (#299) 2022-01-11 16:15:08 +00:00
J. Ryan Stinnett 989e030d97
Update linting plugin (#294) 2022-01-10 12:57:33 +00:00
David Baker 326e6577e1
Convert hak to TypeScript (#289)
* Convert hak to TypeScript

* Fix linter & remove stray log line

* Fix more linting errors

In one case by switching to import() and hence esnext

* Return type for getNodeModuleBin

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* More types

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-12-14 14:32:27 +00:00
Michael Telatynski 1cd299b98e
Update typescript-eslint plugin & parser (#286) 2021-12-13 23:34:46 +00:00
David Baker 3c8650065c
Use app-builder-lib to get electron version (#288)
So we can get it the same way electron-builder does and not need
electronVersion in package.json
2021-12-13 21:15:17 +00:00
David Baker b9880e2463
Merge pull request from GHSA-mjrg-9f8r-h3m7
* Patch part 1: remove electronVersion

We no longer need to specify electronVersion at all since electron
is now in devDependencies. Removing it means electron can be updated
the same way as any other dependency.

* Only allow main app page to be opened via URL

We previously allowed any URL to be opened in the main electron
window. Allow only the main app page, as commented.

* use exact equals

* Make url logic clearer
2021-12-13 15:09:53 +00:00