Jean-Philippe Lang
d3d62f4ded
Don't pass conditions to #delete_all.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:20:21 +00:00
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15:13 +00:00
Jean-Philippe Lang
03dbf8abb8
Remove special behaviour for listing issue time entries, use a filter for that.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:28:49 +00:00
Jean-Philippe Lang
07da3dc70c
Adds a test for #23242 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-09 03:27:51 +00:00
Jean-Philippe Lang
f416657d56
When creating issues by receiving an email, watchers created via CC in the mail don't get an email notification ( #23278 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-09 03:15:32 +00:00
Jean-Philippe Lang
4c2fcb0865
Fixed that empty Markdown image tag raises en error ( #23246 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-06 18:18:27 +00:00
Jean-Philippe Lang
0b16423104
Group versions by status in issue filters ( #10412 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-02 09:44:53 +00:00
Jean-Philippe Lang
d9a0084b76
Only make sure it's a date.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-02 07:53:31 +00:00
Jean-Philippe Lang
a4e843842f
Adds an assertion for this ( #23180 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-29 15:33:07 +00:00
Jean-Philippe Lang
83777f727a
Assignable users should not include users that cannot view the tracker ( #23172 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-28 20:31:08 +00:00
Jean-Philippe Lang
ffdcb22ccb
Ability to define a default assigned_to when receiving emails ( #23020 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 07:07:41 +00:00
Jean-Philippe Lang
b5bc7d4604
Test broken by r15536 ( #23083 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:45:52 +00:00
Jean-Philippe Lang
6cd84af522
Limits the tracker list in filters and issue counts ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:42:25 +00:00
Jean-Philippe Lang
bbd24fe350
Custom field List Link values to URL breaks on entries with spaces ( #23067 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:17:34 +00:00
Jean-Philippe Lang
adb9980728
Allow global versions to be shown outside of a project for version custom fields ( #23083 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 05:59:20 +00:00
Jean-Philippe Lang
3be2185683
Removes the UTF8 checkmark that prevents redirect from back_url.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 19:04:36 +00:00
Jean-Philippe Lang
010f75714d
Include required module ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:58:24 +00:00
Jean-Philippe Lang
50a46c3515
Set default language in import tests ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:48:19 +00:00
Jean-Philippe Lang
53710d80fc
Introduce virtual MenuNodes ( #15880 ).
...
They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked.
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:21:52 +00:00
Jean-Philippe Lang
f6754a0f7a
Make Status map-able for CSV import ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:39:44 +00:00
Jean-Philippe Lang
e3875ffd57
Make Tracker map-able for CSV import ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:23:42 +00:00
Jean-Philippe Lang
a23450fe08
Adds issue visibility by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 11:50:09 +00:00
Jean-Philippe Lang
79df68e17f
Limit trackers for new issue to certain roles ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 10:06:17 +00:00
Jean-Philippe Lang
f20f49a76b
Fix HTML generated for floating images in paragraphs ( #22898 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-04 07:31:29 +00:00
Jean-Philippe Lang
91e991e951
Limits the schemes that custom field URL patterns can use ( #22925 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 19:27:09 +00:00
Jean-Philippe Lang
dac22ebb39
Test failure ( #22926 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 18:48:26 +00:00
Jean-Philippe Lang
a6828512c0
Adds Issue#allowed_target_trackers ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +00:00
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