]> BookStack Code Mirror - bookstack/commit
Added the ability to replace existing image files
authorDan Brown <redacted>
Sun, 28 May 2023 16:32:22 +0000 (17:32 +0100)
committerDan Brown <redacted>
Sun, 28 May 2023 16:32:22 +0000 (17:32 +0100)
commite3c4a9d167af8a92b288bcc100347d52bff102bc
treeeed273e94dabc45cd0467553ec4d8700166a7990
parent9ff7c97911fb274f94d5d9cb9be2fbd0f8299785
Added the ability to replace existing image files

- Updated UI with image form dropdown containing delete and replace
  image actions.
- Adds new endpoint and service/repo handling for replacing existing
  image.
- Includes tests to cover.
app/Uploads/Controllers/ImageController.php
app/Uploads/ImageRepo.php
app/Uploads/ImageService.php
lang/en/components.php
lang/en/errors.php
resources/js/components/dropzone.js
resources/sass/_lists.scss
resources/views/pages/parts/image-manager-form.blade.php
routes/web.php
tests/Uploads/ImageTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.