Jean-Philippe Lang
ec31b61698
Removes calls to #assert_template and #assigns in functional tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-18 21:26:30 +00:00
Jean-Philippe Lang
1db54e228d
Don't respond with the error template when annotate is not available.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-17 09:22:42 +00:00
Jean-Philippe Lang
ff50094d3e
Include url helpers in helper tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 16:17:14 +00:00
Jean-Philippe Lang
f4b885d088
Use #update! instead of #update_attribute.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 16:13:04 +00:00
Jean-Philippe Lang
c4b4b8a71e
Adds a class for testing helpers.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 11:36:57 +00:00
Jean-Philippe Lang
745833a66c
Dup @generated_changeset_rev.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 11:29:47 +00:00
Jean-Philippe Lang
bf75b0d992
Include URL helpers.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 11:12:52 +00:00
Jean-Philippe Lang
91517ec67c
Passing arguments to assert_nothing_raised is deprecated in Rails 5.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 11:05:34 +00:00
Jean-Philippe Lang
fb89e8a799
Use #update! instead of #update_attribute.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:40:23 +00:00
Jean-Philippe Lang
f3e2ae6b10
Don't call #slice on proxy.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:34:05 +00:00
Jean-Philippe Lang
57afa5345e
Don't pass conditions to #delete_all.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:30:45 +00:00
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
6cc6a918b4
Pass parameters with :params in controller tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 07:43:16 +00:00
Jean-Philippe Lang
11c85279ab
Accept 5 arguments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 06:58:48 +00:00
Jean-Philippe Lang
c364e6ee9b
Pass parameters with :params in controller tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 06:19:52 +00:00
Jean-Philippe Lang
2e4e610930
Adds our own class for controller tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 09:35:49 +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
19492226f7
Ability to delete multiple attachments while updating an issue ( #13072 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 20:04:14 +00:00
Jean-Philippe Lang
793cb16764
Make time entries groupable ( #16843 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 19:02:48 +00:00
Jean-Philippe Lang
abf3fe9c83
Adds a link to spent time on version details ( #13558 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 18:34:45 +00:00
Jean-Philippe Lang
539166597f
Adds a version filter on time entries ( #13558 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-13 18:26:44 +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
a00538e602
Display the list of saved queries in the sidebar ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:54:46 +00:00
Jean-Philippe Lang
beb5e60391
Makes spent time queries savable ( #14790 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:40:19 +00:00
Jean-Philippe Lang
b2044e6dfc
Don't generate urls with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 19:18:12 +00:00
Jean-Philippe Lang
cf62de0ff6
Don't generate back url with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 17:04:34 +00:00
Jean-Philippe Lang
fc6ee69490
Don't generate sort links with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:58:43 +00:00
Jean-Philippe Lang
5d31eb2495
Don't generate pagination links with params.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:47:49 +00:00
Jean-Philippe Lang
1f9bbd6b42
Wrap journal attributes with a journal parameter and use safe_attributes ( #22575 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 10:58:00 +00:00
Jean-Philippe Lang
7918285ac2
Enable updating private_notes property on journal edit form ( #22575 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 10:33:48 +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
4c78b63d58
Wrong filters are applied when exporting issues to CSV with blank filter ( #23206 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-09 02:08:39 +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
e04913c863
Adds a test for #23054 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 18:18:43 +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
246368a090
Totals cannot be removed completely if some columns are set in the global settings ( #22123 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:42:00 +00:00
Jean-Philippe Lang
79fcbc82dc
Adds a setting for choosing the new object menu item style ( #15880 ).
...
Set to use the new "+" drop-down by default, but let users revert to the "New issue" tab, or no menu item at all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:26:23 +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