summaryrefslogtreecommitdiffstats
path: root/lib/redmine/nested_set
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaces from lib (#31506).Go MAEDA2019-06-061-4/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-253-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-272-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-163-3/+3
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-153-0/+6
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-253-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds .rebuild_single_tree! to rebuild a single tree (#24167).Jean-Philippe Lang2016-12-211-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16111 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r16053 (#23318).Jean-Philippe Lang2016-12-101-2/+1
| | | | | | SQL error with PostgreSQL. git-svn-id: http://svn.redmine.org/redmine/trunk@16054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* #lock_nested_set very slow on mysql with thousands of subtasks (#23318).Jean-Philippe Lang2016-12-101-1/+2
| | | | | | Patch by Stephane Evr. git-svn-id: http://svn.redmine.org/redmine/trunk@16053 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tablename to siblings query (#24296).Jean-Philippe Lang2016-11-181-1/+1
| | | | | | Patch by Danil Tashkinov. git-svn-id: http://svn.redmine.org/redmine/trunk@15958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r15891 (#23318).Jean-Philippe Lang2016-10-091-4/+1
| | | | | | Deadlocks with MySQL. git-svn-id: http://svn.redmine.org/redmine/trunk@15892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* #lock_nested_set very slow on mysql with thousands of subtasks (#23318).Jean-Philippe Lang2016-10-081-1/+4
| | | | | | Patch by Stephane Evr. git-svn-id: http://svn.redmine.org/redmine/trunk@15891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .distinct instead of .uniq.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-133-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-113-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 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