Commit Graph

88 Commits

Author SHA1 Message Date
JustinCB a2968d6fd0 web: Change polyfills to single true/false setting 2020-08-13 00:46:58 -07:00
JustinCB f8c40569be i18n: Add Settings Saved to locales 2020-08-13 00:41:23 -07:00
JustinCB 15fcce4d06 extension: Centralize default settings
Use true/false for boolean settings and have get_sync_storage
return the default values if necessary.
2020-07-29 19:03:17 -07:00
JustinCB 07506891c4 extension: Remove debug spew 2020-07-29 19:03:13 -07:00
JustinCB b0a81ac39f extension: Move storage functions to util.js 2020-07-29 19:03:13 -07:00
JustinCB 4786de2aa5 Try to fix status flickering 2020-07-29 17:06:51 -07:00
JustinCB 012b36a623 Query tab more often to not incorrectly show reload button 2020-07-29 17:06:51 -07:00
JustinCB 9ea0b2a162 Disable reload button on Protected Pages 2020-07-29 17:06:51 -07:00
JustinCB 77331f4732 Make popup buttons taller(because some languages can have longer text) 2020-07-29 17:06:51 -07:00
JustinCB 88f95b0005 Fix spanish messages.json 2020-07-29 17:06:51 -07:00
JustinCB e14732be45 Fix settings popup style 2020-07-29 17:06:51 -07:00
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