Skip to content

Commit

Permalink
Merge branch 'main' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Aug 10, 2023
2 parents c037fc5 + 122698f commit 28c55f8
Show file tree
Hide file tree
Showing 25 changed files with 526 additions and 75 deletions.
12 changes: 12 additions & 0 deletions backend/src/main/webapp/WEB-INF/xml/datierung_raw_inc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<includeSection xmlns="http://arachne.uni-koeln.de/schemas/include" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arachne.uni-koeln.de/schemas/include include.xsd">
<context type="datierung" labelKey="raw" separator=" ">
<contextSection labelKey="datingType"><field datasource=".TypDatierung"/></contextSection>
<contextSection labelKey="datingStartEpoch"><field datasource=".AnfEpoche"/></contextSection>
<contextSection labelKey="datingStartCulture"><field datasource=".AnfKultur"/></contextSection>
<contextSection labelKey="datingStartChronontologyURI"><field datasource=".AnfEpocheChronId" prefix="https://chronontology.dainst.org/period/"/></contextSection>
<contextSection labelKey="datingEndEpoch"><field datasource=".EndEpoche"/></contextSection>
<contextSection labelKey="datingEndCulture"><field datasource=".EndKultur"/></contextSection>
<contextSection labelKey="datingEndChronontologyURI"><field datasource=".EndEpocheChronId" prefix="https://chronontology.dainst.org/period/"/></contextSection>
</context>
</includeSection>
13 changes: 13 additions & 0 deletions backend/src/main/webapp/WEB-INF/xml/ort_raw_inc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<includeSection xmlns="http://arachne.uni-koeln.de/schemas/include" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arachne.uni-koeln.de/schemas/include include.xsd">
<context type="ort" labelKey="raw">
<contextSection labelKey="gazetteerURI"><field datasource=".Gazetteerid" prefix="https://gazetteer.dainst.org/place" /></contextSection>
<contextSection labelKey="placeStorage"><field datasource=".Aufbewahrungsort"/></contextSection>
<contextSection labelKey="placeAncient"><field datasource=".Ort_antik"/></contextSection>
<contextSection labelKey="placeCity"><field datasource=".Stadt"/></contextSection>
<contextSection labelKey="placeCountry"><field datasource=".Land"/></contextSection>
<contextSection labelKey="placeInventoryNumber"><field datasource=".InvNr"/></contextSection>
<contextSection labelKey="placeOldInventoryNumber"><field datasource=".AltInvNr"/></contextSection>
<contextSection labelKey="placeType"><field datasource=".ArtOrtsangabe"/></contextSection>
</context>
</includeSection>
209 changes: 144 additions & 65 deletions backend/src/main/webapp/WEB-INF/xml/reproduktion.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,87 +21,166 @@
<datasections>
<section labelKey="Informationen zur Reproduktion">
<include type="ort" />
<include type="ort_raw" />
<include type="datierung" />
<include type="datierung_raw" />
<section labelKey="Herkunft">
<field datasource="reproduktion.HerkunftSlg" prefix="Herkunft: " />
<field datasource="reproduktion.Erwerbsdatum" prefix="Datum des Erwerbs: " />
<field datasource="reproduktion.ReproduktionErwerbUmstand" />
<field datasource="reproduktion.ArtErwerbung" />
<field datasource="reproduktion.ErworbenVon" />
<field datasource="reproduktion.StifterLeihgeber" prefix="Stifter / Leihgeber" />
<field datasource="reproduktion.Vorlagevorhanden" />
<section labelKey="raw">
<section labelKey="placeOfOrigin"><field datasource="reproduktion.HerkunftSlg" /></section>
<section labelKey="acquisitionDate"><field datasource="reproduktion.Erwerbsdatum" /></section>
<section labelKey="acquisitionType"><field datasource="reproduktion.ArtErwerbung" /></section>
<section labelKey="aquiredBy"><field datasource="reproduktion.ErworbenVon" /></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.HerkunftSlg" prefix="Herkunft: " />
<field datasource="reproduktion.Erwerbsdatum" prefix="Datum des Erwerbs: " />
<field datasource="reproduktion.ReproduktionErwerbUmstand" />
<field datasource="reproduktion.ArtErwerbung" />
<field datasource="reproduktion.ErworbenVon" />
<field datasource="reproduktion.StifterLeihgeber" prefix="Stifter / Leihgeber" />
<field datasource="reproduktion.Vorlagevorhanden" />
</section>
</section>
<section labelKey="Maße">
<field datasource="reproduktion.BreiteGesamtRepro" prefix="Breite: "
postfix=" cm" />
<field datasource="reproduktion.HoeheGesamtRepro" prefix="Höhe: "
postfix=" cm" />
<field datasource="reproduktion.TiefeGesamtRepro" prefix="Tiefe: "
postfix=" cm" />
<field datasource="reproduktion.DurchmesserGesamtRepro"
prefix="Durchmesser: " postfix=" cm" />
<field datasource="reproduktion.HoeheKopfRepro" prefix="Kopfhöhe: "
postfix=" cm" />
<field datasource="reproduktion.HoeheStatueRepro" prefix="Höhe der Statue: "
postfix=" cm" />
<field datasource="reproduktion.ReproMaszeBemerk" prefix="Bemerkung: " />
<field datasource="reproduktion.ReproduktionGewicht" prefix="Gewicht: " />
<field datasource="reproduktion.MessungKopfRepro" prefix="Messung(Kopf): " />
<field datasource="reproduktion.MessungStatueRepro" prefix="Messung(Statue): " />
<field datasource="reproduktion.ReproBildMasze" prefix="Maße(Bild): " />
<field datasource="reproduktion.ReproPlatteMasze" prefix="Maße(Platte): " />
<field datasource="reproduktion.ReproBlattMasze" prefix="Maße(Blatt): " />
<section labelKey="raw">
<section labelKey="width"><field datasource="reproduktion.BreiteGesamtRepro" postfix=" cm"/></section>
<section labelKey="height"><field datasource="reproduktion.HoeheGesamtRepro" postfix=" cm"/></section>
<section labelKey="depths"><field datasource="reproduktion.TiefeGesamtRepro" postfix=" cm"/></section>
<section labelKey="diameter"><field datasource="reproduktion.DurchmesserGesamtRepro" postfix=" cm"/></section>
<section labelKey="headHeight"><field datasource="reproduktion.HoeheKopfRepro" postfix=" cm"/></section>
<section labelKey="statueHeight"><field datasource="reproduktion.HoeheStatueRepro" postfix=" cm"/></section>
<section labelKey="comment"><field datasource="reproduktion.ReproMaszeBemerk"/></section>
<section labelKey="weight"><field datasource="reproduktion.ReproduktionGewicht"/></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.BreiteGesamtRepro" prefix="Breite: "
postfix=" cm" />
<field datasource="reproduktion.HoeheGesamtRepro" prefix="Höhe: "
postfix=" cm" />
<field datasource="reproduktion.TiefeGesamtRepro" prefix="Tiefe: "
postfix=" cm" />
<field datasource="reproduktion.DurchmesserGesamtRepro"
prefix="Durchmesser: " postfix=" cm" />
<field datasource="reproduktion.HoeheKopfRepro" prefix="Kopfhöhe: "
postfix=" cm" />
<field datasource="reproduktion.HoeheStatueRepro" prefix="Höhe der Statue: "
postfix=" cm" />
<field datasource="reproduktion.ReproMaszeBemerk" prefix="Bemerkung: " />
<field datasource="reproduktion.ReproduktionGewicht" prefix="Gewicht: " />
<field datasource="reproduktion.MessungKopfRepro" prefix="Messung(Kopf): " />
<field datasource="reproduktion.MessungStatueRepro" prefix="Messung(Statue): " />
<field datasource="reproduktion.ReproBildMasze" prefix="Maße(Bild): " />
<field datasource="reproduktion.ReproPlatteMasze" prefix="Maße(Platte): " />
<field datasource="reproduktion.ReproBlattMasze" prefix="Maße(Blatt): " />
</section>
</section>
<section labelKey="Beschreibung">
<field datasource="reproduktion.BearbeitungenReproduktion" />
<field datasource="reproduktion.ZweiDreiDimensional" />
<field datasource="reproduktion.TechnikReproduktion" prefix="Technik: " />
<field datasource="reproduktion.GrundformReproduktion"
prefix="Grundform: " />
<field datasource="reproduktion.MaterialReproduktion" prefix="Material: " />
<field datasource="reproduktion.MaterialbeschreibungRepro" />
<field datasource="reproduktion.FormatReproduktion" prefix="Format: " />
<field datasource="reproduktion.ReproBeschreibungGemaelde" />
<section labelKey="raw">
<section labelKey="technique"><field datasource="reproduktion.TechnikReproduktion"/></section>
<section labelKey="material"><field datasource="reproduktion.MaterialReproduktion"/></section>
<section labelKey="format"><field datasource="reproduktion.FormatReproduktion"/></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.BearbeitungenReproduktion" />
<field datasource="reproduktion.ZweiDreiDimensional" />
<field datasource="reproduktion.TechnikReproduktion" prefix="Technik: " />
<field datasource="reproduktion.GrundformReproduktion"
prefix="Grundform: " />
<field datasource="reproduktion.MaterialReproduktion" prefix="Material: " />
<field datasource="reproduktion.MaterialbeschreibungRepro" />
<field datasource="reproduktion.FormatReproduktion" prefix="Format: " />
<field datasource="reproduktion.ReproBeschreibungGemaelde" />
</section>
</section>
<section labelKey="Abguß">
<field datasource="reproduktion.AbguszformNr" prefix="Nummer: " />
<field datasource="reproduktion.Abgusztechnik" prefix="Technik: " />
<field datasource="reproduktion.Teilabgusz" prefix="Teilabguß: " />
<field datasource="reproduktion.BesonderheitenAbgusz" prefix="Besonderheiten: " />
<field datasource="reproduktion.Farbigkeit" prefix="Farbe: " />
<section labelKey="raw">
<section labelKey="castFormNr"><field datasource="reproduktion.AbguszformNr"/></section>
<section labelKey="castTechnique"><field datasource="reproduktion.Abgusztechnik"/></section>
<section labelKey="castColour"><field datasource="reproduktion.Farbigkeit"/></section>
<section labelKey="partialCast"><field datasource="reproduktion.Teilabgusz"/></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.AbguszformNr" prefix="Nummer: " />
<field datasource="reproduktion.Abgusztechnik" prefix="Technik: " />
<field datasource="reproduktion.Teilabgusz" prefix="Teilabguß: " />
<field datasource="reproduktion.BesonderheitenAbgusz" prefix="Besonderheiten: " />
<field datasource="reproduktion.Farbigkeit" prefix="Farbe: " />
</section>
</section>
<section labelKey="Bildwerk">
<field datasource="reproduktion.TechnikFlaechenkunstReproduktion"
prefix="Technik: " />
<field datasource="reproduktion.TraegerFlaechenkunst" prefix="Träger: " />
<field datasource="reproduktion.Ansicht" prefix="Ansicht: " />
<field datasource="reproduktion.Umgebung" prefix="Umgebung: " />
<section labelKey="raw">
<section labelKey="surfaceArtTechnique"><field datasource="reproduktion.TechnikFlaechenkunstReproduktion"/></section>
<section labelKey="surfaceArtBase"><field datasource="reproduktion.TraegerFlaechenkunst"/></section>
<section labelKey="surfaceArtview"><field datasource="reproduktion.Ansicht"/></section>
<section labelKey="surfaceArtSurrounding"><field datasource="reproduktion.Umgebung"/></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.TechnikFlaechenkunstReproduktion"
prefix="Technik: " />
<field datasource="reproduktion.TraegerFlaechenkunst" prefix="Träger: " />
<field datasource="reproduktion.Ansicht" prefix="Ansicht: " />
<field datasource="reproduktion.Umgebung" prefix="Umgebung: " />
</section>
</section>
<section labelKey="Modell" separator="; ">
<field datasource="reproduktion.ModellMaszstab" prefix="Maßstab: " />
<field datasource="reproduktion.ModellBauphase" />
<section labelKey="Modell">
<section labelKey="raw">
<section labelKey="modelScale"><field datasource="reproduktion.ModellMaszstab" /></section>
<section labelKey="modelConstructionPhases"><field datasource="reproduktion.ModellBauphase" /></section>
</section>
<section labelKey="formatted" separator="; ">
<field datasource="reproduktion.ModellMaszstab" prefix="Maßstab: " />
<field datasource="reproduktion.ModellBauphase" />
</section>
</section>
<section labelKey="Gleiche Gipsform" separator="; ">
<field datasource="reproduktion.GleicheGipsformInvNr" />
<field datasource="reproduktion.GleicheGipsformStandort" />
<field datasource="reproduktion.GleicheGipsformSeriennummer" />
<section labelKey="Gleiche Gipsform" >
<section labelKey="raw">
<section labelKey="identicalPlasterInventoryNr"><field datasource="reproduktion.GleicheGipsformInvNr" /></section>
<section labelKey="identicalPlasterLocation"><field datasource="reproduktion.GleicheGipsformStandort" /></section>
<section labelKey="identicalPlasterSerialNr"><field datasource="reproduktion.GleicheGipsformSeriennummer" /></section>
</section>
<section labelKey="formatted" separator="; ">
<field datasource="reproduktion.GleicheGipsformInvNr" />
<field datasource="reproduktion.GleicheGipsformStandort" />
<field datasource="reproduktion.GleicheGipsformSeriennummer" />
</section>
</section>
<section labelKey="Gattung" separator="; ">
<field datasource="reproduktion.GattungAllg" />
<field datasource="reproduktion.GattungSpeziell" />
<section labelKey="Gattung">
<section labelKey="raw">
<section labelKey="genre"><field datasource="reproduktion.GattungAllg" /></section>
<section labelKey="subGenre"><field datasource="reproduktion.GattungSpeziell" /></section>
</section>
<section labelKey="formatted" separator="; ">
<field datasource="reproduktion.GattungAllg" />
<field datasource="reproduktion.GattungSpeziell" />
</section>
</section>
<section labelKey="Erhaltung" separator="; ">
<field datasource="reproduktion.ErhaltungReproduktion" />
<field datasource="reproduktion.ErhaltungszustandReproduktion" />
<field datasource="reproduktion.erhalteneFormReproduktion" />
<field datasource="reproduktion.ReproZustandGemaelde" />
<field datasource="reproduktion.ReproQualitaet" prefix="Qualität der Reproduktion: " />
<field datasource="reproduktion.ReproQualitaetZusatz" />
<section labelKey="Erhaltung">
<section labelKey="raw">
<section labelKey="condition"><field datasource="reproduktion.ErhaltungReproduktion" /></section>
<section labelKey="condition"><field datasource="reproduktion.erhalteneFormReproduktion" /></section>
<section labelKey="condition"><field datasource="reproduktion.ReproZustandGemaelde" /></section>
<section labelKey="quality"><field datasource="reproduktion.ReproQualitaet"/></section>
</section>
<section labelKey="formatted" separator="; ">
<field datasource="reproduktion.ErhaltungReproduktion" />
<field datasource="reproduktion.ErhaltungszustandReproduktion" />
<field datasource="reproduktion.erhalteneFormReproduktion" />
<field datasource="reproduktion.ReproZustandGemaelde" />
<field datasource="reproduktion.ReproQualitaet" prefix="Qualität der Reproduktion: " />
<field datasource="reproduktion.ReproQualitaetZusatz" />
</section>
</section>
<section labelKey="Thematik">
<field datasource="reproduktion.GottGoettin" prefix="Gottheit: " />
<field datasource="reproduktion.Mischewesen" prefix="Mischwesen: " />
<field datasource="reproduktion.Attribute" prefix="Attribute: " />
<section labelKey="raw">
<section labelKey="themeDeity"><field datasource="reproduktion.GottGoettin"/></section>
<section labelKey="themeHybridCreature"><field datasource="reproduktion.Mischwesen"/></section>
<section labelKey="themeAttribute"><field datasource="reproduktion.Attribute"/></section>
</section>
<section labelKey="formatted">
<field datasource="reproduktion.GottGoettin" prefix="Gottheit: " />
<field datasource="reproduktion.Mischwesen" prefix="Mischwesen: " />
<field datasource="reproduktion.Attribute" prefix="Attribute: " />
</section>
</section>
<section labelKey="Beschriftung">
<field datasource="reproduktion.Beschriftung" />
Expand Down
4 changes: 2 additions & 2 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ In order to run the frontend in the development server use the following command
npm start
```

After that you should be able to access the frontend under [http://localhost:8082/](http://localhost:8082/).
After that you should be able to access the frontend under [http://localhost:8080/](http://localhost:8080/).

Any changes made to HTML, SCSS or JS files automatically trigger a browser reload.

Expand All @@ -93,7 +93,7 @@ Call
export LC_NUMERIC="en_US.UTF-8" && npm run e2e
```

