]> BookStack Code Mirror - bookstack/commit
Added ability to secure images behind auth 665/head
authorDan Brown <redacted>
Sat, 13 Jan 2018 11:11:23 +0000 (11:11 +0000)
committerDan Brown <redacted>
Sat, 13 Jan 2018 11:11:23 +0000 (11:11 +0000)
commit0afa417b0a9f1648e3c400f341ffa14c8b96599d
tree43d97d343ba260d0c22d907f384d326c1faec0b8
parent6988a6ff88a939a1161cb809f8157af4827c4d70
Added ability to secure images behind auth

Still in testing.
Adds STORAGE_TYPE=local_secure option for setting images to be behind
auth. Stores images alongside attachments in /storage/uploads/images.
app/Http/Controllers/ImageController.php
app/Repos/ImageRepo.php
app/Services/AttachmentService.php
app/Services/ImageService.php
app/Services/UploadService.php
config/filesystems.php
routes/web.php
storage/uploads/images/.gitignore [new file with mode: 0755]