]> source.dussan.org Git - redmine.git/log
redmine.git
7 years agoUse regular #authorize method.
Jean-Philippe Lang [Mon, 26 Jun 2017 20:41:12 +0000 (20:41 +0000)]
Use regular #authorize method.

git-svn-id: http://svn.redmine.org/redmine/trunk@16724 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse ApplicationController#find_optional_project instead.
Jean-Philippe Lang [Mon, 26 Jun 2017 19:53:09 +0000 (19:53 +0000)]
Use ApplicationController#find_optional_project instead.

git-svn-id: http://svn.redmine.org/redmine/trunk@16722 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoGlobal News view should not be allowed without permission (#7068).
Jean-Philippe Lang [Mon, 26 Jun 2017 19:49:02 +0000 (19:49 +0000)]
Global News view should not be allowed without permission (#7068).

git-svn-id: http://svn.redmine.org/redmine/trunk@16721 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse ApplicationController#find_optional_project instead.
Jean-Philippe Lang [Mon, 26 Jun 2017 19:40:16 +0000 (19:40 +0000)]
Use ApplicationController#find_optional_project instead.

git-svn-id: http://svn.redmine.org/redmine/trunk@16720 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFixed that time entry queries cannot be saved when issue tracking is disabled (#14790).
Jean-Philippe Lang [Mon, 26 Jun 2017 19:30:36 +0000 (19:30 +0000)]
Fixed that time entry queries cannot be saved when issue tracking is disabled (#14790).

git-svn-id: http://svn.redmine.org/redmine/trunk@16718 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSimplified Chinese translation for trunk updated by Steven Wong (#26261)
Toshi MARUYAMA [Mon, 26 Jun 2017 12:44:03 +0000 (12:44 +0000)]
Simplified Chinese translation for trunk updated by Steven Wong (#26261)

git-svn-id: http://svn.redmine.org/redmine/trunk@16711 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSimplified Chinese translation for 3.4-stable updated by Steven Wong (#26261)
Toshi MARUYAMA [Mon, 26 Jun 2017 12:43:51 +0000 (12:43 +0000)]
Simplified Chinese translation for 3.4-stable updated by Steven Wong (#26261)

git-svn-id: http://svn.redmine.org/redmine/trunk@16710 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSimplified Chinese translation for 3.3-stable updated by Steven Wong (#26261, #26264)
Toshi MARUYAMA [Mon, 26 Jun 2017 12:43:41 +0000 (12:43 +0000)]
Simplified Chinese translation for 3.3-stable updated by Steven Wong (#26261, #26264)

git-svn-id: http://svn.redmine.org/redmine/trunk@16709 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSimplified Chinese translation for 3.2-stable updated by Steven Wong (#26261, #26263)
Toshi MARUYAMA [Mon, 26 Jun 2017 12:43:30 +0000 (12:43 +0000)]
Simplified Chinese translation for 3.2-stable updated by Steven Wong (#26261, #26263)

git-svn-id: http://svn.redmine.org/redmine/trunk@16708 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRefactor "multiple_values_detail" struct creation (#26130).
Jean-Philippe Lang [Sun, 25 Jun 2017 19:24:20 +0000 (19:24 +0000)]
Refactor "multiple_values_detail" struct creation (#26130).

git-svn-id: http://svn.redmine.org/redmine/trunk@16707 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds a specific download icon.
Jean-Philippe Lang [Sun, 25 Jun 2017 15:50:21 +0000 (15:50 +0000)]
Adds a specific download icon.

git-svn-id: http://svn.redmine.org/redmine/trunk@16705 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd test assertions to the four controller test cases (#26125).
Jean-Philippe Lang [Sun, 25 Jun 2017 15:17:21 +0000 (15:17 +0000)]
Add test assertions to the four controller test cases (#26125).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16704 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUnify query_form structure on calendar/gantt views (#26125).
Jean-Philippe Lang [Sun, 25 Jun 2017 15:16:42 +0000 (15:16 +0000)]
Unify query_form structure on calendar/gantt views (#26125).

This:
* moves the p with inline style on the calendar view (which
  wraps the navigation buttons) out of div#query_form_content
  and adds the contextual class to the element to unify this
  with the gantt view (and to remove the inline style from
  the element now that it's styled through a stylesheets'
  style [.contextual in fact]);
* restores the 12px font-size of the calendar navigation
  buttons;
* increases the font-size of the gantt zoom buttons to 12px;
* increases the margin of the calendar navigation and gantt
  zoom buttons to 12px 0px.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16703 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix source indentation and newline usage (#26125).
Jean-Philippe Lang [Sun, 25 Jun 2017 15:16:04 +0000 (15:16 +0000)]
Fix source indentation and newline usage (#26125).

This unifies the source layout of the query form on the calendars/show
and the gantts/show views with the queries/_query_form partial.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16702 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix HTML structure of query_form on calendar/gantt views (#26125).
Jean-Philippe Lang [Sun, 25 Jun 2017 15:15:23 +0000 (15:15 +0000)]
Fix HTML structure of query_form on calendar/gantt views (#26125).

This unifies the HTML structure of the query form on the calendars/show
and gantts/show views to be the same as it is currently for the issues
and spent time views, which were themself unified into the new
queries/_query_form partial in r15649.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16701 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRemoves SVG from libs (#26253).
Jean-Philippe Lang [Sun, 25 Jun 2017 13:51:57 +0000 (13:51 +0000)]
Removes SVG from libs (#26253).

git-svn-id: http://svn.redmine.org/redmine/trunk@16700 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRender repository graphs using Chart.js instead of SVG (#26253).
Jean-Philippe Lang [Sun, 25 Jun 2017 13:51:33 +0000 (13:51 +0000)]
Render repository graphs using Chart.js instead of SVG (#26253).

git-svn-id: http://svn.redmine.org/redmine/trunk@16699 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds setting_close_duplicate_issues string to locales (#26192).
Jean-Philippe Lang [Sun, 25 Jun 2017 11:41:32 +0000 (11:41 +0000)]
Adds setting_close_duplicate_issues string to locales (#26192).

git-svn-id: http://svn.redmine.org/redmine/trunk@16698 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSetting to disable automatic closing of duplicates (#26192).
Jean-Philippe Lang [Sun, 25 Jun 2017 11:40:58 +0000 (11:40 +0000)]
Setting to disable automatic closing of duplicates (#26192).

git-svn-id: http://svn.redmine.org/redmine/trunk@16697 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSet version to 3.4.
Jean-Philippe Lang [Sun, 25 Jun 2017 09:20:07 +0000 (09:20 +0000)]
Set version to 3.4.

git-svn-id: http://svn.redmine.org/redmine/trunk@16695 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd code doc for forum & news links (#26188).
Jean-Philippe Lang [Sun, 25 Jun 2017 09:05:52 +0000 (09:05 +0000)]
Add code doc for forum & news links (#26188).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16693 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix code doc indentation (#26188).
Jean-Philippe Lang [Sun, 25 Jun 2017 09:05:21 +0000 (09:05 +0000)]
Fix code doc indentation (#26188).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16692 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd user link documentation (#26188).
Jean-Philippe Lang [Sun, 25 Jun 2017 09:04:52 +0000 (09:04 +0000)]
Add user link documentation (#26188).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16691 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix typo in detailed Japanse textile doc (#26188).
Jean-Philippe Lang [Sun, 25 Jun 2017 09:03:23 +0000 (09:03 +0000)]
Fix typo in detailed Japanse textile doc (#26188).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16690 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoComplement external URL documentation (#21375).
Jean-Philippe Lang [Sun, 25 Jun 2017 09:01:41 +0000 (09:01 +0000)]
Complement external URL documentation (#21375).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16689 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix project jump box text when creating/editing a project (#23310).
Jean-Philippe Lang [Sun, 25 Jun 2017 08:51:53 +0000 (08:51 +0000)]
Fix project jump box text when creating/editing a project (#23310).

git-svn-id: http://svn.redmine.org/redmine/trunk@16687 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUpdate copyright.
Jean-Philippe Lang [Sun, 25 Jun 2017 08:40:31 +0000 (08:40 +0000)]
Update copyright.

git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoadd test of email reminder in case of user language is 'auto' (#26247)
Toshi MARUYAMA [Fri, 23 Jun 2017 16:46:05 +0000 (16:46 +0000)]
add test of email reminder in case of user language is 'auto' (#26247)

git-svn-id: http://svn.redmine.org/redmine/trunk@16682 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agochange Russian translation for "Estimated time" (#26180)
Toshi MARUYAMA [Thu, 22 Jun 2017 13:36:52 +0000 (13:36 +0000)]
change Russian translation for "Estimated time" (#26180)

git-svn-id: http://svn.redmine.org/redmine/trunk@16681 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoJapanese translation updated by Go MAEDA (#26187)
Toshi MARUYAMA [Mon, 19 Jun 2017 05:39:41 +0000 (05:39 +0000)]
Japanese translation updated by Go MAEDA (#26187)

git-svn-id: http://svn.redmine.org/redmine/trunk@16680 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agogenerate i18n keys (#26035)
Toshi MARUYAMA [Mon, 19 Jun 2017 05:39:30 +0000 (05:39 +0000)]
generate i18n keys (#26035)

git-svn-id: http://svn.redmine.org/redmine/trunk@16679 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agocode layout cleanup test/unit/custom_field_test.rb
Toshi MARUYAMA [Mon, 19 Jun 2017 05:38:48 +0000 (05:38 +0000)]
code layout cleanup test/unit/custom_field_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16678 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agocode layout cleanup test/unit/mail_handler_test.rb
Toshi MARUYAMA [Mon, 19 Jun 2017 05:38:36 +0000 (05:38 +0000)]
code layout cleanup test/unit/mail_handler_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16677 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse Nokogiri 1.7.2 if possible (#26183).
Jean-Philippe Lang [Sat, 17 Jun 2017 10:48:32 +0000 (10:48 +0000)]
Use Nokogiri 1.7.2 if possible (#26183).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16676 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRemoves plugins_path from configuration file (#24007).
Jean-Philippe Lang [Sat, 17 Jun 2017 10:40:51 +0000 (10:40 +0000)]
Removes plugins_path from configuration file (#24007).

git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoGerman translation for download (#26035).
Jean-Philippe Lang [Sat, 17 Jun 2017 09:51:57 +0000 (09:51 +0000)]
German translation for download (#26035).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16674 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd download link to no preview message (#26035).
Jean-Philippe Lang [Sat, 17 Jun 2017 09:51:19 +0000 (09:51 +0000)]
Add download link to no preview message (#26035).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16673 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoMove download link to contextual area (#26035).
Jean-Philippe Lang [Sat, 17 Jun 2017 09:49:41 +0000 (09:49 +0000)]
Move download link to contextual area (#26035).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16672 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoLink to user by id (#4179).
Jean-Philippe Lang [Sat, 17 Jun 2017 08:48:23 +0000 (08:48 +0000)]
Link to user by id (#4179).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16671 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRedmine::Plugin.directory is an absolute path (#24007).
Jean-Philippe Lang [Sat, 17 Jun 2017 07:57:58 +0000 (07:57 +0000)]
Redmine::Plugin.directory is an absolute path (#24007).

git-svn-id: http://svn.redmine.org/redmine/trunk@16670 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoReverts r16666 that prevents Redmine to start.
Jean-Philippe Lang [Sat, 17 Jun 2017 07:50:01 +0000 (07:50 +0000)]
Reverts r16666 that prevents Redmine to start.

[!] There was an error parsing `Gemfile`: uninitialized constant Bundler::Dsl::R
edmine. Bundler cannot continue.

git-svn-id: http://svn.redmine.org/redmine/trunk@16669 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRender all possible inline textile images even if an invalid one exists (#26157).
Jean-Philippe Lang [Sat, 17 Jun 2017 07:45:08 +0000 (07:45 +0000)]
Render all possible inline textile images even if an invalid one exists (#26157).

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16668 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRemoves duplicate shell_quote method (#26149).
Jean-Philippe Lang [Sat, 17 Jun 2017 07:42:54 +0000 (07:42 +0000)]
Removes duplicate shell_quote method (#26149).

Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16667 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoChange plugins directory through the configuration.yml file (#24007, #26139).
Jean-Philippe Lang [Sat, 17 Jun 2017 07:31:23 +0000 (07:31 +0000)]
Change plugins directory through the configuration.yml file (#24007, #26139).

Patch by Sho HASHIMOTO

git-svn-id: http://svn.redmine.org/redmine/trunk@16666 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPreview files by default instead of downloading them (#25988).
Jean-Philippe Lang [Sat, 17 Jun 2017 07:28:10 +0000 (07:28 +0000)]
Preview files by default instead of downloading them (#25988).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16665 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoremove trailing white spaces from test/functional/trackers_controller_test.rb
Toshi MARUYAMA [Thu, 15 Jun 2017 04:36:36 +0000 (04:36 +0000)]
remove trailing white spaces from test/functional/trackers_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16664 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agogannt: not show %done if the field is disabled for the tracker (#25876)
Toshi MARUYAMA [Thu, 15 Jun 2017 04:14:58 +0000 (04:14 +0000)]
gannt: not show %done if the field is disabled for the tracker (#25876)

Contributed by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16663 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoJapanese translation updated by Go MAEDA (#26136)
Toshi MARUYAMA [Mon, 12 Jun 2017 04:00:56 +0000 (04:00 +0000)]
Japanese translation updated by Go MAEDA (#26136)

git-svn-id: http://svn.redmine.org/redmine/trunk@16662 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds a test for wiki destroy confirmation.
Jean-Philippe Lang [Sat, 10 Jun 2017 23:55:51 +0000 (23:55 +0000)]
Adds a test for wiki destroy confirmation.

git-svn-id: http://svn.redmine.org/redmine/trunk@16661 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoClean up wiki destroy confirmation message.
Jean-Philippe Lang [Sat, 10 Jun 2017 23:53:06 +0000 (23:53 +0000)]
Clean up wiki destroy confirmation message.

git-svn-id: http://svn.redmine.org/redmine/trunk@16660 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSet inverse_of on project boards association.
Jean-Philippe Lang [Sat, 10 Jun 2017 23:47:15 +0000 (23:47 +0000)]
Set inverse_of on project boards association.

git-svn-id: http://svn.redmine.org/redmine/trunk@16659 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds some margin to issue gravatar (#25775).
Jean-Philippe Lang [Sat, 10 Jun 2017 12:25:11 +0000 (12:25 +0000)]
Adds some margin to issue gravatar (#25775).

git-svn-id: http://svn.redmine.org/redmine/trunk@16658 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRemoves duplicate avatar of assignee (#25775).
Jean-Philippe Lang [Sat, 10 Jun 2017 12:19:24 +0000 (12:19 +0000)]
Removes duplicate avatar of assignee (#25775).

git-svn-id: http://svn.redmine.org/redmine/trunk@16657 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds tests for #25775.
Jean-Philippe Lang [Sat, 10 Jun 2017 12:18:09 +0000 (12:18 +0000)]
Adds tests for #25775.

git-svn-id: http://svn.redmine.org/redmine/trunk@16656 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoShow assignee's icon in addition to author's icon (#25775).
Jean-Philippe Lang [Sat, 10 Jun 2017 12:09:48 +0000 (12:09 +0000)]
Show assignee's icon in addition to author's icon (#25775).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16655 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPlugin directory is configurable (#24007).
Jean-Philippe Lang [Sat, 10 Jun 2017 12:05:26 +0000 (12:05 +0000)]
Plugin directory is configurable (#24007).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16654 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRename a few tests.
Jean-Philippe Lang [Sat, 10 Jun 2017 10:50:06 +0000 (10:50 +0000)]
Rename a few tests.

git-svn-id: http://svn.redmine.org/redmine/trunk@16653 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoHighlight menu item when viewing an attachment (#25988).
Jean-Philippe Lang [Sat, 10 Jun 2017 10:48:34 +0000 (10:48 +0000)]
Highlight menu item when viewing an attachment (#25988).

git-svn-id: http://svn.redmine.org/redmine/trunk@16652 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPreview files by default instead of downloading them (#25988).
Jean-Philippe Lang [Sat, 10 Jun 2017 10:30:59 +0000 (10:30 +0000)]
Preview files by default instead of downloading them (#25988).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16651 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds missing .icon-download CSS class (#25999).
Jean-Philippe Lang [Sat, 10 Jun 2017 08:50:16 +0000 (08:50 +0000)]
Adds missing .icon-download CSS class (#25999).

git-svn-id: http://svn.redmine.org/redmine/trunk@16650 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoStyle links on repository entries as 2nd level tabs (like in settings) (#25999).
Jean-Philippe Lang [Sat, 10 Jun 2017 08:42:53 +0000 (08:42 +0000)]
Style links on repository entries as 2nd level tabs (like in settings) (#25999).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16649 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoMake common/_tabs partial usable without JS partial switching (#25999).
Jean-Philippe Lang [Sat, 10 Jun 2017 08:41:45 +0000 (08:41 +0000)]
Make common/_tabs partial usable without JS partial switching (#25999).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16648 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd download icon to download links on file and repo entry preview (#25999).
Jean-Philippe Lang [Sat, 10 Jun 2017 08:41:07 +0000 (08:41 +0000)]
Add download icon to download links on file and repo entry preview (#25999).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16647 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoView content of repository files by default, instead of its history (#25999).
Jean-Philippe Lang [Sat, 10 Jun 2017 08:40:00 +0000 (08:40 +0000)]
View content of repository files by default, instead of its history (#25999).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16646 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoremove trailing white spaces from test/functional/wiki_controller_test.rb
Toshi MARUYAMA [Sat, 10 Jun 2017 04:55:17 +0000 (04:55 +0000)]
remove trailing white spaces from test/functional/wiki_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16645 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoremove is_binary_data? from String (#25563)
Toshi MARUYAMA [Sat, 10 Jun 2017 04:29:15 +0000 (04:29 +0000)]
remove is_binary_data? from String (#25563)

git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoGenerate markup for uploaded image dropped into wiki-edit textarea (#26071).
Jean-Philippe Lang [Wed, 7 Jun 2017 21:01:45 +0000 (21:01 +0000)]
Generate markup for uploaded image dropped into wiki-edit textarea (#26071).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@16643 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdd table border to email notifications (#25842).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:54:35 +0000 (20:54 +0000)]
Add table border to email notifications (#25842).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16642 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSearch in project and its subprojects by default (#9909).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:50:17 +0000 (20:50 +0000)]
Search in project and its subprojects by default (#9909).

git-svn-id: http://svn.redmine.org/redmine/trunk@16641 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAdds permission_view_news string to locales (#7068).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:26:10 +0000 (20:26 +0000)]
Adds permission_view_news string to locales (#7068).

git-svn-id: http://svn.redmine.org/redmine/trunk@16640 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoNew permission: view news (#7068).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:25:25 +0000 (20:25 +0000)]
New permission: view news (#7068).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFixes wrong condition (#4179).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:21:47 +0000 (20:21 +0000)]
Fixes wrong condition (#4179).

git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoNew Permission: View Forum (#4866).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:20:22 +0000 (20:20 +0000)]
New Permission: View Forum (#4866).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoLink to user in wiki syntax (#4179).
Jean-Philippe Lang [Wed, 7 Jun 2017 20:10:57 +0000 (20:10 +0000)]
Link to user in wiki syntax (#4179).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16636 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoDOn't show time entries when query is invalid (#23912).
Jean-Philippe Lang [Wed, 7 Jun 2017 19:56:22 +0000 (19:56 +0000)]
DOn't show time entries when query is invalid (#23912).

git-svn-id: http://svn.redmine.org/redmine/trunk@16635 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFix edit description link in low resolution (#25064).
Jean-Philippe Lang [Tue, 6 Jun 2017 22:05:31 +0000 (22:05 +0000)]
Fix edit description link in low resolution (#25064).

Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@16627 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoLink to issues assigned to user or his groups (#25212).
Jean-Philippe Lang [Tue, 6 Jun 2017 22:01:09 +0000 (22:01 +0000)]
Link to issues assigned to user or his groups (#25212).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16626 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoTests for Redmine::SyntaxHighlighting::CodeRay.retrieve_supported_languages (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:56:56 +0000 (21:56 +0000)]
Tests for Redmine::SyntaxHighlighting::CodeRay.retrieve_supported_languages (#26055).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16625 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse stored ref. to array holding supported languages symbols via a constant (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:55:57 +0000 (21:55 +0000)]
Use stored ref. to array holding supported languages symbols via a constant (#26055).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16624 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPull-up retrieve_supported_languages private class method (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:55:29 +0000 (21:55 +0000)]
Pull-up retrieve_supported_languages private class method (#26055).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16623 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoRemove internal CodeRay scanners (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:54:55 +0000 (21:54 +0000)]
Remove internal CodeRay scanners (#26055).

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16622 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoSet default assignee before validation (#26072).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:11:37 +0000 (21:11 +0000)]
Set default assignee before validation (#26072).

git-svn-id: http://svn.redmine.org/redmine/trunk@16619 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoFixes typo in safe attributes declaration (#25724).
Jean-Philippe Lang [Tue, 6 Jun 2017 20:48:30 +0000 (20:48 +0000)]
Fixes typo in safe attributes declaration (#25724).

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16615 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoremove trailing white space from test/functional/workflows_controller_test.rb
Toshi MARUYAMA [Tue, 6 Jun 2017 04:57:39 +0000 (04:57 +0000)]
remove trailing white space from test/functional/workflows_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16612 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoGemfile: ping roadie version 3.2 to prevent decadency failure on CI server Ruby 2.1
Toshi MARUYAMA [Tue, 6 Jun 2017 03:41:42 +0000 (03:41 +0000)]
Gemfile: ping roadie version 3.2 to prevent decadency failure on CI server Ruby 2.1

git-svn-id: http://svn.redmine.org/redmine/trunk@16611 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoremove trailing white space from test/unit/project_nested_set_test.rb
Toshi MARUYAMA [Tue, 6 Jun 2017 02:12:24 +0000 (02:12 +0000)]
remove trailing white space from test/unit/project_nested_set_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@16610 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoallow unicode whitespace after mail handler body delimiters (#17718)
Toshi MARUYAMA [Tue, 6 Jun 2017 01:34:52 +0000 (01:34 +0000)]
allow unicode whitespace after mail handler body delimiters (#17718)

Contributed by Holger Just and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16609 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUsing #joins is needed here with Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:22:41 +0000 (09:22 +0000)]
Using #joins is needed here with Rails 5.

git-svn-id: http://svn.redmine.org/redmine/trunk@16608 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:21:27 +0000 (09:21 +0000)]
Don't check that param is a Hash.

git-svn-id: http://svn.redmine.org/redmine/trunk@16607 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:20:58 +0000 (09:20 +0000)]
Don't check that param is a Hash.

git-svn-id: http://svn.redmine.org/redmine/trunk@16606 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPermit role_ids on update.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:52:49 +0000 (08:52 +0000)]
Permit role_ids on update.

git-svn-id: http://svn.redmine.org/redmine/trunk@16605 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoMake sure we can call #values.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:44:29 +0000 (08:44 +0000)]
Make sure we can call #values.

git-svn-id: http://svn.redmine.org/redmine/trunk@16604 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse strong params for CustomFieldEnumeration.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:43:04 +0000 (08:43 +0000)]
Use strong params for CustomFieldEnumeration.

git-svn-id: http://svn.redmine.org/redmine/trunk@16603 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPermit enumeration params.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:36:39 +0000 (08:36 +0000)]
Permit enumeration params.

git-svn-id: http://svn.redmine.org/redmine/trunk@16602 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:30:32 +0000 (08:30 +0000)]
Don't check that param is a Hash.

git-svn-id: http://svn.redmine.org/redmine/trunk@16601 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoPrevent clash with Rails 5.1 Mailer class.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:20:20 +0000 (08:20 +0000)]
Prevent clash with Rails 5.1 Mailer class.

git-svn-id: http://svn.redmine.org/redmine/trunk@16600 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoMake sure that the journal is not created if issue is saved.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:10:20 +0000 (08:10 +0000)]
Make sure that the journal is not created if issue is saved.

git-svn-id: http://svn.redmine.org/redmine/trunk@16599 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoAR uniq deprecated in Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:07:47 +0000 (08:07 +0000)]
AR uniq deprecated in Rails 5.

git-svn-id: http://svn.redmine.org/redmine/trunk@16598 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoUse regular instance methods instead of association extensions.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:04:13 +0000 (08:04 +0000)]
Use regular instance methods instead of association extensions.

Rails 5.1 seems to mess things up in this particular case (role.workflow_rules.copy calls the extension declare in Tracker model).

git-svn-id: http://svn.redmine.org/redmine/trunk@16597 e93f8b46-1217-0410-a6f0-8f06a7374b81

7 years agoredirect_to :back deprecated in Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 07:51:48 +0000 (07:51 +0000)]
redirect_to :back deprecated in Rails 5.

git-svn-id: http://svn.redmine.org/redmine/trunk@16596 e93f8b46-1217-0410-a6f0-8f06a7374b81