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
d509341797
API: creating an issue with an invalid project_id should return 422 instead of 403 ( #19276 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 10:02:45 +00:00
Jean-Philippe Lang
c0c05ec41e
Don't let users be sorted by email ( #19161 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-20 09:58:32 +00:00
Jean-Philippe Lang
840881c76a
Use named routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-10 18:22:53 +00:00
Jean-Philippe Lang
e429d93945
Fixed that #require_login should respond for other request types ( #19325 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-10 18:19:51 +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
2a7795ab52
Escape flash messages ( #19117 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-17 17:47:36 +00:00
Jean-Philippe Lang
76e7025f07
Workaround for timestamps rounding issues with Rails4.2 and mysql5.7 that may kill user session after password is changed ( #17460 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-15 09:09:35 +00:00
Jean-Philippe Lang
ae4eb47881
Adds custom fields to documents ( #7249 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 10:44:59 +00:00
Jean-Philippe Lang
efbbabe620
Don't include unused helper modules.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:13:09 +00:00
Jean-Philippe Lang
8534fc04a0
Updated code comments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-14 08:09:06 +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
b17883a2df
IssuesController#edit as XML is not implemented.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 20:02:54 +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
37aa016740
Added Issue#attributes_editable?
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 19:30:15 +00:00
Jean-Philippe Lang
9548d39a15
Moved users list diplayed as available watchers on the new issue form to an helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-13 17:32:26 +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
01f673be08
Removed :move_issues permission ( #18855 ).
...
This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.
git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 10:20:53 +00:00
Jean-Philippe Lang
756eaeffb4
Make search results per page configurable ( #19005 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@13962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-07 07:44:44 +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
Jean-Philippe Lang
defd3f439f
Removed :update key and use :edit instead.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-27 21:55:34 +00:00
Jean-Philippe Lang
0ac022e91d
The :change_status permission was removed in r1043.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-27 21:52:34 +00:00
Jean-Philippe Lang
7a0432d85c
Adds support for macro and Redmine links in PDF export ( #13051 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-25 09:04:52 +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
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
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
fec68fcfc1
Same fix as r13582 for trackers and statuses ( #18769 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:56:34 +00:00
Jean-Philippe Lang
b1e105abe2
Redirect to the current page when reordering roles ( #18769 ).
...
Patch by Jérôme BATAILLE.
git-svn-id: http://svn.redmine.org/redmine/trunk@13852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:52:23 +00:00
Jean-Philippe Lang
5d2eea1489
Cleans up parent project assignment in ProjectsController.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:19:57 +00:00
Jean-Philippe Lang
12890945e5
Allow attachment thumbnails from REST API ( #18707 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 11:26:24 +00:00
Jean-Philippe Lang
93690ee830
Send the content type as parameter when uploading a file.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 21:07:13 +00:00
Jean-Philippe Lang
c0800b330c
Error when adding user to group where he is already assigned ( #18665 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-21 20:15:24 +00:00
Jean-Philippe Lang
717f491f50
Cache search result ids for faster search pagination ( #18631 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 09:33:02 +00:00
Jean-Philippe Lang
71172e2411
Moved search logic to Redmine::Search ( #18631 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 08:10:05 +00:00
Jean-Philippe Lang
15bb695bbb
Use logger.info? ( #18605 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-14 21:53:38 +00:00
Jean-Philippe Lang
f731545c61
Use a simple count query.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 16:55:28 +00:00
Jean-Philippe Lang
c886ffe200
Don't show roles without issue add/edit permission in workflow setup ( #15988 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 14:47:16 +00:00
Jean-Philippe Lang
b8d2d35e95
Use projects association.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 11:09:42 +00:00
Jean-Philippe Lang
2fe806a4a4
Rewrites search engine to properly paginate results ( #18631 ).
...
Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only.
git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 20:49:31 +00:00
Jean-Philippe Lang
95810125bf
Don't create a journal when creating an issue with attachments.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:30:47 +00:00
Jean-Philippe Lang
9dae5771bc
Un-inline statement.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:38:34 +00:00
Jean-Philippe Lang
e111e2bc38
Use :only instead of :except option in IssueRelationsController filters.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:14:21 +00:00
Jean-Philippe Lang
a942c1c25e
Removed unimplemented JournalsController#edit html response and added some tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:08:00 +00:00
Jean-Philippe Lang
9a7604981b
Rescue RecordNotSaved in #save_with_content.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-03 20:22:46 +00:00
Jean-Philippe Lang
6f3ab71f3f
Localisation not set correctly on authenticity token errors ( #18499 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:16:59 +00:00
Jean-Philippe Lang
30d65829b8
Configurable behavour for linking issues on copy ( #18500 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 15:10:59 +00:00
Jean-Philippe Lang
288c014aa7
Edit attachments after upload ( #1326 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 13:41:53 +00:00