]> BookStack Code Mirror - bookstack/commit
Started work on hierachy conversion actions
authorDan Brown <redacted>
Mon, 13 Jun 2022 16:20:21 +0000 (17:20 +0100)
committerDan Brown <redacted>
Mon, 13 Jun 2022 16:20:21 +0000 (17:20 +0100)
commitd676e1e824e0377cfcb1736dd1ff622e383d8d02
tree395a4068e7327770dc00745d1df6708ccc47ee5b
parent0a05119aa59ba59c81f357ffce381293c9312412
Started work on hierachy conversion actions

- Updates book/shelf cover image handling for easier cloning/handling.
- Adds core logic for promoting books/chapters up a level.
- Enables usage of book/shelf cover image via API.

Related to #1087
app/Entities/Repos/BookRepo.php
app/Entities/Repos/BookshelfRepo.php
app/Entities/Tools/Cloner.php
app/Entities/Tools/HierarchyTransformer.php [new file with mode: 0644]
app/Entities/Tools/TrashCan.php
app/Http/Controllers/Api/BookApiController.php
app/Http/Controllers/Api/BookshelfApiController.php
app/Http/Controllers/BookController.php
app/Http/Controllers/BookshelfController.php
tests/OpenGraphTest.php