Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.18.0 #3063

Merged
merged 38 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d0cd1ae
Bump dompurify from 3.0.5 to 3.1.6 in /website
dependabot[bot] Sep 16, 2024
bc1153f
Merge pull request #2939 from EclipseFdn/dependabot/npm_and_yarn/webs…
amvanbaren Oct 9, 2024
79d18d5
Sonar fixes
Oct 9, 2024
042aa5e
Merge pull request #3022 from amvanbaren/sonar-fixes
amvanbaren Oct 9, 2024
edccb97
test ce956f8a
Oct 15, 2024
30199de
Merge pull request #3032 from amvanbaren/test-ce956f8a
amvanbaren Oct 15, 2024
56209ed
test 1df89812
Oct 15, 2024
331e51e
Merge pull request #3033 from amvanbaren/test-1df89812
amvanbaren Oct 15, 2024
f14c680
test ce956f8a
Oct 15, 2024
21c234b
Merge pull request #3034 from amvanbaren/test-ce956f8a-2
amvanbaren Oct 15, 2024
d02794a
test webui 0.12.0-next.ce956f8a
Oct 15, 2024
4df1c09
Merge pull request #3036 from amvanbaren/test-webui-0.12.0-next.ce956f8a
amvanbaren Oct 15, 2024
30b6e50
test 1b89e97a
Oct 15, 2024
b3a4f90
Merge pull request #3037 from amvanbaren/test-1b89e97a
amvanbaren Oct 15, 2024
7ce7e5c
test 1aabd83c
Oct 15, 2024
96e7edb
Merge pull request #3038 from amvanbaren/test-1aabd83c
amvanbaren Oct 15, 2024
b9024ee
test webui 0.12.0-next.7821b01b
Oct 15, 2024
6c6256c
Merge pull request #3039 from amvanbaren/test-webui-0.12.0-next.7821b01b
amvanbaren Oct 15, 2024
f7d9c6a
Add ready to join and contact button to member page
oliviergoulet5 Oct 22, 2024
68fecf4
Merge pull request #3049 from oliviergoulet5/oliviergoulet/main/1876
amvanbaren Oct 23, 2024
0508383
test 6f6d87f4
Oct 23, 2024
efb9e63
Merge pull request #3055 from amvanbaren/test-6f6d87f4
amvanbaren Oct 23, 2024
49992c0
Removing banner and OCX announcement
kineticsquid Oct 23, 2024
265b08c
Merge pull request #3056 from kineticsquid/main
amvanbaren Oct 24, 2024
0c5552b
test 632bc307
Oct 24, 2024
f73230c
Merge pull request #3057 from amvanbaren/test-632bc307
amvanbaren Oct 24, 2024
76dda08
test 47c70917
Oct 24, 2024
913e040
Merge pull request #3058 from amvanbaren/test-47c70917
amvanbaren Oct 24, 2024
1f3ba22
test 3cc06420
Oct 24, 2024
6127e7e
Merge pull request #3059 from amvanbaren/test-3cc06420
amvanbaren Oct 24, 2024
6edb5b5
test 3ba5d71e
Oct 24, 2024
eabcdd4
Merge pull request #3060 from amvanbaren/test-1f3f41c1
amvanbaren Oct 24, 2024
73fa5eb
test e717182b
Oct 24, 2024
97f6004
Merge pull request #3061 from amvanbaren/test-e717182b
amvanbaren Oct 24, 2024
858cb0f
release v0.18.0
Oct 25, 2024
cb357cd
Merge pull request #3062 from amvanbaren/release-v0.18.0
amvanbaren Oct 25, 2024
28bb193
Remove upstream config
Oct 28, 2024
fdca676
Merge pull request #3069 from amvanbaren/config-remove-upstream
amvanbaren Oct 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
ARG SERVER_VERSION=v0.17.0
ARG SERVER_VERSION=v0.18.0

# Builder image to compile the website
FROM ubuntu as builder
FROM ubuntu AS builder

WORKDIR /workdir

# See https://github.com/nodesource/distributions for Node.js package
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
bash \
ca-certificates \
curl \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# See https://github.com/nodesource/distributions/blob/main/README.md#debinstall
RUN curl -sSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs

RUN corepack enable
RUN corepack prepare yarn@stable --activate
&& corepack enable \
&& corepack prepare yarn@stable --activate

# bump to update website
ENV WEBSITE_VERSION 0.12.0
ENV WEBSITE_VERSION 0.13.0
COPY . /workdir

