]>
source.dussan.org Git - redmine.git/log
Jean-Philippe Lang [Tue, 29 Nov 2011 19:47:51 +0000 (19:47 +0000)]
Fixed: crypting blank passwords raises an error (#9137).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7985
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 19:36:49 +0000 (19:36 +0000)]
Fixed: version files in Files module cannot be downloaded if issue tracking is disabled (#9055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7984
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:51:39 +0000 (18:51 +0000)]
Prevent fixture files from being deleted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7983
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:32:28 +0000 (18:32 +0000)]
Adds an autoscroll div around time entry list and report (#8809).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7982
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:20:39 +0000 (18:20 +0000)]
Removed useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7981
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:15:27 +0000 (18:15 +0000)]
Removed unused method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7980
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:14:12 +0000 (18:14 +0000)]
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:11:59 +0000 (18:11 +0000)]
Removed a useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 29 Nov 2011 18:11:11 +0000 (18:11 +0000)]
Removed deprecated methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7977
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 22:08:15 +0000 (22:08 +0000)]
Fixed: Wiki section edit escapes pre tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7976
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 21:45:02 +0000 (21:45 +0000)]
Fixed: Wiki section edit escapes code tags inside pre blocks (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7975
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 20:32:12 +0000 (20:32 +0000)]
Removed delete button on enumeration edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7974
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 20:23:57 +0000 (20:23 +0000)]
Removed EnumerationsController#list action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 20:12:03 +0000 (20:12 +0000)]
Adds #current_version? method to wiki content.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 20:04:38 +0000 (20:04 +0000)]
Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 18:11:30 +0000 (18:11 +0000)]
Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version (#9674).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 17:56:50 +0000 (17:56 +0000)]
Fixed: Angle brackets within 'pre' blocks are silently replaced by HTML entities during wiki section-edit (#9673).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7969
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 28 Nov 2011 17:46:21 +0000 (17:46 +0000)]
Adds functional tests for GroupsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7968
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 28 Nov 2011 12:20:37 +0000 (12:20 +0000)]
Rails3: helper: html_safe for robot_exclusion_tag
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7967
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 28 Nov 2011 12:18:53 +0000 (12:18 +0000)]
Rails3: view: html_safe for login user link
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7966
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 28 Nov 2011 05:58:32 +0000 (05:58 +0000)]
pdf: expand relational issues status column width of issue pdf (#5634)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7965
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Mon, 28 Nov 2011 04:40:41 +0000 (04:40 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#9675)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7964
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 22:42:53 +0000 (22:42 +0000)]
Exclude gems from test coverage.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7963
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 21:37:56 +0000 (21:37 +0000)]
Adds test for r7961 fix (#9672).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7962
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 21:30:50 +0000 (21:30 +0000)]
Update MessagesController#quote to match the input id changed in r7682 (#9672).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7961
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 21:11:10 +0000 (21:11 +0000)]
Adds functional tests for CustomFieldsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7960
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 20:27:13 +0000 (20:27 +0000)]
Fixes require path in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7959
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 17:48:22 +0000 (17:48 +0000)]
Adds an explicit message for when reposman gets a 403.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7958
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 17:42:19 +0000 (17:42 +0000)]
Adds an option to reposman for reading the API key from a file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7957
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 17:30:28 +0000 (17:30 +0000)]
Do not include extra_info attribute in SysController responses because it breaks reposman activeresource client (#8707).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7956
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 17:21:00 +0000 (17:21 +0000)]
Set format for activeresource client in reposman.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7955
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 16:40:42 +0000 (16:40 +0000)]
Adds an option to rdm-mailhandler for reading the API key from a file (#4976).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7954
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 16:25:21 +0000 (16:25 +0000)]
Adds an option to rdm-mailhandler to disable server certificate verification (#9496).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7953
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 15:27:14 +0000 (15:27 +0000)]
Improved user creation from incoming email.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7952
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 12:14:45 +0000 (12:14 +0000)]
add tests to export time entry csv in French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7951
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 12:14:20 +0000 (12:14 +0000)]
fix csv decimal separator of time entry csv (#8368)
Contributed by Francisco José MartÃnez.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7950
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 12:09:11 +0000 (12:09 +0000)]
add csv separator check to the test to export time entry csv in Traditional Chinese (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7949
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 11:16:47 +0000 (11:16 +0000)]
Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 10:53:08 +0000 (10:53 +0000)]
fix time entry csv last line encoding (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7947
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 10:47:36 +0000 (10:47 +0000)]
Adds routes for group users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 27 Nov 2011 10:44:58 +0000 (10:44 +0000)]
Replaced error_messages_for with #error_messages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7945
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 10:02:31 +0000 (10:02 +0000)]
add tests to export time log csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7944
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 10:00:04 +0000 (10:00 +0000)]
add tests to export issues csv in Traditional Chinese and French for csv separator (#8368)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7943
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 08:34:32 +0000 (08:34 +0000)]
Bulgarian translation updated by Ivan Cenov (#9671)
Added:
* error_attachment_too_big
Changed:
* setting_wiki_compression
* setting_feeds_limit
* setting_autofetch_changesets
* setting_display_subprojects_issues
* setting_diff_max_lines_displayed
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7942
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 08:25:12 +0000 (08:25 +0000)]
backout r6356: HTML escape of app/helpers/timelog_helper.rb
When export time entry csv, "undefined method `h'" error raises.
HTML escapes in view.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7941
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sun, 27 Nov 2011 02:26:36 +0000 (02:26 +0000)]
cover the issues pdf test in English and CJK locales
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7940
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 17:56:52 +0000 (17:56 +0000)]
View cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7939
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 17:37:20 +0000 (17:37 +0000)]
Sort the issue list by author/assignee according to user display format (#9669).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7938
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 14:55:24 +0000 (14:55 +0000)]
Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7937
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 14:53:52 +0000 (14:53 +0000)]
Version routes cleanup in views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7936
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 14:49:29 +0000 (14:49 +0000)]
Adds icon on new item links in project settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7935
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 14:32:03 +0000 (14:32 +0000)]
Locales updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7934
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 14:23:03 +0000 (14:23 +0000)]
Locales updates.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7933
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 13:57:22 +0000 (13:57 +0000)]
Set style for tips in forms.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7932
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 13:33:19 +0000 (13:33 +0000)]
CSS class for modal box buttons.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7931
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 12:13:05 +0000 (12:13 +0000)]
Removed non standard values for "white-space" CSS property.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7930
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 26 Nov 2011 12:09:13 +0000 (12:09 +0000)]
Removed non standard "filter" CSS property.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7929
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Sat, 26 Nov 2011 01:39:20 +0000 (01:39 +0000)]
Ruby 1.9: fix TabularFormBuilder to show "translation missing: en, field_lock_version" (#6853, #4050)
Contributed by Moritz Breit.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7928
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 25 Nov 2011 23:15:55 +0000 (23:15 +0000)]
Ruby 1.9: fix encoding error on wiki diffs (#4050)
WikiDiff#to_html returns a string with ASCII encoding if
the WikiJournal content has been Zlib compressed because
Zlib::Inflate.inflate returns strings with ASCII encoding.
Forcing the encoding to be UTF8 fixes this bug.
Contributed by Moritz Breit.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7927
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 25 Nov 2011 22:32:07 +0000 (22:32 +0000)]
Check attachment size when the user selects a file (#9667).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7926
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 25 Nov 2011 22:00:28 +0000 (22:00 +0000)]
Reduces vertical spacing between form fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7925
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 25 Nov 2011 21:58:09 +0000 (21:58 +0000)]
Fixed: log time form not displayed on issue edit with :log_time permission only (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7924
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Fri, 25 Nov 2011 18:13:31 +0000 (18:13 +0000)]
Adds ids on rows in auth_sources/index view (#9659).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7923
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 21:31:21 +0000 (21:31 +0000)]
Fixed time entries context menu display according permissions (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7922
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 21:21:15 +0000 (21:21 +0000)]
Fixed that :edit_time_entries permission allows creating time entries (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7921
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 21:16:44 +0000 (21:16 +0000)]
Fixed that :view_time_entries permission allows time entry editing (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7920
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 20:58:12 +0000 (20:58 +0000)]
Use document project when formatting text on documents index (#9448).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7919
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 20:39:24 +0000 (20:39 +0000)]
Use user's time zone when logging time while editing ticket (#9619).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7918
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Thu, 24 Nov 2011 20:17:56 +0000 (20:17 +0000)]
Limit the characters stripped by Attachment#sanitize_filename (#4324).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7917
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Thu, 24 Nov 2011 19:47:36 +0000 (19:47 +0000)]
Html safe wiki page title.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7916
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 24 Nov 2011 11:12:00 +0000 (11:12 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 11:11:36 +0000 (11:11 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 11:11:01 +0000 (11:11 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 09:43:01 +0000 (09:43 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 08:10:41 +0000 (08:10 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 05:52:24 +0000 (05:52 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 05:51:39 +0000 (05:51 +0000)]
add missing fixtures at unit attachment test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7909
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 24 Nov 2011 05:31:29 +0000 (05:31 +0000)]
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
Toshi MARUYAMA [Thu, 24 Nov 2011 03:34:57 +0000 (03:34 +0000)]
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
Jean-Philippe Lang [Wed, 23 Nov 2011 20:48:20 +0000 (20:48 +0000)]
Fixed stub.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7906
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 20:21:10 +0000 (20:21 +0000)]
Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7905
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 20:09:57 +0000 (20:09 +0000)]
Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 19:58:21 +0000 (19:58 +0000)]
error_messages_for removed in Rails 3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7903
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 19:46:49 +0000 (19:46 +0000)]
Removed useless :lang option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7902
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 19:46:19 +0000 (19:46 +0000)]
Removed useless :lang option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7901
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 19:44:46 +0000 (19:44 +0000)]
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
Jean-Philippe Lang [Wed, 23 Nov 2011 19:02:50 +0000 (19:02 +0000)]
Prevent clash with Rails 3 Query module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7899
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 19:00:54 +0000 (19:00 +0000)]
Do not use .merge_conditions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7898
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 18:32:21 +0000 (18:32 +0000)]
Do not use instance variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7897
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 18:28:11 +0000 (18:28 +0000)]
Use controller instead of instance variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7896
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Wed, 23 Nov 2011 18:25:30 +0000 (18:25 +0000)]
Initialize @childrenHash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7895
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Etienne Massip [Wed, 23 Nov 2011 17:22:20 +0000 (17:22 +0000)]
Added pt-BR translation for #2269.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7894
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Wed, 23 Nov 2011 16:38:27 +0000 (16:38 +0000)]
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
Toshi MARUYAMA [Wed, 23 Nov 2011 14:42:32 +0000 (14:42 +0000)]
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
Toshi MARUYAMA [Wed, 23 Nov 2011 05:30:53 +0000 (05:30 +0000)]
fix inconsistent image filename extensions (#9638)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 22 Nov 2011 22:04:07 +0000 (22:04 +0000)]
Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 22 Nov 2011 21:43:11 +0000 (21:43 +0000)]
User forms cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7889
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 22 Nov 2011 21:32:45 +0000 (21:32 +0000)]
Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 22 Nov 2011 20:57:20 +0000 (20:57 +0000)]
Strings as html safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 22 Nov 2011 20:54:51 +0000 (20:54 +0000)]
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