Jean-Philippe Lang
fad71f8b4b
NoMethodError: undefined method `id' error on EnumerationFormat#value_from_keyword ( #22911 ).
...
Patch by Haihan Ji.
git-svn-id: http://svn.redmine.org/redmine/trunk@15429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-28 11:37:28 +00:00
Jean-Philippe Lang
8cbfeddeb0
Child nodes should only be rendered if the user is actually authorized to see them ( #15880 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 06:48:36 +00:00
Jean-Philippe Lang
9cfb319c43
Test failure with SQLServer ( #22320 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 18:30:59 +00:00
Jean-Philippe Lang
eafd585dbe
Fixes Query#date_clause timezone handling ( #22320 ).
...
When querying time fields based on date values these should be interpreted
in the user's time zone, since that's what a user usually expects.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:58:49 +00:00
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
40c9c3e922
Notify the user of missing attachments ( #22401 ).
...
under certain (rare) circumstances it may happen that, when an issue or other
container is saved, added attachments have already been removed (i.e. by the
attachments:prune rake task). This patch adds a validation error to the
container in this case.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:31:20 +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
fcb4e510ea
Test failure ( #22147 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 21:06:53 +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
72e7357611
Set source encoding ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:29:06 +00:00
Jean-Philippe Lang
a2a59448b4
SQL server: non ASCII filter on issue subject does not work ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:05 +00:00
Jean-Philippe Lang
dcc569fa34
Removed the "New issue" menu item ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 18:37:52 +00:00
Jean-Philippe Lang
39ff11ba06
Removes #move_to= ( #12909 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 18:38:03 +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
49176f88cb
Add missing + signs ( #22493 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-14 18:45:36 +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
c8c694840d
Missing fixtures ( #14574 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-03 12:36:02 +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
25eb92c0dc
Text in the "removed" part of a diff is double-escaped ( #22115 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-26 10:20:10 +00:00
Jean-Philippe Lang
197ec295e0
Clear settings that are changed by these tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15286 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-26 10:08:37 +00:00
Jean-Philippe Lang
fe22c77b59
Don't use custom hostname for all Mailer tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-26 09:54:12 +00:00
Jean-Philippe Lang
eaea4e9fee
Improve accessibility for icon-only links by adding hidden text ( #21805 ).
...
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 09:34:26 +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
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
c9730d077b
output what language fails at test_number_to_human_size_for_each_language
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 15:32:21 +00:00
Toshi MARUYAMA
e28cc10a35
add test which ensure received mail text attachment keeps original encoding ( #21742 )
...
This test fails on Ruby >= 2.1 and will be fixed by next revision.
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@15183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-04 06:55:55 +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
39b47a1a80
Test broken by r15136 ( #21593 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 19:07:58 +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
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
5bb0ad461d
Include tested method name in tests names ( #21674 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 18:12:03 +00:00
Jean-Philippe Lang
52621c697d
Makes the test LDAP host configurable ( #21674 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 18:10:26 +00:00
Jean-Philippe Lang
ceb476a7c5
Fixed DN in tests ( #21674 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-22 18:06:35 +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
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
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
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
300e5e4652
After copying a task, setting the parent as the orignal task's parent triggers an error ( #17580 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-10 15:31:50 +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
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
f5702c35df
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15018 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 09:04:22 +00:00
Jean-Philippe Lang
ff7938cff2
IssuePriority.position_name not recalculated every time it should ( #21504 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@14989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-20 14:07:12 +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
b095389a60
Adds a test for #21477 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-12 12:36:11 +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
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
cb38ee0e35
Adds a test for #21202 ( #6969 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-11 07:39:09 +00:00