relrelb
9021da874d
web: Small improvement in player.js
2021-04-15 16:29:27 -07:00
relrelb
2fd0bb0183
web: Improve background.js
2021-04-15 16:29:27 -07:00
relrelb
54604c1be1
web: Prototype direct SWFs
2021-04-15 16:29:27 -07:00
relrelb
d336926e3f
web: Put Firefox-specific note in place
2021-04-15 16:21:23 -07:00
relrelb
71a17166f4
web: Rename index.js to ruffle.js
2021-04-15 13:47:07 -07:00
relrelb
d86949d22f
web: Refactor manifest.json
2021-04-15 13:47:07 -07:00
relrelb
1e7bd652e7
web: Update extension README.md
2021-04-15 13:47:07 -07:00
relrelb
027597039f
web: Rename lv0.js to content.js
2021-04-15 13:47:07 -07:00
relrelb
0db98888b2
web: Rename extension/build/ to extension/assets/
2021-04-15 13:47:07 -07:00
relrelb
a3576da5f1
web: Unify extension/build/icons/ and extension/build/logo/
2021-04-15 13:47:07 -07:00
relrelb
02669c0451
web: Rename extension/js/ to extension/src/
2021-04-15 13:47:07 -07:00
relrelb
2d24afc318
web: Rename settings to options
2021-04-15 13:47:07 -07:00
relrelb
7fbae7c809
web: Appease ESLint
2021-04-11 15:04:16 -07:00
relrelb
26932c59bb
extension: Remove util.js
2021-04-11 15:04:16 -07:00
relrelb
9e93b06d77
web: Refactor extension lv0.js and index.js
2021-04-11 15:04:16 -07:00
relrelb
3dc5b34706
web: Remove unused functions from util.js
...
As they were replaced with corresponding functions in utils.js.
The end goal is to gradually deprecate util.js, and then remove it.
2021-04-10 17:57:11 -07:00
relrelb
7b5d0b4359
web: Refactor extension settings page
2021-04-10 17:57:11 -07:00
relrelb
304d618f27
web: Refactor extension popup
...
This currently breaks the options page, which will be fixed in a
follow-up commit.
2021-04-10 17:57:11 -07:00
relrelb
ee8b24b6fc
web: Add common.css
2021-04-10 17:57:11 -07:00
relrelb
6eb5a95705
web: Add common.js
2021-04-10 17:57:11 -07:00
relrelb
2c2983236e
web: Add utils.js
2021-04-10 17:57:11 -07:00
relrelb
51d02fb7f7
web: Add packages/extension/.gitignore
2021-04-10 17:38:39 -07:00
relrelb
47859af86b
web: Move exclusive dependencies to extension
2021-04-10 17:38:39 -07:00
relrelb
c6cd22258f
web: Refactor extension build tools
2021-04-10 17:38:39 -07:00
relrelb
12dee2199e
web: Pass obfuscatedEventPrefix via query string
...
This eliminates the need to create a script dynamically, and fixes
publicPath() to correctly return the extension URL rather than the
host site URL.
2021-03-13 02:19:05 -08:00
relrelb
56cece3336
web: Use publicPath() instead of ruffleRuntimePath
...
Similarly to how selfhosted currently does.
2021-03-13 02:19:05 -08:00
relrelb
690b51f15b
web: Shorten CopyWebpackPlugin to CopyPlugin
2021-03-05 23:07:55 -08:00
Mike Welsh
f6f7222221
web: Remove clean-webpack-plugin dependency
2021-03-03 06:44:45 -08:00
relrelb
1c21856980
web: General refactoring
...
* web: Don't load a random SWF Instead, show a prompt to select or drag an SWF.
* web: Refactor webpack.config.js
* demo: Refactor index.js
* demo: Cleanup CSS
2021-02-16 20:39:46 -08:00
Mike Welsh
c2b768c453
web: Fallback to instantiate with improper MIME type
...
Use --target web in wasm-bindgen and file-loader for WASM files,
allowing wasm-bindgen's built-in fallback from
WebAssembly.instantiateStreaming to instantiate.
file-loader spits out the WASM file directly in the output folder,
and imports will resolve to the URL, so that we can load the file
directly, avoiding webpack's built-in wasm loaders.
This allows Ruffle to function on web servers even if they serve
WASM files with the incorrect MIME type, fixing one of our biggest
support requests (#400 , #1458 ). There is some performance impact
on loading with the fallback, but this is preferable to not
working at all.
2021-01-16 15:30:11 -08:00
Toad06
9449abf873
web: Rename `settings.htm` to `settings.html`
2021-01-04 12:23:25 -08:00
Toad06
ed221c5aef
web: Rename `popup.js` to `main.js`
2021-01-04 12:23:25 -08:00
Toad06
b975ab141b
web: Update extension to camelCase
2021-01-04 12:23:25 -08:00
LaszloEr
446725e981
i18n: Fixed grammar mistakes in the German translation
2021-01-01 19:45:28 -08:00
Toad06
25d5f48d18
web: Run eslint
2020-12-17 12:48:32 -08:00
Toad06
b9aed2c7bb
web: Rename from snake_case to camelCase
2020-12-17 12:48:32 -08:00
Toad06
d6a857803a
web: Fix extension and self-hosted builds conflicting with each other
2020-12-17 12:48:32 -08:00
jmckiern
73afae8fa5
Make slider color change if slider is checked
2020-12-07 13:39:46 -08:00
notimre
491ce876aa
i18n: Add Hungarian translations
2020-12-03 16:51:45 -08:00
StevenNL2000
64d8f3a2ce
i18n: Add Dutch
2020-12-03 11:44:36 -08:00
Newbyte
71f5339827
i18n: Add Swedish
2020-12-01 11:55:57 -08:00
Zombie110year
6e8346ab56
i18n: Add Simplified Chinese translation
2020-12-01 10:10:30 -08:00
IWumboYouWumbo
af254c3bc0
web: Revamp settings page
2020-11-28 15:34:58 -08:00
Txori
a363d0e392
Create messages.json ( #1765 )
...
Here comes the French.
2020-11-28 15:28:40 -08:00
Txori
bdc18863c8
i18n: Add missing word in Spanish
...
The word "loaded" was missing in the sentence.
2020-11-28 15:28:15 -08:00
ednt
a2888037a3
i18n: Create german version of messages.json
2020-11-28 13:46:51 -08:00
dependabot-preview[bot]
48f8e6579a
build(deps-dev): bump prettier from 2.1.2 to 2.2.0 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 20:55:38 -08:00
Nathan Adams
600d267bf3
web: We no longer need git dependency in webpack builds - fixes #1517
2020-11-24 16:36:33 -08:00
Nathan Adams
eae6742475
web: Make sure extension labels itself in source API
2020-11-24 16:36:33 -08:00
sousuke0422
75ce1bf4c1
i18n: Add Japanese
...
* i18n: Add Japanese
* i18n: Fix the "message" field in ja/message.json
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
2020-11-07 17:22:47 -08:00
Pablo Rodríguez
aaa4ce5431
i18n: Improve the Spanish translation and use ellipses character
...
* replace ... with proper Unicode char "…"
* some improvements to the Spanish translation
Co-authored-by: Pablo Rodríguez <ousia@users.noreply.gitlab.com>
2020-11-07 13:11:03 -08:00
Rult
564a36c049
i18n: Add Russian
2020-11-07 13:06:29 -08:00
Nathan Adams
dab79107b2
web: Include git details into the build
2020-11-04 16:46:14 -08:00
Nathan Adams
2b3f787547
web: Fix build of extension, failing since partial update to webpack 5
2020-11-01 05:52:40 -08:00
Mike Welsh
cd96df7ee7
web: Disable automatic publicPath in webpack configs
2020-10-21 15:19:36 -07:00
Mike Welsh
990052db77
chore: Bump to webpack 5
2020-10-17 14:07:28 -07:00
Luca Weiss
d5cb396331
*: fix spelling mistakes
2020-09-19 16:17: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
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
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
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
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
Nathan Adams
82c1930c0f
web: web doesn't need install before bootstrap now
2020-05-19 11:42:57 +02:00
Nathan Adams
55c9672921
web: Simplified export interface of ruffle-core
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