summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Adds a :copy_issues permission (#18855).Jean-Philippe Lang2015-02-081-0/+1
| | | | | | When copy is allowed, target projects are those on which the user has the :add_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed :move_issues permission (#18855).Jean-Philippe Lang2015-02-081-1/+0
| | | | | | This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use current user locale to format dates (#19039).Jean-Philippe Lang2015-02-081-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove styles by fontname instated of Arabic/Persian/Thai locale ↵Toshi MARUYAMA2015-02-081-2/+4
| | | | | | (#10681, #18586) git-svn-id: http://svn.redmine.org/redmine/trunk@13977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove styles of Arabic/Persian Italic and Thai Bold (#10681, #18586)Toshi MARUYAMA2015-02-081-2/+7
| | | | | | Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@13976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow filtering of Redmine Reminders by Version (#18983).Jean-Philippe Lang2015-02-071-0/+2
| | | | | | Patch by Merul Patel. git-svn-id: http://svn.redmine.org/redmine/trunk@13964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* link_to in Redmine::Hook::ViewListener omits relative url root (#19024).Jean-Philippe Lang2015-02-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't process macro descriptions with text formatter (#18961).Jean-Philippe Lang2015-01-311-8/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show long text custom field changes as a diff (#15236).Jean-Philippe Lang2015-01-311-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* IMAP STARTTLS support (#16823).Jean-Philippe Lang2015-01-272-1/+7
| | | | | | Patch by Jan Pipek. git-svn-id: http://svn.redmine.org/redmine/trunk@13950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Render issue description and journal notes with #textilizable (#13051).Jean-Philippe Lang2015-01-251-4/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed an instance variable.Jean-Philippe Lang2015-01-251-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for macro and Redmine links in PDF export (#13051).Jean-Philippe Lang2015-01-253-563/+618
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: simplify nil check (#18923)Toshi MARUYAMA2015-01-211-2/+2
| | | | | | On Ruby, "if []" is true git-svn-id: http://svn.redmine.org/redmine/trunk@13931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2015-01-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: branches return cache too when there is no branch (#18923)Toshi MARUYAMA2015-01-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: explicitly tags return [] if there is no tag (#18923)Toshi MARUYAMA2015-01-211-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes RedCloth3#retrieve MUCH faster (#18883).Jean-Philippe Lang2015-01-191-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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