add .travis.yml and switch database user/password by environments

git-svn-id: http://svn.redmine.org/redmine/trunk@12665 e93f8b46-1217-0410-a6f0-8f06a7374b81
fix typo of .travis.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@12666 e93f8b46-1217-0410-a6f0-8f06a7374b81
svn propset svn:eol-style native .travis.yml


git-svn-id: http://svn.redmine.org/redmine/trunk@12667 e93f8b46-1217-0410-a6f0-8f06a7374b81
remove JRuby PostgreSQL from allow_failures of .travis.yml

Tests pass on Travis.
* jruby 1.7.9 (1.9.3p392) 2014-01-09 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.7.0_45-b18 [linux-amd64]
* jdbc-postgres (9.3.1100)
* activerecord-jdbc-adapter (1.3.5)
* activerecord-jdbcpostgresql-adapter (1.3.5)

git-svn-id: http://svn.redmine.org/redmine/trunk@12668 e93f8b46-1217-0410-a6f0-8f06a7374b81
Make sure that we don't set the done ratio to a value > 100% (#15870).

git-svn-id: http://svn.redmine.org/redmine/trunk@12669 e93f8b46-1217-0410-a6f0-8f06a7374b81
Focus first text field automatically (#13134).

git-svn-id: http://svn.redmine.org/redmine/trunk@12670 e93f8b46-1217-0410-a6f0-8f06a7374b81
Prevents no method errors when reloading in development mode.

git-svn-id: http://svn.redmine.org/redmine/trunk@12671 e93f8b46-1217-0410-a6f0-8f06a7374b81
add newline at end of lib/plugins/awesome_nested_set/init.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@12672 e93f8b46-1217-0410-a6f0-8f06a7374b81
Don't display default watchers checkboxes on the new issue form when there are more than 20 members (#8562).

git-svn-id: http://svn.redmine.org/redmine/trunk@12673 e93f8b46-1217-0410-a6f0-8f06a7374b81
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.autotest

git-svn-id: http://svn.redmine.org/redmine/trunk@12674 e93f8b46-1217-0410-a6f0-8f06a7374b81
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.travis.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@12675 e93f8b46-1217-0410-a6f0-8f06a7374b81
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/spec/*


git-svn-id: http://svn.redmine.org/redmine/trunk@12676 e93f8b46-1217-0410-a6f0-8f06a7374b81
import awesome_nested_set 2.1.5

https://github.com/collectiveidea/awesome_nested_set/commit/60fe4f69e4d6c3052bb45fb3e0a118ca201d9054

git-svn-id: http://svn.redmine.org/redmine/trunk@12677 e93f8b46-1217-0410-a6f0-8f06a7374b81
add lib/plugins/awesome_nested_set/init.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@12678 e93f8b46-1217-0410-a6f0-8f06a7374b81
apply Redmine awesome_nested_set 2.1.5 modification

git-svn-id: http://svn.redmine.org/redmine/trunk@12679 e93f8b46-1217-0410-a6f0-8f06a7374b81
use :order_column option instead of :order for acts_as_nested_set

git-svn-id: http://svn.redmine.org/redmine/trunk@12680 e93f8b46-1217-0410-a6f0-8f06a7374b81
back out r12680

<pre>
  1) Failure:
test_children(ProjectTest) [test/unit/project_test.rb:374]:
<[5, 3, 4]> expected but was
<[3, 4, 5]>.
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@12681 e93f8b46-1217-0410-a6f0-8f06a7374b81
move awesome_nested_set leaf? modification to config/initializers/10-patches.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@12682 e93f8b46-1217-0410-a6f0-8f06a7374b81
call Project#set_or_update_position_under in Project.rebuild_tree! (#12431)

git-svn-id: http://svn.redmine.org/redmine/trunk@12683 e93f8b46-1217-0410-a6f0-8f06a7374b81
back out r12679 awesome_nested_set 2.1.5 modification

git-svn-id: http://svn.redmine.org/redmine/trunk@12684 e93f8b46-1217-0410-a6f0-8f06a7374b81