summaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* fix source indents of app/views/repositories/revisions.html.erbToshi MARUYAMA2012-03-301-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9291 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: use Changeset#create and Changeset#create_change as same with ↵Toshi MARUYAMA2012-03-291-13/+8
| | | | | | Subversion and Mercurial git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9290 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: mercurial: transaction for each imported revisions (#10470)Toshi MARUYAMA2012-03-291-7/+9
| | | | | | | | Subversion transaction switched at r2563. Subversion and Mercurial have a sequential revision number. So, Mercurial can use the same logic with Subversion. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add the comment of the reason to scan database in fetching every ↵Toshi MARUYAMA2012-03-291-0/+14
| | | | | | time (#10470) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix typo in fetching revisions comment.Toshi MARUYAMA2012-03-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix model source indents (#10470)Toshi MARUYAMA2012-03-281-41/+41
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: process new git revisions all at once rather than per branch (#10470)Toshi MARUYAMA2012-03-281-35/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces and fix indents at app/views/issues/new.html.erbToshi MARUYAMA2012-03-281-8/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Failing test with 1.8.7 and jruby (#10538).Jean-Philippe Lang2012-03-251-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9270 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove duplicate watchers (#10538).Jean-Philippe Lang2012-03-251-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that issues can be moved to projects with issue tracking disabled ↵Jean-Philippe Lang2012-03-251-12/+1
| | | | | | (#10467). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9267 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes error message for LDAP filter (#1060).Jean-Philippe Lang2012-03-241-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the repository identifier in the activity and search results (#779).Jean-Philippe Lang2012-03-241-1/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the repository identifier to Changeset#text_tag (#779).Jean-Philippe Lang2012-03-241-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9255 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to add non-member watchers on issue creation (#5159).Jean-Philippe Lang2012-03-246-14/+51
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace tables that were using the 'width' attribute with inline styles ↵Toshi MARUYAMA2012-03-242-3/+3
| | | | | | | | (should be replaced with an ID/class). Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove some inline styling and some depreciated table cell attributes and ↵Toshi MARUYAMA2012-03-241-3/+3
| | | | | | | | replace them with proper class names. Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing cells at app/views/issues/show.html.erbToshi MARUYAMA2012-03-241-0/+3
| | | | | | Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix duplicated 'back_url' IDsToshi MARUYAMA2012-03-242-2/+2
| | | | | | | | | | | Various hidden input fields are used to hold a URL to send the user back to the correct page after submitting a form, however, they all use the same ID which isn't allowed in HTML. Passing in 'id' as nil stops the 'hidden_field_tag' from adding an ID attribute to the tag. Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo (#1913).Jean-Philippe Lang2012-03-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9243 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LDAP: adds the ability to bind with user's account (#1913).Jean-Philippe Lang2012-03-171-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use #delete on String in Mailer.Jean-Philippe Lang2012-03-121-6/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an icon to the "Test" link.Jean-Philippe Lang2012-03-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9235 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that LDAP error is not displayed when testing connection.Jean-Philippe Lang2012-03-111-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Resourcified auth_sources.Jean-Philippe Lang2012-03-112-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged LdapAuthSourceController into AuthSourceController.Jean-Philippe Lang2012-03-117-45/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed dead code.Jean-Philippe Lang2012-03-101-11/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Gantt months/weeks/days headers display with Ruby 1.9.Etienne Massip2012-03-101-7/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #find_project_by_project_id from super-class.Jean-Philippe Lang2012-03-101-7/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9172 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #find_project_by_project_id from super-class.Jean-Philippe Lang2012-03-071-7/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-space from app/models/repository/git.rbToshi MARUYAMA2012-03-071-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: performance improvements in fetching revisions (#8857, #9472)Toshi MARUYAMA2012-03-071-29/+61
| | | | | | | | | | | | | | | | | | Parse a revision for a given branch, just if we haven't parsed it for any branches before. Moved the db check to for existing revisions into a grouped search. Search for many revisions at once: this reduces db load. Revisions are grouped into sets of 100. This is to improve memory consumption. There will be just one query instead of each 100. The above two methods significantly increase parsing speed. Test case was a git repo with 6000+ commits on a master branch, and several other branches originating for master. Speed improved from 1.4h to 18min. Contributed by Gergely Fábián. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: reduce saving heads times in fetching revisions (#8857, #9472)Toshi MARUYAMA2012-03-071-3/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9143 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: backout r8839 (#8857)Toshi MARUYAMA2012-03-071-39/+28
| | | | | | call "git log" only once instead of per branch in fetching revisions. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: backout r8840 (#8857, #9472)Toshi MARUYAMA2012-03-071-7/+2
| | | | | | reduce saving heads times in fetching revisions. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a forum (#10390).Jean-Philippe Lang2012-03-062-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set user_id as a protected attribute (#10390).Jean-Philippe Lang2012-03-061-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a wiki (#10390).Jean-Philippe Lang2012-03-062-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9138 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a version (#10390).Jean-Philippe Lang2012-03-062-3/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a time entry (#10390).Jean-Philippe Lang2012-03-062-5/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9136 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use safe_attributes= just like in #create.Jean-Philippe Lang2012-03-061-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9135 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a news (#10390).Jean-Philippe Lang2012-03-062-2/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9134 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a forum message (#10390).Jean-Philippe Lang2012-03-062-11/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding a project member (#10390).Jean-Philippe Lang2012-03-061-8/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating an issue category (#10390).Jean-Philippe Lang2012-03-062-4/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9131 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding/updating a document (#10390).Jean-Philippe Lang2012-03-062-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent mass-assignment when adding a news comment (#10390).Jean-Philippe Lang2012-03-062-1/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9129 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the proposed users list may be empty when adding a project member ↵Jean-Philippe Lang2012-03-063-2/+13
| | | | | | (#10374). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9128 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup in TimelogController#destroy.Jean-Philippe Lang2012-03-042-17/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9095 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a template for API error messages so that it does not depend on ↵Jean-Philippe Lang2012-03-042-9/+7
| | | | | | AR::Errors serialization. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9094 e93f8b46-1217-0410-a6f0-8f06a7374b81