Commit Graph

1738 Commits

Author SHA1 Message Date
Jean-Philippe Lang
95f7471e9c Adds a form to manually submit an email to the mail handler.
Use GET /mail_handler?key= to get the form.

git-svn-id: http://svn.redmine.org/redmine/trunk@14314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-15 21:47:22 +00:00
Jean-Philippe Lang
ed9f00178c Ability to limit member management to certain roles (#19707).
git-svn-id: http://svn.redmine.org/redmine/trunk@14293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-31 07:16:23 +00:00
Jean-Philippe Lang
ff2532e52d Fixed test failures introduced by r14288 (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14291 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 09:41:58 +00:00
Jean-Philippe Lang
78384d147a Menu should not include "New issue" for users with copy issues permission only.
git-svn-id: http://svn.redmine.org/redmine/trunk@14290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 09:10:06 +00:00
Jean-Philippe Lang
216a153421 Update activities list when changing project/issue id on the time entry form (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-30 08:38:35 +00:00
Jean-Philippe Lang
09b935b44e Fixed that copying issues always copy subtasks and attachments even if option is unchecked (#11787).
git-svn-id: http://svn.redmine.org/redmine/trunk@14268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-23 07:08:53 +00:00
Jean-Philippe Lang
d640f7b249 Adds private issue option to receiving emails (#8424).
git-svn-id: http://svn.redmine.org/redmine/trunk@14262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-10 09:07:36 +00:00
Jean-Philippe Lang
ef2e75f072 Set a back_url when forcing new login after session expiration (#19655).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@14245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 10:43:09 +00:00
Jean-Philippe Lang
fd034f7341 Adds flash messages to files_controller#create (#19793).
git-svn-id: http://svn.redmine.org/redmine/trunk@14243 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 10:29:21 +00:00
Jean-Philippe Lang
27bcd879f3 Can't bulk edit own time entries with "Edit own time entries" (#18580).
git-svn-id: http://svn.redmine.org/redmine/trunk@14242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-09 10:10:28 +00:00
Toshi MARUYAMA
3568b3729c prevent IssuesControllerTest#test_index_csv_big_5 fails randomly
git-svn-id: http://svn.redmine.org/redmine/trunk@14235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-01 16:30:36 +00:00
Jean-Philippe Lang
16b5ff6aaf Custom field (long text format) displayed even if empty (#19482).
git-svn-id: http://svn.redmine.org/redmine/trunk@14215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-25 08:00:11 +00:00
Jean-Philippe Lang
9cb9f67055 SQL error with SQLServer when grouping+sorting issues (#19544).
git-svn-id: http://svn.redmine.org/redmine/trunk@14165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-12 09:44:32 +00:00
Jean-Philippe Lang
3d1c40cd52 Fixed validation when logging time on issue (#19464).
git-svn-id: http://svn.redmine.org/redmine/trunk@14162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-12 07:37:18 +00:00
Jean-Philippe Lang
8c6e5513a1 Fixed tests failures (#19400).
git-svn-id: http://svn.redmine.org/redmine/trunk@14161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-12 06:53:04 +00:00
Jean-Philippe Lang
b474ad67de "Required" and "Read-only" rules on "Fields Permissions" screen are not colored (#19580).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:54:20 +00:00
Jean-Philippe Lang
11e8dc263f When create by copying the issue, status can not be changed to default (#19553).
git-svn-id: http://svn.redmine.org/redmine/trunk@14158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-11 07:09:11 +00:00
Jean-Philippe Lang
ab4916b01a Fixed test failures (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 10:05:11 +00:00
Jean-Philippe Lang
1448f1731f Fixed that the bulk edit form shows additional custom fields (#19163).
git-svn-id: http://svn.redmine.org/redmine/trunk@14151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-21 09:26:18 +00:00
Jean-Philippe Lang
ea099fb771 Don't render the issue form if issue.project is nil (#19276).
git-svn-id: http://svn.redmine.org/redmine/trunk@14146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 16:27:09 +00:00
Jean-Philippe Lang
5c43b4860e Restored project name as version prefix when different (#19348).
git-svn-id: http://svn.redmine.org/redmine/trunk@14108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 14:05:29 +00:00
Jean-Philippe Lang
730bba8130 Fixed undefined method `compact!' error when additional_user_ids is empty (#19253).
git-svn-id: http://svn.redmine.org/redmine/trunk@14053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-07 16:21:59 +00:00
Jean-Philippe Lang
0b04de0a23 Send a better content type than application/octet-stream (#19131).
git-svn-id: http://svn.redmine.org/redmine/trunk@14034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-19 17:46:24 +00:00
Jean-Philippe Lang
3da7b1bc28 Implements /issues/new form for creating issues outside a project (#1003).
git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:03:51 +00:00
Jean-Philippe Lang
a328224771 Removed IssuesController#update_form action, use #new and #edit instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:00:22 +00:00
Jean-Philippe Lang
c3c7d9a4d2 Adds a :copy_issues permission (#18855).
When copy is allowed, target projects are those on which the user has the :add_issues permission.

git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 12:07:00 +00:00
Jean-Philippe Lang
92cdae4919 Fixed assertion (#18918).
git-svn-id: http://svn.redmine.org/redmine/trunk@13980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 09:39:23 +00:00
Jean-Philippe Lang
e11f77a4b0 Show long text custom field changes as a diff (#15236).
git-svn-id: http://svn.redmine.org/redmine/trunk@13954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-31 10:42:41 +00:00
Toshi MARUYAMA
9c10014a9a add missing fixture to FilesControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 10:44:40 +00:00
Jean-Philippe Lang
b50fa8fec1 Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.
git-svn-id: http://svn.redmine.org/redmine/trunk@13942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-24 11:27:28 +00:00
Toshi MARUYAMA
e10b3fe305 add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 13:32:36 +00:00
Toshi MARUYAMA
693badf5ff add missing fixture to TimeEntryReportsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 11:51:10 +00:00
Jean-Philippe Lang
ad0937e446 Don't change Setting.default_language in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:34:02 +00:00
Jean-Philippe Lang
4730ef894f Fixed that group is not displayed when the first group is a boolean custom field group with "No" value (#18896).
git-svn-id: http://svn.redmine.org/redmine/trunk@13922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:36:59 +00:00
Jean-Philippe Lang
0cde1fccbc Fixed that boolean custom field groups have same label for blank and false values (#18894).
git-svn-id: http://svn.redmine.org/redmine/trunk@13921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 21:23:11 +00:00
Toshi MARUYAMA
98683d0097 fix tests (#13120)
git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 18:00:38 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
193bb9362d Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:54:38 +00:00
Jean-Philippe Lang
a3a8fee8ad Send password reset email to the email used in lost password form (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:51:29 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Toshi MARUYAMA
7f29c2fd88 IssuesControllerTest: make encoding tests independent of ordering (#18856)
Contributed by Antonio Terceiro.

git-svn-id: http://svn.redmine.org/redmine/trunk@13885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-16 04:57:10 +00:00
Toshi MARUYAMA
e7346625f0 fix UsersControllerTest failure randomly
<pre>
  1) Error:
UsersControllerTest#test_show:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/models/issue.rb:53:in `block in <class:Issue>'
    lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `call'
    lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `event_title'
    app/views/users/show.html.erb:57:in `block (2 levels) in _app_views_users_show_html_erb___2965700471773239267_46119700'
    app/views/users/show.html.erb:53:in `each'
    app/views/users/show.html.erb:53:in `block in _app_views_users_show_html_erb___2965700471773239267_46119700'
    app/views/users/show.html.erb:50:in `each'
    app/views/users/show.html.erb:50:in `_app_views_users_show_html_erb___2965700471773239267_46119700'
    app/controllers/users_controller.rb:75:in `block (2 levels) in show'
    app/controllers/users_controller.rb:71:in `show'
    test/functional/users_controller_test.rb:76:in `test_show'
</pre>

This can be reproduced with following change.

<pre>
   fixtures :users, :projects, :members, :member_roles, :roles,
            :custom_fields, :custom_values, :groups_users,
-           :auth_sources
+           :auth_sources,
+           :enabled_modules,
+           :issues, :issue_statuses
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-15 16:31:01 +00:00
Toshi MARUYAMA
a609c702c3 add missing fixture to SearchControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-15 13:38:44 +00:00
Jean-Philippe Lang
000124f44f Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-11 09:09:50 +00:00
Jean-Philippe Lang
a18c719fcc Fixed: Custom field is rendered, even if its value is empty (for multiple) (#18654).
git-svn-id: http://svn.redmine.org/redmine/trunk@13864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 13:03:52 +00:00
Jean-Philippe Lang
0ed895388b Option to search open issues only (#10734).
git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-10 10:09:34 +00:00
Jean-Philippe Lang
576a13e99d Option to search attachment filenames and description (#4383).
git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-09 21:06:09 +00:00
Jean-Philippe Lang
fd4a911304 Fixed that project copy triggers a 500 error if project validation fails.
git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:29:50 +00:00
Jean-Philippe Lang
7ac9072270 Subclasses may not be loaded when running the test.
git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:50:43 +00:00
Jean-Philippe Lang
2a6692248b Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 12:39:48 +00:00