TÖRÖK Attila
7374c89ee8
web/extension: Check last version on AMO, skip submission if not yet approved
2024-06-29 09:16:31 +02:00
dependabot[bot]
c4f478c30a
build(deps-dev): bump replace-in-file from 7.2.0 to 8.0.0 in /web
...
Bumps [replace-in-file](https://github.com/adamreisnz/replace-in-file ) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/adamreisnz/replace-in-file/releases )
- [Changelog](https://github.com/adamreisnz/replace-in-file/blob/main/CHANGELOG.md )
- [Commits](https://github.com/adamreisnz/replace-in-file/commits )
---
updated-dependencies:
- dependency-name: replace-in-file
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 15:43:04 +02:00
Daniel Jacobs
22c73e9536
extension: Use nodenext target for tools instead of commonjs
2024-06-13 19:24:46 -04:00
Daniel Jacobs
f4fd851298
extension: Fix zip tool by adding import.meta.url back
2024-06-13 19:24:46 -04:00
Nathan Adams
9f121947e7
web: Convert extension tools to typescript
2024-06-12 23:33:01 +02:00
Daniel Jacobs
7234c2ea3a
web: Just remove packages folder when building Dockerfile
2024-05-30 14:05:38 -04:00
TÖRÖK Attila
bc88577fb6
web: Rewrite AMO submission script to use their v5 API directly
...
Dropping the deprecated sign-addon package.
2024-04-04 21:48:45 +02:00
Nathan Adams
ea77019eab
web: Include wasm file in docker builds as Mozilla say this is okay, and it solves our reproducibility issues
2024-02-22 02:30:00 +01:00
Tom Schuster
28dc164d18
web: Explicit instruction how to use sudo for docker building
2024-02-02 19:57:38 +01:00
Tom Schuster
8071a14d4d
web/extension: Correct the version used for the Firefox extension
2023-12-16 18:16:52 +01:00
TÖRÖK Attila
1008a9559a
web/extension: Lower minimum Firefox version on Android to 120
2023-12-09 18:49:18 +01:00
TÖRÖK Attila
aa6dc22124
web/extension: Raise minimum Firefox version on Android to 121
2023-12-05 00:10:45 +01:00
TÖRÖK Attila
884f46241c
web: Mark the Firefox extension as compatible with Android upon AMO submission
...
The minimum version is from: https://github.com/ruffle-rs/ruffle/wiki#web
2023-11-30 00:21:51 +01:00
Daniel Jacobs
46a726efc6
chore: formatting
2023-07-21 23:34:43 +02:00
Daniel Jacobs
e99d7f63dc
extension: Don't throw error when Firefox add-on is in review
2023-07-21 23:34:43 +02:00
Nathan Adams
3447b8bfdd
chore: npm run format
2023-07-20 14:00:04 +02:00
relrelb
17e0eb112b
web: Enforce ESLint's `camelcase` rule
2023-05-31 08:22:15 +03:00
relrelb
3ec473d36f
extension: Check tools using TypeScript
...
This would have caught #10351 .
2023-04-06 18:41:36 +03:00
David Wendt
42a56d88a3
web: Split Firefox extension upload into a separate process that submits whatever the latest extension is
2023-04-04 20:58:28 -07:00
relrelb
3c69bb27db
web: Enforce ESLint's `spaced-comment` rule
2023-03-25 10:03:55 +03:00
David Wendt
37e1bdb43a
chore: `Promise.all` needs an array
2023-03-24 20:03:11 -06:00
David Wendt
1a266bafeb
web: Fix extension source code upload (again)
2023-03-19 14:08:28 -07:00
David Wendt
6fd6279344
web: Fix copy-pasted code that breaks in sign_xpi.js
2023-03-10 18:09:58 -07:00
David Wendt
f4354a638e
web: Remove the find-the-version-ID extra step and use the version number directly
...
Mozilla actually added this feature in the middle of me building out this PR. How handy!
2023-03-10 16:38:01 -07:00
David Wendt
e276b8cedb
web: Since we don't get version IDs for newly-submitted extensions, search the Mozilla API for the given version instead.
2023-03-10 16:38:01 -07:00
David Wendt
a39036102d
web: First attempt at hacking in source code upload to Mozilla's signing tool.
...
We're abusing their v4 API implementation to make v5 API requests, which might not work; hopefully the authentication scheme is the same.
Furthermore, I'm assuming that the v4 sign response gives you a version ID that is valid for v5 `/addons/addon` requests.
2023-03-10 16:38:01 -07:00
David Wendt
cc7d160d07
web: Automatically inject plugin-polyfill.ts into content.ts as a string.
...
The prior version of this code used a hardcoded copy of the script. Not only is this an outdated version of the code, this also caused us to fail our addons.mozilla.org audit.
2023-02-15 21:27:14 -07:00
relrelb
b52ae03759
extension: Convert tools to ESM
2022-11-06 20:36:33 +02:00
relrelb
6dbf78ae59
web: Fix `temp-dir` upgrade
...
`temp-dir` 3.0.0 is now pure ESM. As such, it no longer can be `require`d.
To workaround this, use `await import` instead.
In the long-term, it might be worth converting the `sign_xpi.js`
script itself to ESM.
2022-11-03 00:37:08 +02:00
relrelb
7040397c3d
web: Fix `sign-addon` upgrade
...
`sign-addon` 5.0.0 switched to ES Modules. Therefore, it no longer
can be `require`d. As a workaround, use `await import` instead.
In the long-term, it might be worth to convert the `sign_xpi.js`
script itself to ES Modules.
2022-08-03 00:44:03 +03:00
relrelb
3f8f117fd3
web: Convert .eslintrc files from JSON to YAML
...
YAML is shorter, more modern, readable, and flexible than JSON.
In other words, YAML >>> JSON.
Auto-converted using [`yq`](https://github.com/kislyuk/yq ).
2022-01-12 20:10:00 -08:00
Mike Welsh
100977a266
extension: Catch errors while signing the Firefox add-on
...
Properly catch errors from the `sign-addon` package and bail out
immediately. This will display better output from the Mozilla
validation service.
2021-04-16 12:31:14 -07:00
Mike Welsh
9e64f111c3
extension: Copy Firefox add-on after signing instead of moving
...
A rename will fail if the destination is on a different mount
(happened to me!). Instead, copy the file to the destination, then
delete the old file.
2021-04-16 12:31:14 -07:00
relrelb
0db98888b2
web: Rename extension/build/ to extension/assets/
2021-04-15 13:47:07 -07:00
relrelb
c6cd22258f
web: Refactor extension build tools
2021-04-10 17:38:39 -07:00
JustinCB
b3905a6103
Move firefox-specific setting to build_firefox.js
2020-07-29 17:06:51 -07:00
Nathan Adams
cbda2c2fec
web: Fix extension build_all - fixes #659
2020-05-28 12:02:21 -07:00
Nathan Adams
4e01dfd5ef
web: Build firefox extension and sign it when possible
2020-05-28 09:20:10 -07:00