Commit Graph

1014 Commits

Author SHA1 Message Date
Jean-Philippe Lang 2ce3191639 Assignee is removed on issue update if assignee account is locked (#8884).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6308 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:24:02 +00:00
Jean-Philippe Lang 578fdc62f2 Ability to assign issues to groups (#2964).
Option is disabled by default. It can be turned on in application settings.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 18:18:13 +00:00
Jean-Philippe Lang 18103cafbc Refactor: extract specific filter statements to methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:44:10 +00:00
Jean-Philippe Lang 5f79a6a190 Fixed: additional workflow transitions not available when set to both author and assignee (#8836).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 17:05:17 +00:00
Jean-Philippe Lang cf56698d91 Refactor builtin roles creation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:34:55 +00:00
Jean-Philippe Lang 4f92276654 Validate custom field regexp (#8865).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-20 16:29:34 +00:00
Jean-Philippe Lang 6c5b29bb68 More accurate date validation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:36:43 +00:00
Jean-Philippe Lang 308a922d80 Validate date filters values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 14:13:59 +00:00
Jean-Philippe Lang c6da451621 Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 11:38:46 +00:00
Jean-Philippe Lang 73236e5b41 Fixes "=" filter on float values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 11:35:53 +00:00
Toshi MARUYAMA c2e9e2cf56 scm: mercurial: do nothing in fetching if info is nil (#8777).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-11 00:56:09 +00:00
Jean-Philippe Lang c25a79a61b Keep invalid values and add validation error message.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6229 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:34:49 +00:00
Jean-Philippe Lang bedbb166b7 Reject non numeric values for numeric fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:19:21 +00:00
Jean-Philippe Lang bf15b06d98 Fixes filters on float values.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 18:09:40 +00:00
Jean-Philippe Lang 4507aa5014 Adds date based filters (#4729) and date range filter (#6954).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 17:29:29 +00:00
Toshi MARUYAMA ed37d8ed91 scm: git: catch exception in model default_branch() (#8458, #6713).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 11:08:00 +00:00
Toshi MARUYAMA 7dcdd2f171 scm: mercurial: remove return value from model fetch_changesets().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 11:07:37 +00:00
Jean-Philippe Lang 932d4cdfea Adds "between" operator for numeric filters (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-10 08:00:25 +00:00
Jean-Philippe Lang 4a4a71349a Fixes "less than", "greater than" filters on custom fields with postgres (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 21:34:35 +00:00
Jean-Philippe Lang 0bd5e22c81 Numeric operators for custom fields in query filters (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 20:30:51 +00:00
Jean-Philippe Lang b0728550a3 Fixed: Wiki annotated page does not display author of version 1 (#8449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 12:01:08 +00:00
Jean-Philippe Lang 3c2ebd7aa2 Adds visibility condition on parent project in API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:41:04 +00:00
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