1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-22 06:39:44 +02:00
planka/server/api/helpers/utils
Matthew Stickney 13f0a68523 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.
2024-09-20 14:26:41 -04:00
..
clear-http-only-token-cookie.js feat: Additional httpOnly token for enhanced security in browsers 2024-09-01 09:31:04 +02:00
create-jwt-token.js feat: Additional httpOnly token for enhanced security in browsers 2024-09-01 09:31:04 +02:00
insert-to-positionables.js Project managers, board members, auto-update after reconnection, refactoring 2021-06-24 01:05:22 +05:00
jsonify-record.js feat: Webhooks configuration, all events support, refactoring 2024-06-12 00:51:36 +02:00
map-records.js ref: Remove board types, refactoring 2022-12-26 21:10:50 +01:00
receive-file.js feat: Support alternate storage locations for uploaded files 2024-09-20 14:26:41 -04:00
send-email.js feat: Webhooks configuration, all events support, refactoring 2024-06-12 00:51:36 +02:00
send-google-chat-message.js feat: Google Chat notifications (#867) 2024-09-04 15:33:43 +02:00
send-slack-message.js feat: Webhooks configuration, all events support, refactoring 2024-06-12 00:51:36 +02:00
send-webhooks.js fix: Fix application crashing when webhook is unavailable (#815) 2024-07-15 14:40:33 +02:00
set-http-only-token-cookie.js feat: Additional httpOnly token for enhanced security in browsers 2024-09-01 09:31:04 +02:00
verify-jwt-token.js feat: Additional httpOnly token for enhanced security in browsers 2024-09-01 09:31:04 +02:00