Jean-Philippe Lang
30175bf85e
Restore accent insensitive search with mysql ( #18537 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-15 19:22:13 +00:00
Jean-Philippe Lang
24ea953822
Use custom SQL for MySQL to behave like others DBMS: case-insensitive search without ignoring accentuation ( #18537 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-14 13:55:52 +00:00
Jean-Philippe Lang
6ad8ff4e13
Don't use #downcase on search tokens, let the database handle it ( #18537 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13754 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-13 18:36:35 +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
05262d2c34
Adds :inverse_of option.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-29 13:52:29 +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
2d1866d966
Merged rails-4.1 branch ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
4a9210d86f
use rbpdf gem instead of bundled rfpdf ( #17570 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@13358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-28 10:23:46 +00:00
Toshi MARUYAMA
cdf9cae4a2
awesome_nested_set: not use cache for max rgt ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:18:05 +00:00
Toshi MARUYAMA
0ee42898da
awesome_nested_set: add lib/plugins/awesome_nested_set/init.rb ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:17:35 +00:00
Toshi MARUYAMA
9ea1ae48db
awesome_nested_set: import git 2-1-stable branch revision 8eaab19868f326 ( #6579 )
...
https://github.com/collectiveidea/awesome_nested_set/commit/8eaab19868f326
git-svn-id: http://svn.redmine.org/redmine/trunk@13145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:17:18 +00:00
Toshi MARUYAMA
e22c5c3f80
awesome_nested_set: import git 2-1-stable branch revision 3d5ac746542b564 ( #6579 )
...
https://github.com/collectiveidea/awesome_nested_set/commit/3d5ac746542b564
git-svn-id: http://svn.redmine.org/redmine/trunk@13144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:16:58 +00:00
Toshi MARUYAMA
43e84c6c10
awesome_nested_set: import git 2-1-stable branch revision 606847769 ( #6579 )
...
https://github.com/collectiveidea/awesome_nested_set/commit/606847769
git-svn-id: http://svn.redmine.org/redmine/trunk@13143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:16:38 +00:00
Jean-Philippe Lang
61776a8b7e
Blank content type for attachments attached via Ajax file upload (Patch by Jens Krämer).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13125 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-02 07:38:04 +00:00
Toshi MARUYAMA
82de347dfd
fix typos of source comments at acts_as_event.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-04-06 14:14:55 +00:00
Toshi MARUYAMA
2545720afa
fix awesome_nested_set test failure ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 11:46:47 +00:00
Toshi MARUYAMA
971dbfecc0
add missing awesome_nested_set 2.1.6 files ( #6579 )
...
64cc8bc8cf
git-svn-id: http://svn.redmine.org/redmine/trunk@13013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 11:46:31 +00:00
Toshi MARUYAMA
755108566c
awesome_nested_set: split highest rgt reader method ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 01:48:04 +00:00
Toshi MARUYAMA
3c83d1c646
fix always new lft and rgt are lft = 1, rgt = 2 ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 01:47:48 +00:00
Toshi MARUYAMA
e4cf210fa2
use bundled awesome_nested_set ( #6579 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 01:47:31 +00:00
Toshi MARUYAMA
d1057bc4ad
import awesome_nested_set 2.1.6 ( #6579 )
...
64cc8bc8cf
git-svn-id: http://svn.redmine.org/redmine/trunk@13007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-03-26 01:47:14 +00:00
Toshi MARUYAMA
35cc911192
update copyright year ( #15977 )
...
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-29 22:45:39 +00:00
Toshi MARUYAMA
9e71d89cdb
Gemfile: use awesome_nested_set 2.1.6 gem
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 06:48:38 +00:00
Toshi MARUYAMA
ba75aa504b
move r12689 awesome_nested_set modification to config/initializers/10-patches.rb ( #7920 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-27 06:47:46 +00:00
Jean-Philippe Lang
5faa1a4e6e
REST API: Integer custom field validation fails when using non-string values ( #15929 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-25 12:08:22 +00:00
Toshi MARUYAMA
4b5ce4c089
graft r5285 to awesome_nested_set 2.1.6 ( #7920 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 07:55:16 +00:00
Toshi MARUYAMA
4a57f5f7f3
add lib/plugins/awesome_nested_set/init.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 07:55:00 +00:00
Toshi MARUYAMA
3f6a676622
import awesome_nested_set 2.1.6
...
64cc8bc8cf
git-svn-id: http://svn.redmine.org/redmine/trunk@12687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 07:54:42 +00:00
Toshi MARUYAMA
2d2542008e
graft r5285 to awesome_nested_set 2.1.5 ( #7920 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 06:51:22 +00:00
Toshi MARUYAMA
65d2df44db
back out r12679 awesome_nested_set 2.1.5 modification
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-21 06:51:06 +00:00
Toshi MARUYAMA
94e3eb2b8b
move awesome_nested_set leaf? modification to config/initializers/10-patches.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12682 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 17:54:47 +00:00
Toshi MARUYAMA
89c43d24c8
back out r12680
...
<pre>
1) Failure:
test_children(ProjectTest) [test/unit/project_test.rb:374]:
<[5, 3, 4]> expected but was
<[3, 4, 5]>.
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@12681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 13:35:05 +00:00
Toshi MARUYAMA
1c0c22de17
use :order_column option instead of :order for acts_as_nested_set
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 12:53:01 +00:00
Toshi MARUYAMA
bcec29d5e4
apply Redmine awesome_nested_set 2.1.5 modification
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 05:59:50 +00:00
Toshi MARUYAMA
90777c1673
add lib/plugins/awesome_nested_set/init.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 05:59:34 +00:00
Toshi MARUYAMA
6f78b3a408
import awesome_nested_set 2.1.5
...
60fe4f69e4
git-svn-id: http://svn.redmine.org/redmine/trunk@12677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 05:59:16 +00:00
Toshi MARUYAMA
77f29deb29
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/spec/*
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 02:19:08 +00:00
Toshi MARUYAMA
df9da6750d
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.travis.yml
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 01:53:58 +00:00
Toshi MARUYAMA
4d95f815d2
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.autotest
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-20 01:47:06 +00:00
Toshi MARUYAMA
b933cd7a65
add newline at end of lib/plugins/awesome_nested_set/init.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-19 09:59:25 +00:00
Toshi MARUYAMA
78ca50560a
Rails4: replace deprecated Relation#update_all at acts_as_list
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 10:11:16 +00:00
Toshi MARUYAMA
76110407b7
Rails4: replace deprecated Relation#update_all at acts_as_list
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-08 04:13:18 +00:00
Toshi MARUYAMA
a5f028a242
use lambda form in acts_as_tree scope ( #12499 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-07 10:02:50 +00:00
Jean-Philippe Lang
77ac3b7891
Reduces the number of subqueries when searching with many custom fields set as searchable ( #15781 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-01-05 14:23:36 +00:00
Jean-Philippe Lang
b8c94d93e9
Fixed slow SELECT ... FOR UPDATE query when deleting an issue.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-22 15:49:53 +00:00
Jean-Philippe Lang
2e2e2cfe42
Merged custom fields format refactoring.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-14 08:22:43 +00:00
Jean-Philippe Lang
758cc2f2e6
Fixed that WikiContent#next_version raises a comparison of Symbol with Arel::Table failed error ( #14773 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-10-14 17:07:17 +00:00
Toshi MARUYAMA
38e8703ed4
pdf: fix empty page attached when exporting ( #13632 )
...
Contributed by Jun NAITOH.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-09-30 10:16:16 +00:00
Toshi MARUYAMA
a3c30bf234
remove svn:executable from lib/plugins/rfpdf excluding lib/fonts/ttf2ufm/ttf2ufm(.exe)
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-10 09:52:40 +00:00
Toshi MARUYAMA
98ac4c0baf
remove unused lib/plugins/rfpdf/lib/fpdf/fpdf_eps.rb
...
This source has broken syntax "when :" on Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-08-10 09:37:10 +00:00