]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoscm: bazaar: move cat and annotate test from unit app test to unit lib test.
Toshi MARUYAMA [Tue, 15 Feb 2011 11:05:33 +0000 (11:05 +0000)]
scm: bazaar: move cat and annotate test from unit app test to unit lib test.

Bazaar supports revision number and do not need to read database.

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

13 years agoscm: cvs: set client available if cvs version above 1.12.
Toshi MARUYAMA [Tue, 15 Feb 2011 11:05:13 +0000 (11:05 +0000)]
scm: cvs: set client available if cvs version above 1.12.

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

13 years agoscm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Git and Mercurial...
Toshi MARUYAMA [Tue, 15 Feb 2011 11:04:52 +0000 (11:04 +0000)]
scm: mercurial: ignore redminehelper.pyc and redminehelper.pyo for Git and Mercurial (#4455).

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

13 years agoscm: mercurial: add Mercurial helper extension (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 11:04:30 +0000 (11:04 +0000)]
scm: mercurial: add Mercurial helper extension (#4455).

* 'rhsummary' and 'rhmanifest' for reducing the number of hg command calls.
* 'rhdiff' for compatibility with Mercurial < 1.1.

Also renamed TEMPLATES_DIR to HELPERS_DIR because the directory now contains
templates and a helper extension.

Original version was written by Alessio Franceschelli,
downloaded from http://www.redmine.org/attachments/3395/overhaul.py

Contributed by Alessio Franceschelli and Yuya Nishihara.

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

13 years agoscm: cvs: add methods of getting cvs version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 08:04:11 +0000 (08:04 +0000)]
scm: cvs: add methods of getting cvs version and add unit lib test (#4273).

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

13 years agoscm: bazaar: add methods of getting bazaar version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 07:04:49 +0000 (07:04 +0000)]
scm: bazaar: add methods of getting bazaar version and add unit lib test (#4273).

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

13 years agoscm: mercurial: add new method 'hg' to wrap shellout (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 07:04:29 +0000 (07:04 +0000)]
scm: mercurial: add new method 'hg' to wrap shellout (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: git: add methods of getting git version and add unit lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 05:58:31 +0000 (05:58 +0000)]
scm: git: add methods of getting git version and add unit lib test (#4273).

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

13 years agoscm: mercurial: switch shell quote revision with argument.
Toshi MARUYAMA [Tue, 15 Feb 2011 05:58:11 +0000 (05:58 +0000)]
scm: mercurial: switch shell quote revision with argument.

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

13 years agoscm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapters/subversion_ad...
Toshi MARUYAMA [Tue, 15 Feb 2011 05:33:25 +0000 (05:33 +0000)]
scm: subversion: change newlines LF to CRLF at lib/redmine/scm/adapters/subversion_adapter.rb.

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

13 years agoscm: subversion: change unit app test project id from 1 to 3.
Toshi MARUYAMA [Tue, 15 Feb 2011 02:29:47 +0000 (02:29 +0000)]
scm: subversion: change unit app test project id from 1 to 3.

Fixtures have project id 1 subversion changesets and changes.

Change file:/// to file://.

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

13 years agoscm: subversion: refactor getting svn version and add lib test (#4273).
Toshi MARUYAMA [Tue, 15 Feb 2011 02:12:39 +0000 (02:12 +0000)]
scm: subversion: refactor getting svn version and add lib test (#4273).

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

13 years agoscm: catch CommandFailed during bulk Repository.fetch_changesets (#4455).
Toshi MARUYAMA [Tue, 15 Feb 2011 02:12:19 +0000 (02:12 +0000)]
scm: catch CommandFailed during bulk Repository.fetch_changesets (#4455).

Contributed by Yuya Nishihara.

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

13 years agoscm: git: remove localtime (#6346).
Toshi MARUYAMA [Mon, 14 Feb 2011 08:45:54 +0000 (08:45 +0000)]
scm: git: remove localtime (#6346).

No needs to use localtime.
If we use localtime, we should clone.

See r4794 and r4802.

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

13 years agoscm: add scm command and version methods at repository models (#4273).
Toshi MARUYAMA [Mon, 14 Feb 2011 08:45:34 +0000 (08:45 +0000)]
scm: add scm command and version methods at repository models (#4273).

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

13 years agoscm: use shell quote for scm command at adapter level (#7517, #4273).
Toshi MARUYAMA [Mon, 14 Feb 2011 06:14:34 +0000 (06:14 +0000)]
scm: use shell quote for scm command at adapter level (#7517, #4273).

"C:\Program Files\TortoiseHg\hg.exe" can be used in config/configuration.yml.

In Ruby 1.9 IO.popen, if cmd is an Array of String,
it will be used as the subprocess‘s argv bypassing a shell.

See http://www.ruby-doc.org/core/classes/IO.html

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

13 years agoIntroduced MailHandler#dispatch_to_default method to make MailHandler more extensible...
Jean-Baptiste Barth [Sat, 12 Feb 2011 10:08:11 +0000 (10:08 +0000)]
Introduced MailHandler#dispatch_to_default method to make MailHandler more extensible. #7598

Contributed by Yuki Sonoda

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

13 years agoscm: space and tab cleanup of app/controllers/repositories_controller.rb.
Toshi MARUYAMA [Sat, 12 Feb 2011 09:44:46 +0000 (09:44 +0000)]
scm: space and tab cleanup of app/controllers/repositories_controller.rb.

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

13 years agoscm: fix non ASCII filename downloaded from repo is broken on Internet Explorer ...
Toshi MARUYAMA [Sat, 12 Feb 2011 09:44:23 +0000 (09:44 +0000)]
scm: fix non ASCII filename downloaded from repo is broken on Internet Explorer (#7288).

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

13 years agoscm: cvs: fix most binary files become corrupted on Windows (#6090).
Toshi MARUYAMA [Sat, 12 Feb 2011 09:43:57 +0000 (09:43 +0000)]
scm: cvs: fix most binary files become corrupted on Windows (#6090).

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

13 years agoIgnore .project and .loadpath files for hg/git mirrors. #7497
Jean-Baptiste Barth [Sat, 12 Feb 2011 09:02:02 +0000 (09:02 +0000)]
Ignore .project and .loadpath files for hg/git mirrors. #7497

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

13 years agoAdded 'retro' style for gravatars. #7608
Jean-Baptiste Barth [Sat, 12 Feb 2011 08:16:37 +0000 (08:16 +0000)]
Added 'retro' style for gravatars. #7608

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

13 years agoscm: bazaar: fix typo and mistakes.
Toshi MARUYAMA [Fri, 11 Feb 2011 16:00:57 +0000 (16:00 +0000)]
scm: bazaar: fix typo and mistakes.

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

13 years agoscm: git: fix typo of unit lib test.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:44:52 +0000 (15:44 +0000)]
scm: git: fix typo of unit lib test.

This file includes UTF-8 "literal".
We need to consider Ruby 1.9 compatibility.

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

13 years agoscm: cvs: fix unit lib test fails on Windows.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:32:45 +0000 (15:32 +0000)]
scm: cvs: fix unit lib test fails on Windows.

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

13 years agoscm: bazaar: prepare version string unit lib test.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:31:11 +0000 (15:31 +0000)]
scm: bazaar: prepare version string unit lib test.

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

13 years agoscm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing...
Toshi MARUYAMA [Fri, 11 Feb 2011 15:30:45 +0000 (15:30 +0000)]
scm: change gunzip to tar -z option for scm repository setup in lib/tasks/testing.rake.

Pipe does not work on Mingw Ruby.

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

13 years agoscm: git: prepare version string unit lib test and git log encoding (#3396).
Toshi MARUYAMA [Fri, 11 Feb 2011 15:30:22 +0000 (15:30 +0000)]
scm: git: prepare version string unit lib test and git log encoding (#3396).

This file includes UTF-8 literal.
We need to consider Ruby 1.9 compatibity.

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

13 years agoscm: cvs: code clean up.
Toshi MARUYAMA [Fri, 11 Feb 2011 15:29:56 +0000 (15:29 +0000)]
scm: cvs: code clean up.

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

13 years agoscm: subversion: prepare version string unit lib test.
Toshi MARUYAMA [Thu, 10 Feb 2011 18:13:10 +0000 (18:13 +0000)]
scm: subversion: prepare version string unit lib test.

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

13 years agoscm: cvs: generate pseudo scmid for auto issue close text (#6706).
Toshi MARUYAMA [Mon, 7 Feb 2011 10:26:15 +0000 (10:26 +0000)]
scm: cvs: generate pseudo scmid for auto issue close text (#6706).

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

13 years agoscm: cvs: change temporary revision number from "_N" to "tmpN" (#996, #3761, #6706).
Toshi MARUYAMA [Mon, 7 Feb 2011 10:25:52 +0000 (10:25 +0000)]
scm: cvs: change temporary revision number from "_N" to "tmpN" (#996, #3761, #6706).

'_' is SQL "like" special character.

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

13 years agoFixed various typos in french locale
Jean-Baptiste Barth [Sun, 6 Feb 2011 00:31:15 +0000 (00:31 +0000)]
Fixed various typos in french locale

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

13 years agoscm: add scm_cvs_command at config/configuration.yml.example (#7517).
Toshi MARUYAMA [Sat, 5 Feb 2011 00:57:41 +0000 (00:57 +0000)]
scm: add scm_cvs_command at config/configuration.yml.example (#7517).

I forgot to add it.

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

13 years agoscm: change key name of configurable command name (#7517, #6159, #7047).
Toshi MARUYAMA [Fri, 4 Feb 2011 10:24:10 +0000 (10:24 +0000)]
scm: change key name of configurable command name (#7517, #6159, #7047).

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

13 years agoscm: use "e.g." for "for example" at config/configuration.yml.example (#7517).
Toshi MARUYAMA [Fri, 4 Feb 2011 05:30:14 +0000 (05:30 +0000)]
scm: use "e.g." for "for example" at config/configuration.yml.example (#7517).

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

13 years agoscm: add a feature of configurable path of executable for scm adapters (#7517).
Toshi MARUYAMA [Fri, 4 Feb 2011 04:28:39 +0000 (04:28 +0000)]
scm: add a feature of configurable path of executable for scm adapters (#7517).

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

13 years agoscm: cvs: use localtime at cvs rlog -d option (#996, #3761).
Toshi MARUYAMA [Wed, 2 Feb 2011 13:13:44 +0000 (13:13 +0000)]
scm: cvs: use localtime at cvs rlog -d option (#996, #3761).

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

13 years agoscm: cvs: add unit lib test.
Toshi MARUYAMA [Wed, 2 Feb 2011 13:13:20 +0000 (13:13 +0000)]
scm: cvs: add unit lib test.

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

13 years agoscm: mercurial: add unit lib test for the previous changeset isn't the parent (#7253...
Toshi MARUYAMA [Wed, 2 Feb 2011 10:01:22 +0000 (10:01 +0000)]
scm: mercurial: add unit lib test for the previous changeset isn't the parent (#7253, #7518).

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

13 years agoscm: cvs: add fetch_changesets at all unit app test methods.
Toshi MARUYAMA [Wed, 2 Feb 2011 10:00:20 +0000 (10:00 +0000)]
scm: cvs: add fetch_changesets at all unit app test methods.

Redmine generates pseudo revision number, so all tests need to read database.

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

13 years agoscm: cvs: code clean up.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:01:27 +0000 (04:01 +0000)]
scm: cvs: code clean up.

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

13 years agoscm: cvs: change project id of functional test from 1 to 3.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:00:59 +0000 (04:00 +0000)]
scm: cvs: change project id of functional test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoscm: cvs: change project id of unit app test from 1 to 3.
Toshi MARUYAMA [Wed, 2 Feb 2011 04:00:36 +0000 (04:00 +0000)]
scm: cvs: change project id of unit app test from 1 to 3.

Project id 1 has Subversion fixtures.

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

13 years agoIgnore config/configuration.yml (#7408).
Toshi MARUYAMA [Tue, 1 Feb 2011 13:48:56 +0000 (13:48 +0000)]
Ignore config/configuration.yml (#7408).

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

13 years agoUpdate for 1.1.1 release.
Jean-Philippe Lang [Sun, 30 Jan 2011 14:37:23 +0000 (14:37 +0000)]
Update for 1.1.1 release.

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

13 years agoReverted r4780 that broke gantt tests (#7280).
Jean-Philippe Lang [Sun, 30 Jan 2011 09:09:50 +0000 (09:09 +0000)]
Reverted r4780 that broke gantt tests (#7280).

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

13 years agoRemoved issue subjects wrapping in gantt (#7280).
Jean-Philippe Lang [Sun, 30 Jan 2011 06:54:00 +0000 (06:54 +0000)]
Removed issue subjects wrapping in gantt (#7280).

Contributed by Etienne Massip.

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

13 years agoTranslations updates.
Jean-Philippe Lang [Sun, 30 Jan 2011 06:37:01 +0000 (06:37 +0000)]
Translations updates.

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

13 years agoMoves .htaccess to htaccess.fcgi.example (#7256).
Jean-Philippe Lang [Sun, 30 Jan 2011 06:31:28 +0000 (06:31 +0000)]
Moves .htaccess to htaccess.fcgi.example (#7256).

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

13 years agoPrevent error when Mantis version.date_order is nil (#7476).
Jean-Philippe Lang [Fri, 28 Jan 2011 19:45:09 +0000 (19:45 +0000)]
Prevent error when Mantis version.date_order is nil (#7476).

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

13 years agoFixed: Relations are not displayed after adding/removing an issue relation (#7463).
Jean-Philippe Lang [Thu, 27 Jan 2011 21:38:47 +0000 (21:38 +0000)]
Fixed: Relations are not displayed after adding/removing an issue relation (#7463).

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

13 years agoFixed: no email sent with 'Notifiy for any event on the selected projects only' ...
Jean-Philippe Lang [Mon, 24 Jan 2011 17:28:59 +0000 (17:28 +0000)]
Fixed: no email sent with 'Notifiy for any event on the selected projects only' (#7421).

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

13 years agoMoves link_to_message to ApplicationHelper to make it available to redmine links.
Jean-Philippe Lang [Sun, 23 Jan 2011 17:02:10 +0000 (17:02 +0000)]
Moves link_to_message to ApplicationHelper to make it available to redmine links.

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

13 years agoAdds visible scope to redmine links queries.
Jean-Philippe Lang [Sun, 23 Jan 2011 16:47:59 +0000 (16:47 +0000)]
Adds visible scope to redmine links queries.

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

13 years agoAdds support for cross project Redmine links (#7409).
Jean-Philippe Lang [Sun, 23 Jan 2011 16:12:38 +0000 (16:12 +0000)]
Adds support for cross project Redmine links (#7409).

See public/help/wiki_syntax_detailed.html for the syntax.

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

13 years agoSet the httponly flag on the autologin cookie.
Jean-Philippe Lang [Sun, 23 Jan 2011 11:40:07 +0000 (11:40 +0000)]
Set the httponly flag on the autologin cookie.

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

13 years agoMakes the autologin cookie configurable (#1763).
Jean-Philippe Lang [Sun, 23 Jan 2011 11:20:46 +0000 (11:20 +0000)]
Makes the autologin cookie configurable (#1763).

The cookie attributes (name, path, secure) can now be set in config/configuration.yml.

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

13 years agoMakes the folder for attachments storage configurable in config/configuration.yml...
Jean-Philippe Lang [Sun, 23 Jan 2011 10:41:43 +0000 (10:41 +0000)]
Makes the folder for attachments storage configurable in config/configuration.yml (#1236).

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

13 years agoIgnores eclipse settings files.
Jean-Philippe Lang [Sun, 23 Jan 2011 10:27:02 +0000 (10:27 +0000)]
Ignores eclipse settings files.

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

13 years agoIgnores db/*.sqlite3.
Jean-Philippe Lang [Sun, 23 Jan 2011 10:25:48 +0000 (10:25 +0000)]
Ignores db/*.sqlite3.

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

13 years agoAdds an application configuration file: config/configuration.yml (#7408).
Jean-Philippe Lang [Sun, 23 Jan 2011 10:22:00 +0000 (10:22 +0000)]
Adds an application configuration file: config/configuration.yml (#7408).

Email delivery settings that were stored in config/email.yml should be moved to this new configuration file.

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

13 years agoscm: darcs: fix Darcs adapter recognizes new files as modified files above Darcs...
Toshi MARUYAMA [Sun, 23 Jan 2011 04:17:26 +0000 (04:17 +0000)]
scm: darcs: fix Darcs adapter recognizes new files as modified files above Darcs 2.4 (#7415).

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

13 years agoscm: darcs: add compatible test of Darcs 2.3 and 2.4 (#7415).
Toshi MARUYAMA [Sun, 23 Jan 2011 04:17:03 +0000 (04:17 +0000)]
scm: darcs: add compatible test of Darcs 2.3 and 2.4 (#7415).

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

13 years agoscm: darcs: switch '.' or @url at entries() in darcs version (#4899).
Toshi MARUYAMA [Sat, 22 Jan 2011 15:38:47 +0000 (15:38 +0000)]
scm: darcs: switch '.' or @url at entries() in darcs version (#4899).

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

13 years agoscm: darcs: change io.gets to io.read and add darcs version unit (#4494, #5404).
Toshi MARUYAMA [Sat, 22 Jan 2011 15:38:23 +0000 (15:38 +0000)]
scm: darcs: change io.gets to io.read and add darcs version unit (#4494, #5404).

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

13 years agoscm: darcs: add unit lib test.
Toshi MARUYAMA [Sat, 22 Jan 2011 15:37:59 +0000 (15:37 +0000)]
scm: darcs: add unit lib test.

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

13 years agoMoves relations fetching from views to the controller and skip invalid relations...
Jean-Philippe Lang [Sat, 22 Jan 2011 13:28:20 +0000 (13:28 +0000)]
Moves relations fetching from views to the controller and skip invalid relations (#7385).

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

13 years agoRemoved extraneous hidden_field on wiki history (#7379).
Jean-Philippe Lang [Sat, 22 Jan 2011 13:21:24 +0000 (13:21 +0000)]
Removed extraneous hidden_field on wiki history (#7379).

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

13 years agoCoderay upgraded to 0.9.7 (#5344).
Jean-Philippe Lang [Sat, 22 Jan 2011 13:18:01 +0000 (13:18 +0000)]
Coderay upgraded to 0.9.7 (#5344).

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

13 years agoFixes french translation of "Connection" (#7348).
Jean-Philippe Lang [Sat, 22 Jan 2011 12:35:05 +0000 (12:35 +0000)]
Fixes french translation of "Connection" (#7348).

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

13 years agoMake POP3 mail fetcher log messages instead of puts (#7177).
Jean-Philippe Lang [Sat, 22 Jan 2011 12:09:07 +0000 (12:09 +0000)]
Make POP3 mail fetcher log messages instead of puts (#7177).

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

13 years agoAvoid "private method `gsub' called for nil:NilClass" error when exporting issues...
Jean-Philippe Lang [Sat, 22 Jan 2011 11:57:02 +0000 (11:57 +0000)]
Avoid "private method `gsub' called for nil:NilClass" error when exporting issues with nil description (#7386).

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

13 years agoFixed: subtasks are deleted (not destroyed) when destroying parent issue (#7385).
Jean-Philippe Lang [Sat, 22 Jan 2011 11:46:15 +0000 (11:46 +0000)]
Fixed: subtasks are deleted (not destroyed) when destroying parent issue (#7385).

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

13 years agoscm: functional test of using format_revision() for annotate (#3724).
Toshi MARUYAMA [Fri, 21 Jan 2011 13:22:28 +0000 (13:22 +0000)]
scm: functional test of using format_revision() for annotate (#3724).

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

13 years agoscm: use format_revision() for history, view and annotate (#3724).
Toshi MARUYAMA [Fri, 21 Jan 2011 13:22:08 +0000 (13:22 +0000)]
scm: use format_revision() for history, view and annotate (#3724).

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

13 years agoLoad csshover.htc for IE6 only as later versions support hover on non-link elements.
Jean-Philippe Lang [Sun, 16 Jan 2011 16:36:58 +0000 (16:36 +0000)]
Load csshover.htc for IE6 only as later versions support hover on non-link elements.

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

13 years agoDo not show "for only project I select" notification option on application settings...
Jean-Philippe Lang [Sun, 16 Jan 2011 15:36:42 +0000 (15:36 +0000)]
Do not show "for only project I select" notification option on application settings form (#7294).

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

13 years agoEnable ability for administrators to delete users (#7296).
Jean-Philippe Lang [Sun, 16 Jan 2011 15:23:11 +0000 (15:23 +0000)]
Enable ability for administrators to delete users (#7296).

User's personal data (eg. preferences, tokens, private queries...) are deleted, public data (eg. issues, wiki edits, attachments...) are reassigned to the anonymous user.

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

13 years agoFixed: "Notifiy for only project I select" is randomly displayed (#7294).
Jean-Philippe Lang [Sun, 16 Jan 2011 14:40:38 +0000 (14:40 +0000)]
Fixed: "Notifiy for only project I select" is randomly displayed (#7294).

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

13 years agoWhen destroying a user, remove all references to that user (#7296).
Jean-Philippe Lang [Sun, 16 Jan 2011 14:27:02 +0000 (14:27 +0000)]
When destroying a user, remove all references to that user (#7296).

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

13 years agoAdds a User-Agent header to Redmine mailhandler requests (#7318).
Jean-Philippe Lang [Sat, 15 Jan 2011 14:48:33 +0000 (14:48 +0000)]
Adds a User-Agent header to Redmine mailhandler requests (#7318).

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

13 years agoFixed: Label not translated in french in Settings/Email Notification tab (#7313).
Jean-Philippe Lang [Sat, 15 Jan 2011 14:25:11 +0000 (14:25 +0000)]
Fixed: Label not translated in french in Settings/Email Notification tab (#7313).

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

13 years agoPrevent SystemStackError on Issue#all_dependent_issues with circular dependency ...
Jean-Philippe Lang [Sat, 15 Jan 2011 14:12:18 +0000 (14:12 +0000)]
Prevent SystemStackError on Issue#all_dependent_issues with circular dependency (#7320).

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

13 years agoAdds colon after label.
Jean-Philippe Lang [Sat, 15 Jan 2011 14:04:11 +0000 (14:04 +0000)]
Adds colon after label.

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

13 years agoAdds a test for issue circular dependency validation.
Jean-Philippe Lang [Sat, 15 Jan 2011 14:03:39 +0000 (14:03 +0000)]
Adds a test for issue circular dependency validation.

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

13 years agoFrench locale update (#7337).
Jean-Philippe Lang [Sat, 15 Jan 2011 14:02:44 +0000 (14:02 +0000)]
French locale update (#7337).

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

13 years agoFixed: "Loading..." icon does not disappear after adding a project member when there...
Jean-Philippe Lang [Sat, 15 Jan 2011 13:20:18 +0000 (13:20 +0000)]
Fixed: "Loading..." icon does not disappear after adding a project member when there is no other member to add (#7265).

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

13 years agoscm: mercurial: fix revision at functional diff test.
Toshi MARUYAMA [Sat, 15 Jan 2011 10:15:41 +0000 (10:15 +0000)]
scm: mercurial: fix revision at functional diff test.

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

13 years agoscm: mercurial: fix id at functional test_empty_revision test(#7307).
Toshi MARUYAMA [Fri, 14 Jan 2011 23:10:49 +0000 (23:10 +0000)]
scm: mercurial: fix id at functional test_empty_revision test(#7307).

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

13 years agoscm: git: fix id at functional test_empty_revision test(#7307).
Toshi MARUYAMA [Fri, 14 Jan 2011 23:10:13 +0000 (23:10 +0000)]
scm: git: fix id at functional test_empty_revision test(#7307).

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

13 years agoscm: use #blank? instead of #nil? || #empty? at Repository#find_changeset_by_name...
Toshi MARUYAMA [Fri, 14 Jan 2011 22:51:12 +0000 (22:51 +0000)]
scm: use #blank? instead of #nil? || #empty? at Repository#find_changeset_by_name(name) (#7307).

Referring r4711.

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

13 years agoUse #blank? instead of #nil? || #empty?.
Jean-Philippe Lang [Fri, 14 Jan 2011 20:24:03 +0000 (20:24 +0000)]
Use #blank? instead of #nil? || #empty?.

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

13 years agoRespond with 404 instead of 500 when revision/entry is not found in the repository...
Jean-Philippe Lang [Fri, 14 Jan 2011 20:22:36 +0000 (20:22 +0000)]
Respond with 404 instead of 500 when revision/entry is not found in the repository (#7307).

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

13 years agoAdds a test for TimeEntry#spent_on= with invalid string.
Jean-Philippe Lang [Fri, 14 Jan 2011 18:45:28 +0000 (18:45 +0000)]
Adds a test for TimeEntry#spent_on= with invalid string.

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

13 years agoFixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 (#7258).
Jean-Philippe Lang [Fri, 14 Jan 2011 18:04:16 +0000 (18:04 +0000)]
Fixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 (#7258).

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

13 years agoscm: mercurial: unit lib test for entries accept both of revision number and changese...
Toshi MARUYAMA [Thu, 13 Jan 2011 12:05:11 +0000 (12:05 +0000)]
scm: mercurial: unit lib test for entries accept both of revision number and changeset id (#3724, #3421)

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

13 years agoscm: mercurial: fix error on revision page for empty revision (#7307).
Toshi MARUYAMA [Thu, 13 Jan 2011 12:04:51 +0000 (12:04 +0000)]
scm: mercurial: fix error on revision page for empty revision (#7307).

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

13 years agoscm: fix error on revision page for empty revision (#7307).
Toshi MARUYAMA [Thu, 13 Jan 2011 12:04:30 +0000 (12:04 +0000)]
scm: fix error on revision page for empty revision (#7307).

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

13 years agoRemoved obsolete css class (#7279).
Jean-Philippe Lang [Tue, 11 Jan 2011 20:37:31 +0000 (20:37 +0000)]
Removed obsolete css class (#7279).

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