Skip to content

Commit

Permalink
scratch.mit.edu -> scratch.org
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 10, 2023
1 parent 0167f9d commit 3a81634
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/addons/settings/settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ class AddonSettingsComponent extends React.Component {
/>
</div>
<a
href="https://scratch.mit.edu/users/GarboMuffin/#comments"
href="https://scratch.org/users/GarboMuffin/#comments"
target="_blank"
rel="noreferrer"
className={styles.feedbackButtonOuter}
Expand Down
2 changes: 1 addition & 1 deletion src/components/menu-bar/author-info.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const AuthorInfo = ({projectId, ...props}) => (
projectId ? (
<a
className={styles.link}
href={`https://scratch.mit.edu/projects/${projectId}`}
href={`https://scratch.org/projects/${projectId}`}
target="_blank"
rel="noreferrer"
>
Expand Down
6 changes: 3 additions & 3 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,14 +511,14 @@ class MenuBar extends React.Component {
onRequestClose={this.props.onRequestCloseErrors}
>
<MenuSection>
<MenuItemLink href="https://scratch.mit.edu/users/GarboMuffin/#comments">
<MenuItemLink href="https://scratch.org/users/GarboMuffin/#comments">
<FormattedMessage
defaultMessage="Some scripts could not be compiled."
description="Link in error menu"
id="tw.menuBar.reportError1"
/>
</MenuItemLink>
<MenuItemLink href="https://scratch.mit.edu/users/GarboMuffin/#comments">
<MenuItemLink href="https://scratch.org/users/GarboMuffin/#comments">
<FormattedMessage
defaultMessage="This is a bug. Please report it."
description="Link in error menu"
Expand Down Expand Up @@ -883,7 +883,7 @@ class MenuBar extends React.Component {
<div className={styles.menuBarItem}>
<a
className={styles.feedbackLink}
href="https://scratch.mit.edu/users/GarboMuffin/#comments"
href="https://scratch.org/users/GarboMuffin/#comments"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/telemetry-modal/telemetry-modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class TelemetryModal extends React.PureComponent {
values={{
privacyPolicyLink: (<a
className={styles.privacyPolicyLink}
href="https://scratch.mit.edu/privacy_policy/"
href="https://scratch.org/privacy_policy/"
onClick={this.props.onShowPrivacyPolicy}
target="_blank"
rel="noopener noreferrer"
Expand Down
6 changes: 3 additions & 3 deletions src/components/tw-description/description.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const decorate = text => {
// Make @mentions clickable
text = reactStringReplace(text, /@([\w-]+)/, (match, i) => (
<a
href={`https://scratch.mit.edu/users/${match}/`}
href={`https://scratch.org/users/${match}/`}
rel="noreferrer"
key={match + i}
>{`@${match}`}</a>
Expand All @@ -30,7 +30,7 @@ const decorate = text => {
// Make hashtags clickable
text = reactStringReplace(text, /#([\w-]+)/g, (match, i) => (
<a
href={`https://scratch.mit.edu/search/projects?q=${match}`}
href={`https://scratch.org/search/projects?q=${match}`}
key={match + i}
>{`#${match}`}</a>
));
Expand All @@ -46,7 +46,7 @@ const Description = ({
<div className={styles.description}>
<div className={styles.projectLink}>
<a
href={`https://scratch.mit.edu/projects/${projectId}/`}
href={`https://scratch.org/projects/${projectId}/`}
target="_blank"
rel="noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/tw-featured-projects/featured-projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class FeaturedProjects extends React.Component {
<a
target="_blank"
rel="noopener noreferrer"
href={`https://scratch.mit.edu/studios/${this.props.studio}/`}
href={`https://scratch.org/studios/${this.props.studio}/`}
>
<FormattedMessage
defaultMessage="View studio on Scratch."
Expand Down
2 changes: 1 addition & 1 deletion src/components/tw-project-input/project-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {defaultProjectId} from '../../reducers/project-state';
import styles from './project-input.css';
import {setProjectId} from '../../lib/tw-navigation-utils';

const PROJECT_BASE = 'https://scratch.mit.edu/projects/';
const PROJECT_BASE = 'https://scratch.org/projects/';

const messages = defineMessages({
tooltip: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/tw-studioview/studioview.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ StudioView.PROJECT_PAGE = 'https://turbowarp.org/$id';

// The URL for studio pages.
// $id is replaced with the studio ID.
StudioView.STUDIO_PAGE = 'https://scratch.mit.edu/studios/$id/';
StudioView.STUDIO_PAGE = 'https://scratch.org/studios/$id/';

// The amount of "placeholders" to insert before the next page loads.
StudioView.PLACEHOLDER_COUNT = 9;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/alerts/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const alerts = [
values={{
learnMoreLink: (
<a
href="https://scratch.mit.edu/info/faq/#clouddata"
href="https://scratch.org/info/faq/#clouddata"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/tw-svg-fixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {TextDecoder, TextEncoder} from './tw-text-encoder';

const fixSVG = fileData => {
// width="100%" and height="100%" on SVGs can break things
// Demo: https://scratch.mit.edu/projects/447085841/
// Demo: https://scratch.org/projects/447085841/
// Based on: https://github.com/ScratchAddons/ScratchAddons/pull/748
try {
const bytes = new Uint8Array(fileData);
Expand Down
4 changes: 2 additions & 2 deletions src/playground/credits/credits.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const Credits = () => (
<section>
<h2>Scratch</h2>
<p>
TurboWarp is based on the work of the <a href="https://scratch.mit.edu/credits">Scratch contributors</a> but is not endorsed by Scratch in any way.
TurboWarp is based on the work of the <a href="https://scratch.org/credits">Scratch contributors</a> but is not endorsed by Scratch in any way.
</p>
<p>
<a href="https://scratch.mit.edu/donate">
<a href="https://scratch.org/donate">
Donate to support Scratch.
</a>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/playground/credits/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const shuffle = list => {

const fromHardcoded = ({userId, username, name}) => ({
image: `https://trampoline.turbowarp.org/avatars/${userId}`,
href: `https://scratch.mit.edu/users/${username}/`,
href: `https://scratch.org/users/${username}/`,
text: name || username
});

Expand Down
2 changes: 1 addition & 1 deletion src/playground/render-interface.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const Footer = () => (
</a>
</div>
<div className={styles.footerSection}>
<a href="https://scratch.mit.edu/users/GarboMuffin/#comments">
<a href="https://scratch.org/users/GarboMuffin/#comments">
<FormattedMessage
defaultMessage="Feedback & Bugs"
description="Link to feedback/bugs page"
Expand Down
4 changes: 2 additions & 2 deletions static/privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ <h1>TurboWarp Privacy Policy</h1>
<p><b>The TurboWarp project respects your privacy.</b> Every website says this, but we mean it: We aren't interested in your data.</p>

<h2>Loading projects</h2>
<p>When you load a project from another website, you are subject to the privacy practices of that website. For example, when loading projects from Scratch, you are subject to the <a href="https://scratch.mit.edu/privacy_policy">Scratch privacy policy</a>. When loading projects from Scratch specifically, the project ID will also be shared with TurboWarp as part of Scratch's API does not allow direct access. We may briefly log the project ID for caching.</p>
<p>When you load a project from another website, you are subject to the privacy practices of that website. For example, when loading projects from Scratch, you are subject to the <a href="https://scratch.org/privacy_policy">Scratch privacy policy</a>. When loading projects from Scratch specifically, the project ID will also be shared with TurboWarp as part of Scratch's API does not allow direct access. We may briefly log the project ID for caching.</p>

<h2>Running projects</h2>
<p>When connecting to our cloud variable servers, the project ID and username may be logged for 14 days. Data in cloud variables is sent to anyone else connected at the same time. Custom cloud variable servers are outside of our control.</p>
<p>Some built-in Scratch extensions such as translate and text to speech rely on the Scratch API. See the <a href="https://scratch.mit.edu/privacy_policy">Scratch privacy policy</a> for their privacy practices. To improve performance, some extensions contact TurboWarp's servers instead, where both the request (for example, the text being translated) and the result after forwarding to Scratch (for example, the translated version of the text) may be cached.</p>
<p>Some built-in Scratch extensions such as translate and text to speech rely on the Scratch API. See the <a href="https://scratch.org/privacy_policy">Scratch privacy policy</a> for their privacy practices. To improve performance, some extensions contact TurboWarp's servers instead, where both the request (for example, the text being translated) and the result after forwarding to Scratch (for example, the translated version of the text) may be cached.</p>
<p>The project may also contain custom extensions, such as those found on our official extension gallery, <a href="https://extensions.turbowarp.org/">extensions.turbowarp.org</a>. Projects may use official extensions to make requests to trusted static site hosts such as GitHub Pages automatically, but requests to unknown websites will first show a permission dialog.</p>
<p>When loading a custom extension from a place other than the official gallery such as a URL or file, a permission dialog will first be shown. If you approve this dialog, the extension may bypass the permission dialogs that official extensions show.</p>

Expand Down

0 comments on commit 3a81634

Please sign in to comment.