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
Toshi MARUYAMA
963719042a
ignore X-Autoreply mails ( #15999 , #13425 )
...
Contributed by Karel Pičman.
git-svn-id: http://svn.redmine.org/redmine/trunk@13738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-12 04:58:31 +00:00
Jean-Philippe Lang
d4ebbe5ba8
Adds some helpers tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-11 17:58:08 +00:00
Jean-Philippe Lang
fcf9cf7bb1
Misc tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:31:48 +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
2462a8581d
Don't create a journal when creating an issue.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-08 17:18:28 +00:00
Jean-Philippe Lang
e09f48e459
Skip some validations if attribute did not change.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-06 11:23:05 +00:00
Jean-Philippe Lang
5324fd04b1
Specify the order for finding a setting.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:03:29 +00:00
Jean-Philippe Lang
3b6ba58b11
Skip uniqueness validation when updating a setting without changing its name.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:02:29 +00:00
Jean-Philippe Lang
ca71cf3800
Adds methods for loading and adding settings.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 15:00:27 +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
8992dc9f93
Removed dead code, Rails4 handles that in its attribute writer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:37:00 +00:00
Jean-Philippe Lang
2cd00fdc29
Removed unused scopes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:34:59 +00:00
Jean-Philippe Lang
934e3c7de1
Typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 09:05:03 +00:00
Jean-Philippe Lang
84eee82209
Removed unused and deprecated Issue#move_to_project method.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:58:42 +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
7673910a2d
Moved journal details generation to Journal model.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13703 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 08:03:32 +00:00
Jean-Philippe Lang
85765a39e4
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:59:25 +00:00
Jean-Philippe Lang
89add05d2d
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13701 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:58:48 +00:00
Jean-Philippe Lang
f4651040b5
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:57:51 +00:00
Jean-Philippe Lang
ca4ed6df86
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:54:55 +00:00
Jean-Philippe Lang
0ab49d9c7c
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-04 20:54:23 +00:00
Jean-Philippe Lang
795b8df7fc
Removed unused helper.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-03 20:26:30 +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
1059f9a99e
Get version ids with a single query (was n+1).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-02 20:32:09 +00:00
Jean-Philippe Lang
22a9742216
Removed broken and unused method added in r5313.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-02 20:23:52 +00:00
Jean-Philippe Lang
49bd22255f
Use scope.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-02 20:23:20 +00:00
Jean-Philippe Lang
62cf53384d
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 16:39:20 +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
749d703881
Adds a more specific title for the attachments edit link ( #1326 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 13:55:41 +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
Jean-Philippe Lang
4d2688e7a8
Group filters in the filter select list ( #13849 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 09:31:56 +00:00
Jean-Philippe Lang
86d8acb344
Fixed "First argument in form cannot contain nil or be empty" error ( #18275 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:59:54 +00:00
Jean-Philippe Lang
552926772a
Error raised on project settings after project wiki is deleted ( #18429 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 07:43:22 +00:00
Jean-Philippe Lang
1fcbeb6f81
Use named routes or helpers.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 19:34:33 +00:00
Jean-Philippe Lang
1e0045e69b
Removed duplicate element ids.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:45:24 +00:00
Jean-Philippe Lang
e0a034164f
Move wiki page to other project ( #5450 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:36:01 +00:00
Toshi MARUYAMA
1ada789a6c
Merged r13640 from 2.6-stable to trunk ( #18280 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 13:52:32 +00:00
Toshi MARUYAMA
d1982d8156
replace tab to space at app/models/issue.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 11:59:33 +00:00
Jean-Philippe Lang
827ab38725
Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error ( #18060 ).
...
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 10:56:59 +00:00
Jean-Philippe Lang
4e69edb5b8
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 09:42:09 +00:00
Jean-Philippe Lang
65a62431dd
Clear @spent_hours on reload ( #18410 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 09:39:10 +00:00
Jean-Philippe Lang
a7559e669f
Moved select_list_move.js content to application.js.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 22:14:34 +00:00
Jean-Philippe Lang
4bfbabfdfa
Removed submit_query_form function.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 22:02:23 +00:00
Jean-Philippe Lang
ff0a91d97d
Use an handler instead of onsubmit attribute.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 21:53:25 +00:00
Jean-Philippe Lang
043c2c92da
Removed deep nested time entries routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 21:28:03 +00:00
Jean-Philippe Lang
1508cd7b8b
Moved new group user to its own action GroupsController#new_users.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 08:53:39 +00:00
Jean-Philippe Lang
67835aa74d
Adds a hook at the bottom of the calender ( #6586 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-15 20:46:11 +00:00