Commit Graph

1177 Commits

Author SHA1 Message Date
JustinCB 2987071bef Complete internationalization 2020-07-29 17:06:51 -07:00
JustinCB b3905a6103 Move firefox-specific setting to build_firefox.js 2020-07-29 17:06:51 -07:00
JustinCB 15476618b1 Complete settings localization, localize extension description, & add spanish translation 2020-07-29 17:06:51 -07:00
JustinCB 4ceed0e2eb Removed spurious manifest.json in extension/build 2020-07-29 17:06:51 -07:00
JustinCB 07d46d1f87 Removed spurious logging functions 2020-07-29 17:06:51 -07:00
JustinCB f7a1f78fb1 Attempt to make cross-browser 2020-07-29 17:06:51 -07:00
JustinCB 64c96a3151 Make Prettier happy 2020-07-29 17:06:51 -07:00
JustinCB 27fcd8e6ea Allow opening settings page from settings popup 2020-07-29 17:06:51 -07:00
JustinCB 265aca1409 Update manifest.json 2020-07-29 17:06:51 -07:00
JustinCB bd98856378 Finish initial settings page 2020-07-29 17:06:51 -07:00
JustinCB fb436a31da Make prettier happy 2020-07-29 17:06:51 -07:00
JustinCB 810c717c91 Fix optout tests 2020-07-29 17:06:51 -07:00
JustinCB a527d7179b Fix storage api calls 2020-07-29 17:06:51 -07:00
JustinCB 6535967b74 Fix files in wrong places & eslint errors 2020-07-29 17:06:51 -07:00
David Wendt 251d2ac04b Add button to reload the page whenever the user changes settings 2020-07-29 17:06:51 -07:00
David Wendt cdd8cd3a5a Internationalize Ruffle and adjust some of the language we use. 2020-07-29 17:06:51 -07:00
David Wendt f793110c80 Add "Ignore Opt-Out" option 2020-07-29 17:06:51 -07:00
David Wendt 582834b94a Allow popups to detect the new opt-out behavior. 2020-07-29 17:06:51 -07:00
David Wendt 87f4527339 Make the enable toggle actually turn Ruffle on or off. 2020-07-29 17:06:51 -07:00
David Wendt e194710c06 Fix broken settings checkboxes 2020-07-29 17:06:51 -07:00
David Wendt 6efc6ea48e Add a user-facing indicator of if Ruffle is working or not. 2020-07-29 17:06:51 -07:00
David Wendt 8d6ccf5364 First pass of the UI for an extension popup settings panel 2020-07-29 17:06:51 -07:00
David Wendt f56d16a68d Separate player creation from root movie setup, and allow users of Ruffle to load in movies synchronously or asynchronously.
During the small period of time when a player is created but has no root movie, a temporary empty movie is installed with an assumed stage size and framerate of 550x400@12fps. This is Flash default for new projects, so it seemed appropriate. User ActionScript cannot see these values, and I'm not even sure JavaScript can, either.
2020-07-23 23:02:51 -04:00
Nathan Adams 2df3b81f92 web: Allow avm_debug in web 2020-07-23 11:25:59 -07:00
JustinCB 4f755eafff web: Add tests for new behaviour 2020-07-14 09:12:36 -07:00
JustinCB 8495e89a8b web: Match case-insensitively in embeds 2020-07-14 09:12:36 -07:00
JustinCB 64c7d6e393 web: Polyfill if data attribute or movie param is a swf filename 2020-07-14 09:12:36 -07:00
JustinCB ffba4c5a97 web: Match MIME type & clsid case-insensitively 2020-07-14 09:12:36 -07:00
Nathan Adams c07dbbb748 web: Remove & disable package-lock for subpackages, only root should have it 2020-06-13 12:35:14 -07:00
Nathan Adams d7092d0f30 web: Hoist common dev dependencies up to the top (except CLI) and hopefully improve how we bootstrap 2020-06-13 12:35:14 -07:00
dependabot-preview[bot] 94ad4a82c4 build(deps-dev): bump mocha from 7.2.0 to 8.0.1 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.2.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 10:04:46 -07:00
Nathan Adams 9376003459 tests: Increase polyfill timeout to 30 seconds. Fixes #657 2020-06-09 16:47:34 -07:00
dependabot-preview[bot] ebe1f930f3 build(deps-dev): bump @wdio/local-runner from 6.1.16 to 6.1.17 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.1.16 to 6.1.17.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.16...v6.1.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 11:43:45 -07:00
dependabot-preview[bot] 469cea6804 build(deps-dev): bump @wdio/mocha-framework in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.1.14 to 6.1.17.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.14...v6.1.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 10:34:33 -07:00
dependabot-preview[bot] 413d7b83d8 build(deps-dev): bump @wdio/cli from 6.1.16 to 6.1.17 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.16 to 6.1.17.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.16...v6.1.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 10:33:22 -07:00
Mike Welsh 4671740abe demo: Fix incorrect sample SWF loading
The indexing into the list of sample SWFs could be incorrect
depending on the order of the JSON data. Now we store the SWF info
directly on the option element for easy access, regardless of order.
2020-06-05 16:40:10 -07:00
dependabot-preview[bot] 78e475c89d build(deps-dev): bump @wdio/local-runner from 6.1.14 to 6.1.16 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.1.14 to 6.1.16.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.14...v6.1.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 10:24:56 -07:00
dependabot-preview[bot] fb5b72ecf1 build(deps-dev): bump @wdio/cli from 6.1.15 to 6.1.16 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.15 to 6.1.16.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.15...v6.1.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-02 09:43: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
dependabot-preview[bot] 55b229f439 build(deps-dev): bump @wdio/cli from 6.1.14 to 6.1.15 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.14 to 6.1.15.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.14...v6.1.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 16:08:30 +00:00
dependabot-preview[bot] f59c8bcfa0 build(deps-dev): bump @wdio/cli from 6.1.12 to 6.1.14 in /web
Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 6.1.12 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.12...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 17:04:25 -07:00
dependabot-preview[bot] a3b66d095f build(deps-dev): bump @wdio/static-server-service in /web
Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 6.0.16 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.0.16...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-27 17:04:11 -07:00
dependabot-preview[bot] 83147b271b build(deps-dev): bump @wdio/local-runner from 6.1.12 to 6.1.14 in /web
Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 6.1.12 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.12...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:02:30 +00:00
dependabot-preview[bot] ee036a1b3a build(deps-dev): bump @wdio/mocha-framework from 6.1.8 to 6.1.14 in /web
Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 6.1.8 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.8...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:01:55 +00:00
dependabot-preview[bot] f2543ea355 build(deps-dev): bump @wdio/spec-reporter from 6.1.12 to 6.1.14 in /web
Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 6.1.12 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.12...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:01:13 +00:00
dependabot-preview[bot] 499aa9ac0a build(deps-dev): bump @wdio/sync from 6.1.8 to 6.1.14 in /web
Bumps [@wdio/sync](https://github.com/webdriverio/webdriverio) from 6.1.8 to 6.1.14.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/compare/v6.1.8...v6.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 00:00:06 +00:00
Nathan Adams e466060a50 chore: Copy LICENSE* to relevant places where package managers complain if they don't exist, and make sure they're included in distributions 2020-05-27 00:11:02 -07:00
Nathan Adams 77b0216579 chore: Update package.infos in web 2020-05-27 00:11:02 -07:00
Nathan Adams d02223c816 chore: Formatted demo index.html 2020-05-27 00:11:02 -07:00
Nathan Adams 75759d9b3b chore: Document web with readmes 2020-05-27 00:11:02 -07:00
Nathan Adams df6764a69c chore: Add license metadata to all packages & crates 2020-05-27 00:11:02 -07:00
JustinCB e4f7c950bb chore: Enable fixed tests 2020-05-26 23:56:36 -07:00
JustinCB 4828945666 web: Fix frame polyfill 2020-05-26 23:56:36 -07:00
Sean-Thomas 2d557f8fb6 Added Opt-Groups for Web Demo
This commit adds HTML Opt-Groups separating Games and Animations on the web demo sample dropdown menu. There are also a few tiny styling changes. Mainly the addition of a transition duration to the logo image, as well as changing "max-device-width" to "max-width" on a media query so that the "mobile" view is shown if you scale down the window on desktop browsers.
2020-05-24 19:09:19 -07:00
Nathan Adams d846ed943b web: Split frame/iframe polyfill tests into provided vs injected, as we see issues with one or the other 2020-05-24 08:57:16 -07:00
Nathan Adams 8a32f0d053 web: Add polyfill test for <iframe>s 2020-05-24 08:57:16 -07:00
Nathan Adams a7abdba49c web: Add test for classic <frame>s 2020-05-24 08:57:16 -07:00
Nathan Adams a0bfe72b19 web: Add polyfill tests 2020-05-24 08:57:16 -07:00
Nathan Adams 34927583be web: Made VersionRange actually work, and add tests for it 2020-05-23 10:35:53 -07:00
dependabot-preview[bot] f8062b610f build(deps-dev): bump mocha from 7.1.2 to 7.2.0 in /web
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.2 to 7.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/v7.2.0/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v7.1.2...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-23 17:28:03 +00:00
Mike Welsh 94f2154514 chore: Bump copy-webpack-plugin to 6.0.1 2020-05-20 23:34:17 -07:00
Justin-CB cbc2f6a03a
web: Avoid TypeError when instantiating polyfill (fix #607)
Co-authored-by: JustinCB <JustinCB@opmbx.org>
2020-05-20 12:42:54 -07:00
Nathan Adams 6b464bf80f web: Build core on preparation of the core package 2020-05-19 11:42:57 +02:00
Nathan Adams 82c1930c0f web: web doesn't need install before bootstrap now 2020-05-19 11:42:57 +02:00
Nathan Adams 9f4455f2fb web: Fixed extra </div> in demo 2020-05-19 11:42:56 +02:00
Nathan Adams d1bb3c4e28 web: Array.flat doesn't exist in node10 2020-05-19 11:42:56 +02:00
Nathan Adams b0b54b59f9 web: Avoid any issues with parseInt("0...") 2020-05-19 11:42:56 +02:00
Nathan Adams f3690db1bf web: Fixed bug with broken comparisons in Version#is_compatible_with 2020-05-19 11:42:55 +02:00
Nathan Adams bd6ed0b234 web: Add initial tests to core package 2020-05-19 11:42:55 +02:00
Nathan Adams 11f68b90f9 web: Switch to using commonjs style require/exports
It looks like things still don't play nice with modules yet :(
2020-05-19 11:42:55 +02:00
Nathan Adams b8e63045b2 web: Moved source of core into core/src, to prep for tests 2020-05-19 11:42:54 +02:00
Nathan Adams 55c9672921 web: Simplified export interface of ruffle-core 2020-05-19 11:42:54 +02:00
Nathan Adams 0ab3c9f69b web: Made demo use ruffle-selfhosted 2020-05-19 11:42:54 +02:00
Nathan Adams e9a394ac27 web: Only core will build ruffle, the other packages will use that 2020-05-19 11:42:54 +02:00
Nathan Adams 7b8a4ffed1 web: Switch to using lerna for package management 2020-05-19 11:42:53 +02:00
Nathan Adams b6523324ed web: Move each web package into a packages/ directory 2020-05-19 11:42:53 +02:00