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
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
..
api feat: Support alternate storage locations for uploaded files 1 year ago
config feat: Support alternate storage locations for uploaded files 1 year ago
db feat: Additional httpOnly token for enhanced security in browsers 1 year ago
private/attachments feat: Remove attachments from public access 4 years ago
public feat: Remove attachments from public access 4 years ago
test feat: Modify logger to log to file that supports fail2ban (#284) 3 years ago
utils feat: Make logfile location customizable 1 year ago
views Docker, update readme, update dependencies 6 years ago
.editorconfig Initial commit 6 years ago
.env.sample feat: Make logfile location customizable 1 year ago
.eslintignore ref: Ignore public js linting (#278) 3 years ago
.gitignore meta: Fix ignore files for logs 3 years ago
.npmrc Update server scaffold 6 years ago
.sailsrc Docker, update readme, update dependencies 6 years ago
README.md Initial commit 6 years ago
app.js feat: Add gallery for attachments 4 years ago
get-config.js feat: Add gallery for attachments 4 years ago
package-lock.json feat: Support alternate storage locations for uploaded files 1 year ago
package.json feat: Support alternate storage locations for uploaded files 1 year ago

README.md

Planka server