Bulgarian translation updated by Ivan Cenov (#10376)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9126 e93f8b46-1217-0410-a6f0-8f06a7374b81
Fixed that the proposed users list may be empty when adding a project member (#10374).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9128 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding a news comment (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9129 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a document (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9130 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating an issue category (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9131 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding a project member (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9132 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a forum message (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9133 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a news (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9134 e93f8b46-1217-0410-a6f0-8f06a7374b81
Use safe_attributes= just like in #create.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9135 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a time entry (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9136 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a version (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9137 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a wiki (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9138 e93f8b46-1217-0410-a6f0-8f06a7374b81
Set user_id as a protected attribute (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9139 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevent mass-assignment when adding/updating a forum (#10390).

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9140 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: backout r8840 (#8857, #9472)

reduce saving heads times in fetching revisions.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9141 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: backout r8839 (#8857)

call "git log" only once instead of per branch in fetching revisions.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9142 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: reduce saving heads times in fetching revisions (#8857, #9472)

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9143 e93f8b46-1217-0410-a6f0-8f06a7374b81
scm: git: performance improvements in fetching revisions (#8857, #9472)

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://rubyforge.org/var/svn/redmine/trunk@9144 e93f8b46-1217-0410-a6f0-8f06a7374b81
remove trailing white-space from app/models/repository/git.rb

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Adds a test for when query is not found.

git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@9159 e93f8b46-1217-0410-a6f0-8f06a7374b81