-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
SPDX-License-Identifier: CC-BY-4.0 | ||
--> | ||
|
||
TODOs for category feature | ||
========================== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
-- SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <[email protected]> | ||
-- SPDX-FileCopyrightText: 2022 Netherlands eScience Center | ||
-- SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
-- SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
-- | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
-- SPDX-License-Identifier: EUPL-1.2 | ||
|
||
-------------- | ||
-- Keywords -- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,11 @@ | |
-- SPDX-FileCopyrightText: 2021 - 2023 Netherlands eScience Center | ||
-- SPDX-FileCopyrightText: 2022 - 2023 Dusan Mijatovic (dv4all) | ||
-- SPDX-FileCopyrightText: 2022 - 2023 dv4all | ||
-- SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
-- SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
-- | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
-- SPDX-License-Identifier: EUPL-1.2 | ||
|
||
-- maintainer tables | ||
ALTER TABLE maintainer_for_software ENABLE ROW LEVEL SECURITY; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
-- SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
-- SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
-- | ||
-- SPDX-License-Identifier: EUPL-1.2 | ||
|
||
-- THIS FILE SHOULD BE MOVED TO THE DEPLOMENT REPO AND USED AS A MIGRATION FILE | ||
|
||
CREATE FUNCTION add_category(parent_name varchar, parent_short_name varchar, sub_categories varchar[][]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
// SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// | ||
// SPDX-License-Identifier: EUPL-1.2 | ||
|
||
import CategoryIcon from '@mui/icons-material/Category' | ||
import { CategoriesForSoftware, CategoryID, CategoryPath } from '../../types/SoftwareTypes' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
// SPDX-FileCopyrightText: 2022 - 2023 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 - 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2022 - 2023 dv4all | ||
// SPDX-FileCopyrightText: 2022 Christian Meeßen (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <[email protected]> | ||
// SPDX-FileCopyrightText: 2022 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2022 Matthias Rüster (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2022 Netherlands eScience Center | ||
// SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-License-Identifier: EUPL-1.2 | ||
|
||
export const softwareInformation = { | ||
slug: { | ||
|
9 changes: 3 additions & 6 deletions
9
frontend/components/software/edit/information/AutosaveSoftwareCategories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
// SPDX-FileCopyrightText: 2022 - 2023 dv4all | ||
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2022 Matthias Rüster (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) (dv4all) | ||
// SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-License-Identifier: EUPL-1.2 | ||
|
||
import { ChangeEventHandler, useEffect, useMemo, useState } from 'react' | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
frontend/components/software/edit/information/SoftwareInformationForm.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
// SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2023 dv4all | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-License-Identifier: EUPL-1.2 | ||
|
||
import {FormProvider, useForm} from 'react-hook-form' | ||
import {EditSoftwareItem} from '~/types/SoftwareTypes' | ||
|
4 changes: 3 additions & 1 deletion
4
frontend/components/software/edit/information/useSoftwareToEdit.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
// SPDX-FileCopyrightText: 2022 - 2023 Dusan Mijatovic (dv4all) | ||
// SPDX-FileCopyrightText: 2022 - 2023 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2022 - 2023 dv4all | ||
// SPDX-FileCopyrightText: 2022 Christian Meeßen (GFZ) <[email protected]> | ||
// SPDX-FileCopyrightText: 2022 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences | ||
// SPDX-FileCopyrightText: 2023 Dusan Mijatovic (dv4all) (dv4all) | ||
// SPDX-FileCopyrightText: 2023 Felix Mühlbauer (GFZ) <[email protected]> | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-License-Identifier: EUPL-1.2 | ||
|
||
import {useEffect, useState} from 'react' | ||
import {AutocompleteOption} from '../../../../types/AutocompleteOptions' | ||
|