summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Faster textile table parsing by using a single scan instead of a regexp ↵Jean-Philippe Lang2015-01-191-4/+4
| | | | | | matching for each cell (#18883). git-svn-id: http://svn.redmine.org/redmine/trunk@13918 e93f8b46-1217-0410-a6f0-8f06a7374b81
* #shelve should not be called if cell doesn't match attributes regexp (#18883).Jean-Philippe Lang2015-01-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure that #scm_iconv returns a string with the target encoding (#14534).Jean-Philippe Lang2015-01-181-1/+1
| | | | | | filechanges.find_by_revision_and_path fails with SQLite if arguments are not UTF-8 encoded. git-svn-id: http://svn.redmine.org/redmine/trunk@13902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Redmine::Activity::Fetcher should consider activity provider ↵Jean-Philippe Lang2015-01-182-5/+26
| | | | | | permission option if given (#18832). git-svn-id: http://svn.redmine.org/redmine/trunk@13895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-172-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 2.6.1 release.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13874 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-1171-71/+71
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Redmine::FieldFormat::IntFormat does not accept "real" Integer values ↵Jean-Philippe Lang2015-01-101-1/+1
| | | | | | (#18781). git-svn-id: http://svn.redmine.org/redmine/trunk@13863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to search open issues only (#10734).Jean-Philippe Lang2015-01-101-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to search attachment filenames and description (#4383).Jean-Philippe Lang2015-01-091-34/+50
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Search custom fields and journals with different queries to take advantage ↵Jean-Philippe Lang2015-01-081-30/+69
| | | | | | of indexes on text columns if present. git-svn-id: http://svn.redmine.org/redmine/trunk@13855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move always possible for new records.Jean-Philippe Lang2015-01-072-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use r13844 workaround for SQLServer only.Jean-Philippe Lang2015-01-071-3/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed dead locks with SQLServer.Jean-Philippe Lang2015-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved Project#hierarchy to NestedSet::Traversing.Jean-Philippe Lang2015-01-071-0/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Insert children issues to respect same order as ids.Jean-Philippe Lang2015-01-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces awesome_nested_set gem with a simple and more robust implementation ↵Jean-Philippe Lang2015-01-073-0/+470
| | | | | | | | of nested sets. The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set. git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix Ruby 2.2 warning at lib/redmine/scm/adapters/cvs_adapter.rbToshi MARUYAMA2015-01-031-1/+1
| | | | | | | | | | | | | On ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]: <pre> lib/redmine/scm/adapters/cvs_adapter.rb:342: warning: Comparable#== will no more rescue exceptions of #<=> in the next release. lib/redmine/scm/adapters/cvs_adapter.rb:342: warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison. </pre> git-svn-id: http://svn.redmine.org/redmine/trunk@13831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates comments for r13811.Jean-Philippe Lang2014-12-261-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Converts timestamps to integers in #search_result_ranks_and_ids.Jean-Philippe Lang2014-12-262-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force UTF-8 encoding of language names.Jean-Philippe Lang2014-12-261-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds p/n access keys for previous/next links (#18692).Jean-Philippe Lang2014-12-242-3/+7
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@13794 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: LabelledFormBuilder#label outputs 2 label elements (#18679).Jean-Philippe Lang2014-12-211-1/+1
| | | | | | Patch by Masato NODA. git-svn-id: http://svn.redmine.org/redmine/trunk@13786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cache search result ids for faster search pagination (#18631).Jean-Philippe Lang2014-12-201-1/+37
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13770 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved search logic to Redmine::Search (#18631).Jean-Philippe Lang2014-12-201-1/+67
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Plugin migration confuses two plugins with similar names (#18685).Jean-Philippe Lang2014-12-201-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restore accent insensitive search with mysql (#18537).Jean-Philippe Lang2014-12-151-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for named route in project menu and a new :permission option (#6426).Jean-Philippe Lang2014-12-141-6/+20
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13765 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2014-12-141-18/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use custom SQL for MySQL to behave like others DBMS: case-insensitive search ↵Jean-Philippe Lang2014-12-141-13/+27
| | | | | | without ignoring accentuation (#18537). git-svn-id: http://svn.redmine.org/redmine/trunk@13759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use #downcase on search tokens, let the database handle it (#18537).Jean-Philippe Lang2014-12-131-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13754 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites search engine to properly paginate results (#18631).Jean-Philippe Lang2014-12-121-37/+45
| | | | | | 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
* Adds methods for loading and adding settings.Jean-Philippe Lang2014-12-051-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13719 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tab "New Issue" should not be displayed if a project has no trackers (#18571).Jean-Philippe Lang2014-12-051-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use simplecov for code coverage, rcov does not support ruby>=1.9.Jean-Philippe Lang2014-12-021-6/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13691 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Textile: ignore invalid lang attribute values (#18501).Jean-Philippe Lang2014-11-301-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes object argument optional and typo.Jean-Philippe Lang2014-11-301-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds :inverse_of option.Jean-Philippe Lang2014-11-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Edit attachments after upload (#1326).Jean-Philippe Lang2014-11-291-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo.Jean-Philippe Lang2014-11-281-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved format specific stuff on format specific methods.Jean-Philippe Lang2014-11-281-147/+127
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed useless local variable.Jean-Philippe Lang2014-11-261-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13658 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed duplicated code.Jean-Philippe Lang2014-11-261-63/+58
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix "test:routing" rake task comment changed by r13604Toshi MARUYAMA2014-11-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Isolates all API routing tests to a specific test case.Jean-Philippe Lang2014-11-162-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved new project member to its own action MemberController#new.Jean-Philippe Lang2014-11-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed debug messages (#18349).Jean-Philippe Lang2014-11-141-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13599 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed debug messages (#18349).Jean-Philippe Lang2014-11-141-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that URLs separated by line break are not rendered as links (#18349).Jean-Philippe Lang2014-11-141-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a role setting for controlling visibility of users: all or members of ↵Jean-Philippe Lang2014-11-111-0/+1
| | | | | | visible projects (#11724). git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81