Commit Graph

6108 Commits

Author SHA1 Message Date
Jean-Philippe Lang
671fce04de Don't propose projects without trackers when editing an issue (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:38:01 +00:00
Jean-Philippe Lang
a5de0fec9e Internal error when moving an issue to a project without trackers (#20463).
git-svn-id: http://svn.redmine.org/redmine/trunk@14612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-20 11:18:53 +00:00
Jean-Philippe Lang
d1d1f81e94 "Total estimated time" should be inserted after "Estimated time" (#20733).
Pätch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-19 07:29:08 +00:00
Jean-Philippe Lang
032f2c9be6 Open redirect vulnerability (#19577).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@14560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-13 14:35:20 +00:00
Jean-Philippe Lang
59e4b268af Adds a Total estimated hours column on issue list (#20688).
git-svn-id: http://svn.redmine.org/redmine/trunk@14554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-12 12:47:21 +00:00
Jean-Philippe Lang
de9b8e7ef4 Help cursor showing up on span tags with title (#20633).
git-svn-id: http://svn.redmine.org/redmine/trunk@14552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-12 12:30:43 +00:00
Jean-Philippe Lang
141c83bdc7 WARNING: Can't mass-assign protected attributes for User (#20490).
git-svn-id: http://svn.redmine.org/redmine/trunk@14550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-12 11:11:40 +00:00
Toshi MARUYAMA
d90de96def trunk: revert r14300 (#16535, #20466, #20641)
Set a max width to html email content.

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-01 00:15:13 +00:00
Toshi MARUYAMA
0dc3c2fe1c add roadie-rails gem for e-mail inline styles (#8335, #20641)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-31 07:38:29 +00:00
Jean-Philippe Lang
b4c091d063 Don't render empty divs when there are no custom fields on the issue form (#20501).
git-svn-id: http://svn.redmine.org/redmine/trunk@14512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-18 07:05:25 +00:00
Jean-Philippe Lang
b5af1cb235 Project.copy_from deletes enabled_modules on source (#20512).
Fix by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@14508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-18 06:46:49 +00:00
Jean-Philippe Lang
139808b58d Find user by login then by email.
git-svn-id: http://svn.redmine.org/redmine/trunk@14506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 09:28:34 +00:00
Jean-Philippe Lang
f820ccce3b Use same logic for finding user as a custom field (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 09:15:13 +00:00
Jean-Philippe Lang
9c8c1cdb54 #downcase no longer needed after r14484 (#20369).
git-svn-id: http://svn.redmine.org/redmine/trunk@14502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 07:07:32 +00:00
Jean-Philippe Lang
212f7ffe58 Use same logic for finding user when importing a file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 07:06:43 +00:00
Jean-Philippe Lang
eac2974e71 Moved implementation to Principal.
git-svn-id: http://svn.redmine.org/redmine/trunk@14500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:57:55 +00:00
Jean-Philippe Lang
b66358ac6c Fixed that #find_assignee_from_keyword may return a group with blank keyword (#20454).
git-svn-id: http://svn.redmine.org/redmine/trunk@14499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:47:18 +00:00
Jean-Philippe Lang
4e8f1f92b3 #downcase no longer needed after r14484 (#20369).
git-svn-id: http://svn.redmine.org/redmine/trunk@14498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:44:14 +00:00
Jean-Philippe Lang
519ad3b03d Use named scope to find the matching version (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 06:22:21 +00:00
Jean-Philippe Lang
67ea285dea Set default date format based on user locale (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 15:52:04 +00:00
Jean-Philippe Lang
722eaed721 Adds support for custom date format when importing a CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 15:42:28 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Toshi MARUYAMA
918a412fd4 use String#casecmp for case insensitive comparison (#20369)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-12 12:54:06 +00:00
Toshi MARUYAMA
039c333cec adjust source indents (#20298)
git-svn-id: http://svn.redmine.org/redmine/trunk@14483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-12 12:11:12 +00:00
Toshi MARUYAMA
df383bf6c5 "div" tag around revision details (#20298)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-12 12:11:00 +00:00
Jean-Philippe Lang
d4723bb05f Query doesn't work with non ASCII uppercase symbols (#20438).
git-svn-id: http://svn.redmine.org/redmine/trunk@14476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 08:32:18 +00:00
Jean-Philippe Lang
ef003caab2 Wrong syntax for resizing inline images may throw a 500 error (#20278).
Fix by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 07:25:23 +00:00
Jean-Philippe Lang
279e4b7aa0 Cannot create a custom query visibility is "to these roles only" (#20427).
git-svn-id: http://svn.redmine.org/redmine/trunk@14472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 07:02:44 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
1def32c4dd Fixed that members without view issues permission are able to list issues on public projects if the non member role has the permission (#20206).
git-svn-id: http://svn.redmine.org/redmine/trunk@14450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-25 06:44:01 +00:00
Jean-Philippe Lang
f1072337b9 Welcome text misses wiki div (#5770).
git-svn-id: http://svn.redmine.org/redmine/trunk@14448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-24 04:06:51 +00:00
Jean-Philippe Lang
cb3edf00a5 Use https links instead of http links in ApplicationHelper#avatar_edit_link and Redmine::Info class methods (#20243).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 13:53:17 +00:00
Jean-Philippe Lang
5a3ee73a2e Fixes methods comments.
git-svn-id: http://svn.redmine.org/redmine/trunk@14409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:53:57 +00:00
Jean-Philippe Lang
67ff5550a6 Limit queries to given issues only.
git-svn-id: http://svn.redmine.org/redmine/trunk@14408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:53:32 +00:00
Jean-Philippe Lang
5e1a6e1040 Preload total spent time on the issue list with 1 query (#11253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:38:39 +00:00
Jean-Philippe Lang
f6ea714f52 Adds "Total spent hours" column available on the issue list (#11253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 12:16:56 +00:00
Jean-Philippe Lang
71942ec5a2 Don't display estimated hours when nil and total is 0.
git-svn-id: http://svn.redmine.org/redmine/trunk@14405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 11:47:28 +00:00
Jean-Philippe Lang
c558b8b0a3 Adds a named route for test email.
git-svn-id: http://svn.redmine.org/redmine/trunk@14391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:16:20 +00:00
Jean-Philippe Lang
670340e543 The test email action should only be accessible with POST (#20203).
git-svn-id: http://svn.redmine.org/redmine/trunk@14389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:09:00 +00:00
Jean-Philippe Lang
004fc8b84b Fixed that user with "Manage public queries" permission, can create global public query (#19842).
git-svn-id: http://svn.redmine.org/redmine/trunk@14388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-29 16:06:37 +00:00
Jean-Philippe Lang
3834b3d2ef Upgrade jquery_ujs from 3.1.1 to 3.1.3.
git-svn-id: http://svn.redmine.org/redmine/trunk@14381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-28 09:07:12 +00:00
Jean-Philippe Lang
818e3fe01d Fixed group sorted scope order (#20066).
git-svn-id: http://svn.redmine.org/redmine/trunk@14380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-28 08:39:31 +00:00
Jean-Philippe Lang
bf2547db20 Add avatar and edit link to "My account" page (#5418).
git-svn-id: http://svn.redmine.org/redmine/trunk@14377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 09:46:18 +00:00
Jean-Philippe Lang
bc9ca5fcfd Disallow users to delete a version referenced by a custom field (#20159).
git-svn-id: http://svn.redmine.org/redmine/trunk@14376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 09:02:24 +00:00
Jean-Philippe Lang
b3aaabcb3c Sort journals by created_on then id (#14881).
git-svn-id: http://svn.redmine.org/redmine/trunk@14374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 07:11:41 +00:00
Jean-Philippe Lang
0dd95cdbc5 Fixed test failure introduced by r14366.
git-svn-id: http://svn.redmine.org/redmine/trunk@14368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 19:28:38 +00:00
Jean-Philippe Lang
4f8f580906 Removed unused view.
git-svn-id: http://svn.redmine.org/redmine/trunk@14367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 18:53:39 +00:00
Jean-Philippe Lang
89edc4dd39 Sort members on all their roles.
git-svn-id: http://svn.redmine.org/redmine/trunk@14366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 18:43:12 +00:00
Jean-Philippe Lang
3036eaba52 Replace tabs with spaces and remove trailing tabs in several files (#20140).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 16:38:29 +00:00
Jean-Philippe Lang
59c9a071a8 Removed extra blank lines (#19851).
git-svn-id: http://svn.redmine.org/redmine/trunk@14346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 20:45:18 +00:00