You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
planka_custom/server/api/controllers
Matthew Stickney 4abaf76ff6 feat: Support alternate storage locations for uploaded files
This involves a couple primary changes:
1) to make Sails' temporary file-upload directory a configurable location
   by using a common file-upload-receiving helper;
2) to create custom static routes for the file-upload locations, so they
   can be outside the application's public directory; and
3) to use the file-uploading handler everywhere that receives files, so
   config for the helper is applied to all file uploads consistently.

This is sufficient to allow the application directory to be deployed read-
only, with writable storage used for file uploads. The new config property
for Sails' temporary upload directory, combined with the existing settings
for user-avatar and background-image locations are sufficient to handle
uploads; the new custom routes handle serving those files from external
locations.

The default behavior of the application should be unchanged, with files
uploaded to, and served from, the public directory if the relevant
config properties aren't set to other values.
1 year ago
..
access-tokens feat: Additional httpOnly token for enhanced security in browsers 1 year ago
actions feat: Toggle actions details, little redesign 3 years ago
attachments feat: Support alternate storage locations for uploaded files 1 year ago
board-memberships feat: Webhooks configuration, all events support, refactoring 2 years ago
boards feat: Support alternate storage locations for uploaded files 1 year ago
card-labels feat: Webhooks configuration, all events support, refactoring 2 years ago
card-memberships feat: Webhooks configuration, all events support, refactoring 2 years ago
cards fix: Fix styles, refactoring 1 year ago
comment-actions feat: Webhooks configuration, all events support, refactoring 2 years ago
labels feat: Webhooks configuration, all events support, refactoring 2 years ago
lists feat: Webhooks configuration, all events support, refactoring 2 years ago
notifications feat: Webhooks configuration, all events support, refactoring 2 years ago
project-managers feat: Webhooks configuration, all events support, refactoring 2 years ago
projects feat: Support alternate storage locations for uploaded files 1 year ago
tasks feat: Webhooks configuration, all events support, refactoring 2 years ago
users feat: Support alternate storage locations for uploaded files 1 year ago
.gitkeep Initial commit 6 years ago
show-config.js ref: Refactoring, fix linting 1 year ago