Skip to content

Commit f0f7c2c

Browse files
authored
Merge pull request #3408 from EclipseFdn/main
Release v0.21.1
2 parents 4e32ce0 + 974ec18 commit f0f7c2c

File tree

7 files changed

+53
-59
lines changed

7 files changed

+53
-59
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG SERVER_VERSION=v0.21.0
1+
ARG SERVER_VERSION=v0.21.1
22

33
# Builder image to compile the website
44
FROM ubuntu AS builder

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ If you want to refute a previously granted ownership, please comment on the corr
2020
Enable Yarn, install dependencies, build assets and start a dev server:
2121

2222
```bash
23+
cd website
2324
corepack enable
2425
corepack prepare yarn@stable --activate
2526
yarn --cwd website

configuration/ehcache.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
</listener>
9696
</listeners>
9797
<resources>
98-
<heap>250</heap>
98+
<heap>400</heap>
9999
</resources>
100100
</cache>
101101
<cache alias="files.extension">
@@ -113,7 +113,7 @@
113113
</listener>
114114
</listeners>
115115
<resources>
116-
<heap>50</heap>
116+
<heap>100</heap>
117117
</resources>
118118
</cache>
119119
</config>

website/src/about.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const About = () => {
4141
and deployment details, see our <Link color='secondary' underline='hover' href='https://github.com/EclipseFdn/open-vsx.org/wiki'>wiki</Link>.
4242
</Paragraph>
4343

44-
<Heading variant='h5'>Communication</Heading>
44+
<Heading variant='h5'>Contact Us</Heading>
4545
<Paragraph variant='body1'>
4646
We use Slack for instant messaging and general communication,
4747
use this <Link color='secondary' underline='hover' href='https://join.slack.com/t/openvsxworkinggroup/shared_invite/zt-2y07y1ggy-ct3IfJljjGI6xWUQ9llv6A'>link</Link> to join our Slack workspace.

website/src/footer-content.tsx

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,7 @@ const MainFooter = ({isSmallDisplay, isLargeDisplay}: MainFooterProps) => {
6262
{termsOfUse()}
6363
</Box>
6464
<Box ml={itemSpacing}>
65-
{publisherAgreement()}
66-
</Box>
67-
<Box ml={itemSpacing}>
68-
{copyrightAgent()}
65+
{compliance()}
6966
</Box>
7067
<Box ml={itemSpacing}>
7168
{legalResources()}
@@ -107,10 +104,7 @@ const FooterContent: FunctionComponent<{ expanded: boolean }> = ({ expanded }) =
107104
{termsOfUse()}
108105
</Box>
109106
<Box mb={itemSpacing}>
110-
{publisherAgreement()}
111-
</Box>
112-
<Box mb={itemSpacing}>
113-
{copyrightAgent()}
107+
{compliance()}
114108
</Box>
115109
<Box mb={itemSpacing}>
116110
{legalResources()}
@@ -136,7 +130,7 @@ const repositoryLink = () =>
136130

137131
const privacyPolicy = () =>
138132
<Link
139-
href='https://www.eclipse.org/legal/privacy.php'
133+
href='https://www.eclipse.org/legal/privacy/'
140134
sx={[styles.link, styles.legalText]}>
141135
Privacy Policy
142136
</Link>;
@@ -146,21 +140,16 @@ const termsOfUse = () =>
146140
Terms of Use
147141
</LegalLink>;
148142

149-
const publisherAgreement = () =>
150-
<LegalLink to='/publisher-agreement-v1.0'>
151-
Publisher Agreement
152-
</LegalLink>;
153-
154-
const copyrightAgent = () =>
143+
const compliance = () =>
155144
<Link
156-
href='https://www.eclipse.org/legal/copyright.php'
145+
href='https://www.eclipse.org/legal/compliance/'
157146
sx={[styles.link, styles.legalText]}>
158-
Copyright Agent
147+
Compliance
159148
</Link>;
160149

161150
const legalResources = () =>
162151
<Link
163-
href='http://www.eclipse.org/legal'
152+
href='http://www.eclipse.org/legal/'
164153
sx={[styles.link, styles.legalText]}>
165154
Legal Resources
166155
</Link>;
@@ -170,7 +159,7 @@ const copyrightText = () =>
170159
Copyright &copy; <Link
171160
href='https://www.eclipse.org'
172161
sx={styles.link}>
173-
Eclipse Foundation, Inc.
162+
Eclipse Foundation, AISBL.
174163
</Link>
175164
</Box>;
176165

website/src/page-settings.tsx

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import Adopters from './adopters';
2424
import Members from './members';
2525

2626
//---------- HEAD TAGS
27-
const HeadTags: FunctionComponent<{title?: string, description?: string, keywords?: string, url?: string, imageUrl?: string, type?: string}> = (props) => {
27+
const HeadTags: FunctionComponent<{ title?: string, description?: string, keywords?: string, url?: string, imageUrl?: string, type?: string }> = (props) => {
2828
const handleChangeClientState = (newState: any, addedTags: HelmetTags, removedTags: HelmetTags): void => {
2929
if (addedTags.metaTags) {
3030
addedTags.metaTags.forEach((value: HTMLMetaElement) => {
@@ -41,38 +41,38 @@ const HeadTags: FunctionComponent<{title?: string, description?: string, keyword
4141
<title>{props.title}</title>
4242

4343
{/* SEO Meta Tags */}
44-
<meta name='description' content={props.description}/>
45-
<meta name='keywords' content={props.keywords}/>
46-
<meta property='og:url' content={props.url}/>
47-
<meta property='og:type' content={type}/>
48-
<meta property='og:title' content={props.title}/>
49-
<meta property='og:description' content={props.description}/>
50-
<meta property='og:image' content={props.imageUrl}/>
44+
<meta name='description' content={props.description} />
45+
<meta name='keywords' content={props.keywords} />
46+
<meta property='og:url' content={props.url} />
47+
<meta property='og:type' content={type} />
48+
<meta property='og:title' content={props.title} />
49+
<meta property='og:description' content={props.description} />
50+
<meta property='og:image' content={props.imageUrl} />
5151

5252
{/* Google Meta Tags */}
53-
<meta itemProp='name' content={props.title}/>
54-
<meta itemProp='description' content={props.description}/>
55-
<meta itemProp='image' content={props.imageUrl}/>
53+
<meta itemProp='name' content={props.title} />
54+
<meta itemProp='description' content={props.description} />
55+
<meta itemProp='image' content={props.imageUrl} />
5656

5757
{/* Twitter Meta Tags */}
58-
<meta name='twitter:card' content={twitterCard}/>
59-
<meta name='twitter:title' content={props.title}/>
60-
<meta name='twitter:description' content={props.description}/>
61-
<meta name='twitter:image' content={props.imageUrl}/>
58+
<meta name='twitter:card' content={twitterCard} />
59+
<meta name='twitter:title' content={props.title} />
60+
<meta name='twitter:description' content={props.description} />
61+
<meta name='twitter:image' content={props.imageUrl} />
6262
</Helmet>;
6363
};
6464

65-
const MainHeadTags: FunctionComponent<{pageSettings: PageSettings}> = (props) => {
65+
const MainHeadTags: FunctionComponent<{ pageSettings: PageSettings }> = (props) => {
6666
const title = props.pageSettings.pageTitle;
6767
const description = 'Open VSX is an Eclipse open-source project and alternative to the Visual Studio Marketplace. It is deployed by the Eclipse Foundation at open-vsx.org.';
6868
const keywords = 'eclipse,ide,open source,development environment,development,vs code,visual studio code,extension,plugin,plug-in,registry,theia';
6969
const url = `${location.protocol}//${location.host}`;
7070
const imageUrl = url + '/openvsx-preview.png';
7171

