Commit Graph

1042 Commits

Author SHA1 Message Date
Jean-Philippe Lang 2072669769 Fixed: Setting issue attributes from mail should be case-insensitive (#8759).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 10:50:42 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 79f25c08f8 Document why relation is reversed after validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:31:06 +00:00
Jean-Philippe Lang ea06b3cca5 Set a default value for relation type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:29:33 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang f2af44b6fe Do not show 2 validation errors when user mail is blank.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:37:57 +00:00
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Jean-Philippe Lang 66f026aa78 Normalize issue description EOLs do prevent false journal details (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:42:46 +00:00
Jean-Philippe Lang 0a9bf389ef Fixed: Workflow copy does not copy advanced workflow settings (#8739).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:13:39 +00:00
Jean-Philippe Lang d0d807caf1 Do not journalize blank description changes (#8712).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 11:05:27 +00:00
Toshi MARUYAMA 5cfc42982b scm: return nil at model default_branch and override at git model (#8458, #6713).
Redmine Git and Mercurial adapter support *branches*.
Mercurial default branch is *dafault*.
But, it is popular to show all revisions on the top page for Mercurial GUI.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 03:46:32 +00:00
Jean-Baptiste Barth f982c5b90d Fixed circular dependencies possibly introduced when using reverse relations, for instance "blocked by" relations (#8616).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-26 12:47:15 +00:00
Jean-Baptiste Barth 88bd76b0e4 Added Project#enable_module! and Project#disable_module! (#7115)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-19 23:45:22 +00:00
Toshi MARUYAMA c3b4722c2a replace RAILS_ROOT to Rails.root in setting model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-16 01:52:45 +00:00
Toshi MARUYAMA 5500defd0d replace RAILS_ROOT to Rails.root of attachments storage path.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-15 23:39:37 +00:00
Toshi MARUYAMA 8427048d5d scm: fix JRuby tests fail in unit changeset following test.
* test_invalid_utf8_sequences_in_comments_should_be_replaced_ja_jis
* test_invalid_utf8_sequences_in_comments_should_be_replaced_latin1

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 01:29:22 +00:00
Toshi MARUYAMA ee2236f5bd scm: catch all exceptions to get scm command version in repository model (#8510).
If scm command does not exist,
Linux jruby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException in production environment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-03 09:54:57 +00:00
Jean-Philippe Lang bf137818bb Fixed: activity shows updates of private issues (#8432).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 07:12:38 +00:00
Toshi MARUYAMA a267babfe8 scm: mercurial: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 10:12:00 +00:00
Toshi MARUYAMA adbe6af44a scm: mercurial: use regexp %r{} instead of // in model latest_changesets_cond().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-26 10:11:31 +00:00
Toshi MARUYAMA fa94e86d43 scm: add exception of fetching revisions error in repository model (#5357, #2799, #4741, #8030).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 11:33:36 +00:00
Toshi MARUYAMA f1f4362b50 scm: git: brush up model fetch_changesets() comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 22:58:38 +00:00
Toshi MARUYAMA fe7e8fa590 scm: git: use hash#dup for extra_info in model fetch_changesets().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:38:14 +00:00
Toshi MARUYAMA 098655dbd0 scm: git: set revisions ordering inconsistent in existing database (#5357).
Between version 0.9 r2840 (#1406) and version 1.2 r5073 (#7821, #5357),
git revisions are stored as *C-B-A-F-E-D* in database.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-19 02:16:27 +00:00
Toshi MARUYAMA 04b1c974fb remove trailing white-spaces from document observer model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:52:48 +00:00
Toshi MARUYAMA b86fe9a604 remove trailing white-spaces from enabled module source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:52:23 +00:00
Toshi MARUYAMA 1150917358 remove trailing white-spaces and an empty line from document category custom field model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:51:51 +00:00
Toshi MARUYAMA 966390148f remove trailing white-spaces from document category model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:51:15 +00:00
Toshi MARUYAMA 6eaf34c214 scm: bazaar: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:11:41 +00:00
Toshi MARUYAMA c5554dd65e remove trailing white-spaces from setting model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:19:08 +00:00
Toshi MARUYAMA 22e80f04ae remove trailing white-spaces from query model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 04:33:19 +00:00
Toshi MARUYAMA 6f8e3c031f remove trailing white-spaces from time entry model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:58:41 +00:00
Toshi MARUYAMA 32cb715db9 remove trailing white-spaces from news model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:58:19 +00:00
Toshi MARUYAMA da5140b1ac remove trailing white-spaces from message observer model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:57:57 +00:00
Toshi MARUYAMA c810b9db9c remove trailing white-spaces from message model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:57:34 +00:00
Toshi MARUYAMA 01c5311662 remove trailing white-spaces from mailer model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:57:10 +00:00
Toshi MARUYAMA f2e5b62448 remove trailing white-spaces from mail handler model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:56:45 +00:00
Toshi MARUYAMA 42a367b258 remove trailing white-spaces excluding SQL from issue model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 02:14:06 +00:00
Toshi MARUYAMA 97abb12aeb remove trailing white-spaces from WikiContent model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-16 00:00:26 +00:00
Toshi MARUYAMA 674a61dc8e remove trailing white-spaces from Document model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-15 23:52:48 +00:00
Toshi MARUYAMA b829acfb4a remove trailing white-spaces from Attachment model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-15 23:45:13 +00:00
Toshi MARUYAMA 0f245c0e56 remove trailing white-spaces from changeset model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-15 23:01:21 +00:00
Toshi MARUYAMA 7ca5a4939e scm: git: fix fetching 7 days problem (#7146, #6013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 10:38:45 +00:00
Toshi MARUYAMA d65c3d438d scm: git: show only filename and filesize if setting of reporting last commit is disable (#8365, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:55:21 +00:00
Toshi MARUYAMA d21b35d32a scm: git: get "extra_report_last_commit" value from extra_info (#8365, #7047).
Browsing repository tree performance problem is git only.
So, adding new "report_last_commit" column is very expensive.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:51:14 +00:00
Toshi MARUYAMA 4ee79a60ef scm: add a repository model method "merge_extra_info()" to merge "extra_info" serializing hash yaml (#7146, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 23:58:38 +00:00
Toshi MARUYAMA 30aecd5e25 scm: add "extra_info" column to repositories table and set serialize (#7146, #7047).
This column is for specific SCM.
Git 7 days problem (#7146) can not resolve unless storing branches info in database.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 17:29:18 +00:00
Toshi MARUYAMA 1a947a1617 scm: mercurial: remove trailing white-spaces from model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:52:14 +00:00
Toshi MARUYAMA 9c09b74dff scm: darcs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:41:29 +00:00
Toshi MARUYAMA b5130b17a0 scm: filesystem: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:41:08 +00:00
Toshi MARUYAMA fa5f4ff77a scm: subversion: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:16:20 +00:00
Toshi MARUYAMA 850059d0cf scm: bazaar: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:16:00 +00:00
Toshi MARUYAMA 6520d484bf scm: subversion: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:15:39 +00:00
Toshi MARUYAMA cddc5f70a3 scm: git: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 07:06:57 +00:00
Toshi MARUYAMA e28ac7f880 remove trailing white-spaces from MailHandler model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 21:28:54 +00:00
Toshi MARUYAMA 773b248669 scm: git: change model report_last_commit() name to extra_report_last_commit() (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 03:43:11 +00:00
Toshi MARUYAMA 114e3f3b82 scm: git: use the model value of whether reporting last commit in repository tree (#7047).
And remove entries_git() and the flag in adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:43:29 +00:00
Toshi MARUYAMA 03fb61a782 scm: git: add the model method whether reporting last commit in repository tree (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:43:09 +00:00
Toshi MARUYAMA 12f4b8b6d9 scm: git: override entries() in model for browsing tree performance (#7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5655 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 11:42:46 +00:00
Toshi MARUYAMA fbdbdf96fe scm: code clean up repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 07:30:22 +00:00
Toshi MARUYAMA 9c3a9fdd87 scm: git: fix indent in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 06:13:23 +00:00
Toshi MARUYAMA 86d9ea32db scm: code clean up repository model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 01:30:24 +00:00
Toshi MARUYAMA 2336093739 scm: git: add comments of revision order in fetch_changesets().
Related issues.
#5357, #6013, #7146, #4773, #4547, #1406, #3449, #3567.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 23:38:11 +00:00
Toshi MARUYAMA a7c178f6a6 scm: git: rearrange fetch_changesets() comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 23:36:57 +00:00
Toshi MARUYAMA 19c6266a7d scm: git: refactor saving a revision in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 03:44:10 +00:00
Jean-Philippe Lang fdb0151869 Fixed: notes are lost when copying issue(s) (#6901, #8239).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 13:27:50 +00:00
Jean-Philippe Lang 88a93d7e10 Fixed: copying an issue keeps the author of the original issue (#6901).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 12:41:07 +00:00
Jean-Philippe Lang 57f63d513c Makes 'This week' filter work with any starting day of week (#7097).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:28:27 +00:00
Toshi MARUYAMA 7e77d5ddf9 scm: cvs: use i18n string at 'CVSROOT' and 'Module' setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:40:23 +00:00
Toshi MARUYAMA 25d6ed38b6 scm: filesystem: use i18n string at 'Root directory' setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:38:32 +00:00
Toshi MARUYAMA 36eac0dc8d scm: use i18n string at 'Path to repository' setting in Mercurial, Git, Bazaar and Darcs.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:37:03 +00:00
Toshi MARUYAMA 82d5de4b4e scm: mercurial: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:41:26 +00:00
Toshi MARUYAMA 8696835b42 scm: darcs: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:40:45 +00:00
Toshi MARUYAMA 7ad046f53d scm: bazaar: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:40:04 +00:00
Toshi MARUYAMA bb929f4f75 scm: use i18n string at commit log encoding setting (#1735).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 03:34:43 +00:00
Toshi MARUYAMA 2dc0875a72 scm: cvs: fix mistake human attribute names of root_url and url.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 00:25:32 +00:00
Toshi MARUYAMA c80fe134f5 scm: darcs: set supports_directory_revisions true at model (#7984).
Darcs adapter saves directory changes in database.
So, Redmine 1.1 shows latest changesets in sub directory.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 06:28:16 +00:00
Toshi MARUYAMA 5512e397ee scm: prevent PostgreSQL or Ruby 1.9 errors if paths is invalid UTF-8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:44:35 +00:00
Jean-Philippe Lang f16cddd57a Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Jean-Philippe Lang 80e2eed702 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 17:49:20 +00:00
Toshi MARUYAMA 04a22fa757 scm: cvs: convert author encoding with log encoding setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:39:00 +00:00
Toshi MARUYAMA bebf8247a7 scm: cvs: fix parsing revisions if author is not ASCII.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 15:01:55 +00:00
Toshi MARUYAMA b091c98238 scm: cvs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-13 11:54:42 +00:00
Toshi MARUYAMA cc534137ba scm: darcs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5448 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-13 11:53:33 +00:00
Jean-Philippe Lang 1242e448f3 Extract visibility condition from project statement and use visible scopes instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 16:53:39 +00:00
Toshi MARUYAMA 37c6480e44 scm: darcs: model entries returns nil if revision is not stored in database.
Prevent showing invalid revision in repository tab.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:45:37 +00:00
Toshi MARUYAMA fbf23a14b8 scm: darcs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:44:48 +00:00
Toshi MARUYAMA c4616e0ae0 scm: cvs: model entries returns nil if revision is not stored in database.
Prevent showing invalid revision in repository tab.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:44:10 +00:00
Jean-Philippe Lang 3cc7353093 Do a redirect when accessing a renamed wiki page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 19:21:57 +00:00
Jean-Philippe Lang aa0d01b3d9 Adds an issues visibility level on roles (#7412).
It can be set so that users only see their own issues (created or assigned).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:53:15 +00:00
Toshi MARUYAMA 0a0819f81e scm: cvs: override annotate() in model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 15:43:50 +00:00
Toshi MARUYAMA ae2304449b scm: cvs: cat returns nil if revision does not exist at model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 13:12:37 +00:00
Toshi MARUYAMA 4bf5c42b2b scm: cvs: code clean up model.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 12:05:59 +00:00
Toshi MARUYAMA 18431d3681 scm: cvs: code clean up app/models/repository/cvs.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 23:22:22 +00:00
Toshi MARUYAMA cae3fcce54 scm: use upcase to compare encoding name "UTF-8" in log converting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 23:21:41 +00:00
Toshi MARUYAMA f31df6c02f scm: code clean up app/models/changeset.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 23:21:04 +00:00
Toshi MARUYAMA 6536c53e09 scm: replace invalid utf-8 sequences in comments instead of stripping on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 09:31:14 +00:00
Toshi MARUYAMA b9ce061319 scm: code clean up app/models/changeset.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 09:30:50 +00:00
Toshi MARUYAMA c12453ec4e scm: code clean up app/models/changeset.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-09 08:19:55 +00:00