use references
On Rails 4.0:
DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: issues, projects, em) that are referenced in a string SQL snippet. For example: Post.includes(:comments).where("comments.title = 'foo'") Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query,...
replace Relation#all
On Rails4.0:
DEPRECATION WARNING: Relation#all is deprecated.If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`).If you want to get an array of records from a relation,you can call #to_a (e.g. `Post.where(published: true).to_a`).
remove unneeded Relation#all from ProjectTest
Gemfile: remove version from mocha
Gemfile: remove version from shoulda
Gemfile: upgrade shoulda 3.5.0
This shoulda version is not support Ruby 1.8.7.
db migrate: remove Relation#all from 20100819172912_enable_calendar_and_gantt_modules_where_appropriate.rb
DEPRECATION WARNING: Relation#all is deprecated.If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`)....
config: remove config.whiny_nils from test and development environments
DEPRECATION WARNING: config.whiny_nils option is deprecated and no longer works.
fix "connection" at IssueQuery model
.travis.yml: remove Ruby 1.8.7
graft trunk r13148 "not use cache for max rgt"
add lib/plugins/awesome_nested_set/init.rb
awesome_nested_set: import master branch source
https://github.com/collectiveidea/awesome_nested_set/commit/f823ffb304ccf5ca9c4f14b60ff1f45ad2c3f440
Preload project by default in #shared_versions.
Fixed default admin account creation during migration (#14534).
Fixed error on Project.rebuild_tree! during migration (#14534).
Test suite passes with Rails 4.1.
Rails 4.1 branch
Updates for 2.5.2 release.
Japanese translation updated by Go MAEDA (#17392, #17003)
Fixed relative "source" links in email notifications (#3483).
Patch by William Baum.
Include host in macro generated thumbnails urls (#16989).
Adds translation string (#17003).
Option to render boolean custom fields as a single check box or radio buttons (#17003).
Don't redirect to another suburi (#16530).
remove trailing white-space from app/models/workflow_permission.rb
Gemfile: update Rails 3.2.19
use \A instead of ^ for RegExp (#16190)
only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190)
Contributed by Felix Schäfer.
add "Auto-Submitted: auto-forwarded" to ignore mail test (#16190)
fix file upload broken on Chrome 36 (#17151)
Contributed by Felix Schäfer.
prevent "can't modify frozen String" exception when mail sending error (#17235)
Japanese translation changed by Go MAEDA (#17346)
Gemfile: update builder version >= 3.0.4 (#17309)
add test of issue id in sending mail when issue is created by mail (#17078)
fix Japanese terms mismatch in workflow by Go MAEDA (#17308)
Fix Invalid CSS on Error-Pages (#17206).
Patch by Daniel Felix
revert r13183 (#17151)
Czech translation updated by Karel Pičman (#17301)
fix file upload does not work with Safari (#13932)
Gemfile: pin request_store version 1.0.5 (#16685)
Many integration tests are broken.
Japanese translation updated by Go MAEDA (#17166)
fix Ruby Logger doc link (#5706)
fix variable name confusion at AttachmentsController#thumbnail
This is suggested by Rails team.https://github.com/rails/rails/issues/15471#issuecomment-45419147
add test of attachment thumbnail etag
add test of attachment download etag
use with_settings at AttachmentsControllerTest#test_show_text_file_should_send_if_too_big
add missing fixture to ApplicationHelperTest
pass PatchesTest on Rails 4.0.5 (#16194)
fix ProjectsHelperTest fails when config.threadsafe! is enabled (#12097)
remove redundant empty lines from app/models/auth_source_ldap.rb
Remove useless settings when editing a query from the gantt (#16747).
Fixed: unable to clear value for list custom field with multiple values and checkboxes style (#16798).
Fixed "column specified more than once" error with SQLServer (#6579).
Gemfile: upgrade sqlserver tiny_tds to 0.6.2 (#6579)
Adds a custom message for when a syntax error occurs (#16878).
Parse configuration file for ERB (#16878).
Patch by Gavin Dunne.
Count users with a single query on group list (#16905).
awesome_nested_set: not use cache for max rgt (#6579)
remove awesome_nested_set patch from config/initializers/10-patches.rb (#6579)
awesome_nested_set: add lib/plugins/awesome_nested_set/init.rb (#6579)
awesome_nested_set: import git 2-1-stable branch revision 8eaab19868f326 (#6579)
https://github.com/collectiveidea/awesome_nested_set/commit/8eaab19868f326
awesome_nested_set: import git 2-1-stable branch revision 3d5ac746542b564 (#6579)
https://github.com/collectiveidea/awesome_nested_set/commit/3d5ac746542b564
awesome_nested_set: import git 2-1-stable branch revision 606847769 (#6579)
https://github.com/collectiveidea/awesome_nested_set/commit/606847769
replace tabs to spaces (#16795)
Fixed that custom field referencing deleted value trigger an error on display (#16926).
Fixed that Member#destroy triggers after_destroy callbacks twice (#16795).
Improve performance of Principal.member_of scope
The 'join' turns to be slow for large numbers of members (>20k). Using asub-query like in Principal.not_member_of is more efficient and performanceis the same for smaller values.
add support for pop3s (SSL) to redmine:email:receive_pop3 (#16707)
Contributed by Eric Davis.
gantt: completed percent truncated instead of rounded (#14737)
Contributed by Jérôme BATAILLE.
split method for scm test repository extracting (#16881)
add :environment to test:scm:setup:create_dir and test:scm:update rake tasks (#16881)
remove unneeded trailing ';' from lib/redmine/export/pdf.rb
remove unneeded trailing ';' from test/functional/repositories_git_controller_test.rb
Gemfile: update Rails 3.2.18
fix typo of app/models/repository/mercurial.rb
fix typo of app/models/repository/cvs.rb
Repository identifiers can be reserved words (#16564).
Patch by Felix Schäfer.
Mailer.token_for generates invalid message_id when using from address with full name (#16619).
Blank content type for attachments attached via Ajax file upload (Patch by Jens Krämer).
Field set as read-only still available in the issues list context menu (#16755).
Use async email deliveries in rake tasks (#16784).
Crash in markdown formatter causes ruby process to end (#16781).
Patch by Jens Krämer.
Gemfile: upgrade mocha version (#16685)
use rvm 2.0 and 2.1 instead of 2.0.0 and 2.1.0 at .travis.yml
See:https://github.com/travis-ci/travis-ci/issues/2220
add patch for regression of Hash#reject in Ruby 2.1.1 (#16194)
Gemfile: use double quote for request_store (#16685)
introduce request_store to ensure that the current user doesn't leak across request boundaries (#16685)
Contributed by Holger Just.
Missing type=array attributes in custom fields API (#16739).
Don't submit the form when tabs are inside a form (#16708).
Patch by Nicolas Rodriguez.
Support for the 1.x versions of mime-types gem (#16710).
Patch by Szilveszter Ördög.
Redmine links not working with html escpaed characters (#16668).
Set Redcarpet :no_intra_emphasis to true (#16669).
Set default start date on issues created by email if default_issue_start_date_to_creation_date is set (#16655).
fix non-ascii attachment file name get corrupted in IE11 (#16711)
Contributed by Go MAEDA.
remove permission_manage_documents (#16704, #7418)