1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 20:59:38 +00:00

6516 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang
99a714e39b Prevent clash with Rails 5.1 Mailer class.
git-svn-id: http://svn.redmine.org/redmine/trunk@16600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:20:20 +00:00
Jean-Philippe Lang
1870a2e4fb 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
2017-06-03 08:10:20 +00:00
Jean-Philippe Lang
58dc4455cb AR uniq deprecated in Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:07:47 +00:00
Jean-Philippe Lang
44c748f968 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
2017-06-03 08:04:13 +00:00
Jean-Philippe Lang
f6defca16d redirect_to :back deprecated in Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 07:51:48 +00:00
Jean-Philippe Lang
1adeaa7aa7 Use query parameters intead of params in CSV link.
git-svn-id: http://svn.redmine.org/redmine/trunk@16594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 21:28:12 +00:00
Jean-Philippe Lang
42d3f7e504 Use JSON instead of XML for reposman.rb.
git-svn-id: http://svn.redmine.org/redmine/trunk@16591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 20:09:08 +00:00
Jean-Philippe Lang
dd92a53b14 Use #safe_attributes= instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 19:56:13 +00:00
Jean-Philippe Lang
c6bf632945 Use #skip_after_action instead of #skip_after_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@16589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 18:29:18 +00:00