Jean-Philippe Lang
540237033e
Merged r16341 ( #25115 ).
...
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 20:00:17 +00:00
Jean-Philippe Lang
7189fdbf0c
Merged r15950 ( #24348 ).
...
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-26 09:02:26 +00:00
Jean-Philippe Lang
f231779252
Merged r15609 ( #23278 ).
...
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-11 18:09:54 +00:00
Jean-Philippe Lang
40c9c3e922
Notify the user of missing attachments ( #22401 ).
...
under certain (rare) circumstances it may happen that, when an issue or other
container is saved, added attachments have already been removed (i.e. by the
attachments:prune rake task). This patch adds a validation error to the
container in this case.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:31:20 +00:00
Jean-Philippe Lang
db64340419
Deprecates unused stuff ( #12909 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 18:04:23 +00:00
Jean-Philippe Lang
bb2c6f6076
Fixed that subtasks lose their custom fields when copying an issue to a different project ( #22342 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:11:59 +00:00
Jean-Philippe Lang
3de694f5e5
Use protocol-relative URL for gravatars ( #21855 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@15245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-15 21:52:20 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
e6112a9710
New custom fields of existing issues are not initialized with their default value ( #21074 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 09:17:29 +00:00
Jean-Philippe Lang
d4723bb05f
Query doesn't work with non ASCII uppercase symbols ( #20438 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-02 08:32:18 +00:00
Jean-Philippe Lang
3036eaba52
Replace tabs with spaces and remove trailing tabs in several files ( #20140 ).
...
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-21 16:38:29 +00:00
Jean-Philippe Lang
ea34967e65
acts_as_versioned not compatible with ActiveRecord 4.2.1 ( #19957 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-31 07:19:33 +00:00
Jean-Philippe Lang
dbcdc3415d
Removed no longer used :find_options option for acts_as_activity_provider.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-18 21:10:22 +00:00
Jean-Philippe Lang
af5872b7d4
Support for accent insensitive search with PostgreSQL ( #18801 ).
...
If the unaccent extension is installed, the search engine will use it in order to do accent insensitive search.
git-svn-id: http://svn.redmine.org/redmine/trunk@13989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-08 15:13:57 +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
742895183a
Search custom fields and journals with different queries to take advantage of indexes on text columns if present.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-08 22:04:00 +00:00
Jean-Philippe Lang
88ec93ab74
Updates comments for r13811.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 12:05:01 +00:00
Jean-Philippe Lang
14074fa4c2
Converts timestamps to integers in #search_result_ranks_and_ids.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-26 12:03:01 +00:00
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