Toshi MARUYAMA
fdf6e8547b
attachment: add a functional test to show invalid UTF-8 text file ( #2371 )
...
Stripping invalid UTF-8 is Redmine 1.2 behaviour.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:01:40 +00:00
Toshi MARUYAMA
67bc801abc
attachment: add a functional test to show UTF-8 text file ( #2371 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:00:30 +00:00
Toshi MARUYAMA
eb498a86ac
fix malformed issues csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA
dde0de8cc5
add functional test to export issue csv encoded in Big5 on Traditional Chinese locale ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 13:49:40 +00:00
Toshi MARUYAMA
4a3581c748
fix malformed time entry report csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA
4b5d50e40a
fix malformed time log csv encoding in case of unable to convert ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA
8433bbab69
move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA
d2811171fd
code layout clean up test/functional/attachments_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:42 +00:00
Toshi MARUYAMA
b58d029294
code layout clean up lib/redmine/export/pdf.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:02 +00:00
Jean-Philippe Lang
36728d779d
Adds an option to force nested set rebuild ( #9577 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:58:43 +00:00
Jean-Philippe Lang
594074d91b
Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, introduced by r5286 ( #9577 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:55:21 +00:00
Jean-Philippe Lang
2beeae00a2
Reverted r7808 ( #9566 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 18:02:10 +00:00
Toshi MARUYAMA
36afbc41b6
add functional test to export time log csv encoded in Big5 on Traditional Chinese locale ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 10:06:01 +00:00
Toshi MARUYAMA
95ef931048
add functional test to export time entry report csv encoded in Big5 on Traditional Chinese locale ( #8549 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 06:06:47 +00:00
Toshi MARUYAMA
9a93bd1484
move Changeset#to_utf8 logic to lib/redmine/codeset_util.rb for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 23:04:45 +00:00
Jean-Philippe Lang
38089d9a56
Fixed: Redmine.pm potential security issue with cache credential enabled and subversion ( #9567 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 22:11:24 +00:00
Jean-Philippe Lang
26125be6b1
Fixed: Redmine.pm considers all projects private when login_required is enabled ( #9566 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 21:40:05 +00:00
Jean-Philippe Lang
7afb775286
Additional tests for email From header ( #9564 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 20:10:06 +00:00
Toshi MARUYAMA
6cd33a4815
improve rmagick feature of rfpdf plugin for PDF inline images ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 07:52:03 +00:00
Jean-Philippe Lang
f953426935
Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" ( #9534 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang
b170a40ed4
Adds a method to clear the settings cache.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Toshi MARUYAMA
3511292a17
Ruby 1.9: add "encoding: utf-8" header at application_helper.rb
...
Following error raises in case that time log has non ASCII comments.
<pre>
ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
on line #5 of app/views/timelog/index.html.erb:
3: </div>
4:
5: <%= render_timelog_breadcrumb %>
6:
7: <h2><%= l(:label_spent_time) %></h2>
app/helpers/application_helper.rb:407:in `join'
app/helpers/application_helper.rb:407:in `breadcrumb'
app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'
app/views/timelog/index.html.erb:5
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 13:56:20 +00:00
Toshi MARUYAMA
c54b33ddca
Ruby 1.9: fix tests error due to require path at test/test_helper.rb
...
Following error raises.
<pre>
/home/xxxxxx/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in `==':
undefined method `name' for "actionmailer":String (NoMethodError)
...
from /REDMINE-1/hg-workdir/redmine-bb-all/test/test_helper.rb:19:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from test/unit/changeset_test.rb:20:in `<main>'
</pre>
Moreover, in order to run tests on Ruby 1.9.2, Rails needs to be 2.3.14.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 11:47:08 +00:00
Toshi MARUYAMA
b4f935bdfe
Simplified Chinese translation for trunk updated by Steven Wong ( #9558 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 05:04:13 +00:00
Toshi MARUYAMA
d517310a7d
Simplified Chinese "text_git_repository_note" translation updated by Steven Wong ( #9558 , #9129 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 05:03:25 +00:00
Toshi MARUYAMA
4769b5957d
Simplified Chinese translation for 1.2.2 updated by Steven Wong ( #9558 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 05:02:37 +00:00
Toshi MARUYAMA
e3499203e6
Simplified Chinese translation changed by Steven Wong ( #9558 )
...
* field_due_date
* permission_rename_wiki_pages
* button_rename
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 05:01:51 +00:00
Toshi MARUYAMA
a562226506
Ruby 1.9: fix parsing error of sl.yml with psych yaml library ( #8847 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 04:17:40 +00:00
Toshi MARUYAMA
2bc6b36e38
remove trailing white-spaces from scm.css
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 01:40:29 +00:00
Toshi MARUYAMA
ecb3d73244
code layout clean up application.css
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 01:39:52 +00:00
Toshi MARUYAMA
f23e589e3e
remove trailing white-spaces from application.css
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 01:38:55 +00:00
Toshi MARUYAMA
19fc985daa
pdf: add subtasks and related issues at issue pdf ( #5634 )
...
Contributed by Bernhard Furtmueller and Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:18:02 +00:00
Toshi MARUYAMA
c57a0842d6
pdf: add ancestor issues at head of issue pdf ( #5634 )
...
Contributed by Bernhard Furtmueller and Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:35 +00:00
Toshi MARUYAMA
105f30c93f
pdf: add logger at vendor/plugins/rfpdf/lib/tcpdf.rb ( #3261 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:06 +00:00
Toshi MARUYAMA
c4d9c29de9
pdf: remove unused "require 'rfpdf/fpdf'" ( #8312 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:16:26 +00:00
Toshi MARUYAMA
e1d71c7968
code layout clean up test_report_csv_export of test/functional/time_entry_reports_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:35:12 +00:00
Toshi MARUYAMA
b560927d45
code layout clean up test_report_all_projects_csv_export of test/functional/time_entry_reports_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:34:49 +00:00
Jean-Philippe Lang
3da92d7da7
Fixed: copied private queries not visible after project copy ( #9520 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Toshi MARUYAMA
c63ab52201
Rails3: replace deprecated RAILS_DEFAULT_LOGGER at lib/redmine/ciphering.rb ( #9552 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:40:49 +00:00
Jean-Philippe Lang
e9f9927534
Fixed: Error when reading ciphered text from the database without cipher key configured ( #9552 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
Jean-Philippe Lang
981a6223e4
Custom date field accepts invalid dates ( #9394 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +00:00
Jean-Philippe Lang
55b2ca8170
Updates for 1.2.2 release.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:52:55 +00:00
Jean-Philippe Lang
a9fb345f96
Fixed failure introduced in r7772 ( #8615 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:43:05 +00:00
Jean-Philippe Lang
5b37920cce
Fixed: Custom 'version' field don't show shared versions ( #8615 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang
857cf5db38
Fixed: User with groups may not see issues assigned to him or to its groups ( #9478 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +00:00
Toshi MARUYAMA
a920184c83
code layout clean up test/functional/time_entry_reports_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 23:48:58 +00:00
Etienne Massip
fe94c6e102
Use a more accurate (and probably more english) string for @setting_default_issue_start_date_to_creation_date@ label ( #2269 ).
...
Contributed by Mischa The Evil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 20:21:01 +00:00
Toshi MARUYAMA
41bf0a74a5
code layout clean up test/functional/timelog_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 13:44:36 +00:00
Toshi MARUYAMA
9334d29520
pdf: indent subject of subtask ticket in exported issues PDF ( #8617 )
...
Contributed by Hayato Ito.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 10:10:24 +00:00
Toshi MARUYAMA
f1cc1943df
remove trailing white-spaces from db/migrate/20101104182107_add_unique_index_on_members.rb ( #9510 )
...
Contributed by Igor Zubkov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-09 08:47:57 +00:00