Jean-Philippe Lang
4bd874ab46
Adds a way for a registered user to get a new action email ( #14228 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-09 10:01:56 +00:00
Toshi MARUYAMA
a0423f4eb1
fix that project auto generation fails when projects created in the same time ( #14242 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-08 09:50:34 +00:00
Jean-Philippe Lang
d90f46a5da
Prepends issue numbers with a number sign ( #1005 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-06 16:22:18 +00:00
Jean-Philippe Lang
019f57e5c7
Fixed that journal details about issue relations may disclose issues that are not visible ( #1005 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-06 16:19:53 +00:00
Jean-Philippe Lang
8cea7d8cf2
Don't validate start date when updating an issue without changing it ( #14086 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-05 19:56:59 +00:00
Jean-Philippe Lang
46085644ed
Adds a specific error message for when the start date is too earlier than the minimum start date ( #14086 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 17:17:48 +00:00
Jean-Philippe Lang
e27deb1ece
Query#add_custom_fields_filters now takes a custom fields scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-01 10:56:12 +00:00
Jean-Philippe Lang
bf76b3b286
Project#all_issue_custom_fields now returns a scope.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-01 10:26:17 +00:00
Jean-Philippe Lang
5a90b6d0b5
Fixed that project name is not properly escaped in issue filters ( #14186 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-31 20:47:38 +00:00
Toshi MARUYAMA
a4394e877e
add changeset comment in revision page title ( #14138 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-30 08:05:44 +00:00
Jean-Philippe Lang
69496179d4
Adds a button to duplicate a workflow permission to the next statuses.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-28 10:59:04 +00:00
Toshi MARUYAMA
4dbe2e7062
remove trailing white-space from app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-25 05:35:13 +00:00
Toshi MARUYAMA
1e18c23095
use document.referrer instead of history.length ( #13697 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-24 07:21:56 +00:00
Toshi MARUYAMA
54478d1e08
remove trailing white-space from app/views/repositories/_breadcrumbs.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-24 06:59:41 +00:00
Toshi MARUYAMA
9d62a564df
remove unneeded escaping at app/views/journals/diff.html.erb
...
Rails3 escapes by default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 07:11:36 +00:00
Toshi MARUYAMA
83d148242a
fix back-button on description diff page in case of no browser history ( #13697 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 07:11:25 +00:00
Toshi MARUYAMA
b3a6555b30
remove "del" tag from deleted issue relation ( #1005 )
...
It is confused with deleted issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-19 02:09:49 +00:00
Toshi MARUYAMA
1f9e1ca318
add journal after creating/deleting issue relation ( #1005 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-19 02:09:39 +00:00
Toshi MARUYAMA
0e20ec697b
set default issue start/due datepicker from due/start date ( #14024 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-19 01:06:25 +00:00
Toshi MARUYAMA
160f6cd361
add test of current issue start and due date datepicker ( #14024 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-19 00:27:39 +00:00
Jean-Philippe Lang
ed364c9114
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 19:58:43 +00:00
Jean-Philippe Lang
1093454193
Adds markings to emails generated by private comments ( #12888 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 17:24:23 +00:00
Jean-Philippe Lang
5b29964512
User #where instead of :conditions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:49:13 +00:00
Jean-Philippe Lang
2c67e9e0d7
Moved links to block titles on "My page".
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:47:34 +00:00
Jean-Philippe Lang
6b03c741ac
Adds a link on "My Page" to view all my spent time ( #13157 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:39:26 +00:00
Jean-Philippe Lang
45a9b9954a
Highlighting of source link target line for annotate view ( #13746 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:10:14 +00:00
Jean-Philippe Lang
6e35d2f0e9
Highlighting of source link target line ( #13746 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-18 07:09:02 +00:00
Jean-Philippe Lang
c90bf645f5
Fixed that submitting the form without selecting a value may raise raises an error with SQLServer ( #13783 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 18:18:06 +00:00
Jean-Philippe Lang
d678959359
Add links to attachments in new issue email notification ( #12293 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 16:51:09 +00:00
Jean-Philippe Lang
35ca873269
Fixed that filtering may return unwanted blank values ( #14051 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-16 16:29:59 +00:00
Toshi MARUYAMA
559aa626cd
increase base height of author lines on 'Commits per author' graph ( #14068 , #1983 )
...
Contributed by Mischa The Evil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-16 04:29:51 +00:00
Toshi MARUYAMA
5ef5b3202d
remove width and height from repository stats embed tags ( #1983 , #13486 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-16 04:29:39 +00:00
Jean-Philippe Lang
ece5232110
Fixed that values of custom fields are not kept in issues when copying a project ( #13910 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 19:52:37 +00:00
Jean-Philippe Lang
7e41730293
Display error messages when attachment validation fails ( #13949 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 18:50:04 +00:00
Jean-Philippe Lang
4a59b869c0
Update notified_project_ids while saving record.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 17:11:38 +00:00
Jean-Philippe Lang
10ed306b19
Fixed that locking and unlocking a user resets the email notification checkbox ( #14020 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 16:38:08 +00:00
Jean-Philippe Lang
0dce4761a8
Disable autofetching of repository changesets if projects are closed ( #13945 ).
...
Patch by Mischa The Evil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 10:05:35 +00:00
Jean-Philippe Lang
9b7d312a0e
Fix handling multiple text parts in email ( #13646 ).
...
Patch by Alex Shulgin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 09:38:20 +00:00
Jean-Philippe Lang
76a3298306
Issue#children is never nil ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:49:54 +00:00
Jean-Philippe Lang
922acdbcc2
Check inclusion only once ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:45:40 +00:00
Jean-Philippe Lang
a7102db8c4
Replaces camelcase variable names ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:42:41 +00:00
Jean-Philippe Lang
a2b6088772
Removes some empty lines ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:41:21 +00:00
Jean-Philippe Lang
cf30a68312
Removes then's ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:39:18 +00:00
Jean-Philippe Lang
8c9bba1cbf
Replaces camelcase variable names ( #14015 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:37:54 +00:00
Jean-Philippe Lang
78dc37d8af
Improved Issue#all_dependent_issues ( #14015 ).
...
Patch by Jost Baron.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:33:21 +00:00
Toshi MARUYAMA
8a87ff96f9
code layout clean up app/views/issues/_attributes.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 06:44:45 +00:00
Jean-Baptiste Barth
1e7c26d9a5
Document project links in ApplicationHelper#parse_redmine_links ( #6689 ).
...
Contributed by Mischa The Evil
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-08 07:59:14 +00:00
Jean-Baptiste Barth
ec4dbbced5
Add status to /users/:id API for admins ( #13948 ).
...
Patch by Kambiz Darabi
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 08:19:17 +00:00
Jean-Philippe Lang
afa9100453
Fixed test broken by r11787 ( #13943 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 15:44:09 +00:00
Jean-Philippe Lang
d69de691a7
Fixed that bulk copy raises an error on validation failure ( #13943 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 15:18:16 +00:00
Jean-Philippe Lang
70bdb86c53
Preserve field values on bulk edit failure ( #13943 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 15:03:07 +00:00
Jean-Philippe Lang
1269e6c7d3
Display the bulk edit form with error messages when some issues can not be saved ( #13943 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 08:52:51 +00:00
Jean-Philippe Lang
ed18b3359b
Adds a method for extracting MailHandler options from ENV.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 07:32:35 +00:00
Toshi MARUYAMA
452c71c9dc
use li tags for label completed versions and subproject in version index sidebar ( #13242 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 11:39:23 +00:00
Toshi MARUYAMA
42753001ea
use li tags for completed versions in version index sidebar ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 11:39:11 +00:00
Toshi MARUYAMA
8d824f5088
use li tags for versions in version index ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 09:53:29 +00:00
Toshi MARUYAMA
bee45bac8f
remove unneeded h() from versions index tracker name
...
Rails3 escapes by default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 09:53:19 +00:00
Toshi MARUYAMA
5aca038b7c
use li tags for trackers in version index ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 09:53:09 +00:00
Toshi MARUYAMA
22a7885605
code layout clean up app/views/versions/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 09:52:58 +00:00
Toshi MARUYAMA
7bd4ea835e
use li tags for issue links in documents index ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 08:09:47 +00:00
Toshi MARUYAMA
012dc74eea
use li tags for issue links in activities index ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 08:09:36 +00:00
Toshi MARUYAMA
eb8770899c
use li tags for issue links in the wiki sidebar ( #13242 )
...
Contributed by Filou Centrinov.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 08:09:26 +00:00
Jean-Baptiste Barth
501007f01d
Update URL when changing tab ( #13900 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-02 16:09:58 +00:00
Jean-Philippe Lang
c5ac2d3966
Fixed that deleting a system activity with children in use raises an error ( #13783 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 17:10:15 +00:00
Jean-Philippe Lang
6c39a260a3
Propose system activities only when reassigning time entries ( #13783 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 16:43:51 +00:00
Jean-Philippe Lang
5cc597e394
Fixed: "obj" parameter is not defined for macros used in description of documents ( #13821 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 16:08:51 +00:00
Jean-Philippe Lang
5a3b903733
Fixed: Unable to set custom fields for versions using the REST API ( #13850 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 15:57:31 +00:00
Jean-Philippe Lang
9d190c922a
Pevents duplicate accesskeys ( #12684 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 13:13:53 +00:00
Jean-Philippe Lang
e1d47931f1
Restores the bottom action menu.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 13:12:53 +00:00
Jean-Philippe Lang
5d09c730d4
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 13:11:49 +00:00
Toshi MARUYAMA
fe903be480
remove trailing white-space from app/models/project.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-21 04:56:26 +00:00
Toshi MARUYAMA
7ab18f6aa1
remove trailing white-spaces and redundant empty line from app/models/issue_query.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-19 07:18:38 +00:00
Toshi MARUYAMA
ba11020fdf
make height of "Commits per author" graph flexible ( #1983 , #13486 )
...
Contributed by Max Horn.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-18 02:07:44 +00:00
Toshi MARUYAMA
19f70c95d1
not add empty header/footer to notification emails ( #13482 )
...
Contributed by Max Horn.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-18 00:58:24 +00:00
Toshi MARUYAMA
36120d17e7
remove trailing white-space from app/models/role.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-12 01:50:01 +00:00
Jean-Philippe Lang
25209273d3
Fixed that CSV Export of Spent Time ignores filters and columns selection ( #13618 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-03 16:48:28 +00:00
Jean-Philippe Lang
ed5b14884c
Fixed that r11641 prevents precedes/follows relations between subtasks ( #13586 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-26 21:31:29 +00:00
Toshi MARUYAMA
de68231632
remove trailing white-space from app/models/setting.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-25 13:39:56 +00:00
Etienne Massip
d7cb14773b
Fixed commit link title escaping ( fixes #13405 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-21 21:53:28 +00:00
Toshi MARUYAMA
b26f1c55cc
remove trailing white-space from app/models/user_preference.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-20 08:48:03 +00:00
Jean-Philippe Lang
6bc4a110e4
JQuery Datepicker popup is missing multiple month/year modifiers ( #13260 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-19 21:53:22 +00:00
Jean-Philippe Lang
064bb49b55
Add a "Cancel" button to the "Delete" project page when deleting a project ( #2795 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-19 21:19:46 +00:00
Toshi MARUYAMA
32391269ae
remove trailing white space from app/models/version.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-19 07:29:00 +00:00
Toshi MARUYAMA
cc5f59abd4
fix broken tests on Rails 3.2.13 with Ruby 1.8 ( #12399 , #12375 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-19 06:35:39 +00:00
Toshi MARUYAMA
5d600587a1
replace tab to space at app/models/mail_handler.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-18 02:14:11 +00:00
Jean-Philippe Lang
24e99f8b22
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-17 15:17:48 +00:00
Jean-Philippe Lang
38b3e045cf
Fixed: Circular loop when using relations and subtasks ( #8794 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-17 15:02:57 +00:00
Jean-Philippe Lang
b1afd75620
Fixed: subtasks don't resepect following/precedes relations on creation ( #12968 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-17 13:46:20 +00:00
Toshi MARUYAMA
628f9dc4cf
PDF: fix incompatible character encodings: UTF-8 and ASCII-8BIT ( #13354 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-16 07:02:43 +00:00
Toshi MARUYAMA
7040a1212f
replace tabs to spaces at app/views/repositories/_navigation.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:58:22 +00:00
Toshi MARUYAMA
1ada210da1
replace tabs to spaces at app/views/projects/settings/_issue_categories.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:58:11 +00:00
Toshi MARUYAMA
1dc94c65cb
replace tabs to spaces at app/views/projects/settings/_boards.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:58:00 +00:00
Toshi MARUYAMA
3749e4eb98
replace tabs to spaces and code cleanup at app/views/repositories/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:57:49 +00:00
Toshi MARUYAMA
544bbba046
replace tabs to spaces and code cleanup at app/views/issues/bulk_edit.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:57:38 +00:00
Toshi MARUYAMA
a97a2fec3f
replace tabs to spaces and code cleanup at app/views/versions/_overview.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:57 +00:00
Toshi MARUYAMA
4e62001154
replace tabs to spaces at app/views/versions/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:46 +00:00
Toshi MARUYAMA
ab9f201302
replace tabs to spaces at app/views/documents/index.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 14:15:34 +00:00
Toshi MARUYAMA
a1b24e0f65
remove trailing tabs from app/views/context_menus/issues.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 13:12:04 +00:00
Toshi MARUYAMA
eaa016bbc3
replace tabs to spaces and fix indents at app/views/my/destroy.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 11:30:36 +00:00
Toshi MARUYAMA
d78d83f553
replace tabs to spaces and fix indents at app/views/settings/_repositories.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 10:51:24 +00:00
Toshi MARUYAMA
1f4e3af192
replace tabs to spaces at app/views/settings/_issues.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-15 10:51:13 +00:00
Toshi MARUYAMA
c950adfe82
Fixing HTML in groups index view
...
Contributed by Gregor Schmidt.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 23:17:16 +00:00
Jean-Philippe Lang
1d48ab201b
Log errors when bulk edit/copy fails ( #13440 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 19:43:46 +00:00
Jean-Philippe Lang
83d7761998
Always instanciate a relation.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:35:59 +00:00
Jean-Philippe Lang
6d20cfe831
Moves Project#users to a regular method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:32:36 +00:00
Jean-Philippe Lang
3528343863
Moves Project#principals to a regular method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 18:07:37 +00:00
Jean-Philippe Lang
248d983a7d
Don't verify method.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 17:25:49 +00:00
Jean-Philippe Lang
447e15d6cb
Prevent one query per User#member_of? call after r11508 ( #13301 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-12 17:08:50 +00:00
Jean-Philippe Lang
bca9a8431e
Mail handler: set mail_notification to only_my_events when creating a new user ( #13341 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-11 17:50:18 +00:00
Jean-Philippe Lang
06a92fe0d0
Adds label_total_time string ( #13337 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-10 13:01:46 +00:00
Jean-Philippe Lang
9c2561b59d
Preserve gantt options when changing filters ( #12122 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-09 10:44:39 +00:00
Toshi MARUYAMA
b19a6d06d9
move utf8 encoding from view to UnifiedDiff ( #12641 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 08:31:58 +00:00
Toshi MARUYAMA
8e92ffc191
remove unnecessary h() from diff filename ( #12641 )
...
On Rails3, escaping is default.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 07:24:46 +00:00
Toshi MARUYAMA
b53b7b1acd
use %r{} instead of // at app/models/repository/subversion.rb
...
Syntax highlight is broken in gedit 2.28.4 on CentOS 6.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 04:07:20 +00:00
Toshi MARUYAMA
5984adc3df
code layout cleanup AccountController#open_id_authenticate
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-06 08:42:00 +00:00
Jean-Philippe Lang
f77ed4a7c3
Mail handler: adds --no-notification option to disable notifications to the created user ( #13341 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:57:00 +00:00
Jean-Philippe Lang
6cffab9919
Mail handler: adds --no-account-notice option for not sending account information to the created user ( #11498 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 08:41:52 +00:00
Jean-Philippe Lang
b25d496c24
Mail handler: adds --default-group option to add created user to one or more groups ( #13340 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-03 07:59:29 +00:00
Jean-Philippe Lang
d5ca514688
Adds autologin param in openid return_to url ( #3371 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:38:25 +00:00
Jean-Philippe Lang
a010372458
Fixed that autologin cookie is not deleted when using custom cookie name ( #13335 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:30:57 +00:00
Jean-Philippe Lang
08ef201cec
Fixed that autologin is broken when using a custom cookie name ( #13335 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-02 20:28:21 +00:00
Jean-Philippe Lang
80807a8c49
Add user's API key to /users/current.format ( #8529 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 16:32:30 +00:00
Jean-Philippe Lang
caf61dc923
Fixed that copying an issue as a child of itself creates an extra issue ( #13328 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 12:26:06 +00:00
Jean-Philippe Lang
cfcc9069e5
Performance: avoid one "SELECT 1 ..." query per project on user memberships form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:54:31 +00:00
Jean-Philippe Lang
a140a03a35
Adds "tracker-[id]" CSS class to issues ( #13309 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:42:05 +00:00
Jean-Philippe Lang
6803d95a32
Performance: avoid querying all memberships in User#roles_for_project ( #13301 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 10:24:23 +00:00
Jean-Philippe Lang
5f0509435a
Regexp not working as expected with ruby 2.0.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-01 08:57:01 +00:00
Jean-Philippe Lang
5c1e1ee4bb
Fixed that #reload raises a Stack too deep error with ruby 2.0.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 18:47:25 +00:00
Jean-Philippe Lang
f544dd682b
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 17:52:29 +00:00
Jean-Philippe Lang
5bf647f290
Don't reload the issue in after_save callback.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-28 17:47:58 +00:00
Jean-Philippe Lang
458800c1d5
Time entry with 2 digits year should not validate ( #3107 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:28:44 +00:00
Jean-Philippe Lang
e37ee0d21b
Use li tags for issue links in the sidebar ( #13242 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:33:27 +00:00
Jean-Philippe Lang
de716bd024
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:25:52 +00:00
Jean-Philippe Lang
cd9de0837f
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:10:12 +00:00
Jean-Philippe Lang
0082e36b60
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:08:14 +00:00
Jean-Philippe Lang
ace19cc20f
Use ti tags for sidebar queries ( #13242 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 11:06:08 +00:00
Jean-Philippe Lang
8e17c2aeac
Fixed that relations may not be refreshed when adding a follows relation ( #13251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 09:59:45 +00:00
Jean-Philippe Lang
e14caf8e33
Use User#generate_password in MailHandler.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 16:57:45 +00:00
Jean-Philippe Lang
fac4a79d4c
Option to generate a random password on user creation/update.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 16:50:07 +00:00
Jean-Philippe Lang
78997eea16
Typo.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 13:53:47 +00:00
Jean-Philippe Lang
d255e98023
Adds an helper for rendering query columns selection.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 12:14:22 +00:00
Jean-Philippe Lang
1ac8fd8c42
Adds helpers for query columns selection.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 12:04:29 +00:00
Jean-Philippe Lang
aca59db4cc
Rename issues CSV and PDF exports.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:10:10 +00:00
Jean-Philippe Lang
797a9f1ea9
Refactor: #issues_to_csv and #entries_to_csv merged into QueriesHelper#query_to_csv.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:07:43 +00:00
Jean-Philippe Lang
9b1ebd6808
Refactor: makes issue id a regular QueryColumn.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 10:53:21 +00:00
Jean-Philippe Lang
d1244b31a4
Fixed that requesting a message from an invalid forum should respond with 404 ( #13232 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:59:52 +00:00
Jean-Philippe Lang
f88e4225c1
Removed hard-coded style in watchers list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:46:42 +00:00
Jean-Philippe Lang
aca31973c2
Fixed that delete watcher link was broken by r11290 ( #13231 ).
...
Deleting a watcher now use DELETE /watchers instead of POST /watchers/destroy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-20 20:43:28 +00:00
Jean-Philippe Lang
f8c649320f
Makes all time entry columns available in the CSV export.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-19 20:41:54 +00:00
Jean-Philippe Lang
af92686c62
Fixed that float custom fields do not use CSV decimal separator ( #10364 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-19 20:01:00 +00:00
Jean-Philippe Lang
504116bfca
Add login to /users/:id API for current user ( #13155 ).
...
Patch by Jérôme Bataille.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 17:24:54 +00:00
Toshi MARUYAMA
f76dcf33ef
fix typo at app/models/user.rb ( #5719 )
...
Contributed by Tom Copeland.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-18 11:00:21 +00:00
Jean-Philippe Lang
64bbf64fb6
Optimizes the SQL query behind Principal#member_of.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 12:41:31 +00:00
Jean-Philippe Lang
d8e4a8fb32
Use #per_page instead of #items_per_page.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 11:35:42 +00:00
Jean-Philippe Lang
c17ec1643c
Fixed that messages are not sorted by last reply ( #12243 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 11:10:17 +00:00
Toshi MARUYAMA
dbf1fed6fb
replace tabs to spaces at app/controllers/boards_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:17:33 +00:00
Toshi MARUYAMA
e79b232a02
replace tabs to spaces at app/models/issue.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:17:10 +00:00
Toshi MARUYAMA
e478f3044e
replace tabs to spaces at app/models/setting.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:16:46 +00:00
Toshi MARUYAMA
a39f9bcec0
replace tabs to spaces at app/helpers/application_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:16:21 +00:00
Toshi MARUYAMA
e0215681b4
remove trailing tabs from app/controllers/users_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:15:44 +00:00
Toshi MARUYAMA
51abe725ba
remove trailing tabs from app/controllers/projects_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:15:10 +00:00
Toshi MARUYAMA
c0a5796443
remove trailing tabs from app/controllers/admin_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:14:35 +00:00
Toshi MARUYAMA
e31a8e2cb3
remove trailing tabs from app/models/project.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:14:08 +00:00
Toshi MARUYAMA
14fcac8160
remove trailing tab from app/helpers/custom_fields_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:13:40 +00:00
Toshi MARUYAMA
9ac2afec04
remove trailing tab and white-spaces from app/controllers/issue_statuses_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 10:13:12 +00:00
Jean-Philippe Lang
7b7427b46e
Adds Issue#status_was that returns the initial issue status.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-17 09:30:17 +00:00
Jean-Philippe Lang
7a1af68178
Adds closed_on to issues API responses ( #824 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 15:32:44 +00:00
Toshi MARUYAMA
5778bdd4f7
replace tabs to spaces at app/helpers/timelog_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 13:03:54 +00:00
Jean-Philippe Lang
7799788b3d
Fixed that updating the issue form was broken by r4011 when user is not allowed to add issues ( #13188 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 11:35:18 +00:00
Jean-Philippe Lang
98cd140a19
Makes closed_on available as column and filter on the issue list ( #824 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:39:52 +00:00
Jean-Philippe Lang
a45c0dc550
Adds closed_on column that stores the time of the last closing ( #824 ).
...
The value is preserved when reopening the issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-16 09:38:01 +00:00
Jean-Philippe Lang
b5c2ca5666
Adds the date picker for the default value of date custom fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 10:45:34 +00:00
Jean-Philippe Lang
3277d59e5c
Remove default for when changing custom field format.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 10:43:56 +00:00
Jean-Philippe Lang
32bf0f03ef
Use a textarea instead of an input for the default value of long text custom fields ( #13176 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 08:48:51 +00:00
Jean-Philippe Lang
9a3e4e0a51
Test broken by r11392 ( #13174 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 08:32:06 +00:00
Jean-Philippe Lang
4e9fbeb851
Possibility to define the default enable trackers when creating a project ( #13175 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 08:28:34 +00:00
Jean-Philippe Lang
ee1d9647b8
Raised group name maximum length to 255 characters ( #13174 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-15 07:48:37 +00:00
Jean-Philippe Lang
3c3ac3c6ee
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-14 22:13:49 +00:00
Jean-Philippe Lang
812da860b3
Adds token finder methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-14 21:47:07 +00:00
Jean-Philippe Lang
0be82ea2c4
Refactor: use an ordered hash to store available filters and remove :order option ( #13154 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-14 20:37:17 +00:00
Toshi MARUYAMA
77bc6e11ff
remove trailing white-spaces from app/models/custom_field.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-12 00:51:11 +00:00
Jean-Philippe Lang
cd04a041fe
Format all floats with 2 decimals in the issue list ( #13126 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-11 18:07:45 +00:00
Jean-Philippe Lang
01a7c34828
Don't generate duplicate ids.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 16:41:26 +00:00
Jean-Philippe Lang
deffd81ada
Use POST/DELETE to watch/unwatch an item.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 16:10:53 +00:00
Jean-Philippe Lang
856ef810b4
Bulk watch/unwatch issues from the context menu ( #7159 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 10:31:12 +00:00
Toshi MARUYAMA
7303cc416c
remove trailing white-space from app/models/board.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-10 04:04:21 +00:00
Jean-Philippe Lang
0d93b6dc3c
Typo that breaks with ruby1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-09 15:20:07 +00:00
Jean-Philippe Lang
0f2ee79f35
Fixed that project overview page shows trackers from subprojects with disabled issue module ( #13076 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-09 13:56:11 +00:00
Jean-Philippe Lang
1fe29c8a0c
Small datepicker improvements ( #13098 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-09 13:39:57 +00:00
Jean-Philippe Lang
8b205052a9
Don't wrap watcher link with span.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 20:13:15 +00:00
Jean-Philippe Lang
2cd749955e
Fixed: error raised when copying project wiki with wiki module disabled ( #13097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 19:24:57 +00:00
Jean-Philippe Lang
eece12ddfd
Fixed: Can't clear custom field value through context menu in the issue list ( #13075 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-07 18:35:51 +00:00
Jean-Philippe Lang
b3a2d07257
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-03 08:23:20 +00:00
Jean-Philippe Lang
c9c72cb198
Don't display the warning to administrators ( #5605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-03 08:14:40 +00:00
Jean-Philippe Lang
1acf1d6bf7
Adds a warning for when a user with inherited permissions disables inheritance ( #5605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-03 08:03:25 +00:00
Jean-Philippe Lang
791b620b98
Removed div around fieldset on project modules.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 15:06:34 +00:00
Jean-Philippe Lang
8e08aae904
Raises project description height.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 14:55:21 +00:00
Jean-Philippe Lang
0380292eca
Typo that makes the checkbox not visible ( #5605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 14:46:26 +00:00
Jean-Philippe Lang
9536d04c1e
Typo that triggers an error when editing a subproject ( #5605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 13:18:04 +00:00
Jean-Philippe Lang
5fea79504c
Don't remove watchers on permission change.
...
This can be far too slow (especially with membership inheritance) and notifications are not sent to watchers that are not allowed to view the item. If we still want to remove watchers that are no longer able to view the watched items, the redmine:watchers:prune task can be called periodically.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 13:03:22 +00:00
Jean-Philippe Lang
0f29e265fc
Optionaly inherit members from parent project ( #5605 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 12:50:45 +00:00
Jean-Philippe Lang
137aa1cf66
Test broken by r11296.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 09:49:26 +00:00
Jean-Philippe Lang
9e0723c11b
Refactors methods for searching a user by token.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-02 08:46:58 +00:00
Jean-Philippe Lang
9bf98bce26
Skip callbacks when updating last_login_on.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-01 18:32:12 +00:00
Jean-Philippe Lang
8585cda7b1
Use database LOWER instead of #downcase.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-31 22:45:07 +00:00
Jean-Philippe Lang
bf2613a02b
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-30 21:31:13 +00:00
Jean-Philippe Lang
a0158eff96
Add/remove issue watchers via the REST API ( #6727 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-30 20:51:21 +00:00
Jean-Philippe Lang
f2fd78f7b8
Use POST instead of GET for logging out ( #13022 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11289 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-30 17:34:48 +00:00
Jean-Philippe Lang
1e0a94de84
Fixe that filter "Assignee's group" doesn't work with group assignments ( #13006 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-29 17:59:20 +00:00
Jean-Philippe Lang
f928f36070
Wiki links to repositories with underscore their identifiers don't work ( #12979 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-27 16:02:49 +00:00
Jean-Philippe Lang
10a38010fb
Test failure with JRuby 1.7.2 ( #12228 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-27 12:23:02 +00:00
Jean-Philippe Lang
b73c42f619
Test failure with JRuby 1.7.2 ( #12228 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-27 12:03:47 +00:00
Jean-Philippe Lang
9f127793be
Make JSONP support optional and disabled by default ( #12992 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 18:37:09 +00:00
Jean-Philippe Lang
134b66cb29
Always notify project members about news unless they turned off all notifications ( #4700 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 18:07:57 +00:00
Toshi MARUYAMA
3d7819ed82
remove trailing white-space from app/models/attachment.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11267 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 00:47:29 +00:00
Toshi MARUYAMA
0e180c861f
fix typo "header_heigth" in gantt view
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-24 12:17:47 +00:00
Jean-Philippe Lang
e53a5de918
Adds "sorted" scope to Principal and User and sort users/groups properly.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-23 17:44:28 +00:00
Jean-Philippe Lang
c7df78f3b6
Wrong redmine link after referencing an object from a different project ( #12930 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-22 20:40:39 +00:00
Jean-Philippe Lang
d6d7563a4b
Input fields restricted on length should have maxlength parameter set ( #12833 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 17:02:11 +00:00
Jean-Philippe Lang
f99535bba2
"Parent task is invalid" while editing child issues with restricted Issues Visibility ( #12851 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 16:41:31 +00:00
Jean-Philippe Lang
15f035be51
Respond with 404 when params[:ids] is missing ( #12898 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 16:04:25 +00:00
Jean-Philippe Lang
6e6ce7c085
Fixed that adding a blank/invalid block to my page renders a blank page ( #12838 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 15:56:46 +00:00
Jean-Philippe Lang
8b23d41cf9
Test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 15:09:57 +00:00
Jean-Philippe Lang
5741d007f6
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:57:29 +00:00
Jean-Philippe Lang
e355a55e3c
Don't use && return.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:54:42 +00:00
Jean-Philippe Lang
b07a27b028
Don't use && return.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:53:26 +00:00
Jean-Philippe Lang
92b92d6bb8
Safer find_by_ call.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:50:51 +00:00
Jean-Philippe Lang
22f9b8846b
Plugin settings div should perhaps have 'settings' CSS class ( #12910 ).
...
Patch by Harry Garrood.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:05:23 +00:00
Jean-Philippe Lang
bb31402939
Fix 500 error for requests to the settings path for non-configurable plugins ( #12911 ).
...
Path by Harry Garrood.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 13:03:55 +00:00
Jean-Philippe Lang
253197c598
Changed fieldset legend and make it hidden by default like on the issue list ( #12122 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 12:55:09 +00:00
Jean-Philippe Lang
8b91a2bb30
Removed duplicate HTML element id ( #12122 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11211 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 12:31:17 +00:00
Jean-Philippe Lang
237f297f03
Gantt progress lines ( #12122 ).
...
Patch by Toshi MARUYAMA.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 12:30:40 +00:00
Jean-Philippe Lang
48fb02e383
Split "Manage documents" permission into create, edit and delete permissions ( #12401 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 11:38:20 +00:00
Jean-Philippe Lang
1257f1960f
Adds pagination to users list when adding project or group members ( #9549 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-18 17:57:16 +00:00
Jean-Philippe Lang
93e0885b64
Link to attachment should return latest attachment ( #7510 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-15 21:08:27 +00:00
Jean-Philippe Lang
1386c10074
Use helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 21:13:09 +00:00
Jean-Philippe Lang
2230c11baa
Use named route with attachment filename for inline images.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 21:03:53 +00:00
Jean-Philippe Lang
6ce28450c0
Adds a named route for thumbnails and use route helper in #thumbnail_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 20:51:49 +00:00
Jean-Philippe Lang
4ebdcf13db
Add named routes for attachments and use route helpers in #link_to_attachment.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 20:44:48 +00:00
Jean-Philippe Lang
f607a7a023
Use route helper in #link_to_message.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 19:22:09 +00:00
Jean-Philippe Lang
b41b738aa4
Removed deprecated call from examples.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 19:18:52 +00:00
Jean-Philippe Lang
1da158edcf
Use route helper in #link_to_project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 19:16:29 +00:00
Jean-Philippe Lang
9a80e118b9
Add links to projects in Group projects list ( #12843 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-14 17:40:51 +00:00
Jean-Philippe Lang
e224d50408
Removed useless require 'iconv' ( #12787 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 20:36:22 +00:00
Jean-Philippe Lang
e18d0e268d
Makes issue custom fields available as timelog columns ( #1766 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 13:09:06 +00:00
Jean-Philippe Lang
14b09361e4
Adds issue custom fields to time entries filters ( #10191 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11171 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 12:38:45 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang
bf2fb5d535
Adds a message about disabling multiple values on custom field form ( #12251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:27:03 +00:00
Jean-Philippe Lang
5c1039a69e
Ability to uncheck "Multiple values" for existing custom fields ( #12251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:12:09 +00:00
Jean-Philippe Lang
18061b641f
Code cleanup ( #12801 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-10 21:40:04 +00:00
Jean-Philippe Lang
d0ffc0575a
Fixed that viewing the history of a wiki page with attachments raises an error ( #12801 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-10 21:38:11 +00:00
Jean-Philippe Lang
9394d739b1
Deprecation warnings ( #12774 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-08 20:18:12 +00:00
Jean-Philippe Lang
8ee0b52d59
Gantt perf: fixed that Project#start_date and #due_date run way too much queries.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 14:03:49 +00:00
Jean-Philippe Lang
062b003deb
Generate project identifier automatically with JavaScript ( #9225 ).
...
Based on Jan Schulz-Hofen's patch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11129 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 11:41:37 +00:00
Toshi MARUYAMA
4bc2805c4a
remove trailing white-spaces from app/models/mail_handler.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11127 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 09:32:42 +00:00
Jean-Philippe Lang
45c93340b7
Negative estimated hours should not be valid ( #12735 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 16:34:41 +00:00
Jean-Philippe Lang
3e14c3017c
Adds a custom validator for dates ( #12736 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 16:09:15 +00:00
Jean-Philippe Lang
7c2490c6fc
Login link unexpected logs you out ( #12611 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 13:53:18 +00:00
Jean-Philippe Lang
d56f916a0e
Store the other issue in a variable ( #10916 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 13:23:33 +00:00
Jean-Philippe Lang
601148c5b1
Show precedes/follows and blocks/blocked relations on the Gantt diagram ( #3436 ).
...
Based on Toshi MARUYAMA's patch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 12:28:34 +00:00
Jean-Philippe Lang
9adb0c61a9
Make sure that dates are stored as YYYY-MM-DD in journal details ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11117 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 15:38:52 +00:00
Jean-Philippe Lang
9a66463ff8
Prevent sqlserver adapter from breaking the sub-query ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 10:08:29 +00:00
Jean-Philippe Lang
a8083fb9a8
Pass the order option as an array to satisfy sqlserver adapter ( #12713 ).
...
Unlike other adapters, the sqlserver adapter processes the order option and wipes it when using functions.
Here we can see a "ASC" inserted in the COALESCE call:
irb(main):001:0> Issue.order("coalesce(estimated_hours, 0), id").to_sql
=> "SELECT [issues].* FROM [issues] ORDER BY coalesce(estimated_hours ASC, 0) ASC, id ASC"
This does not happen when passing the order SQL fragments separately.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 10:04:25 +00:00
Jean-Philippe Lang
9613a13b10
Deprecates Version#*_pourcent in favour of #*_percent ( #12724 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 08:30:25 +00:00
Toshi MARUYAMA
3bf6f8d7ff
remove trailing white-space from app/controllers/wiki_controller.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 01:11:33 +00:00
Jean-Philippe Lang
24ec41f7d4
A column has been specified more than once in the order by list ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 13:40:50 +00:00
Jean-Philippe Lang
503933c585
Don't do any query if id is not present.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 13:39:04 +00:00
Jean-Philippe Lang
77f6b404fa
Make sure we don't cast an empty string to numeric ( #12713 ).
...
SQLServer evaluates the CAST condition even if the <> '' condition is false.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 13:33:16 +00:00
Jean-Philippe Lang
d82159bcf5
Use joins instead of sub-queries in group by/sort by when using custom fields ( #12713 ).
...
Sub-queries in group by are not supported by SQLServer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 12:28:50 +00:00
Jean-Philippe Lang
049eaeb776
Repository changesets are already sorted by committed_on DESC ( #12713 ).
...
SQLServer raises an error because committed_on is specified twice in the order by list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 11:40:39 +00:00
Jean-Philippe Lang
8b08c1a534
Prevents position to be specified more than once in the order by list which is not supported by SQLServer ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 11:37:07 +00:00
Jean-Philippe Lang
dd7d54b3a1
SQLServer: rule is a reserved keyword ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 11:21:45 +00:00
Jean-Philippe Lang
0135dc504a
SQLServer: The size (60) given to the type 'decimal' exceeds the maximum allowed ( #12713 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 11:21:03 +00:00
Jean-Philippe Lang
64b98928c9
Typo in app/models/tracker.rb ( #12707 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-02 13:02:20 +00:00
Toshi MARUYAMA
758e07cd96
replace tabs to spaces at app/views/timelog/_form.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-27 03:09:56 +00:00
Jean-Philippe Lang
c87f36d20b
Log an error when trying to send an attachment that cannot be read.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-26 14:00:10 +00:00
Jean-Philippe Lang
6be315c1ff
Update the issue subject when choosing an issue from the drop down menu.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-26 13:12:38 +00:00
Jean-Philippe Lang
7606353ff9
Upgraded JQuery to 1.8.3 and JQuery UI to 1.9.2.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-26 11:47:51 +00:00
Jean-Philippe Lang
7b8ebb7e3f
Auto-populate fields while creating a new user with LDAP ( #10286 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-26 11:23:53 +00:00
Jean-Philippe Lang
eba4efc9d0
Missing labels on auth_source edit form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-24 10:42:37 +00:00
Jean-Philippe Lang
b7d8913459
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-23 16:10:07 +00:00
Jean-Philippe Lang
4ac43ab876
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-23 15:55:57 +00:00
Jean-Philippe Lang
3ef7f5855e
Renamed #_issues_path to #_project_issues_path.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-23 15:19:57 +00:00
Jean-Philippe Lang
e921d70e53
Moved routes helper methods to an helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-23 15:18:39 +00:00
Jean-Philippe Lang
1528c719a4
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-23 15:12:57 +00:00
Jean-Philippe Lang
8eea999ca6
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 15:57:07 +00:00
Jean-Philippe Lang
ad246e81ad
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 12:24:43 +00:00
Jean-Philippe Lang
a4f989a5e0
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:57:01 +00:00
Jean-Philippe Lang
6c15812d96
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:40:32 +00:00
Jean-Philippe Lang
bda9b98a56
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:30:42 +00:00
Jean-Philippe Lang
cd437b7e1d
Code cleanup, use named routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:00:00 +00:00
Jean-Philippe Lang
3976d5e740
Use #assert_select instead of #assert_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 09:35:35 +00:00
Jean-Philippe Lang
94d9172634
Changed revision regexp to make source: links accept a branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 20:59:35 +00:00
Toshi MARUYAMA
b4aab7b375
remove trailing white-spaces from app/models/issue_relation.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 04:52:58 +00:00
Jean-Philippe Lang
42d3ec3a59
Display 25 items.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:24:06 +00:00
Jean-Philippe Lang
85fb937a4e
Use scoped models for pagination.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:23:30 +00:00
Jean-Philippe Lang
1cf379f370
Replaces the classic_pagination plugin with a simple pagination module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:21:24 +00:00
Toshi MARUYAMA
dd26ac3038
code cleanup gantt_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 07:14:26 +00:00
Jean-Philippe Lang
39e7bab2b9
Save the selected file just in case uploading stuff fails/is not supported.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 10:03:34 +00:00
Jean-Philippe Lang
7775f86a69
Code cleanup in AuthSource controller and views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 15:04:11 +00:00
Jean-Philippe Lang
c31f498ba6
Code cleanup: implement Plugin#to_param for generating routes.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:52:56 +00:00
Jean-Philippe Lang
c93fccc84a
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:43:01 +00:00
Jean-Philippe Lang
0a773bcbb3
Fixed that validation fails when receiving an email with list custom fields ( #12400 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:14:46 +00:00
Jean-Philippe Lang
b99a6f11f3
Fixed: clicking journal edit multiple times shows multiple forms ( #12568 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:42:10 +00:00
Jean-Philippe Lang
c99b638d61
Store attachments in subdirectories ( #5298 ).
...
Existing files can be moved to their target subdirectories using rake redmine:attachments:move_to_subdirectories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:07:19 +00:00
Jean-Philippe Lang
cabfece11b
Use browser language as default when registering.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-12 06:05:35 +00:00
Jean-Philippe Lang
24be0551cc
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 20:38:26 +00:00
Jean-Philippe Lang
8c7b6012f5
Removed unused code.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 20:09:16 +00:00
Jean-Philippe Lang
ec7c512693
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 19:42:12 +00:00
Jean-Philippe Lang
8ab9215ea8
Use named routes in controllers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 19:39:47 +00:00
Jean-Philippe Lang
0b96094680
Use named routes in controllers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 17:51:30 +00:00
Jean-Philippe Lang
228414f777
Moved IssueRelations to IssueRelation::Relations.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 21:59:01 +00:00
Jean-Philippe Lang
42b6f8365a
Moved javascript include tag to head.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 20:19:26 +00:00
Jean-Philippe Lang
ef25210aca
Merged ajax_upload branch ( #3957 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 20:09:41 +00:00
Etienne Massip
2304f5d42c
Fixed notes preview in issue history broken and hidden by a broken test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 19:29:21 +00:00
Jean-Philippe Lang
aba07a860f
Rescue Query::StatementInvalid in TimelogController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 21:13:26 +00:00
Jean-Philippe Lang
0ce6eb9285
Makes time entry custom fields available for display on the time entries list ( #1766 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 21:03:30 +00:00
Jean-Philippe Lang
60088ed5a3
Adds filters for custom fields related to the project and user of time entries ( #10191 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10971 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 19:25:03 +00:00
Jean-Philippe Lang
9dc07d4790
Adds filters for regular/custom fields to the time entries list/report ( #10191 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 19:18:57 +00:00
Jean-Philippe Lang
093ecdfc73
Fixed syntax for ruby1.8.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10969 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 18:46:02 +00:00
Jean-Philippe Lang
d6ecfcf50c
Rename the Member column to User on the time entries list.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 18:09:44 +00:00
Jean-Philippe Lang
f8895a7cdd
Adds TimeEntryQuery for listing time entries.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 17:57:18 +00:00
Jean-Philippe Lang
10998c9bae
Moved build_query_from_params helper to Query#build_from_params.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 15:11:00 +00:00
Jean-Philippe Lang
eb1829e739
Moves issue specific code to IssueQuery.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 14:44:28 +00:00
Jean-Philippe Lang
ab066317e6
Adds STI to Query model. Issue queries are now IssueQuery instances.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 14:10:49 +00:00
Jean-Philippe Lang
fb9a87f53e
Use inheritable class attributes in Query model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 13:19:32 +00:00
Jean-Philippe Lang
8ead410f98
Removed conditions on HTTP methods.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 11:31:29 +00:00
Jean-Philippe Lang
0bd70d4680
Use \A and \z in validation regexps.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 11:06:53 +00:00
Jean-Philippe Lang
147e7a8d61
Use \A and \z in validation regexps.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 10:59:31 +00:00
Jean-Philippe Lang
4c6dfdf95f
Cleanup dependencies in Project model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 10:45:34 +00:00
Jean-Philippe Lang
df0b91e238
Moved user status constants to Principal model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 10:44:42 +00:00
Jean-Philippe Lang
0e30724d66
Group events in the activity view ( #12542 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 08:24:01 +00:00
Jean-Philippe Lang
7222e4012d
Rewrites named scopes with ARel queries.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-07 17:59:20 +00:00
Jean-Baptiste Barth
4896d5c7e8
Use lambda form in model scopes ( #12499 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-07 10:12:47 +00:00
Jean-Philippe Lang
8201761e77
Adds an option for displaying the issue description on the issue list ( #3447 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-06 17:48:19 +00:00
Toshi MARUYAMA
ee7685670d
remove trailing white-space from app/models/issue_category.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-04 04:22:59 +00:00
Jean-Philippe Lang
33549495c9
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 23:03:33 +00:00
Jean-Philippe Lang
2844e90902
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 21:52:32 +00:00
Jean-Philippe Lang
e9018553e5
Removed unused helper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 21:46:11 +00:00
Jean-Philippe Lang
ea296a109a
Replaces find(:first/:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 21:30:10 +00:00
Jean-Philippe Lang
31c33f462d
Replaces find(:first) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 18:21:32 +00:00
Jean-Philippe Lang
30787e9cd2
Preserve the "from" parameter in activity links.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 21:41:03 +00:00
Jean-Philippe Lang
85b5b1c7f0
Replaces find(:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 21:28:19 +00:00
Jean-Philippe Lang
9230628953
Adds helpers for retrieving my page data.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 21:08:03 +00:00
Jean-Philippe Lang
45ea24ecad
Replaces find(:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 20:43:16 +00:00
Jean-Philippe Lang
536747b747
Replaces find(:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 20:23:48 +00:00
Jean-Philippe Lang
96fca0b08f
Replaces find(:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 19:16:32 +00:00
Jean-Philippe Lang
5b21efd4a4
Replaces find(:all) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 19:09:42 +00:00
Jean-Philippe Lang
1951c6a3fd
Removed unused instance variable.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 19:00:00 +00:00
Jean-Philippe Lang
9507b448b2
Makes User.current thread safe ( #12097 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 18:15:46 +00:00