Toshi MARUYAMA
e5371b4c67
fix source indent of lib/redmine/nested_set/project_nested_set.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:45:29 +00:00
Toshi MARUYAMA
cb568dfd56
fix source indent of lib/redmine/nested_set/issue_nested_set.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-03 11:45:21 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
9eafc3e9a2
Remove trailing whitespaces from lib ( #31506 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:50:14 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
72e1451159
Use Regexp#match? to reduce allocations of MatchData object ( #28940 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-27 02:15:24 +00:00
Go MAEDA
07b3087fda
Enable frozen_string_literal for some files under app and lib directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 09:37:35 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +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
Jean-Philippe Lang
b58cf25383
Adds .rebuild_single_tree! to rebuild a single tree ( #24167 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-21 10:35:36 +00:00
Jean-Philippe Lang
575f4032a2
Reverted r16053 ( #23318 ).
...
SQL error with PostgreSQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@16054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 09:44:39 +00:00
Jean-Philippe Lang
10b3e3e323
#lock_nested_set very slow on mysql with thousands of subtasks ( #23318 ).
...
Patch by Stephane Evr.
git-svn-id: http://svn.redmine.org/redmine/trunk@16053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-10 08:54:20 +00:00
Jean-Philippe Lang
25a3766365
Add tablename to siblings query ( #24296 ).
...
Patch by Danil Tashkinov.
git-svn-id: http://svn.redmine.org/redmine/trunk@15958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 08:46:07 +00:00
Jean-Philippe Lang
878a91a283
Reverts r15891 ( #23318 ).
...
Deadlocks with MySQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@15892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-09 08:37:48 +00:00
Jean-Philippe Lang
e7f1780d7d
#lock_nested_set very slow on mysql with thousands of subtasks ( #23318 ).
...
Patch by Stephane Evr.
git-svn-id: http://svn.redmine.org/redmine/trunk@15891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-08 09:15:55 +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
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
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
b7ad1e82cc
Move always possible for new records.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 22:18:58 +00:00
Jean-Philippe Lang
dcda9977e3
Use r13844 workaround for SQLServer only.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 21:11:05 +00:00
Jean-Philippe Lang
a7378e450d
Fixed dead locks with SQLServer.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 20:57:52 +00:00
Jean-Philippe Lang
ded15dfc80
Moved Project#hierarchy to NestedSet::Traversing.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 20:37:06 +00:00
Jean-Philippe Lang
daef6a8037
Insert children issues to respect same order as ids.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-07 20:26:21 +00:00
Jean-Philippe Lang
1a851318fd
Replaces awesome_nested_set gem with a simple and more robust implementation 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
2015-01-07 20:19:49 +00:00