mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
Download all attachments at once (#7056).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19601 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -214,6 +214,7 @@ en:
|
||||
error_unable_delete_issue_status: 'Unable to delete issue status (%{value})'
|
||||
error_unable_to_connect: "Unable to connect (%{value})"
|
||||
error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
|
||||
error_bulk_download_size_too_big: "These attachments cannot be bulk downloaded because the total file size exceeds the maximum allowed size (%{max_size})"
|
||||
error_session_expired: "Your session has expired. Please login again."
|
||||
error_token_expired: "This password recovery link has expired, please try again."
|
||||
warning_attachments_not_saved: "%{count} file(s) could not be saved."
|
||||
@@ -401,6 +402,7 @@ en:
|
||||
setting_self_registration: Self-registration
|
||||
setting_show_custom_fields_on_registration: Show custom fields on registration
|
||||
setting_attachment_max_size: Maximum attachment size
|
||||
setting_bulk_download_max_size: Maximum total size for bulk download
|
||||
setting_issues_export_limit: Issues export limit
|
||||
setting_mail_from: Emission email address
|
||||
setting_bcc_recipients: Blind carbon copy recipients (bcc)
|
||||
@@ -1018,6 +1020,7 @@ en:
|
||||
label_users_visibility_all: All active users
|
||||
label_users_visibility_members_of_visible_projects: Members of visible projects
|
||||
label_edit_attachments: Edit attached files
|
||||
label_download_all_attachments: Download all files
|
||||
label_link_copied_issue: Link copied issue
|
||||
label_ask: Ask
|
||||
label_search_attachments_yes: Search attachment filenames and descriptions
|
||||
|
||||
@@ -289,6 +289,7 @@ Rails.application.routes.draw do
|
||||
resources :attachments, :only => [:show, :update, :destroy]
|
||||
get 'attachments/:object_type/:object_id/edit', :to => 'attachments#edit_all', :as => :object_attachments_edit
|
||||
patch 'attachments/:object_type/:object_id', :to => 'attachments#update_all', :as => :object_attachments
|
||||
get 'attachments/:object_type/:object_id/download', :to => 'attachments#download_all', :as => :object_attachments_download
|
||||
|
||||
resources :groups do
|
||||
resources :memberships, :controller => 'principal_memberships'
|
||||
|
||||
@@ -66,6 +66,9 @@ session_timeout:
|
||||
attachment_max_size:
|
||||
format: int
|
||||
default: 5120
|
||||
bulk_download_max_size:
|
||||
format: int
|
||||
default: 102400
|
||||
attachment_extensions_allowed:
|
||||
default:
|
||||
attachment_extensions_denied:
|
||||
|
||||
Reference in New Issue
Block a user