Commit Graph

6525 Commits

Author SHA1 Message Date
Jean-Philippe Lang
a628ba7e60 Don't display download button for dir entries (#26350).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-06 16:45:06 +00:00
Toshi MARUYAMA
ff257d05e3 Replace tabs with spaces (#26333).
Patched by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-04 04:00:23 +00:00
Jean-Philippe Lang
c7e32aa202 "attachment:filename" should generate a link to preview instead of download (#26310, #25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 09:54:24 +00:00
Jean-Philippe Lang
2eaabae252 Don't redirect anonymous users to the login form when module is disabled (#26145).
git-svn-id: http://svn.redmine.org/redmine/trunk@16726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 21:04:34 +00:00
Jean-Philippe Lang
310060ff57 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@16725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 20:51:28 +00:00
Jean-Philippe Lang
e7c0e16a3f Use regular #authorize method.
git-svn-id: http://svn.redmine.org/redmine/trunk@16724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 20:41:12 +00:00
Jean-Philippe Lang
339a6212ef Use ApplicationController#find_optional_project instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:53:09 +00:00
Jean-Philippe Lang
b03e03b770 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
2017-06-26 19:49:02 +00:00
Jean-Philippe Lang
d5bec063e7 Use ApplicationController#find_optional_project instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:40:16 +00:00
Jean-Philippe Lang
3f0d5eaf6f Refactor "multiple_values_detail" struct creation (#26130).
git-svn-id: http://svn.redmine.org/redmine/trunk@16707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 19:24:20 +00:00
Jean-Philippe Lang
cb285aeec1 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
2017-06-25 15:16:42 +00:00
Jean-Philippe Lang
136dab8ad6 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
2017-06-25 15:16:04 +00:00
Jean-Philippe Lang
7591a6b6ed 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
2017-06-25 15:15:23 +00:00
Jean-Philippe Lang
5c30876f09 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
2017-06-25 13:51:33 +00:00
Jean-Philippe Lang
dd650c5c26 Setting to disable automatic closing of duplicates (#26192).
git-svn-id: http://svn.redmine.org/redmine/trunk@16697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 11:40:58 +00:00
Jean-Philippe Lang
7dd05eeb29 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
2017-06-25 09:05:52 +00:00
Jean-Philippe Lang
fc7652d803 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
2017-06-25 09:05:21 +00:00
Jean-Philippe Lang
e89cb8829e 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
2017-06-25 08:51:53 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
580b591c57 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
2017-06-17 09:51:19 +00:00
Jean-Philippe Lang
0a9b0dd46c 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
2017-06-17 09:49:41 +00:00
Jean-Philippe Lang
7017874cc9 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
2017-06-17 08:48:23 +00:00
Jean-Philippe Lang
b21af3eaa4 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
2017-06-17 07:28:10 +00:00
Jean-Philippe Lang
c237bcd504 Clean up wiki destroy confirmation message.
git-svn-id: http://svn.redmine.org/redmine/trunk@16660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 23:53:06 +00:00
Jean-Philippe Lang
261292445f Set inverse_of on project boards association.
git-svn-id: http://svn.redmine.org/redmine/trunk@16659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 23:47:15 +00:00
Jean-Philippe Lang
6700706aa4 Removes duplicate avatar of assignee (#25775).
git-svn-id: http://svn.redmine.org/redmine/trunk@16657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 12:19:24 +00:00
Jean-Philippe Lang
8673288483 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
2017-06-10 12:09:48 +00:00
Jean-Philippe Lang
4d4f330b0c Highlight menu item when viewing an attachment (#25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 10:48:34 +00:00
Jean-Philippe Lang
8a3c24762d 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
2017-06-10 10:30:59 +00:00
Jean-Philippe Lang
9ea27ba156 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
2017-06-10 08:42:53 +00:00
Jean-Philippe Lang
f65a30392a 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
2017-06-10 08:41:45 +00:00
Jean-Philippe Lang
e0410e7f39 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
2017-06-10 08:41:07 +00:00
Jean-Philippe Lang
c0daecb52b 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
2017-06-10 08:40:00 +00:00
Toshi MARUYAMA
06babbec7e remove is_binary_data? from String (#25563)
git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 04:29:15 +00:00
Jean-Philippe Lang
43c69c370c 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
2017-06-07 20:54:35 +00:00
Jean-Philippe Lang
744fc25c8b Search in project and its subprojects by default (#9909).
git-svn-id: http://svn.redmine.org/redmine/trunk@16641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:50:17 +00:00
Jean-Philippe Lang
d3f93a2907 Fixes wrong condition (#4179).
git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:21:47 +00:00
Jean-Philippe Lang
f902860955 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
2017-06-07 20:10:57 +00:00
Jean-Philippe Lang
c513037c6e 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
2017-06-07 19:56:22 +00:00
Jean-Philippe Lang
2be3acd669 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
2017-06-06 22:01:09 +00:00
Jean-Philippe Lang
b997f03211 Set default assignee before validation (#26072).
git-svn-id: http://svn.redmine.org/redmine/trunk@16619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:11:37 +00:00
Jean-Philippe Lang
ee0e821cc4 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
2017-06-06 20:48:30 +00:00
Toshi MARUYAMA
8c03f2a6db 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
2017-06-06 01:34:52 +00:00
Jean-Philippe Lang
5b61d56943 Using #joins is needed here with Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 09:22:41 +00:00
Jean-Philippe Lang
09b0c3135c Don't check that param is a Hash.
git-svn-id: http://svn.redmine.org/redmine/trunk@16607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 09:21:27 +00:00
Jean-Philippe Lang
5975bef084 Don't check that param is a Hash.
git-svn-id: http://svn.redmine.org/redmine/trunk@16606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 09:20:58 +00:00
Jean-Philippe Lang
6c2e387bbd Permit role_ids on update.
git-svn-id: http://svn.redmine.org/redmine/trunk@16605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:52:49 +00:00
Jean-Philippe Lang
6ca3e4f75f Use strong params for CustomFieldEnumeration.
git-svn-id: http://svn.redmine.org/redmine/trunk@16603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:43:04 +00:00
Jean-Philippe Lang
b923a54b2d Permit enumeration params.
git-svn-id: http://svn.redmine.org/redmine/trunk@16602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:36:39 +00:00
Jean-Philippe Lang
8e2983dd70 Don't check that param is a Hash.
git-svn-id: http://svn.redmine.org/redmine/trunk@16601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:30:32 +00:00