Commit Graph

13 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
Maksim Eltyshev c065566c15 feat: Webhooks configuration, all events support, refactoring 2 years ago
Maksim Eltyshev 6021d67a00 fix: Subscribe only when needed 3 years ago
Maksim Eltyshev 6ffa817b53 ref: Remove board types, refactoring 3 years ago
Christoph Enne 738ed19e7f
feat: Trello board JSON import (#352)
Closes #27, closes #105
3 years ago
Maksim Eltyshev 3b3bff1b6b fix: Allow to use endpoints via http 4 years ago
Maksim Eltyshev b39119ace4 Project managers, board members, auto-update after reconnection, refactoring 5 years ago
Maksim Eltyshev c6ee7d54bb Prepare for collection board type, refactoring, update dependencies 5 years ago
Maksim Eltyshev 5481ccb91f Add start script for Docker image, pre-commit lint check, package.json scripts cleanup 6 years ago
Maksim Eltyshev af00e3e191 Add username to user 6 years ago
Maksim Eltyshev a11f6260c0 Code formatting with prettier, change eslint config for the server 6 years ago
Maksim Eltyshev e8139b29d5 Change id generation algorithm, display notifications total on the main page 6 years ago
Maksim Eltyshev 5ffef61fe7 Initial commit 6 years ago