Go MAEDA
14e0a6bdba
Use reverse_each instead of reverse.each ( #27671 ).
...
Patch by Timur Tarasenko.
git-svn-id: http://svn.redmine.org/redmine/trunk@17137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-12-31 01:34:39 +00:00
Jean-Philippe Lang
71423af0b2
Get rid of acts_as_versioned.
...
WikiContent::Version becomes WikiContentVersion.
git-svn-id: http://svn.redmine.org/redmine/trunk@16889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-26 16:41:06 +00:00
Toshi MARUYAMA
ee99e5bfcc
fix search engine returns 500 error by Go MAEDA ( #26526 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 12:08:02 +00:00
Toshi MARUYAMA
11a1f02cc7
remove trailing white spaces from lib/plugins/acts_as_searchable/lib/acts_as_searchable.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 12:07:52 +00:00
Jean-Philippe Lang
1ab658db59
Removes acts_as_list plugin.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 16:19:34 +00:00
Jean-Philippe Lang
d74f0bfd5c
Merged rails-5.1 branch ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Toshi MARUYAMA
6139e0033a
spelling fixes ( #25495 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Jean-Philippe Lang
2503731d3c
Removes invalid attributes from gravatar img tag.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:55:13 +00:00
Jean-Philippe Lang
dac7903da3
Fixes uploading of empty files ( #25115 ).
...
- prevents creation of attachment records without existing diskfile and empty
digest
- adds test case to check file upload API response
- also removes the file size check in ActsAsAttachable which still prevented
attachment of zero size attachments to containers but only for clients
without Javascript (where save_attachments is called with the actual file
upload).
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 18:05:17 +00:00
Jean-Philippe Lang
79d5d30705
Hires (2x DPR) image support for Gravatars ( #24927 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:40:57 +00:00
Jean-Philippe Lang
2c70d9e988
Set inverse on custom_values association.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:52:42 +00:00
Jean-Philippe Lang
2b70d97705
acts_as_versioned use old style (Rails 2.x) of method call for #all ( #24348 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 07:19:13 +00:00
Jean-Philippe Lang
ef45304817
Adds file custom field format ( #6719 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 07:15:13 +00:00
Jean-Philippe Lang
e58e676b7c
Removes a call to alias_method_chain.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 06:52:38 +00:00
Jean-Philippe Lang
541241a849
Removes a call to alias_method_chain.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 06:49:44 +00:00
Jean-Philippe Lang
f416657d56
When creating issues by receiving an email, watchers created via CC in the mail don't get an email notification ( #23278 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-09 03:15:32 +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