RUN /usr/bin/yarn --cwd website \
Expand Down
12 changes: 8 additions & 4 deletions website/dev/mock-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ const avatarUrl = 'https://upload.wikimedia.org/wikipedia/commons/9/99/Avatar_cu
export class MockRegistryService extends ExtensionRegistryService {

constructor() {
// FIXME cannot reference `this` in super constructor call
super('', new MockAdminService(undefined!));
(this.admin.registry as any) = this;
super('', MockAdminService);
}

search(abortController: AbortController, filter?: ExtensionFilter): Promise<Readonly<SearchResult | ErrorResult>> {
Expand Down Expand Up @@ -152,7 +150,9 @@ export class MockRegistryService extends ExtensionRegistryService {
}
}

export class MockAdminService extends AdminService {
export class MockAdminService implements AdminService {

constructor(readonly registry: ExtensionRegistryService) {}

getExtension(abortController: AbortController, namespace: string, extension: string): Promise<Readonly<Extension>> {
return this.registry.getExtensionDetail(abortController, '') as Promise<Extension>;
Expand Down Expand Up @@ -187,4 +187,8 @@ export class MockAdminService extends AdminService {
async revokePublisherContributions(abortController: AbortController, provider: string, login: string): Promise<Readonly<SuccessResult | ErrorResult>> {
return Promise.resolve({ success: 'ok' });
}

changeNamespace(abortController: AbortController, req: {oldNamespace: string, newNamespace: string, removeOldNamespace: boolean, mergeIfNewNamespaceAlreadyExists: boolean}): Promise<Readonly<SuccessResult | ErrorResult>> {
return Promise.resolve({ success: 'ok' });
}
}
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "https://github.com/eclipse/open-vsx.org",
"license": "EPL-2.0",
"dependencies": {
"openvsx-webui": "0.12.0"
"openvsx-webui": "0.13.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
Expand Down
95 changes: 49 additions & 46 deletions website/src/footer-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,56 +43,59 @@ const LegalLink = styled(RouteLink)(({ theme }: { theme: Theme }) => ({
fontWeight: theme.typography.fontWeightLight
}));


interface MainFooterProps {
isSmallDisplay: boolean
isLargeDisplay: boolean
}

const MainFooter = ({isSmallDisplay, isLargeDisplay}: MainFooterProps) => {
const itemSpacing = 2.5;
return <Box display='flex' justifyContent='space-between' alignItems='center'>
{isSmallDisplay ? null : repositoryLink()}
{
isLargeDisplay ?
<Box display='flex'>
<Box>
{privacyPolicy()}
</Box>
<Box ml={itemSpacing}>
{termsOfUse()}
</Box>
<Box ml={itemSpacing}>
{publisherAgreement()}
</Box>
<Box ml={itemSpacing}>
{copyrightAgent()}
</Box>
<Box ml={itemSpacing}>
{legalResources()}
</Box>
<Box ml={itemSpacing}>
{manageCookies()}
</Box>
<Box ml={itemSpacing}>
{copyrightText()}
</Box>
<Box ml={itemSpacing}>
{rightsReservedText()}
</Box>
</Box>
:
<>
{copyrightText()}
<Box display='flex' alignItems='center'>
<ExpandLessIcon /> Legal
</Box>
</>
}
</Box>;
}

const FooterContent: FunctionComponent<{ expanded: boolean }> = ({ expanded }) => {
const theme = useTheme();
const isSmallDisplay = useMediaQuery(theme.breakpoints.down('sm'));
const isLargeDisplay = useMediaQuery(theme.breakpoints.up('xl'));

const MainFooter = () => {
const itemSpacing = 2.5;
return <Box display='flex' justifyContent='space-between' alignItems='center'>
{isSmallDisplay ? null : repositoryLink()}
{
isLargeDisplay ?
<Box display='flex'>
<Box>
{privacyPolicy()}
</Box>
<Box ml={itemSpacing}>
{termsOfUse()}
</Box>
<Box ml={itemSpacing}>
{publisherAgreement()}
</Box>
<Box ml={itemSpacing}>
{copyrightAgent()}
</Box>
<Box ml={itemSpacing}>
{legalResources()}
</Box>
<Box ml={itemSpacing}>
{manageCookies()}
</Box>
<Box ml={itemSpacing}>
{copyrightText()}
</Box>
<Box ml={itemSpacing}>
{rightsReservedText()}
</Box>
</Box>
:
<>
{copyrightText()}
<Box display='flex' alignItems='center'>
<ExpandLessIcon /> Legal
</Box>
</>
}
</Box>;
}

if (expanded && !isLargeDisplay) {
const itemSpacing = 1;
return <Box display='flex' flexDirection='column' alignItems='stretch'>
Expand All @@ -116,10 +119,10 @@ const FooterContent: FunctionComponent<{ expanded: boolean }> = ({ expanded }) =
{manageCookies()}
</Box>
</Box>
<MainFooter />
<MainFooter isSmallDisplay={isSmallDisplay} isLargeDisplay={isLargeDisplay}/>
</Box>;
} else {
return <MainFooter />;
return <MainFooter isSmallDisplay={isSmallDisplay} isLargeDisplay={isLargeDisplay}/>;
}
};

Expand Down
13 changes: 10 additions & 3 deletions website/src/members.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,20 @@ const Members = () => {
VSX Registry at open-vsx.org.
</Typography>

<Box my={4} textAlign='center'>
<Box display="flex" gap={1} my={4} justifyContent="center" textAlign="center" >
<Button
variant='contained'
color='secondary'
href='https://membership.eclipse.org/application'
href='https://www.eclipse.org/membership/join-us/'
>
Become a Member
Contact Us About Membership
</Button>
<Button
variant='contained'
color='secondary'
href='https://membership.eclipse.org/application/ready-to-join'
>
My Organisation Is Ready to Join Now
</Button>
</Box>

Expand Down
6 changes: 3 additions & 3 deletions website/src/menu-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ const SubMenuLink = styled(Link)(subMenuLink);


export const DefaultMenuContent: FunctionComponent = () => {
const [workingGroupMenuOpen, setWorkingGroupOpen] = useState(false);
const [workingGroupMenuOpen, setWorkingGroupMenuOpen] = useState(false);
const workingGroupMenuEl = useRef<HTMLButtonElement | null>(null);
const toggleWorkingGroupMenu = () => setWorkingGroupOpen(!workingGroupMenuOpen);
const closeWorkingGroupMenu = () => setWorkingGroupOpen(false);
const toggleWorkingGroupMenu = () => setWorkingGroupMenuOpen(!workingGroupMenuOpen);
const closeWorkingGroupMenu = () => setWorkingGroupMenuOpen(false);

return <>
<MenuLink href='https://github.com/eclipse/openvsx/wiki'>
Expand Down
Loading
Loading