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
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
7c1445f19a
Tab "New Issue" should not be displayed if a project has no trackers ( #18571 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-05 12:17:20 +00:00
Jean-Philippe Lang
c3ba302f0d
Use simplecov for code coverage, rcov does not support ruby>=1.9.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-02 19:59:38 +00:00
Jean-Philippe Lang
ef5ff1630a
Textile: ignore invalid lang attribute values ( #18501 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 14:55:03 +00:00
Jean-Philippe Lang
47e9796473
Makes object argument optional and typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-30 13:18:22 +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
3c7f638a83
Typo.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 14:02:57 +00:00
Jean-Philippe Lang
1920989ffb
Moved format specific stuff on format specific methods.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-28 13:42:47 +00:00
Jean-Philippe Lang
6d4ab70e63
Removed useless local variable.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 21:10:48 +00:00
Jean-Philippe Lang
34e6646f47
Removed duplicated code.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-26 21:06:47 +00:00
Toshi MARUYAMA
5d4ab52a66
fix "test:routing" rake task comment changed by r13604
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 11:23:07 +00:00
Jean-Philippe Lang
eae9c9ab2b
Isolates all API routing tests to a specific test case.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 10:54:33 +00:00
Jean-Philippe Lang
36fc7beb2f
Moved new project member to its own action MemberController#new.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-15 11:20:47 +00:00
Jean-Philippe Lang
f21a005fea
Removed debug messages ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:58:44 +00:00
Jean-Philippe Lang
48205aa7d9
Removed debug messages ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:49:05 +00:00
Jean-Philippe Lang
c12ba8a76c
Fixed that URLs separated by line break are not rendered as links ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:18:09 +00:00
Jean-Philippe Lang
bdd3ccf8e5
Adds a role setting for controlling visibility of users: all or members of visible projects ( #11724 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:08:52 +00:00
Jean-Philippe Lang
9f5eb59113
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 19:06:48 +00:00
Jean-Philippe Lang
13f9ccaed8
Adds configuration settings to limit valid repository path ( #1415 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 10:52:59 +00:00
Jean-Philippe Lang
78cc63e52c
Use IssueRelation#to_s in PDF export.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:27:47 +00:00
Jean-Philippe Lang
4e815e25d7
Make sure that invalid cache from older versions is not used for languages_options ( #14534 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 21:25:59 +00:00
Jean-Philippe Lang
dfc594c337
Default status per tracker ( #5991 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 19:45:14 +00:00
Jean-Philippe Lang
b6c0e80d37
Add ci:about task to display ruby version in build output.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 14:11:08 +00:00
Jean-Philippe Lang
67c4936908
Restores commits reverted when rails-4.1 branch was merged ( #18174 ).
...
Patch by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-24 18:41:35 +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
e23d4d9b4e
pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment ( #13781 )
...
Contributed by Jun NAITOH.
git-svn-id: http://svn.redmine.org/redmine/trunk@13458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-20 04:15:11 +00:00
Jean-Philippe Lang
c4484a40c0
Use relative URL for thumbnails according to :only_path option ( #18119 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 10:14:17 +00:00
Jean-Philippe Lang
6bdef3ca64
Ignore locales without :general_lang_name key ( #18110 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 09:07:51 +00:00
Jean-Philippe Lang
ff9be52e45
Ability to render multiple partials with view hook ( #17763 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 08:09:31 +00:00
Jean-Philippe Lang
6d10e8cd13
Set version to 2.6.0.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-12 13:02:03 +00:00
Jean-Baptiste Barth
11855f6861
Update yard rake task for Redmine 2.x ( #14796 ).
...
Contributed by Mischa The Evil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-07 03:11:35 +00:00
Toshi MARUYAMA
3d15ec3c96
remove general_pdf_encoding from lib/redmine/export/pdf.rb ( #17570 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-28 10:23:54 +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
Jean-Baptiste Barth
1617ee7bd8
Add a warning if two plugins have the same settings partial name ( #14008 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-13 04:56:44 +00:00
Jean-Philippe Lang
8d982736e0
Class mismatch when reloading in development mode ( #17431 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-14 10:37:10 +00:00
Jean-Philippe Lang
6a07c1ed60
Updates for 2.5.2 release.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-06 10:39:00 +00:00
Jean-Philippe Lang
b12be8025d
Include host in macro generated thumbnails urls ( #16989 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-05 10:13:08 +00:00
Jean-Philippe Lang
b91cbcaa03
Option to render boolean custom fields as a single check box or radio buttons ( #17003 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-07-05 09:59:17 +00:00
Jean-Philippe Lang
cf4af2c5db
Fixed: unable to clear value for list custom field with multiple values and checkboxes style ( #16798 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 16:53:33 +00:00
Jean-Philippe Lang
e5e291b377
Adds a custom message for when a syntax error occurs ( #16878 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:53:31 +00:00
Jean-Philippe Lang
169711bf46
Parse configuration file for ERB ( #16878 ).
...
Patch by Gavin Dunne.
git-svn-id: http://svn.redmine.org/redmine/trunk@13150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-05-24 10:51:13 +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