diff --git a/.github/workflows/CI-workflows.yaml b/.github/workflows/CI-workflows.yaml index fb0ea421..696b38c8 100644 --- a/.github/workflows/CI-workflows.yaml +++ b/.github/workflows/CI-workflows.yaml @@ -23,13 +23,13 @@ jobs: run: phpcbf . continue-on-error: ${{ github.ref != 'refs/heads/main' }} - - name: Commit code formatting changes - if: success() && github.ref != 'refs/heads/main' - run: | - git config user.name "GitHub Actions" - git config user.email "actions@github.com" - git add src - git diff --cached --quiet || (git commit -m "Update src from PHP Codesniffer" && git pull origin $(git rev-parse --abbrev-ref HEAD) --rebase --autostash && git push) + #- name: Commit code formatting changes + # if: success() && github.ref != 'refs/heads/main' + # run: | + # git config user.name "GitHub Actions" + # git config user.email "actions@github.com" + # git add src + # git diff --cached --quiet || (git commit -m "Update src from PHP Codesniffer" && git pull origin $(git rev-parse --abbrev-ref HEAD) --rebase --autostash && git push) - name: Run phpcs run: phpcs -q --report=checkstyle src | cs2pr diff --git a/docs/beheerders/directory.md b/docs/beheerders/directory.md index 1f3d9d28..23467fb3 100644 --- a/docs/beheerders/directory.md +++ b/docs/beheerders/directory.md @@ -1 +1,11 @@ # Directory + +De directory vormt het overzicht van alle andere (externe) catalogi die bij jouw installatie bekend zijn. Een Catalogus die bij jouw installatie bekend is noemen een listing (als in is gelist op jouw directory). + +## Opzetten federatief netwerk + +Directories worden tussen installaties onderling uitgewisseld en geupdate. Je hoeft dus nooit handmatig catalogi van andere toe te voegen aan jouw catalogus. + +## Listing + +Bij een listing kan je de volgende zaken aanpassen. diff --git a/lib/Controller/PublicationsController.php b/lib/Controller/PublicationsController.php index 05f9dd67..2e4e0446 100644 --- a/lib/Controller/PublicationsController.php +++ b/lib/Controller/PublicationsController.php @@ -18,18 +18,6 @@ class PublicationsController extends Controller { - const TEST_ARRAY = [ - "354980e5-c967-4ba5-989b-65c2b0cd2ff4" => [ - "id" => "354980e5-c967-4ba5-989b-65c2b0cd2ff4", - "name" => "Input voor OpenCatalogi", - "summary" => "Dit is een selectie van high-value datasets in DCAT-AP 2.0 standaard x" - ], - "2ab0011e-9b4c-4c50-a50d-a16fc0be0178" => [ - "id" => "2ab0011e-9b4c-4c50-a50d-a16fc0be0178", - "title" => "Publication two", - "description" => "summary for two" - ] - ]; public function __construct ( diff --git a/src/modals/Modals.vue b/src/modals/Modals.vue index 2159f0b8..1e1eb9e7 100644 --- a/src/modals/Modals.vue +++ b/src/modals/Modals.vue @@ -11,7 +11,7 @@ - + @@ -37,7 +37,7 @@ import EditMetaDataPropertyModal from './metaData/EditMetaDataPropertyModal.vue' import AddCatalogModal from './catalog/AddCatalogModal.vue' import EditCatalogModal from './catalog/EditCatalogModal.vue' -import AddListingModal from './directory/AddListingModal.vue' +import AddDirectoryModal from './directory/AddDirectoryModal.vue' import EditListingModal from './directory/EditListingModal.vue' import AddOrganisationModal from './organisation/AddOrganisationModal.vue' import EditOrganisatioModal from './organisation/EditOrganisationModal.vue' @@ -59,7 +59,7 @@ export default { EditMetaDataPropertyModal, AddCatalogModal, EditCatalogModal, - AddListingModal, + AddDirectoryModal, EditListingModal, AddPublicationDataModal, EditPublicationDataModal, diff --git a/src/modals/catalog/AddCatalogModal.vue b/src/modals/catalog/AddCatalogModal.vue index 80d822c2..79a18012 100644 --- a/src/modals/catalog/AddCatalogModal.vue +++ b/src/modals/catalog/AddCatalogModal.vue @@ -41,7 +41,7 @@ import { catalogiStore, navigationStore } from '../../store/store.js' @click="addCatalog"> Toevoegen @@ -51,7 +51,7 @@ import { catalogiStore, navigationStore } from '../../store/store.js' diff --git a/src/modals/metaData/AddMetaDataModal.vue b/src/modals/metaData/AddMetaDataModal.vue index 09e93574..d18a8cfd 100644 --- a/src/modals/metaData/AddMetaDataModal.vue +++ b/src/modals/metaData/AddMetaDataModal.vue @@ -31,7 +31,7 @@ import { navigationStore, metadataStore } from '../../store/store.js' @click="addMetaData"> Toevoegen @@ -41,7 +41,7 @@ import { navigationStore, metadataStore } from '../../store/store.js'