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

6387 Commits

Author SHA1 Message Date
Jean-Philippe Lang
eb0a93d353 Removes MyControllerTest#page_layout (#25297).
git-svn-id: http://svn.redmine.org/redmine/trunk@16385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 19:08:02 +00:00
Jean-Philippe Lang
d171aa8398 Test broken by r16381 (#25289).
git-svn-id: http://svn.redmine.org/redmine/trunk@16384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 21:37:13 +00:00
Jean-Philippe Lang
ff6d8c6f5c Adding a subtask should default to a tracker without disabled parent field (#16260).
git-svn-id: http://svn.redmine.org/redmine/trunk@16383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 21:22:08 +00:00
Jean-Philippe Lang
9c6ba66539 Adds a test for #25289.
git-svn-id: http://svn.redmine.org/redmine/trunk@16382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 20:36:22 +00:00
Jean-Philippe Lang
109d6de0c5 Adding a principal to 2 projects with member inheritance leads to an error (#25289).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 20:35:11 +00:00
Jean-Philippe Lang
a63908c5ed Emails with no text or html Content not handled properly (#25269, #25256).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-07 17:54:09 +00:00
Jean-Philippe Lang
58ee62e239 Issue description filter's 'none' operator does not match issues with blank descriptions (#25077).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-07 17:51:27 +00:00
Jean-Philippe Lang
29ad5b31e0 Preload journal's user (#6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 15:16:24 +00:00
Jean-Philippe Lang
8ae81b98d5 Fix loading of last visible journal (#1474, #6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 11:05:50 +00:00
Jean-Philippe Lang
89daf0f16a Password reset should count as a password change for User#must_change_passwd (#25253).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 09:16:16 +00:00
Jean-Philippe Lang
6865c96d99 Span elements should not contain a div.
git-svn-id: http://svn.redmine.org/redmine/trunk@16373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:59:40 +00:00
Jean-Philippe Lang
a9a1f6205a Mail parts with empty content should be ignored (#25256).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:41:20 +00:00
Jean-Philippe Lang
7a60e44d43 Load only last journal with notes (#1474).
git-svn-id: http://svn.redmine.org/redmine/trunk@16370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:08:21 +00:00
Jean-Philippe Lang
9d8209fddc Don't load all issues' journals (#1474).
git-svn-id: http://svn.redmine.org/redmine/trunk@16369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:05:29 +00:00
Jean-Philippe Lang
91d10c63f0 Show Last Comment in Issue list (#1474).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
06c6de06e4 Last updated by colum in issue list (#6375).
git-svn-id: http://svn.redmine.org/redmine/trunk@16366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:42:52 +00:00
Jean-Philippe Lang
ba788c336d REST API: option to get the project activities for time entries (#7506).
git-svn-id: http://svn.redmine.org/redmine/trunk@16365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 19:12:51 +00:00
Jean-Philippe Lang
299c3de64e The cancel operation in the issue edit mode doesn't work (#21579).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:21:36 +00:00
Jean-Philippe Lang
331c1f674d Add attachment information to issues.xml in REST API (#12181).
git-svn-id: http://svn.redmine.org/redmine/trunk@16360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:18:58 +00:00
Jean-Philippe Lang
18f431acc0 Allow to disable description field in tracker setting (#25052).
Patch by Go MAEDA and Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:47:58 +00:00
Jean-Philippe Lang
502376f8ee Filter out current issue from the related issues autocomplete (#25055).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:43:36 +00:00
Jean-Philippe Lang
125d8e26b6 Flash messages on CustomFields destroy (#24801).
Patch by Javier Menéndez.

git-svn-id: http://svn.redmine.org/redmine/trunk@16348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:41:00 +00:00
Jean-Philippe Lang
27ebd84309 Priority should always be preloaded as it's used to render issue links.
git-svn-id: http://svn.redmine.org/redmine/trunk@16346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:16:54 +00:00
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