Commit Graph

423 Commits

Author SHA1 Message Date
Toad06 c847309217 extension: Close `popup.html` when clicking "Open SWF Player" in Firefox 2024-01-16 23:44:10 +01:00
Crowdin Bot 3f17d1c778 chore: Update translations from Crowdin 2024-01-16 00:48:30 +01:00
Crowdin Bot 6e1e26e0e8 chore: Update translations from Crowdin 2024-01-08 23:28:34 +01:00
nosamu d97314d315 extension: Bail if postMessage event has no data
Fixes #14486
2024-01-08 18:30:44 +01:00
Crowdin Bot 1325181a59 chore: Update translations from Crowdin 2024-01-06 09:30:28 +01:00
TÖRÖK Attila 217585daa8 chore: Delegate `[lints]` in `Cargo.toml` of all packages to the workspace 2024-01-05 11:28:19 +01:00
Crowdin Bot 9523022cdd chore: Update translations from Crowdin 2023-12-23 13:26:37 +01:00
Crowdin Bot ba6ba842d7 chore: Update translations from Crowdin 2023-12-18 23:28:34 +01:00
Tom Schuster 8071a14d4d web/extension: Correct the version used for the Firefox extension 2023-12-16 18:16:52 +01:00
Crowdin Bot 9a02ca76ff chore: Update translations from Crowdin 2023-12-12 19:08:09 +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
renovate[bot] e9c83f45ac chore(deps): update node.js dependencies 2023-12-08 13:45:16 +01:00
renovate[bot] 41ddb316a2 chore(deps): update node.js dependencies 2023-12-06 01:58:50 +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
Crowdin Bot 9477856079 chore: Update translations from Crowdin 2023-12-02 23:25:09 +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
TÖRÖK Attila 1635e27337 docs: Link to the new Chrome Web Store from README.md 2023-11-30 00:16:20 +01:00
Crowdin Bot d1784dc7c8 chore: Update translations from Crowdin 2023-11-23 00:38:05 +01:00
Daniel Jacobs ffdb248872 demo/extension: Expand iPad check to work for iPadOS 13+ 2023-11-15 08:04:23 -05:00
Crowdin Bot b196c8d1bc chore: Update translations from Crowdin 2023-11-13 16:53:02 -05:00
Crowdin Bot 949b294bdf chore: Update translations from Crowdin 2023-11-10 22:30:29 +01:00
Kornelius Rohrschneider 514611451f web: Set default Polyfill allowScriptAccess value to samedomain
The default allowScriptAccess value for polyfilled elements has been set
to samedomain. This means that it's true if the SWF file has the same
domain as the player website and false otherwise.
To do this, a new isPolyfillElement parameter is given to the
RufflePlayer::load method.
2023-11-08 17:09:54 +01:00
Kornelius Rohrschneider 1b2baf3364 web: Fix Ruffle extension player not using the configuration for files
The Ruffle extension player has previously not used the extension
configuration settings when loading local SWF files.
This has been fixed.
2023-11-08 17:09:54 +01:00
Kornelius Rohrschneider 8c8367a09c web: Fix Ruffle configuration not working properly for Polyfill elements
Previously, the Ruffle configuration options weren't working properly
for polyfilled elements.

A polyfilled element can have specific configuration options which
overwrite the more general Ruffle configuration settings.
But the code handling those specific configuration options has
previously set some of them to default values if they haven't been
provided, therefore overwriting the more general configuration settings.
This has been fixed. A getPolyfillOptions function has been created and
returns a URLLoadOptions object, containing only the options that have
been set for the respective element. Helper functions have been adapted
to not return any default values anymore.
getPolyfillOptions is now used in all places where polyfilled options
need to be retrieved (therefore reducing duplicated code).

Documentation has been added to clarify that these options must not
contain any default values, since those would overwrite other
configuration settings with a lower priority.
The extension and demo code has been changed to clarify that no default
values are contained in the element configuration options.

The RuffleEmbed::attributeChangedCallback method has previously loaded
an SWF file only with the parameters and base options. This has been
fixed as well since it now also uses getPolyfillOptions.

When using RuffleObject::connectedCallback to load an SWF file, setting
an element config option to "" hasn't worked for most config options
before either. This has been fixed as well by using the new
getPolyfillOptions function.

