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

2361 Commits

Author SHA1 Message Date
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
699a75910d Filter by issue id (#4806).
A shortcut is added to the context menu to filter the selected issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 18:59:36 +00:00
Jean-Philippe Lang
f4ceb0e41c Adds a method for tracker selection (#22345).
git-svn-id: http://svn.redmine.org/redmine/trunk@15360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:28:08 +00:00
Jean-Philippe Lang
6376762917 CSV import delimiter detection broken (#22583).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:14:06 +00:00
Jean-Philippe Lang
e2137e7a5e SQL server: non ASCII filter on text fields does not work (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:36:30 +00:00
Jean-Philippe Lang
c34a1d0f90 SQL server: non ASCII filter on issue subject does not work (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:15 +00:00
Jean-Philippe Lang
fb6b565a1e Forum list can be reordered with drag and drop (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 17:51:10 +00:00
Jean-Philippe Lang
64afa24a7f Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.

git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +00:00
Jean-Philippe Lang
2fbce6515d Add inline image preview/display for attachments and repository entries (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:17:48 +00:00
Jean-Philippe Lang
97a647c1e5 Validate status of users and groups.
git-svn-id: http://svn.redmine.org/redmine/trunk@15320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:51:16 +00:00
Jean-Philippe Lang
1da39caad3 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@15319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:17:29 +00:00
Jean-Philippe Lang
bb2c6f6076 Fixed that subtasks lose their custom fields when copying an issue to a different project (#22342).
git-svn-id: http://svn.redmine.org/redmine/trunk@15318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:11:59 +00:00
Jean-Philippe Lang
05a9275fda "I don't want to be notified of changes that I make myself" as Default for all User (#14574).
git-svn-id: http://svn.redmine.org/redmine/trunk@15288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-03 11:33:28 +00:00
Jean-Philippe Lang
e63bf1d597 Additional CSS class for version status (#21434).
git-svn-id: http://svn.redmine.org/redmine/trunk@15270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 08:02:21 +00:00
Jean-Philippe Lang
09197a22e2 Adds instance name to the security notification subject (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:49:15 +00:00
Jean-Philippe Lang
a47eab8868 Let the mailer set the email content (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:35:08 +00:00
Jean-Philippe Lang
46a4151f09 Send a single email to admins like other notifications (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:23:33 +00:00
Jean-Philippe Lang
4aef2735c8 Send a security notification when users gain or loose admin (#21421).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:09:20 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
e0ae0f287a Fixed that grouping issue by key/value custom field does not work (#22178).
git-svn-id: http://svn.redmine.org/redmine/trunk@15224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 13:40:22 +00:00
Jean-Philippe Lang
9473a373a5 Verify assigned_to_id when assigning safe_attributes (#22127).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 13:09:23 +00:00
Jean-Philippe Lang
01cf5ed968 Private notes get copied without private flag to Duplicate issues (#22072).
git-svn-id: http://svn.redmine.org/redmine/trunk@15196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-12 08:21:32 +00:00
Toshi MARUYAMA
5414d86050 fix received mail text attachment does not keep original encoding on Ruby >= 2.1 (#21742)
Contributed by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@15184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 06:56:06 +00:00
Jean-Philippe Lang
b5366eb307 Send a notification when security settings are changed (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-02-05 08:50:21 +00:00
Jean-Philippe Lang
5d70fce6ce Security notifications when password or email adress is changed (#21421).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-02-05 07:33:24 +00:00
Jean-Philippe Lang
4cae62d8e8 Query project_statement - do not collect ids of subtree (#21611).
Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@15135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:37:27 +00:00
Jean-Philippe Lang
7005de51c5 Additional option for USER_FORMAT, #{lastname}#{firstname} without any sperator (#3551).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15133 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:25:11 +00:00
Jean-Philippe Lang
81b681764a Add column estimated_hours for CSV import (#21867).
Patch by Yuichi Masumiya.

git-svn-id: http://svn.redmine.org/redmine/trunk@15131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:19:04 +00:00
Jean-Philippe Lang
f4bcb1286e Fixed that moving a wiki page with a child raises an error when target wiki contains a page with the same name as the child (#21900).
git-svn-id: http://svn.redmine.org/redmine/trunk@15130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:12:13 +00:00
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
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
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
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
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
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
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
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
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
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
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