Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ docker compose down && docker compose up
```
or
```shell
docker-compsoe stop php; docker compose rm php; docker compose up
docker compose stop api; docker compose rm api; docker compose up
```
if you don't want to restart the frontend.
6 changes: 6 additions & 0 deletions api/fixtures/activities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ App\Entity\Activity:
location: <word()>
rootContentNode: '@columnLayout1campPrototype'
category: '@category1campPrototype'
activity1campShared:
camp: '@campShared'
title: <word()>
location: <word()>
rootContentNode: '@columnLayout1campShared'
category: '@category1campShared'
8 changes: 8 additions & 0 deletions api/fixtures/activity-progress-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,12 @@ App\Entity\ActivityProgressLabel:
camp: '@campPrototype'
position: 2
title: 'Überprüft'
activityProgressLabel1campShared:
camp: '@campShared'
position: 0
title: 'In Planung'
activityProgressLabel2campShared:
camp: '@campShared'
position: 1
title: 'Geplant'

3 changes: 3 additions & 0 deletions api/fixtures/activityResponsibles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ App\Entity\ActivityResponsible:
activityResponsible1campPrototype:
campCollaboration: '@campCollaboration1campPrototype'
activity: '@activity1campPrototype'
activityResponsible1campShared:
campCollaboration: '@campCollaboration1campShared'
activity: '@activity1campShared'
24 changes: 24 additions & 0 deletions api/fixtures/campCollaborations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,27 @@ App\Entity\CampCollaboration:
camp: '@campPrototype'
status: established
role: manager
campCollaboration1campShared:
user: '@user4unrelated'
camp: '@campShared'
status: established
role: manager
campCollaboration2invitedCampShared:
user: '@user6invited'
camp: '@campShared'
inviteKey: "myInviteKeyCampShared"
inviteKeyHash: "sl3hC12VkIUzT89mMggYyoMmFup="
status: invited
role: manager
campCollaboration3inactiveCampShared:
user: '@user5inactive'
camp: '@campShared'
status: inactive
role: manager
campCollaboration4invitedCampShared:
camp: '@campShared'
inviteKey: "myInviteKeyCampShared"
inviteKeyHash: "sl3hC12VkIUzT89mMggYyoMmFuq="
inviteEmail: "e.mail@test.com"
status: invited
role: manager
27 changes: 27 additions & 0 deletions api/fixtures/camps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ App\Entity\Camp:
owner: '@user1manager'
creator: '@user2member'
isPrototype: false
isShared: false
sharedBy: null
sharedSince: null
campPrototypeId: null
camp2:
shortTitle: Camp2
Expand All @@ -22,6 +25,9 @@ App\Entity\Camp:
owner: '@admin'
creator: '@user4unrelated'
isPrototype: false
isShared: false
sharedBy: null
sharedSince: null
campPrototypeId: null
campUnrelated:
shortTitle: CampUnrelated
Expand All @@ -34,6 +40,9 @@ App\Entity\Camp:
owner: '@admin'
creator: '@admin'
isPrototype: false
isShared: false
sharedBy: null
sharedSince: null
campPrototypeId: null
campPrototype:
shortTitle: CampPrototype
Expand All @@ -46,4 +55,22 @@ App\Entity\Camp:
owner: '@admin'
creator: '@admin'
isPrototype: true
isShared: false
sharedBy: null
sharedSince: null
campPrototypeId: null
campShared:
shortTitle: CampPrototype
title: <word()>
motto: <sentence()>
addressName: <word()>
addressStreet: <address()>
addressZipcode: <postcode()>
addressCity: <city()>
owner: '@admin'
creator: '@admin'
isPrototype: false
isShared: true
sharedBy: '@admin'
sharedSince: '<(new DateTime("2025-09-03 12:00:00"))>'
campPrototypeId: null
7 changes: 7 additions & 0 deletions api/fixtures/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ App\Entity\Category:
color: '#4DBB52'
numberingStyle: 1
rootContentNode: '@columnLayout2campPrototype'
category1campShared:
camp: '@campShared'
short: LS
name: Lagersport
color: '#4DBB52'
numberingStyle: 1
rootContentNode: '@columnLayout2campShared'
5 changes: 4 additions & 1 deletion api/fixtures/checklistItems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ App\Entity\ChecklistItem:
checklistItemUnrelated_1_1:
checklist: '@checklist1campUnrelated'
text: 'CampUnrelated_List1_Item1'
checklistItemPrototype_1_1:
checklistItemCampPrototype_1_1:
checklist: '@checklist1campPrototype'
text: 'CampPrototype_List1_Item1'
checklistItemCampShared_1_1:
checklist: '@checklist1campShared'
text: 'CampShared_List1_Item1'
14 changes: 14 additions & 0 deletions api/fixtures/checklistNodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,18 @@ App\Entity\ContentNode\ChecklistNode:
slot: '1'
position: 5
instanceName: <word()>
contentType: '@contentTypeChecklist'
checklistNodeCampPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 5
instanceName: <word()>
contentType: '@contentTypeChecklist'
checklistNodeCampShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 5
instanceName: <word()>
contentType: '@contentTypeChecklist'
3 changes: 3 additions & 0 deletions api/fixtures/checklists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ App\Entity\Checklist:
camp: null
isPrototype: true
name: 'J+S Ausbildungsziele'
checklist1campShared:
camp: '@campShared'
name: 'PBS Ausbildungsziele'
32 changes: 32 additions & 0 deletions api/fixtures/columnLayouts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@ App\Entity\ContentNode\ColumnLayout:
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
columnLayout3campPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 10
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
columnLayoutWithResponsiveLayout:
root: '@self'
parent: null
Expand All @@ -95,3 +103,27 @@ App\Entity\ContentNode\ColumnLayout:
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
columnLayout1campShared:
root: '@self'
parent: null
slot: null
position: 0
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
columnLayout2campShared:
root: '@self'
parent: null
slot: null
position: 0
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
columnLayout3campShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 10
data: { columns: [{ slot: '1', width: 12 }] }
instanceName: <word()>
contentType: '@contentTypeColumnLayout'
12 changes: 12 additions & 0 deletions api/fixtures/comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,16 @@ App\Entity\Comment:
activity: '@activity2'
textHtml: <sentence()>
author: '@user1manager'
orphanDescription: null
comment1campPrototype:
camp: '@campPrototype'
activity: '@activity1campPrototype'
textHtml: <sentence()>
author: '@user4unrelated'
orphanDescription: null
comment1campShared:
camp: '@campShared'
activity: '@activity1campShared'
textHtml: <sentence()>
author: '@user4unrelated'
orphanDescription: null
3 changes: 3 additions & 0 deletions api/fixtures/dayResponsibles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ App\Entity\DayResponsible:
dayResponsible1day1period1campPrototype:
campCollaboration: '@campCollaboration1campPrototype'
day: '@day1period1campPrototype'
dayResponsible1day1period1campShared:
campCollaboration: '@campCollaboration1campShared'
day: '@day1period1campShared'
9 changes: 9 additions & 0 deletions api/fixtures/days.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ App\Entity\Day:
day1period1campPrototype:
period: '@period1campPrototype'
dayOffset: 0
day1period1campShared:
period: '@period1campShared'
dayOffset: 0
day2period1campShared:
period: '@period1campShared'
dayOffset: 1
day3period1campShared:
period: '@period1campShared'
dayOffset: 2
8 changes: 8 additions & 0 deletions api/fixtures/materialItems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ App\Entity\MaterialItem:
article: Lagerapotheke
quantity: 1
unit: null
materialItem1period1campShared:
camp: '@campShared'
materialList: '@materialList1campShared'
period: '@period1campShared'
materialNode: null
article: Umhang
quantity: 1
unit: null
6 changes: 6 additions & 0 deletions api/fixtures/materialLists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ App\Entity\MaterialList:
materialList1campPrototype:
camp: '@campPrototype'
name: Einkaufsliste
materialList1campShared:
camp: '@campShared'
name: Pfadiheim
materialList2campShared:
camp: '@campShared'
campCollaboration: '@campCollaboration1campShared'
14 changes: 14 additions & 0 deletions api/fixtures/materialNodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ App\Entity\ContentNode\MaterialNode:
position: 2
instanceName: <word()>
contentType: '@contentTypeMaterial'
materialNodeCampPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 2
instanceName: <word()>
contentType: '@contentTypeMaterial'
materialNodeCampShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 2
instanceName: <word()>
contentType: '@contentTypeMaterial'
16 changes: 16 additions & 0 deletions api/fixtures/multiSelects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@ App\Entity\ContentNode\MultiSelect:
instanceName: <word()>
contentType: '@contentTypeMultiSelect'
data: { options: { 'key1': { 'checked': true } } }
multiSelectCampPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 3
instanceName: <word()>
contentType: '@contentTypeMultiSelect'
data: { options: { 'key1': { 'checked': true } } }
multiSelectCampShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 3
instanceName: <word()>
contentType: '@contentTypeMultiSelect'
data: { options: { 'key1': { 'checked': true } } }
5 changes: 5 additions & 0 deletions api/fixtures/periods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ App\Entity\Period:
description: Hauptlager
start: '<(new DateTime("2021-01-01"))>'
end: '<(new DateTime("2021-01-01"))>'
period1campShared:
camp: '@campShared'
description: Hauptlager
start: '<(new DateTime("2025-06-07"))>'
end: '<(new DateTime("2025-06-09"))>'
16 changes: 16 additions & 0 deletions api/fixtures/responsiveLayouts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@ App\Entity\ContentNode\ResponsiveLayout:
data: { items: [{ slot: 'main' }, {slot: 'aside-top' }, {slot: 'aside-bottom'}] }
instanceName: 'responsiveLayoutCampUnrelated'
contentType: '@contentTypeResponsiveLayout'
responsiveLayoutCampPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 0
data: { items: [{ slot: 'main' }, {slot: 'aside-top' }, {slot: 'aside-bottom'}] }
instanceName: 'responsiveLayoutCampPrototype'
contentType: '@contentTypeResponsiveLayout'
responsiveLayoutCampShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 0
data: { items: [{ slot: 'main' }, {slot: 'aside-top' }, {slot: 'aside-bottom'}] }
instanceName: 'responsiveLayoutCampShared'
contentType: '@contentTypeResponsiveLayout'
10 changes: 10 additions & 0 deletions api/fixtures/scheduleEntries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@ App\Entity\ScheduleEntry:
activity: '@activity1campPrototype'
startOffset: 720
endOffset: 780
scheduleEntry1period1campShared:
period: '@period1campShared'
activity: '@activity1campShared'
startOffset: 660
endOffset: 720
scheduleEntry2period1campShared:
period: '@period1campShared'
activity: '@activity1campShared'
startOffset: 720
endOffset: 780
16 changes: 16 additions & 0 deletions api/fixtures/singleTexts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,19 @@ App\Entity\ContentNode\SingleText:
instanceName: <word()>
contentType: '@contentTypeNotes'
data: { html: <word()> }
singleTextCampPrototype:
root: '@columnLayout1campPrototype'
parent: '@columnLayout1campPrototype'
slot: '1'
position: 1
instanceName: <word()>
contentType: '@contentTypeNotes'
data: { html: <word()> }
singleTextCampShared:
root: '@columnLayout1campShared'
parent: '@columnLayout1campShared'
slot: '1'
position: 1
instanceName: <word()>
contentType: '@contentTypeNotes'
data: { html: <word()> }
Loading
Loading