Commit Graph
12526 Commits
Author SHA1 Message Date
dependabot[bot] ca8e33fc9f build(deps): bump scratch-vm from e941bb0 to 577217f (#687)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `e941bb0` to `577217f`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/e941bb0f04c8773c2d6bbff08725371613915159...577217f64f44a3f4cbd74b65065527c1a5659cd6)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 20:52:23 -06:00
GarboMuffin 253e48d12d Append addon CSS at the end of <body>
Fixes https://github.com/TurboWarp/scratch-gui/issues/685
2023-01-04 16:23:54 -06:00
GarboMuffin 003fc2550b Revert "Append dark mode CSS in <head> instead of <body>"
This reverts commit 7317c83041.
2023-01-04 16:21:43 -06:00
GarboMuffin 7317c83041 Append dark mode CSS in <head> instead of <body>
Should fix https://github.com/TurboWarp/scratch-gui/issues/685
2023-01-04 16:19:53 -06:00
GarboMuffin f9a4620ac3 addons: Pull addon changes 2023-01-04 16:15:27 -06:00
dependabot[bot] 038a18945c build(deps): bump scratch-paint from 3a46599 to b99d6e0 (#683)
Bumps [scratch-paint](https://github.com/TurboWarp/scratch-paint) from `3a46599` to `b99d6e0`.
- [Release notes](https://github.com/TurboWarp/scratch-paint/releases)
- [Commits](https://github.com/TurboWarp/scratch-paint/compare/3a46599373eb3418ea164d1ba27221d5e7fd9a16...b99d6e0f23d8e7a1d68d279e6af4c1da693ede31)

---
updated-dependencies:
- dependency-name: scratch-paint
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 23:20:17 -06:00
GarboMuffin fca152169f addons: Pull addon changes 2023-01-03 17:09:07 -06:00
GarboMuffin 9d7534cdd0 addons: Ensure consistent stylesheet order within same addon 2023-01-03 17:02:23 -06:00
GarboMuffin 69228c6cc1 addons: Pull addon changes
clones works in embeds now
onion-skinning supports dark mode
2023-01-03 16:27:16 -06:00
GarboMuffin 37801fa9bf addons: Allow editorOnly addons to run in embeds 2023-01-03 16:26:11 -06:00
GarboMuffin 408768307f addons: Fix inaccurate test name 2023-01-03 00:56:43 -06:00
GarboMuffin c36d9a2611 addons: Remove updateUserstylesOnSettingsChange
We don't use this.
2023-01-03 00:46:54 -06:00
GarboMuffin 6c37a40ec2 addons: Replace _twGetAsset with addon.tab.getResource
Instead of generating a _twGetAsset function for each JS file, we
import all of them in _runtime_entry.js. Upstream has expressed interest
in doing this as well.
pull.js has also been updated to warn about unwritten asset imports.
2023-01-03 00:45:12 -06:00
GarboMuffin 894659ad71 addons: Pull some updates
Notably more addon settings are dynamic than before.
2023-01-03 00:18:33 -06:00
GarboMuffin 10baaf78b4 addons: Move 'if' parsing to SettingsStore
Addon API and settings page both had their own implementation. Now there
is one single implementation that is thoroughly tested.
2023-01-03 00:11:17 -06:00
GarboMuffin 83bbeb693f addons: Update addons
Updated to b07855ae3f7ddc231ae81b3d42a0e23a1a357b10
Upstream changed a lot of icons for some reason. There are also several
diff reduction changes in here.
2023-01-02 23:29:13 -06:00
GarboMuffin 1d39e98a4c addons: Apply scratch-addons-style class to stylesheets
Was regressed in previous stylesheet rewrite
2023-01-02 13:34:56 -06:00
GarboMuffin 9d25252be4 Don't show option to hide list outside of the editor 2023-01-01 23:48:11 -06:00
GarboMuffin cf44bd44b6 Use dark flyout checkboxes in dark mode 2023-01-01 23:42:01 -06:00
GarboMuffin 9e4a491e04 addons: Update editor-theme3: fix error applying TW colors 2023-01-01 23:00:58 -06:00
GarboMuffin dbb102eebc addons: editor-theme3 must have higher precedence than middle-click-popup and find-bar
Fixes https://github.com/TurboWarp/scratch-gui/issues/680
2023-01-01 22:57:03 -06:00
GarboMuffin e0418b996a addons: Rewrite userstyle loading
- Breaking API change: [data-addon-id] is now [data-addons] and is a comma separated list instead of a single string.
 - Sheets included by multiple @ import statements are now deduplicated
 - Implement dynamic conditions for stylesheets.
 - editor-theme3's text color setting is dynamic again
Related to https://github.com/TurboWarp/scratch-gui/issues/680
2023-01-01 22:53:25 -06:00
GarboMuffin f054a07364 addons: fix most of https://github.com/TurboWarp/scratch-gui/issues/680 2022-12-31 18:33:27 -06:00
GarboMuffin 8fc3728e55 addons: Add migration for editor-devtools split 2022-12-30 13:54:11 -06:00
GarboMuffin 1f3a9e878f addons: Update assorted bug fixes from upstream 2022-12-30 13:48:39 -06:00
GarboMuffin 255200347f addons: Implement paintEditorZoomControls shared space 2022-12-30 13:48:39 -06:00
dependabot[bot] 8e293ec2f1 build(deps): bump scratch-vm from 1619bbf to e941bb0 (#672)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `1619bbf` to `e941bb0`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/1619bbf795b19470bc91d4096a183a75cec2d14a...e941bb0f04c8773c2d6bbff08725371613915159)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-24 19:01:00 -06:00
GarboMuffin a055746853 Remove unshared project information from the homepage
Everyone who needs to see this has had over a month to see it.
The information still shows up when someone tries to view an unshared project.
Unshared projects were never the point. It's time to move on.
2022-12-22 12:36:09 -06:00
dependabot[bot] 091f158ef4 build(deps): bump @turbowarp/scratch-l10n (#675)
Bumps [@turbowarp/scratch-l10n](https://github.com/TurboWarp/scratch-l10n) from 3.999.20221130194927 to 3.999.20221220224553.
- [Release notes](https://github.com/TurboWarp/scratch-l10n/releases)
- [Commits](https://github.com/TurboWarp/scratch-l10n/commits)

---
updated-dependencies:
- dependency-name: "@turbowarp/scratch-l10n"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 23:03:34 -06:00
dependabot[bot] 97577f7b7c build(deps): bump scratch-vm from ef871f7 to 1619bbf (#667)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `ef871f7` to `1619bbf`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/ef871f794cdd660266b431c3d7878832e1c1fb2a...1619bbf795b19470bc91d4096a183a75cec2d14a)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 18:08:15 -06:00
GarboMuffin a157112f40 addons: Mark number-pad as new 2022-12-19 16:45:18 -06:00
GarboMuffin 4c29916a98 Merge pull request #671 from TurboWarp/addons-29
Addons 1.29
2022-12-19 16:41:30 -06:00
GarboMuffin cdb8b3a5ca addons: Import number-pad addon 2022-12-19 16:39:39 -06:00
GarboMuffin 0ae5352723 addons: Update to 1.29 - second pass 2022-12-19 16:39:39 -06:00
GarboMuffin 9803a2f621 addons: Implement customCssVariables map 2022-12-19 16:39:37 -06:00
GarboMuffin 5e28cb494b addons: Fix TW blocks 2022-12-19 16:31:40 -06:00
GarboMuffin 5b564d04b7 addons: Update shared space selectors 2022-12-19 16:31:35 -06:00
GarboMuffin f049d17c36 addons: Implement getCustomBlockColor and setCustomBlockColor 2022-12-19 16:31:28 -06:00
GarboMuffin 0d91f2156a addons: Update to 1.29 - preliminary 2022-12-19 16:31:15 -06:00
GarboMuffin 9ebe3062ac addons: Implement customCssVariables 2022-12-19 16:31:10 -06:00
GarboMuffin 3ef58be526 addons: Fix userstyle element class 2022-12-19 16:30:50 -06:00
GarboMuffin cf171e88c9 addons: Fix userstyles that use @import 2022-12-19 16:30:43 -06:00
dependabot[bot] 90293e3a65 build(deps): bump scratch-blocks from 5212274 to 275c0e6 (#663)
Bumps [scratch-blocks](https://github.com/TurboWarp/scratch-blocks) from `5212274` to `275c0e6`.
- [Release notes](https://github.com/TurboWarp/scratch-blocks/releases)
- [Commits](https://github.com/TurboWarp/scratch-blocks/compare/521227408365a3653fb7ba607fd4bfdd9568d15a...275c0e65da82d47d481e7dc0e8365cf200c436fa)

---
updated-dependencies:
- dependency-name: scratch-blocks
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 18:25:18 -06:00
dependabot[bot] 3fcfba6fc4 build(deps): bump @turbowarp/scratch-l10n (#662)
Bumps [@turbowarp/scratch-l10n](https://github.com/TurboWarp/scratch-l10n) from 3.999.20221122194301 to 3.999.20221130194927.
- [Release notes](https://github.com/TurboWarp/scratch-l10n/releases)
- [Commits](https://github.com/TurboWarp/scratch-l10n/commits)

---
updated-dependencies:
- dependency-name: "@turbowarp/scratch-l10n"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 19:53:37 -06:00
dependabot[bot] 213b6fdb95 build(deps): bump scratch-vm from bc24d05 to ef871f7 (#661)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `bc24d05` to `ef871f7`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/bc24d05d0b0a14cc11d3dbd4494ee9b681cff0f9...ef871f794cdd660266b431c3d7878832e1c1fb2a)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 21:24:52 -06:00
dependabot[bot] 5828bc69da build(deps): bump @turbowarp/scratch-l10n (#660)
Bumps [@turbowarp/scratch-l10n](https://github.com/TurboWarp/scratch-l10n) from 3.999.20221007210204 to 3.999.20221122194301.
- [Release notes](https://github.com/TurboWarp/scratch-l10n/releases)
- [Commits](https://github.com/TurboWarp/scratch-l10n/commits)

---
updated-dependencies:
- dependency-name: "@turbowarp/scratch-l10n"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 20:02:57 -06:00
GarboMuffin 4aef639f80 Don't add ?extension= after loading custom extension
Because extensions are saved in the project are, we don't need to put them in the URL.
2022-11-22 19:11:46 -06:00
dependabot[bot] e9787ac3bf build(deps): bump scratch-vm from c288c49 to bc24d05 (#659)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `c288c49` to `bc24d05`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/c288c498371449ceaec87064ab9e743a000e2740...bc24d05d0b0a14cc11d3dbd4494ee9b681cff0f9)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 00:34:48 -06:00
GarboMuffin 6563c81f00 Fix inconsistent escaping in URL after loading custom extension 2022-11-21 22:18:48 -06:00
GarboMuffin 8f4070843f Implement an extension security manager
See: https://github.com/TurboWarp/scratch-gui/issues/633

Custom extensions from extensions.turbowarp.org will be loaded
automatically and without the sandbox.

For other extensions, a prompt has been added to ask the user for
permission to load the extension.
2022-11-21 22:18:48 -06:00