Toshi MARUYAMA
b200fcfdae
pdf: add the new feature to include attachment images ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:12:00 +00:00
Toshi MARUYAMA
81bbb8f9b8
pdf: lib: prepare to use rfpdf plug-in rmagick feature ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:36 +00:00
Toshi MARUYAMA
1b4fc4aee8
pdf: lib: add "attachments" parameter at RDMwriteHTMLCell method ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:01 +00:00
Toshi MARUYAMA
f936b7b5a4
pdf: lib: add the method to return attachment from filename and encoding ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Toshi MARUYAMA
be29227c12
reset Attachment.storage_path at the end of attachment tests
...
Attachment files are deleted when database data were deleted.
So, other tests fail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 08:10:41 +00:00
Toshi MARUYAMA
4e83057e76
code layout clean up test/unit/helpers/application_helper_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:52:24 +00:00
Toshi MARUYAMA
7120496629
add missing fixtures at unit attachment test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:51:39 +00:00
Toshi MARUYAMA
564321b2d5
move logic to use latest image file attachment to class method for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:31:29 +00:00
Toshi MARUYAMA
627dfd80b6
add unit application helper test to use latest image file ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 03:34:57 +00:00
Jean-Philippe Lang
7bae592e62
Fixed stub.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:48:20 +00:00
Jean-Philippe Lang
05f3bb6241
Removed object name from form_for arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:21:10 +00:00
Jean-Philippe Lang
3e0936606e
Removed object name from form_for arguments.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:09:57 +00:00
Jean-Philippe Lang
8b7de1e400
error_messages_for removed in Rails 3.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:58:21 +00:00
Jean-Philippe Lang
45f4fdbaf0
Removed useless :lang option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:46:49 +00:00
Jean-Philippe Lang
2f1141d765
Removed useless :lang option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:46:19 +00:00
Jean-Philippe Lang
c4540c799f
Makes labelled_tabular_form_for accept different signatures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:44:46 +00:00
Jean-Philippe Lang
3adc1c3192
Prevent clash with Rails 3 Query module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:02:50 +00:00
Jean-Philippe Lang
3d23c42fc0
Do not use .merge_conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:00:54 +00:00
Jean-Philippe Lang
2081730f42
Do not use instance variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:32:21 +00:00
Jean-Philippe Lang
a756103b10
Use controller instead of instance variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:28:11 +00:00
Jean-Philippe Lang
4f907d5c9e
Initialize @childrenHash.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 18:25:30 +00:00
Etienne Massip
22c92f5553
Added pt-BR translation for #2269 .
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 17:22:20 +00:00
Toshi MARUYAMA
1a576be384
pdf: lib: remove unused "include Redmine::I18n" from RDMPdfEncoding class
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 16:38:27 +00:00
Toshi MARUYAMA
b8b2c1cce4
use temporary attachments directory in unit attachment test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 14:42:32 +00:00
Toshi MARUYAMA
9be9c5f565
fix inconsistent image filename extensions ( #9638 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang
68f3e91bd7
Resourcified issue statuses.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang
35e8f0d25d
User forms cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:43:11 +00:00
Jean-Philippe Lang
6577f37fc3
Resourcified trackers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang
33f7f5a00d
Strings as html safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:57:20 +00:00
Jean-Philippe Lang
9fa6b26350
before_validation_on_create callback removed in Rails 3.1.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:54:51 +00:00
Toshi MARUYAMA
8a8162c743
attachment: add missing diff type at functional tests ( #2371 , #9612 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 00:08:02 +00:00
Toshi MARUYAMA
a130359856
remove trailing white-spaces from config/locales/bg.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-21 03:58:09 +00:00
Toshi MARUYAMA
e67035c2d5
Bulgarian translation updated by Ivan Cenov ( #9615 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-21 03:57:40 +00:00
Jean-Philippe Lang
34c73c7573
REST API for issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang
6f4fb8b892
Resourcified issue categories ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang
30556f8cbf
Makes issue categories available in project REST API ( #9553 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:55:44 +00:00
Toshi MARUYAMA
95c172dab3
remove unused Iconv from issues helper "issues_to_csv" method ( #4742 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:47:33 +00:00
Jean-Philippe Lang
248b725875
Adds API response to /issue_statuses to get the list of all available statuses ( #7180 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang
053adaef52
Adds API response to /trackers to get the list of all available trackers ( #7181 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang
8b5b928b92
Do not show the paragraph if no message is set.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:07:22 +00:00
Jean-Philippe Lang
0a38f329f8
French translation updated.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:34:07 +00:00
Jean-Philippe Lang
ca300ccdea
Adds a dialog box for CSV export options ( #4742 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Toshi MARUYAMA
617cb8d270
attachment: update a functional test to switch "side by side" and "inline" for ISO-8859-1 patches ( #2371 , #9612 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:17:08 +00:00
Jean-Philippe Lang
668184e520
Removed useless return false; statement.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:07:46 +00:00
Toshi MARUYAMA
fb75372b86
scm: attachment: remove "to_utf8" methods from helpers ( #2371 )
...
It is confusing that same name methods are in several helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:04:11 +00:00
Toshi MARUYAMA
5c85898227
update Japanese translation of attachments and repositories encodings setting label ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:48:38 +00:00
Toshi MARUYAMA
f3b6e69c1a
attachment: move repositories encodings setting to the general tab and update the label ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:48:13 +00:00
Toshi MARUYAMA
c1ed67c741
attachment: add a functional test to show an ISO-8859-1 content file ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:45 +00:00
Toshi MARUYAMA
c6191cdc82
attachment: add a functional test to show an ISO-8859-1 patch ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:47:19 +00:00
Toshi MARUYAMA
77710ece26
attachment: use repositories setting to convert contents character encoding ( #2371 )
...
This commit results replacing invalid encoding instead to stripping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +00:00