Daniel Jacobs
1a28f83229
extension: Address review feedback
2023-08-20 19:51:14 +02:00
Nathan Adams
d5fa0f56ea
web: Make loadedConfig private again, add reload() method instead
2023-08-20 19:51:14 +02:00
Daniel Jacobs
e7df6d890e
extension: Make the player page a local Ruffle demo
2023-08-20 19:51:14 +02:00
renovate[bot]
98eb789f21
chore(deps): update node.js dependencies
2023-08-19 14:37:36 +02:00
Nathan Adams
cdaf06838c
web: Add short_name for extension
2023-08-19 10:02:53 +02:00
Nathan Adams
d21520a4c7
web: Rename extension to 'Ruffle - Flash Emulator', to increase visibility for everyone searching for 'Flash'
2023-08-19 01:11:25 +02:00
Nathan Adams
9328caa713
web: Remove webRequest permission from chrome extension
2023-08-17 08:51:57 +02:00
Crowdin Bot
cad8e10f30
chore: Update translations from Crowdin
2023-08-15 00:28:29 +02:00
Nathan Adams
ee8da51c6b
web: Use 'chrome?.scripting' to test for direct vs indirect pluginPolyfill pmethod, as firefox pretends to be chrome here
2023-08-14 21:21:20 +02:00
Nathan Adams
49d0d417c2
web: Make firefox also use the hash for player.html swf url
2023-08-14 21:21:20 +02:00
Nathan Adams
2f9387f1ac
web: Inject plugin polyfill immediately, on chrome/edge
2023-08-14 21:21:20 +02:00
Nathan Adams
7533923f9b
web: Remove check for RufflePlayer in content.ts - it can't possibly ever be true
2023-08-14 21:21:20 +02:00
Nathan Adams
1ec12f0931
web: Inject polyfill via url instead of inline, on chrome/edge
2023-08-14 21:21:20 +02:00
Nathan Adams
71000dd19a
web: When using manifest v3, do swf takeover using declarativeNetRequest
2023-08-14 21:21:20 +02:00
Nathan Adams
92ea9a535d
web: Change manifest v3 background script to a service worker
2023-08-14 21:21:20 +02:00
Nathan Adams
5847772b58
web: Apply 'incognito' directly to the v3 manifest, instead of in a script
2023-08-14 21:21:20 +02:00
Nathan Adams
c3b486f19b
web: Apply 'wasm-unsafe-eval' directly to the v3 manifest, instead of in a script (and renamed from 'wasm-eval')
2023-08-14 21:21:20 +02:00
Nathan Adams
8b3ea305a5
web: Changed web_accessible_resources to an object in manifest v3
2023-08-14 21:21:20 +02:00
Nathan Adams
9ddf9b9621
web: Extract "all_urls" in manifest v3 to "host_permissions" from "permissions"
2023-08-14 21:21:20 +02:00
Nathan Adams
54be7ffacd
web: Changed manifest v3 content_security_policy to an object containing extension_pages
2023-08-14 21:21:20 +02:00
Nathan Adams
22601514bc
web: Rename manifest v3 browser_action to action, and removed browser_style as it's no longer an option
2023-08-14 21:21:20 +02:00
Nathan Adams
353193b3e4
web: Split manifest into firefox vs other
2023-08-14 21:21:20 +02:00
Nathan Adams
283a0694de
web: Remove ruffle extension detection plugin
2023-08-14 20:51:11 +02:00
Crowdin Bot
70b43fc2ff
chore: Update translations from Crowdin
2023-08-12 01:36:46 +02:00
Tom Schuster
0a55c04eaf
web: Include the version in the new ruffle instance console message
2023-08-12 01:13:59 +02:00
Crowdin Bot
8e1632ab22
chore: Update translations from Crowdin
2023-08-11 10:23:54 +02:00
nosamu
5936de03e7
extension: Add exclusions for Tuxedo Computers and Taobao
...
Problems reported in #11906 and in a Chrome Web Store review
2023-08-09 08:34:59 +02:00
Crowdin Bot
205ef09cc6
chore: Update translations from Crowdin
2023-08-08 23:49:31 +02:00
Nathan Adams
9125d30e76
web: Don't store the full semver version as the version name, just construct it when needed
2023-08-08 14:33:49 -06:00
Daniel Jacobs
c5aa5189e7
extension: Allow video to load from any source in internal player page
2023-08-07 14:31:33 -06:00
Daniel Jacobs
91c2d0efa4
web: Create modal to hold unsupported videos
2023-08-07 14:31:33 -06:00
Daniel Jacobs
dbb5e381f2
core/desktop/web: Play unsupported videos with browser
2023-08-07 14:31:33 -06:00
TÖRÖK Attila
ddc290ddf9
chore: Appease prettier.
2023-08-07 09:22:58 +03:00
renovate[bot]
863ce90d9d
chore(deps): bump node.js dependencies
2023-08-07 09:22:58 +03:00
Nathan Adams
44623bf28f
web: Remove extension specific code in polyfill, doesn't need to exist now
2023-08-06 23:55:39 +02:00
Nathan Adams
7a39dc9176
web: Add build date as part of version buildinfo
2023-08-06 23:55:39 +02:00
Nathan Adams
64d951099d
web: Compare build ident if all else fails, when finding best versions
2023-08-06 23:55:39 +02:00
Nathan Adams
ee1e8ec267
web: Extension shouldn't set options that are default
2023-08-06 23:55:39 +02:00
Nathan Adams
4f4dbc7973
web: Fix PublicAPI superseding, it previously always thought 'the latest ran' should replace the older version
2023-08-06 23:55:39 +02:00
Adrian Wielgosik
c41d7d56f0
build: Reduce disk use of reproducible docker builds
2023-08-05 12:07:59 +02:00
Crowdin Bot
98c286e997
chore: Update translations from Crowdin
2023-08-04 17:18:58 +02:00
Oleksandr Kalko
2c4bd5c5c7
chore: Run `npm update --save`
2023-07-30 21:12:47 +00:00
Crowdin Bot
280de7cd61
chore: Update translations from Crowdin
2023-07-27 16:39:17 +02:00
renovate[bot]
3326aef6a8
chore(deps): lock file maintenance node.js dependencies
2023-07-25 17:42:46 +02:00
Nathan Adams
e610c9a9ce
web: Readd warnOnUnsupportedContent for backwards compatibility, but mark it deprecated and unused
2023-07-22 23:08:42 +02:00
Nathan Adams
586c3bebf6
core: Remove unsupported content warning
2023-07-22 23:08:42 +02: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
Crowdin Bot
b2afcbaf3e
chore: Update translations from Crowdin
2023-07-20 13:41:04 +02:00
Daniel Jacobs
affff425c5
web: Fix typo in build_wasm.js
2023-07-19 11:37:15 -04:00
Nathan Adams
34c0d41fca
web: Remove no longer needed depencency 'shx'
2023-07-15 23:48:04 +02:00
Nathan Adams
be48ff357f
web: Add build_wasm.js script to replace chained npm scripts
2023-07-15 23:48:04 +02:00
nosamu
48e37914cf
web: Make isTouch indicate the source of the last PointerEvent
...
This allows the behavior of the context menu to change depending
on whether it was triggered by a touch or right-click.
2023-07-15 19:14:13 +02:00
nosamu
e7689ac883
Revert "web: Make isTouch locally scoped to showContextMenu"
...
This completely broke touch detection
2023-07-15 19:14:13 +02:00
Aaron Hill
009fab1889
core: Expose `LoaderInfo.parameters` and fix other properties
...
When using a 'Loader', properties on the 'contentLoaderInfo' become
set during specific events in the load sequence. In particular,
'LoaderInfo.bytesTotal' becomes available during the first 'progress'
event.
Also, 'LoaderInfo.parameters' is now properly set from the URL query
parameters. In Flash player, this work even with filesystem urls
(e.g. 'file:///some/path/to/file.txt?paramOne=valOne' will load
a file named 'file.txt', setting and expose the parameter 'paramOne'
with value 'valOne' in `LoaderInfo.parameters`). This required some
cleanup to the desktop and test NavigatorBackend impls to strip
out query parameters when loading a parameter from disk.
Previously, we would set `SwfMovie.parameters` manually from the url.
Now, the various `SwfMovie` constructors automatically extract
query parameters from the provided url. Outside of `SwfMovie`,
we only append *extra* parameters (e.g. those set from `flashvars`).
This makes CPMStar ads work, since the loaded SWF needs to access
`LoaderInfo.parameters`
2023-07-05 19:47:16 -04:00
TÖRÖK Attila
0fe8469d24
chore: Run `npm update --save` in `web`
...
Also `npm install` to make sure `package-lock.json` is clean.
2023-07-02 13:55:24 +02:00
Crowdin Bot
80588d614d
chore: Update translations from Crowdin
2023-07-02 11:41:18 +02:00
renovate[bot]
898b2c8948
chore(deps): lock file maintenance node.js dependencies
2023-07-01 12:20:10 +03:00
Crowdin Bot
29a5c6a4cd
chore: Update translations from Crowdin
2023-07-01 00:47:31 +02:00
Crowdin Bot
1430e98851
chore: Update translations from Crowdin
2023-06-28 23:19:47 +02:00
relrelb
f4c9142399
web: Assign `isExtension` only if `currentScriptURL` is available
2023-06-25 08:09:24 +03:00
relrelb
e4bb8a60fa
web: Don't report extension URL on error
2023-06-25 08:09:24 +03:00
Crowdin Bot
9e066bc14f
chore: Update translations from Crowdin
2023-06-24 19:58:34 +02:00
Daniel Jacobs
9a093d20be
web: Don't auto-panic on browsers without ReadableStream ( #11699 )
...
* web: Don't auto-panic on browsers without ReadableStream
* web: Add comment explaining Pale Moon issue
* web: Simplify ReadableStream check
2023-06-24 15:10:19 +00:00
Crowdin Bot
b1149cd267
chore: Update translations from Crowdin
2023-06-23 11:49:47 +02:00
nosamu
58780b3a4e
extension: Ignore publicPath config
2023-06-23 09:05:37 +03:00
nosamu
99ed30f6e7
web: Set isExtension var using current script URL
2023-06-23 09:05:37 +03:00
Crowdin Bot
67a5a2923f
chore: Update translations from Crowdin
2023-06-20 23:52:03 +02:00
nosamu
700f765f91
web: Use for..of instead of for..in loops
2023-06-18 22:09:20 +02:00
Toad06
31bb117325
web: Allow setting `allowScriptAccess` on global config
2023-06-18 08:18:52 +03:00
Crowdin Bot
73482c6e72
chore: Update translations from Crowdin
2023-06-18 01:02:34 +02:00
Crowdin Bot
ca549e482c
chore: Update translations from Crowdin
2023-06-17 19:25:33 +02:00
Crowdin Bot
56a87dec50
chore: Update translations from Crowdin
2023-06-15 13:10:16 +02:00
nosamu
202fe2f1bb
core: Add options to set and force the stage alignment
2023-06-14 16:04:14 +02:00
Daniel Jacobs
0c1cd6aa4f
selfhosted: Add a config option to enable Ruffle even on Flash browsers
2023-06-14 14:31:44 +02:00
Daniel Jacobs
a666d35161
web: Stop error if Fetch response lacks headers
2023-06-13 08:52:58 +03:00
Crowdin Bot
834297f110
chore: Update translations from Crowdin
2023-06-12 12:28:05 +02:00
Oleksandr Kalko
70aa8385b7
chore: Upgrade NodeJS dependencies ( #11352 )
2023-06-09 15:50:59 +00:00
Crowdin Bot
93f5869005
chore: Update translations from Crowdin
2023-06-08 00:57:49 +02:00
Daniel Jacobs
55efb80dd6
web: Don't try to use Ruffle on browsers with Flash support
2023-06-07 23:48:39 +02:00
Crowdin Bot
808deaa378
chore: Update translations from Crowdin
2023-06-05 09:00:51 +02:00
Crowdin Bot
9767ffca96
chore: Update translations from Crowdin
2023-06-03 15:58:24 +02:00
renovate[bot]
6bc5d72995
chore(deps): lock file maintenance node.js dependencies
2023-06-01 08:59:52 +03:00
renovate[bot]
8bf44926af
chore(deps): update node.js dependencies
2023-06-01 08:45:23 +03:00
Daniel Jacobs
a2fa855156
web: Update youtube check to be more accurate using regex
2023-05-31 21:06:25 +03:00
relrelb
17e0eb112b
web: Enforce ESLint's `camelcase` rule
2023-05-31 08:22:15 +03:00
Crowdin Bot
6dc3743f4b
chore: Update translations from Crowdin
2023-05-30 23:21:28 +02:00
Toad06
7830a8232b
web: Allow extra MIME types in the polyfill
2023-05-30 06:35:29 +00:00
Toad06
6c0cf8fc83
web: Fix minor issues with the context menu
2023-05-28 07:51:00 +03:00
Crowdin Bot
e98230c988
chore: Update translations from Crowdin
2023-05-27 00:34:44 +02:00
Crowdin Bot
f3dd5dbfb6
chore: Update translations from Crowdin
2023-05-25 00:27:48 +02:00
Crowdin Bot
fe4475d553
chore: Update translations from Crowdin
2023-05-23 00:05:58 +02:00
Crowdin Bot
fde4c99560
chore: Update translations from Crowdin
2023-05-22 08:51:22 +03:00
nosamu
7dfc36c6fc
web: Support pasting from clipboard
2023-05-21 15:26:42 +02:00
Toad06
0ff4f26db9
extension: Add a button to reset settings
2023-05-21 00:03:19 +02:00
renovate[bot]
2ca0140192
chore(deps): lock file maintenance node.js dependencies
2023-05-20 23:41:57 +03:00
Crowdin Bot
6a00475358
chore: Update translations from Crowdin
2023-05-20 00:12:12 +02:00
Toad06
4092e70bf4
extension: Remove "tabs" permission
2023-05-19 01:03:28 +02:00
nosamu
77f2875898
extension: Set charset attribute of script tag instead of escaping characters
2023-05-18 22:39:06 +02:00