Jean-Philippe Lang
2585ed2e3b
Use spaces instead of tabs.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-09 11:58:19 +00:00
Jean-Philippe Lang
1ad33134d3
Enable the watching of news ( #2549 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-09 11:54:21 +00:00
Jean-Philippe Lang
171581da7e
Project.activities should always return a ActiveRecord::Relation ( #15983 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-07 08:36:49 +00:00
Jean-Philippe Lang
09b95905dc
Make sure that Repository#extra_info returns a Hash or nil ( #16032 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 20:23:06 +00:00
Toshi MARUYAMA
a0baf7ee5d
fix wrong issue 'assigned-to-my-group' css class ( #16038 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-06 12:16:27 +00:00
Toshi MARUYAMA
b87a7b8984
scm: mercurial: insert long id to DB unless existing id in DB is not short id ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 14:53:16 +00:00
Toshi MARUYAMA
d301b8c0c1
scm: mercurial: switch short or long id of entry by existing value in DB ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:44:20 +00:00
Toshi MARUYAMA
eb18660369
scm: mercurial: override entry and scm_entries ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 04:44:04 +00:00
Toshi MARUYAMA
8a35585bd2
scm: mercurial: add method to switch short or long id by existing value in DB ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 00:41:16 +00:00
Toshi MARUYAMA
d45bf0a83e
scm: split Repository#entries ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-02 00:40:59 +00:00
Toshi MARUYAMA
f2ec6f8d77
back out r12752 ( #14361 )
...
Revision, Author and Comment of repository browser are broken.
git-svn-id: http://svn.redmine.org/redmine/trunk@12753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 08:46:47 +00:00
Toshi MARUYAMA
ae68ff1100
scm: mercurial: use long id in adapter level ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 07:47:04 +00:00
Toshi MARUYAMA
6ea2b7a43b
scm: mercurial: split Repository::Mercurial#latest_changesets_cond for short and long id ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 07:46:45 +00:00
Toshi MARUYAMA
5dcecec1bd
scm: mercurial: use 12 chars id for format_changeset_identifier ( #14361 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-02-01 04:23:53 +00:00
Jean-Philippe Lang
888823a449
Fixed calculation of done_ratio of parent task with child having estimated_time at 0 ( #15870 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 17:42:46 +00:00
Toshi MARUYAMA
619857e1a4
remove unneeded Relation#all from Repository::Git model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 10:15:52 +00:00
Toshi MARUYAMA
8574948617
code format clean up Repository::Git model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-31 10:15:37 +00:00
Jean-Philippe Lang
d5a9af54fa
Reverts r12669 and add a test for #15870 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-30 22:18:07 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
a711cbb44e
back out from r12715 to r12720: #connection replacing
...
These revisions have performance regression on Rails 3.2.16.
git-svn-id: http://svn.redmine.org/redmine/trunk@12735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 07:21:47 +00:00
Toshi MARUYAMA
4f996fa5c2
remove unneeded Relation#all from TimeEntryQuery model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:19:20 +00:00
Toshi MARUYAMA
ea8febad03
remove unneeded Relation#all from Principal model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:19:03 +00:00
Toshi MARUYAMA
8832cca13b
remove unneeded Relation#all from Repository::Subversion model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:18:47 +00:00
Toshi MARUYAMA
b6f066ddf3
remove unneeded Relation#all from Project model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:18:30 +00:00
Toshi MARUYAMA
051ed3557b
remove unneeded Relation#all from MemberRole model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:18:13 +00:00
Toshi MARUYAMA
3b3a7c50a9
remove unneeded Relation#all from Journal model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 02:17:57 +00:00
Toshi MARUYAMA
c489c28219
code format cleanup Repository::Subversion model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:42:31 +00:00
Toshi MARUYAMA
2bdf28262b
remove unneeded Relation#all from IssueStatus model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:24:41 +00:00
Toshi MARUYAMA
9c7568c1a1
remove unneeded Relation#all from IssueQuery model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:09:24 +00:00
Toshi MARUYAMA
ea8e5c74ec
remove unneeded Relation#all from Mailer model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:09:09 +00:00
Toshi MARUYAMA
ca3d706f56
remove unneeded Relation#all from IssuePriority model
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:08:54 +00:00
Toshi MARUYAMA
dff2721fbe
Rails4: replace deprecated #connection from Query model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:08:25 +00:00
Toshi MARUYAMA
f5c5393d09
Rails4: replace deprecated #connection from Project model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:08:09 +00:00
Toshi MARUYAMA
b1d0107ac0
Rails4: replace deprecated #connection from Repository model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:07:52 +00:00
Toshi MARUYAMA
6be972af35
Rails4: replace deprecated #connection from IssueQuery model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:07:34 +00:00
Toshi MARUYAMA
ecf27b3f12
Rails4: replace deprecated #connection from IssueCustomField model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:07:17 +00:00
Toshi MARUYAMA
0daa1a1a4f
Rails4: replace deprecated #connection from Issue model
...
DEPRECATION WARNING: #connection is deprecated in favour of accessing it via the class.
git-svn-id: http://svn.redmine.org/redmine/trunk@12715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 01:06:58 +00:00
Jean-Philippe Lang
e391be4086
Adds settings for disabling browser language detection and language preference ( #2691 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 10:28:12 +00:00
Jean-Philippe Lang
6e6c6fac5c
Adds firstname initials+lastname user format.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-24 09:23:11 +00:00
Toshi MARUYAMA
bdfcfb35a3
remove unneeded Project#acts_as_nested_set :order => 'name' option
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 06:51:39 +00:00
Toshi MARUYAMA
962ecabc47
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
2014-01-21 06:29:48 +00:00
Toshi MARUYAMA
89c43d24c8
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
2014-01-20 13:35:05 +00:00
Toshi MARUYAMA
1c0c22de17
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
2014-01-20 12:53:01 +00:00
Jean-Philippe Lang
caa7af66e6
Prevents no method errors when reloading in development mode.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-19 09:51:04 +00:00
Jean-Philippe Lang
6f1cda4852
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
2014-01-19 08:35:59 +00:00
Jean-Philippe Lang
5df064ed85
Fixed Changeset#text_tag for changeset with hash and repository identifier ( #13544 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-12 09:19:47 +00:00
Toshi MARUYAMA
073b403bd9
Rails4: replace deprecated Relation#update_all at Project#create_time_entry_activity_if_needed
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 12:49:20 +00:00
Toshi MARUYAMA
99fe35be42
remove unneeded Relation#all from AuthSource#authenticate
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 08:00:57 +00:00
Toshi MARUYAMA
56a3c1ad40
Rails4: replace deprecated Relation#sum with finder options at Issue#total_spent_hours
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-10 05:02:44 +00:00
Toshi MARUYAMA
ac72e7a8d5
remove unneeded Relation#all from Watcher#prune
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-09 08:35:10 +00:00