Feature #1236

Make destination folder for attachment uploads configurable

Added by Laradji nacer over 9 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2008-05-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:1.2.0
Resolution:Fixed

Description

By default the attachments are in the files folder under the redmine app.

It will be great if we can set a folder outside the redmine folder.

Because when you make a new .war of redmine for running a re-deploy on a jruby app server it will override the files folder and you will lose all your files.

redmine-attachment-storage-path-0.7.0.patch Magnifier (2.84 KB) Carl Nygard, 2008-05-15 15:53


Related issues

Related to Redmine - Feature #7408: Add an application configuration file Closed 2011-01-22
Duplicated by Redmine - Feature #4493: Make destination folder for attachment uploads configurable Closed 2009-12-28
Duplicated by Redmine - Feature #2231: Ability to specify where files are stored on the filesystem Closed 2008-11-26
Duplicated by Redmine - Feature #7046: User should be able to specify path for files directory Closed 2010-12-04
Duplicated by Redmine - Feature #7957: Customizable location of {installdir}\files Closed 2011-03-22
Duplicated by Redmine - Patch #1511: Configurable location for attachment storage Closed 2008-06-20

Associated revisions

Revision 4755
Added by Jean-Philippe Lang almost 7 years ago

Makes the folder for attachments storage configurable in config/configuration.yml (#1236).

History

#1 Updated by Carl Nygard over 9 years ago

Just realized I never submitted this feature request, even though I had a patch ready to go. This worked in 0.6.4, and should work in 0.7.0. However, please test carefully.

#2 Updated by Laradji nacer over 9 years ago

It is possible to add this patch to the 7.2 branch ?

#3 Updated by Mischa The Evil almost 8 years ago

  • Subject changed from Can configure where to store the download document to Make destination folder for attachment uploads configurable

#4 Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0
  • Resolution set to Fixed

r4755 makes this folder configurable in the application configuration file (see #7408).

Also available in: Atom PDF