Toshi MARUYAMA
a17fcac822
Rails3: model: query: parse dates using UTC (ruby 1.9 inside) ( #4796 )
...
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.
test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 00:23:05 +00:00
Toshi MARUYAMA
41a6c8be65
Rails3: model: replace deprecated errors.add_to_base at validate_issue of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:26 +00:00
Toshi MARUYAMA
caa2ce3417
Rails3: model: replace deprecated errors.add_to_base at save_issue_with_child_records of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:02 +00:00
Toshi MARUYAMA
986f0acb00
fix typo of fix_issue() at Changeset model
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 09:05:54 +00:00
Etienne Massip
0aa63a13bc
Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR ( #9308 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-03 20:17:01 +00:00
Toshi MARUYAMA
049b35edb0
Rails3: model: replace deprecated 'validate_on_create' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:39 +00:00
Etienne Massip
98e18b2141
Allow project column to be removed from the global issue list columns ( #8411 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA
ef962b84d7
Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:23:26 +00:00
Toshi MARUYAMA
a4c4edacfd
Rails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:22:38 +00:00
Toshi MARUYAMA
c534c9e984
Rails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb ( #6317 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 16:20:57 +00:00
Toshi MARUYAMA
52011f1582
replace RAILS_DEFAULT_LOGGER of mylogger() to Rails.logger at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 02:01:36 +00:00
Toshi MARUYAMA
4c389d4100
code layout clean up of reminder() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 07:02:54 +00:00
Toshi MARUYAMA
cf7efe3f7d
code layout clean up of render_multipart() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:59:39 +00:00
Toshi MARUYAMA
b89bf7eaf1
code layout clean up of account_activation_request() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:56:24 +00:00
Toshi MARUYAMA
3505339007
code layout clean up of wiki_content_updated() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:54:29 +00:00
Toshi MARUYAMA
e2a48eaa75
code layout clean up of wiki_content_added() at app/models/mailer.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7463 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-23 06:53:57 +00:00
Toshi MARUYAMA
4ac5a2c338
Rails3: model: replace deprecated 'after_destroy' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:42:07 +00:00
Toshi MARUYAMA
c23052aa08
Rails3: model: replace deprecated 'after_update' method at Message model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 15:41:25 +00:00
Toshi MARUYAMA
4ffca69d84
Rails3: model: replace deprecated 'before_validation' method at TimeEntry model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 13:39:06 +00:00
Toshi MARUYAMA
e683bd7582
Rails3: model: replace deprecated 'validate' method at TimeEntry model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 12:06:33 +00:00
Toshi MARUYAMA
e16d20f1b4
Rails3: model: replace deprecated 'before_save' method at WikiPage model
...
unit wiki_redirect_test.rb has this test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:54:37 +00:00
Toshi MARUYAMA
ec1b9f38f3
Rails3: model: replace deprecated 'before_destroy' method at WikiPage model
...
test_redirects_removed_when_deleting_page at unit wiki_redirect_test.rb has this test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-22 00:53:53 +00:00
Toshi MARUYAMA
2d541a7e1b
Rails3: model: replace deprecated 'after_save' method at IssueStatus model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 23:50:52 +00:00
Toshi MARUYAMA
579acce9f6
Rails3: model: replace deprecated 'before_validation' method at Change model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 13:56:16 +00:00
Toshi MARUYAMA
7e017e6c2c
Rails3: model: replace deprecated 'validate' method at User model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 06:14:11 +00:00
Toshi MARUYAMA
97c7e84f49
Rails3: model: replace deprecated 'validate' method at Issue model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 06:12:35 +00:00
Toshi MARUYAMA
ca9c6bc254
Rails3: model: replace deprecated 'before_create' method at Token model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 05:16:19 +00:00
Toshi MARUYAMA
92403eb855
Rails3: model: replace deprecated 'before_save' method at Enumeration model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 04:50:58 +00:00
Toshi MARUYAMA
3268a190ae
Rails3: model: replace deprecated 'before_save' method at IssueRelation model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7426 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-21 04:50:07 +00:00
Toshi MARUYAMA
5c46cede2b
Rails3: replace deprecated 'validate' method at Query model
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-20 16:56:57 +00:00
Toshi MARUYAMA
86d6f2fe37
Rails3: replace deprecated 'validate' method at IssueRelation model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:43:42 +00:00
Toshi MARUYAMA
52dd8b56c9
Rails3: replace deprecated 'after_create' method at Message model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:43:03 +00:00
Toshi MARUYAMA
507192f167
Rails3: replace deprecated 'before_save' method at User model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 16:06:36 +00:00
Toshi MARUYAMA
17312e143c
Rails3: replace deprecated 'validate' method at CustomValue model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 14:13:40 +00:00
Toshi MARUYAMA
545c4fa6c9
Rails3: replace deprecated 'validate' method at CustomField model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 13:12:34 +00:00
Toshi MARUYAMA
e9e47673fa
remove trailing white-spaces from app/models/version.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:09:32 +00:00
Toshi MARUYAMA
876573c8a3
remove trailing white-spaces from app/models/version_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:09:05 +00:00
Toshi MARUYAMA
dd03483c65
remove trailing white-spaces from app/models/workflow.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:08:39 +00:00
Toshi MARUYAMA
03cfa5c7a2
remove trailing white-spaces from app/models/journal_observer.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:48:10 +00:00
Toshi MARUYAMA
82797e2387
remove trailing white-spaces from app/models/mail_handler.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:47:44 +00:00
Toshi MARUYAMA
01b9ae926f
remove trailing white-spaces from app/models/news_observer.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:47:21 +00:00
Toshi MARUYAMA
9b340a1b6d
remove trailing white-spaces from app/models/principal.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:46:55 +00:00
Toshi MARUYAMA
5ed07bfe06
remove trailing white-spaces from app/models/issue_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:46:27 +00:00
Toshi MARUYAMA
fc6eee6878
remove trailing white-spaces from app/models/issue_observer.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6873 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:45:59 +00:00
Toshi MARUYAMA
dbd5d2f54b
remove trailing white-spaces from app/models/group_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:42:00 +00:00
Toshi MARUYAMA
3d525ec78b
remove trailing white-spaces from app/models/project_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:06:26 +00:00
Toshi MARUYAMA
ebff04692b
remove trailing white-spaces from app/models/role.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6857 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:05:43 +00:00
Toshi MARUYAMA
9b7828cc86
remove trailing white-spaces from app/models/user_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:05:03 +00:00
Toshi MARUYAMA
f58c2f87c2
remove trailing white-spaces from app/models/journal.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:04:22 +00:00
Toshi MARUYAMA
aa2caae09b
remove trailing white-spaces from app/models/issue_priority_custom_field.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:03:35 +00:00