summaryrefslogtreecommitdiff
path: root/lib/backup/uploads.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets2015-02-191-28/+12
| | | | This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
* Fix broken access control and refactor avatar uploadHannes Rosenögger2015-02-161-12/+28
| | | | | | | | | | | This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.
* Support symlinked public/uploads for backp restoreJacob Vosmaer2014-02-261-2/+3
| | | | | | | The backup restore code moves any existing uploads directory out of the way before restoring the copy from the backup. If public/uploads was a symlink, this move would replace the symlink. This commit avoids this issue by first resolving any symlinks in the uploads path.
* Remove Bourne shell from backup codeJacob Vosmaer2013-11-061-1/+1
|
* clarify restoreBen Bodenmiller2013-05-271-2/+6
|
* backup/restore uploadsDmitriy Zaporozhets2013-04-101-0/+25