]> BookStack Code Mirror - bookstack/commit
Added ability to copy/clone chapters
authorDan Brown <redacted>
Sun, 19 Dec 2021 15:40:52 +0000 (15:40 +0000)
committerDan Brown <redacted>
Sun, 19 Dec 2021 15:40:52 +0000 (15:40 +0000)
commit20e093a7a1f5bc56936c9da4456e7646c52f71ef
treee64889a8c1ff46468ff4387cf558fe61814aa2f1
parent3f9527f166740b8580adbf513600fd46104f47d0
Added ability to copy/clone chapters

Builds upon page clone work. Takes permissions into account to decide
if child pages should be copied.
app/Entities/Models/Chapter.php
app/Entities/Repos/ChapterRepo.php
app/Entities/Repos/PageRepo.php
app/Entities/Tools/Cloner.php
app/Http/Controllers/ChapterController.php
resources/lang/en/entities.php
resources/views/chapters/copy.blade.php [new file with mode: 0644]
resources/views/chapters/show.blade.php
routes/web.php
tests/Entity/ChapterTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.