Jean-Philippe Lang
2b0e910cd5
Adds a filter on issue attachments ( #2783 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:13:59 +00:00
Jean-Philippe Lang
dac7903da3
Fixes uploading of empty files ( #25115 ).
...
- prevents creation of attachment records without existing diskfile and empty
digest
- adds test case to check file upload API response
- also removes the file size check in ActsAsAttachable which still prevented
attachment of zero size attachments to containers but only for clients
without Javascript (where save_attachments is called with the actual file
upload).
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 18:05:17 +00:00
Toshi MARUYAMA
e20adb0532
remove trailing white space from app/controllers/issues_controller.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-09 04:08:36 +00:00
Toshi MARUYAMA
5a86f95d29
revert r16322 ( #24970 )
...
Some tests fail.
git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 03:01:19 +00:00
Toshi MARUYAMA
d37125dfe9
replace depricated Net::LDAP::LdapError by Net::LDAP::Error ( #24970 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-02 02:24:50 +00:00
Jean-Philippe Lang
fe906e4fb6
Clean up sort orders.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 18:31:25 +00:00
Jean-Philippe Lang
1b911e51f9
Time entry queries should be copied and deleted too.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 18:15:32 +00:00
Jean-Philippe Lang
10ebed3b97
Removes default order on Project#versions association.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-31 17:54:46 +00:00
Jean-Philippe Lang
252804f7da
Redirect to the parent issue after adding a subtask.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16317 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 21:24:18 +00:00
Jean-Philippe Lang
be6199add3
Set thumbnail width on image tag to avoid too wide white boxes on Firefox ( #24927 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:36 +00:00
Jean-Philippe Lang
ef3833b465
Whitespace-only reorg of ApplicationHelper#thumbnail_tag ( #24927 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:04 +00:00
Jean-Philippe Lang
721843a548
Hires (2x DPR) image support for Thumbnails ( #24927 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:41:31 +00:00
Jean-Philippe Lang
65804c34f3
Add support for @2x, @3x, etc. hires images ( #24922 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:37:38 +00:00
Jean-Philippe Lang
1fefa970d6
Disable description and columns when checking "Default columns" ( #24907 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 13:11:37 +00:00
Jean-Philippe Lang
cb985627e2
Show visible spent time link for users allowed to view time entries ( #20661 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16292 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 10:28:48 +00:00
Jean-Philippe Lang
9e1723c537
Redirect with token in session ( #24416 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 08:58:40 +00:00
Jean-Philippe Lang
34c5b51cf0
Always send images user-uploaded images with Content-Disposition: attachment ( #24199 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 08:03:26 +00:00
Jean-Philippe Lang
868f83fe35
Only show issue details in time entry activity events if the issue is visible ( #23803 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 07:54:37 +00:00
Jean-Philippe Lang
19d2529faa
Check permission of wiki pages before generating a link to it ( #23793 ).
...
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 07:49:38 +00:00
Jean-Philippe Lang
36cfb2cc8b
Adds odd_even class to time entries ( #15361 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-26 18:07:23 +00:00
Jean-Philippe Lang
3d3192b187
Use ids for testing inclusion.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16261 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:23:22 +00:00
Jean-Philippe Lang
2378ed0919
Use ids for testing inclusion.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:20:02 +00:00
Jean-Philippe Lang
91a3611403
Remove background on subtasks and relations introduced in r16249 ( #15361 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:11:29 +00:00
Jean-Philippe Lang
37301d75b3
Omit blank fields as we do for the description ( #21705 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:06:39 +00:00
Jean-Philippe Lang
0ac50cc8cc
Use #html_safe first.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 16:04:51 +00:00
Jean-Philippe Lang
b40d66f39f
Option for long text custom fields to be displayed under the description field ( #21705 ).
...
Based on patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 14:55:36 +00:00
Jean-Philippe Lang
9814dcf231
Use css pseudo-classes instead of cycle("odd", "even") ( #15361 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-25 11:44:12 +00:00
Jean-Philippe Lang
1eee6b3a30
Changed filter position ( #17720 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:37:36 +00:00
Jean-Philippe Lang
8615dc0bce
Use #none for empty scope.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:10:24 +00:00
Jean-Philippe Lang
2ec53dd295
Clean up SQL.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:09:13 +00:00
Jean-Philippe Lang
c283212f9f
Adds a scope for issue auto complete.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:05:53 +00:00
Jean-Philippe Lang
30493d5421
Clean up SQL.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 10:01:44 +00:00
Jean-Philippe Lang
4abc3179f5
Filter parent task issues in auto complete by open/closed status depending on the subtask status ( #24877 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 09:59:12 +00:00
Jean-Philippe Lang
402d739146
Use EXISTS instead of IN subquery ( #21608 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@16242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 09:37:18 +00:00
Jean-Philippe Lang
9c645719ee
Allow forward reference to parent when importing issues ( #22701 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16241 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-21 09:08:40 +00:00
Jean-Philippe Lang
4ac9dc3075
Reset sort criteria when clearing filters.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-19 20:34:12 +00:00
Jean-Philippe Lang
151a215ea4
Adds updated_by and last_updated_by filters on issues ( #17720 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-19 20:16:49 +00:00
Jean-Philippe Lang
e8d7b36f1b
Searching for issues with "updated = none" always returns zero results ( #15226 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 14:57:14 +00:00
Jean-Philippe Lang
6fabc10696
Add warning when loosing data from custom fields when bulk editing issues ( #22600 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 14:49:57 +00:00
Jean-Philippe Lang
3a21dc6912
Fixed #joins_for_order_statement ( #24865 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16223 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 13:17:39 +00:00
Jean-Philippe Lang
aa354e6275
Don't join all associations by default ( #24865 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:54:22 +00:00
Jean-Philippe Lang
d10ab869a7
Handle csv columns selection in query to preload appropriate associations ( #24865 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:51:41 +00:00
Jean-Philippe Lang
4a5ebfb778
Fixed that Query#has_column? returns false with default columns.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-17 21:29:22 +00:00
Jean-Philippe Lang
82afdc7f78
Moves sort joins for issues to IssueQuery.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-17 19:41:35 +00:00
Jean-Philippe Lang
c7f03c00a9
Use exists? instead of count ( #24839 ).
...
Patch by Vincent Robert and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-16 18:12:49 +00:00
Jean-Philippe Lang
62c7d11427
Use exists? instead of count ( #24839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-16 18:11:23 +00:00
Jean-Philippe Lang
a12219034d
Make Spent time clickable in issue lists ( #24649 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 16:29:19 +00:00
Jean-Philippe Lang
dd491c305c
Add tooltip on trackers summary matrix ( #24790 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 16:23:35 +00:00
Jean-Philippe Lang
bab4a3768b
Add tooltip on Permissions report matrix ( #24780 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 16:22:22 +00:00
Jean-Philippe Lang
ae99ecd54f
Wrap conditions with a single if new_record?.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 12:58:07 +00:00