72-
return (<HeadTags title={title} description={description} keywords={keywords} url={url} imageUrl={imageUrl}/>);
72+
return (<HeadTags title={title} description={description} keywords={keywords} url={url} imageUrl={imageUrl} />);
7373
};
7474

75-
const ExtensionHeadTags: FunctionComponent<{extension?: Extension, pageSettings: PageSettings}> = (props) => {
75+
const ExtensionHeadTags: FunctionComponent<{ extension?: Extension, pageSettings: PageSettings }> = (props) => {
7676
const { name, namespace } = useParams();
7777
let title = ` – ${props.pageSettings.pageTitle}`;
7878
let url = `${location.protocol}//${location.host}/extension/`;
@@ -96,19 +96,19 @@ const ExtensionHeadTags: FunctionComponent<{extension?: Extension, pageSettings:
9696
url += `${namespace}/${name}`;
9797
}
9898

99-
return(<HeadTags title={title} url={url} description={description} keywords={keywords}/>)
99+
return (<HeadTags title={title} url={url} description={description} keywords={keywords} />)
100100
};
101101

102-
const NamespaceHeadTags: FunctionComponent<{namespaceDetails?: NamespaceDetails, pageSettings: PageSettings}> = (props) => {
102+
const NamespaceHeadTags: FunctionComponent<{ namespaceDetails?: NamespaceDetails, pageSettings: PageSettings }> = (props) => {
103103
const { name } = useParams();
104104
const namespaceName = props.namespaceDetails?.displayName ?? props.namespaceDetails?.name ?? name
105105
const title = `${namespaceName}${props.pageSettings.pageTitle}`;
106106
const url = `${location.protocol}//${location.host}/namespace/${namespaceName}`;
107107
const description = props.namespaceDetails?.description
108-
return(<HeadTags title={title} url={url} description={description}/>)
108+
return (<HeadTags title={title} url={url} description={description} />)
109109
};
110110

111-
export default function createPageSettings(theme: Theme, prefersDarkMode: boolean, serverVersionPromise: Promise<string>): PageSettings {
111+
export default function createPageSettings(theme: Theme, prefersDarkMode: boolean, serverVersionPromise: Promise<string>): PageSettings {
112112

113113
//---------- SERVER VERSION
114114
const ServerVersion = lazy(async () => {
@@ -123,7 +123,7 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
123123
<OpenVSXLogo width='auto' height='40px' marginTop='8px' prefersDarkMode={prefersDarkMode} />
124124
</RouteLink>
125125
<Suspense>
126-
<ServerVersion/>
126+
<ServerVersion />
127127
</Suspense>
128128
</>;
129129

@@ -146,14 +146,14 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
146146

147147
//---------- DOWNLOAD TERMS
148148
const downloadTerms: FunctionComponent = () =>
149-
<Box mt={1}>
150-
<Typography variant='body2'>
151-
By clicking download, you accept this website&apos;s&nbsp;
152-
<Link color='secondary' underline='hover' href='https://open-vsx.org/terms-of-use'>
153-
Terms of Use
154-
</Link>.
155-
</Typography>
156-
</Box>;
149+
<Box mt={1}>
150+
<Typography variant='body2'>
151+
By clicking download, you accept this website&apos;s&nbsp;
152+
<Link color='secondary' underline='hover' href='https://open-vsx.org/terms-of-use'>
153+
Terms of Use
154+
</Link>.
155+
</Typography>
156+
</Box>;
157157

158158
//---------- ADDITIONAL PAGES
159159
const additionalRoutes: ReactNode = <>
@@ -169,18 +169,21 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
169169
const reportAbuseText = encodeURIComponent('<Please describe the issue>');
170170
const extensionURL = encodeURIComponent(`${location.protocol}//${location.hostname}/extension/${extension.namespace}/${extension.name}`);
171171
return <Link
172-
href={`mailto:license@eclipse.org?subject=Report%20Abuse%20-%20${extension.namespace}.${extension.name}&Body=${reportAbuseText}%0A%0A${extensionURL}`}
172+
href={`mailto:security@eclipse-foundation.org?subject=Report%20Abuse%20-%20${extension.namespace}.${extension.name}&Body=${reportAbuseText}%0A%0A${extensionURL}`}
173173
variant='body2' color='secondary' underline='hover' sx={sx} >
174174
Report Abuse
175175
</Link>;
176176
};
177177

178178
//---------- CLAIM NAMESPACE LINK
179-
const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps<Theme> }> = ({ sx }) => <Link
180-
href='https://github.com/EclipseFdn/open-vsx.org/issues/new/choose'
179+
const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps<Theme> }> = ({ sx, extension }) => {
180+
const body = 'Briefly explain what makes you a legitimate owner of the namespace mentioned in the issue title.\nPlease ensure that you have logged in to https://open-vsx.org at least once, otherwise we cannot process your request.'
181+
return <Link
182+
href={`https://github.com/EclipseFdn/open-vsx.org/issues/new?labels=namespace&title=${encodeURIComponent(`Claiming namespace \`${extension.namespace}\``)}&body=${encodeURIComponent(body)}`}
181183
target='_blank' variant='body2' color='secondary' underline='hover' sx={sx} >
182184
Claim Ownership
183-
</Link>;
185+
</Link>
186+
};
184187

185188

186189
return {

website/static/documents/terms-of-use.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Neither the Eclipse Foundation nor its agents, affiliates, and members (collecti
1414

1515
All logos and trademarks contained on this Website are and remain the property of their respective owners. Unless otherwise provided by a Third Party Publisher, no licenses or other rights in or to such logos and/or trademarks are granted to you.
1616

17-
If you wish to provide any feedback regarding this Website or its Content, please send an email to [email protected]. If you believe that Content residing or accessible on or through this Website infringes a copyright, please send a notice of copyright infringement to our designated agent pursuant to the procedures set forth here: https://www.eclipse.org/legal/copyright.php.
17+
If you wish to provide any feedback regarding this Website or its Content, please use the
18+
contact information at https://open-vsx.org/about or create an issue at https://github.com/EclipseFdn/open-vsx.org/issues. If you believe that Content residing or accessible on or through this Website infringes a copyright, please send a notice of copyright infringement to our designated agent pursuant to the procedures set forth here: https://www.eclipse.org/legal/copyright.php.
1819

1920
## For Third Party Publishers
2021

0 commit comments

Comments
 (0)