Commit Graph

19 Commits (4abaf76ff621a3c37413164f437abf8929c7a5d5)

Author SHA1 Message Date
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
Maël Gangloff 8fd0f682d9
feat: Google Chat notifications (#867) 1 year ago
Maksim Eltyshev 9699fbe76a feat: Additional httpOnly token for enhanced security in browsers 1 year ago
Αλέξανδρος 6052f8999f
fix: Fix application crashing when webhook is unavailable (#815) 1 year ago
HannesOberreiter ba178d66fa
docs: Add types to webhook function (#796) 2 years ago
HannesOberreiter 270ce29f87
feat: Add custom user agent with base url to webhook (#799) 2 years ago
HannesOberreiter de1ed3c784
ref: Define all possible event types in webhook module (#795) 2 years ago
Maksim Eltyshev c065566c15 feat: Webhooks configuration, all events support, refactoring 2 years ago
HannesOberreiter 3779bdb053
feat: Events via webhook (#771)
Closes #215, closes #656
2 years ago
Maksim Eltyshev 8a8c1fee0c fix: Fix error output when sending email or message to Slack 2 years ago
Matthieu Bollot 2f3dfe775e
feat: Slack bot notifications (#676) 2 years ago
Edouard 9f0fce098e
feat: SMTP integration and email notifications (#631) 2 years ago
Maksim Eltyshev 6ffa817b53 ref: Remove board types, refactoring 3 years ago
Maksim Eltyshev 8109936ce2 feat: Invalidate access token on logout 3 years ago
Maksim Eltyshev cece2254d7 fix: Change mechanics of file uploading 3 years ago
SimonTagne 7786533a90
feat: Improve security of access tokens (#279)
Closes #275
3 years ago
Maksim Eltyshev 3714bbc06f ref: Refactoring 3 years ago
Maksim Eltyshev 6268ced4cb ref: Collapse image data into one column 4 years ago
Maksim Eltyshev b39119ace4 Project managers, board members, auto-update after reconnection, refactoring 5 years ago