diff --git a/Dockerfile b/Dockerfile index 2f13e1b59..33db7cb48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG SERVER_VERSION=v0.21.0 +ARG SERVER_VERSION=v0.21.1 # Builder image to compile the website FROM ubuntu AS builder diff --git a/README.md b/README.md index c82e0a077..4591c1a60 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ If you want to refute a previously granted ownership, please comment on the corr Enable Yarn, install dependencies, build assets and start a dev server: ```bash +cd website corepack enable corepack prepare yarn@stable --activate yarn --cwd website diff --git a/configuration/ehcache.xml b/configuration/ehcache.xml index 13030ae2c..e0f209d96 100644 --- a/configuration/ehcache.xml +++ b/configuration/ehcache.xml @@ -95,7 +95,7 @@ - 250 + 400 @@ -113,7 +113,7 @@ - 50 + 100 \ No newline at end of file diff --git a/website/src/about.tsx b/website/src/about.tsx index 09cbe513c..428635d7e 100644 --- a/website/src/about.tsx +++ b/website/src/about.tsx @@ -41,7 +41,7 @@ const About = () => { and deployment details, see our wiki. - Communication + Contact Us We use Slack for instant messaging and general communication, use this link to join our Slack workspace. diff --git a/website/src/footer-content.tsx b/website/src/footer-content.tsx index f626a7772..cc1959fea 100644 --- a/website/src/footer-content.tsx +++ b/website/src/footer-content.tsx @@ -62,10 +62,7 @@ const MainFooter = ({isSmallDisplay, isLargeDisplay}: MainFooterProps) => { {termsOfUse()} - {publisherAgreement()} - - - {copyrightAgent()} + {compliance()} {legalResources()} @@ -107,10 +104,7 @@ const FooterContent: FunctionComponent<{ expanded: boolean }> = ({ expanded }) = {termsOfUse()} - {publisherAgreement()} - - - {copyrightAgent()} + {compliance()} {legalResources()} @@ -136,7 +130,7 @@ const repositoryLink = () => const privacyPolicy = () => Privacy Policy ; @@ -146,21 +140,16 @@ const termsOfUse = () => Terms of Use ; -const publisherAgreement = () => - - Publisher Agreement - ; - -const copyrightAgent = () => +const compliance = () => - Copyright Agent + Compliance ; const legalResources = () => Legal Resources ; @@ -170,7 +159,7 @@ const copyrightText = () => Copyright © - Eclipse Foundation, Inc. + Eclipse Foundation, AISBL. ; diff --git a/website/src/page-settings.tsx b/website/src/page-settings.tsx index 13569c1f8..15e9d42c2 100644 --- a/website/src/page-settings.tsx +++ b/website/src/page-settings.tsx @@ -24,7 +24,7 @@ import Adopters from './adopters'; import Members from './members'; //---------- HEAD TAGS -const HeadTags: FunctionComponent<{title?: string, description?: string, keywords?: string, url?: string, imageUrl?: string, type?: string}> = (props) => { +const HeadTags: FunctionComponent<{ title?: string, description?: string, keywords?: string, url?: string, imageUrl?: string, type?: string }> = (props) => { const handleChangeClientState = (newState: any, addedTags: HelmetTags, removedTags: HelmetTags): void => { if (addedTags.metaTags) { addedTags.metaTags.forEach((value: HTMLMetaElement) => { @@ -41,38 +41,38 @@ const HeadTags: FunctionComponent<{title?: string, description?: string, keyword {props.title} {/* SEO Meta Tags */} - - - - - - - + + + + + + + {/* Google Meta Tags */} - - - + + + {/* Twitter Meta Tags */} - - - - + + + + ; }; -const MainHeadTags: FunctionComponent<{pageSettings: PageSettings}> = (props) => { +const MainHeadTags: FunctionComponent<{ pageSettings: PageSettings }> = (props) => { const title = props.pageSettings.pageTitle; 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.'; const keywords = 'eclipse,ide,open source,development environment,development,vs code,visual studio code,extension,plugin,plug-in,registry,theia'; const url = `${location.protocol}//${location.host}`; const imageUrl = url + '/openvsx-preview.png'; - return (); + return (); }; -const ExtensionHeadTags: FunctionComponent<{extension?: Extension, pageSettings: PageSettings}> = (props) => { +const ExtensionHeadTags: FunctionComponent<{ extension?: Extension, pageSettings: PageSettings }> = (props) => { const { name, namespace } = useParams(); let title = ` – ${props.pageSettings.pageTitle}`; let url = `${location.protocol}//${location.host}/extension/`; @@ -96,19 +96,19 @@ const ExtensionHeadTags: FunctionComponent<{extension?: Extension, pageSettings: url += `${namespace}/${name}`; } - return() + return () }; -const NamespaceHeadTags: FunctionComponent<{namespaceDetails?: NamespaceDetails, pageSettings: PageSettings}> = (props) => { +const NamespaceHeadTags: FunctionComponent<{ namespaceDetails?: NamespaceDetails, pageSettings: PageSettings }> = (props) => { const { name } = useParams(); const namespaceName = props.namespaceDetails?.displayName ?? props.namespaceDetails?.name ?? name const title = `${namespaceName} – ${props.pageSettings.pageTitle}`; const url = `${location.protocol}//${location.host}/namespace/${namespaceName}`; const description = props.namespaceDetails?.description - return() + return () }; -export default function createPageSettings(theme: Theme, prefersDarkMode: boolean, serverVersionPromise: Promise): PageSettings { +export default function createPageSettings(theme: Theme, prefersDarkMode: boolean, serverVersionPromise: Promise): PageSettings { //---------- SERVER VERSION const ServerVersion = lazy(async () => { @@ -123,7 +123,7 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea - + ; @@ -146,14 +146,14 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea //---------- DOWNLOAD TERMS const downloadTerms: FunctionComponent = () => - - - By clicking download, you accept this website's  - - Terms of Use - . - - ; + + + By clicking download, you accept this website's  + + Terms of Use + . + + ; //---------- ADDITIONAL PAGES const additionalRoutes: ReactNode = <> @@ -169,18 +169,21 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea const reportAbuseText = encodeURIComponent(''); const extensionURL = encodeURIComponent(`${location.protocol}//${location.hostname}/extension/${extension.namespace}/${extension.name}`); return Report Abuse ; }; //---------- CLAIM NAMESPACE LINK - const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps }> = ({ sx }) => }> = ({ sx, extension }) => { + 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.' + return Claim Ownership - ; + + }; return { diff --git a/website/static/documents/terms-of-use.md b/website/static/documents/terms-of-use.md index 4306841a1..3004698bb 100644 --- a/website/static/documents/terms-of-use.md +++ b/website/static/documents/terms-of-use.md @@ -14,7 +14,8 @@ Neither the Eclipse Foundation nor its agents, affiliates, and members (collecti 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. -If you wish to provide any feedback regarding this Website or its Content, please send an email to license@eclipse.org. 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. +If you wish to provide any feedback regarding this Website or its Content, please use the +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. ## For Third Party Publishers