Commit Graph

6108 Commits

Author SHA1 Message Date
Jean-Philippe Lang
7dca1a180b Don't check permission to add watchers if no_permission_check option is set (#7017).
git-svn-id: http://svn.redmine.org/redmine/trunk@15093 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 20:05:53 +00:00
Jean-Philippe Lang
91da86a688 Add watchers from To and Cc fields in issue replies (#7017).
git-svn-id: http://svn.redmine.org/redmine/trunk@15092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 20:01:05 +00:00
Jean-Philippe Lang
90159ef1cf Do not bind when the account contains $login (#21674).
git-svn-id: http://svn.redmine.org/redmine/trunk@15090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 18:16:00 +00:00
Jean-Philippe Lang
667071917e Fixed that LDAP does not check the user and password when are defined in the method of authentication (#21674).
Patch by Helder Manuel Torres Vieira.

git-svn-id: http://svn.redmine.org/redmine/trunk@15086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 17:53:33 +00:00
Jean-Philippe Lang
3ffdc863de Removes attachment from disk after rollback on create (#21125).
git-svn-id: http://svn.redmine.org/redmine/trunk@15085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 05:38:55 +00:00
Jean-Philippe Lang
aa490a70b3 Speeds up the custom field edit view when having hundreds of projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@15084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 05:15:45 +00:00
Jean-Philippe Lang
e0fee3bda4 Speeds up the tracker edit view when having hundreds of projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@15083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 05:12:44 +00:00
Jean-Philippe Lang
d276231aca Fixed that % done field is shown on issue show subtree even if deactivated for that tracker (#20988).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 04:56:09 +00:00
Jean-Philippe Lang
6bb1ea8ae8 Use regular edit/update actions and named routes for JournalsController.
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 04:39:56 +00:00
Jean-Philippe Lang
e2a999743e Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@15073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 11:31:41 +00:00
Jean-Philippe Lang
936aceb8f5 Adds a "Delete" button to issue notes (#1725).
git-svn-id: http://svn.redmine.org/redmine/trunk@15072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 11:05:23 +00:00
Jean-Philippe Lang
c860d352a2 Wrap textilizable with DIV containing wiki class (#21663).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@15071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 09:24:32 +00:00
Jean-Philippe Lang
b3d445ddb1 Additional view hook for body_top (#21587).
Patch by Tobias Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 09:21:56 +00:00
Jean-Philippe Lang
4e979d3073 Add missing wiki container for news comments (#21678).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@15069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:53:11 +00:00
Jean-Philippe Lang
7467c145c0 Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
  "Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it

Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:50:39 +00:00
Jean-Philippe Lang
2ec87100a9 Tab left/right buttons for project menu (#20632).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@15067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:14:02 +00:00
Jean-Philippe Lang
f4b2b7e7fb Only consider open subtasks when computing the priority of a parent issue (#5880).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:00:37 +00:00
Jean-Philippe Lang
b3663ee5c4 Warning "Can't mass-assign protected attributes for IssueRelation: issue_to_id" (#21695).
git-svn-id: http://svn.redmine.org/redmine/trunk@15063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 08:56:30 +00:00
Jean-Philippe Lang
3a52b08405 Use association instead of a manual JOIN (#21583).
Patch by Ondřej.

git-svn-id: http://svn.redmine.org/redmine/trunk@15062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 08:22:06 +00:00
Jean-Philippe Lang
daff49d5e5 Adding issue css classes to issue subtasks and relations tr (#21474).
Patch by Codruț Gușoi.

git-svn-id: http://svn.redmine.org/redmine/trunk@15061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 08:10:33 +00:00
Jean-Philippe Lang
97751b3d84 Performance in User#roles_for_project (#21582).
Patch by by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@15060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 07:50:20 +00:00
Jean-Philippe Lang
ea635ece05 Copying an issue does not copy parent task id (#12893).
git-svn-id: http://svn.redmine.org/redmine/trunk@15058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:47:52 +00:00
Jean-Philippe Lang
3a48f09d4f Can't set parent issue when issue relations among child issues are present (#13654).
git-svn-id: http://svn.redmine.org/redmine/trunk@15056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:12:28 +00:00
Jean-Philippe Lang
719d4b527d Tooltip on progress bar (#21497).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 11:18:55 +00:00
Jean-Philippe Lang
aaf7261074 Larger font for email notifications (#21487).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 10:22:57 +00:00
Jean-Philippe Lang
45be04cb62 Stringify the attribute value before #force_enconding (#21453).
git-svn-id: http://svn.redmine.org/redmine/trunk@15025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 10:18:11 +00:00
Jean-Philippe Lang
624cdea92a LDAP account creation fails when first name/last name contain non ASCII (#21453).
Patch by Haihan Ji.

git-svn-id: http://svn.redmine.org/redmine/trunk@15024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 10:17:12 +00:00
Jean-Philippe Lang
5e5506587e Closed versions should be marked as completed (#21433).
git-svn-id: http://svn.redmine.org/redmine/trunk@15019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 09:10:24 +00:00
Jean-Philippe Lang
c9ae44e85b Fix Non ASCII attachment filename encoding broken (MOJIBAKE) in Microsoft Edge Explorer (#21656).
Patch by by Hang Xie.

git-svn-id: http://svn.redmine.org/redmine/trunk@15013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 08:37:07 +00:00
Jean-Philippe Lang
18b4925cee IssuePriority.position_name not recalculated every time it should (#21504).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 12:32:29 +00:00
Jean-Philippe Lang
227594481e Moving a custom field value in the order switches in the edit view (#21535).
git-svn-id: http://svn.redmine.org/redmine/trunk@14985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 10:40:30 +00:00
Jean-Philippe Lang
48afc0b151 Private note flag disappears in issue update conflict (#21551).
git-svn-id: http://svn.redmine.org/redmine/trunk@14984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 10:11:07 +00:00
Jean-Philippe Lang
f4c3700702 Adds the "Hide my email address" option on the registration form (#21500).
git-svn-id: http://svn.redmine.org/redmine/trunk@14976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-13 15:39:09 +00:00
Jean-Philippe Lang
ad8a529c8d Option to show email adresses by default for new users (#21447).
git-svn-id: http://svn.redmine.org/redmine/trunk@14974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-13 15:21:48 +00:00
Jean-Philippe Lang
46e1c6a2fe Display calendar for dates independent of subtasks (#21219).
Patch by Codrut Constantin Gusoi.

git-svn-id: http://svn.redmine.org/redmine/trunk@14973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-13 14:53:11 +00:00
Jean-Philippe Lang
a5fd84f00e Don't include locked user in assignable users (#21477).
git-svn-id: http://svn.redmine.org/redmine/trunk@14972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:37:56 +00:00
Jean-Philippe Lang
11579abe8c Don't include anonymous user in assignable users (#21477).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:31:56 +00:00
Jean-Philippe Lang
389527296e Prevent admins from sending themselves their own password (#21436).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@14966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 20:46:26 +00:00
Jean-Philippe Lang
9b52ae5c5a Fixed that user with permission can't remove a locked watcher (#21382).
git-svn-id: http://svn.redmine.org/redmine/trunk@14946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 10:21:07 +00:00
Jean-Philippe Lang
3f44fad9ba Moved custom fields totals logic to FieldFormat (#21413).
git-svn-id: http://svn.redmine.org/redmine/trunk@14944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 10:01:30 +00:00
Jean-Philippe Lang
7e423fb453 Information leak in Atom feed (#21419).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 12:42:13 +00:00
Jean-Philippe Lang
ae045cdac9 Use ul tags to do pagination (#21258).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@14897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 11:13:15 +00:00
Jean-Philippe Lang
41c379fb78 Fixed that some mail handler log messages are not prepended with "MailHandler:" (#21226).
git-svn-id: http://svn.redmine.org/redmine/trunk@14880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 11:34:45 +00:00
Jean-Philippe Lang
47b162488c Removed "Latest projects" from home page (#21148).
git-svn-id: http://svn.redmine.org/redmine/trunk@14877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 10:11:15 +00:00
Jean-Philippe Lang
703d8a4782 Use config.relative_url_root as the default path for session and autologin cookies (#21169).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@14876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 10:04:08 +00:00
Jean-Philippe Lang
1a860d5320 Calculate done_ratio based on children instead of leaves (#20995).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 09:58:52 +00:00
Jean-Philippe Lang
151892c313 Fixed that Project.uniq.visible errors under certain conditions (#21182).
Patch by Redmine CRM.

git-svn-id: http://svn.redmine.org/redmine/trunk@14857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-09 18:01:04 +00:00
Jean-Philippe Lang
c2fe2d0c06 Fixed that #destroy_version with invalid version destroys wiki page content (#21155).
git-svn-id: http://svn.redmine.org/redmine/trunk@14856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-09 17:53:13 +00:00
Jean-Philippe Lang
328e076722 Don't show projects created more than 30 days ago in "Latest projects" (#21148).
git-svn-id: http://svn.redmine.org/redmine/trunk@14854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 21:31:18 +00:00
Jean-Philippe Lang
1251f9e9f5 Adds a Save button at the end of the account form for mobile devices (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 12:50:26 +00:00