The default WindowMode value of the default Ruffle web config has been
set to Window (as it is in the desktop version and according to the
documentation). It has previously been set to Opaque (which causes the
same functionality).
2023-11-08 17:09:54 +01:00
Crowdin Bot 1c4380f633 chore: Update translations from Crowdin 2023-11-07 12:40:56 +01:00
Wumbo 4403848a4b
web: Extension UI improvements (#13473)
* web: Improve styling of extension pop-up menu

* web: Improve styling of extension settings page

* web: Improve styling of extension player

* web: Make styling more consistent across browsers

* web: Run eslint, fix some problems

* web: Move version text near top of pop-up menu, add to settings menu

* web: Improve logo hover bounds in pop-up and settings

* web: Improve styling of extension status indicator

* web: Update extension pop-up text strings

* web: Misc. sizing/padding changes to extension UI

* web: chore: Add a stylelint exception for #backgroundColor in player.css

Because it's not kebab-case, to match the keys of the metadata object in JS.

---------

Co-authored-by: TÖRÖK Attila <torokati44@gmail.com>
2023-11-03 23:07:25 +01:00
renovate[bot] 997ad1643a chore(deps): update node.js dependencies 2023-10-27 23:40:04 +02:00
TÖRÖK Attila c5b9239d08 nit: Fix tool name in error message of extension build
This is a fixup for https://github.com/ruffle-rs/ruffle/pull/13733.

I always confuse these things, and notice these minor mistakes an hour after merging. _Gosh hecking darn it!_
2023-10-27 20:06:39 +02:00
TÖRÖK Attila e770200dc6 web: Make the error message about a missing version seal more verbose 2023-10-27 15:58:15 +02:00
Crowdin Bot 1ca5f714f9 chore: Update translations from Crowdin 2023-10-23 03:21:14 +02:00
Crowdin Bot e6f9796094 chore: Update translations from Crowdin 2023-10-17 23:31:22 +02:00
Crowdin Bot 0127c98fdf chore: Update translations from Crowdin 2023-10-15 19:17:00 +02:00
Crowdin Bot 2422793d1b chore: Update translations from Crowdin 2023-10-11 13:29:12 -04:00
Crowdin Bot 13b50fecb5 chore: Update translations from Crowdin 2023-10-09 23:10:41 +02:00
Crowdin Bot 3dc75f7ab8 chore: Update translations from Crowdin 2023-10-07 23:37:34 +02:00
renovate[bot] 030e9270c5 chore(deps): update node.js dependencies 2023-10-02 13:02:30 +02:00
Crowdin Bot 58b18e282b chore: Update translations from Crowdin 2023-10-02 00:57:34 +02:00
Crowdin Bot 5b9806bdb3 chore: Update translations from Crowdin 2023-09-19 23:41:23 +02:00
Crowdin Bot 695c2ff9f5 chore: Update translations from Crowdin 2023-09-18 00:03:15 +02:00
Crowdin Bot 7f416f85a8 chore: Update translations from Crowdin 2023-09-14 23:50:25 +02:00
Crowdin Bot d195da59af chore: Update translations from Crowdin 2023-09-06 23:55:17 +02:00
Crowdin Bot 654799b1a9 chore: Update translations from Crowdin 2023-09-06 12:22:24 +02:00
Crowdin Bot 2996f97578 chore: Update translations from Crowdin 2023-09-02 15:43:08 +02:00
renovate[bot] d14550e851 chore(deps): update node.js dependencies 2023-09-02 15:19:06 +02:00
Crowdin Bot cf9171cb78 chore: Update translations from Crowdin 2023-08-31 00:13:04 +02:00
Crowdin Bot 378b415a3b chore: Update translations from Crowdin 2023-08-26 23:27:47 +02:00
nosamu b456296769 extension: Persist content script registration across sessions 2023-08-26 01:21:07 +02:00
Crowdin Bot 07c236df5b chore: Update translations from Crowdin 2023-08-26 00:27:56 +02:00
nosamu 3920eb90cd extension: Register listeners synchronously at top level of service worker 2023-08-25 23:56:52 +02:00
Crowdin Bot 3ccda582e1 chore: Update translations from Crowdin 2023-08-25 11:50:24 +02:00