to run the e2e tests matching the filename pattern `e2e/*.spec.js`. Precondition for this to work is that you have the `dist` dir that gets served at `localhost:8082`, as is the case when you run `npm start`.
to run the e2e tests matching the filename pattern `e2e/*.spec.js`. Precondition for this to work is that you have the `dist` dir that gets served at `localhost:8080` by defaiöt, as is the case when you run `npm start`.

### Server Configuration

Expand Down
4 changes: 2 additions & 2 deletions frontend/app/entity/ar-entity-sections.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script type="text/ng-template" id="section_template.html">
<li ng-if="!section.value" ng-class="{'thumbnail' : section.contextEntity}" style="list-style-type:none;">
<strong ng-if="section.label">{{section.label}}</strong>
<li ng-if="!section.value && section.label !== 'raw'" ng-class="{'thumbnail' : section.contextEntity}" style="list-style-type:none;">
<strong ng-if="section.label && section.label !== 'formatted'">{{section.label}}</strong>
<ul ng-repeat="section in (section.content || section.contextEntity)" ng-include="'section_template.html'"></ul>
</li>
<li ng-if="section.value" ng-switch="isArray(section.value)" style="list-style-type:none;">
Expand Down
10 changes: 10 additions & 0 deletions frontend/app/entity/entity.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ export default function ($rootScope, $stateParams, searchService, $scope, Entity
if (data.sections[0].label == 'Datenblatt Berlin') {
data.sections = data.sections.slice(0,1);
}

if (data.sections[0].label === 'Datenblatt der Antikensammlung Berlin') {

for(var firstOrderContent of data.sections[0].content) {
if(firstOrderContent.label === 'Literatur') {
firstOrderContent.content.unshift({value: "<a href='/con10t/img/antiksammlberlin/Literaturliste.pdf' target='_blank'>Abkürzungsverzeichnis/abbreviation index (PDF)</a>"})
}
}
}

categoryService.getCategoryHref($scope.entity.type).then(function (categoryHref) {
$scope.entity.categoryHref = categoryHref;
});
Expand Down
1 change: 1 addition & 0 deletions frontend/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="axehIuQKDs9bKUYzUl7hj1IvFMePho1--MppShoNQWk" />
<meta http-equiv="Cache-Control" content="no-store" />
<base id="baseLink" href="/">

<title>Arachne</title>
Expand Down
12 changes: 12 additions & 0 deletions frontend/con10t/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,18 @@
"title": {
"de": "disiecta membra. Steinarchitektur und Städtewesen im römischen Deutschland"
}
},
{
"id": "deichmann",
"title": {
"de": "Nachlass von Friedrich Wilhelm Deichmann"
}
},
{
"id": "sag",
"title": {
"de": "Shapes of Ancient Greece. Digitalisierung der archäologischen Sammlung des Deutschen Archäologischen Instituts in Athen"
}
}
]
},
Expand Down
Loading

0 comments on commit 28c55f8

Please sign in to comment.