Go MAEDA
74a6ff0230
Replace pluck().first with pick() (#32909).
Patch by Pavel Rosický and Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 3 ans
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 3 ans
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
il y a 3 ans
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
il y a 4 ans
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
il y a 5 ans
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 5 ans
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
il y a 5 ans
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
il y a 5 ans
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
il y a 5 ans
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 7 ans
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
il y a 7 ans
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
il y a 7 ans
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
il y a 7 ans
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
il y a 7 ans
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
il y a 7 ans
Jean-Philippe Lang
d2f7e31951
Use .distinct instead of .uniq.
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 7 ans
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 8 ans
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 9 ans
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
il y a 9 ans
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
il y a 9 ans
Jean-Philippe Lang
a7378e450d
Fixed dead locks with SQLServer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13844 e93f8b46-1217-0410-a6f0-8f06a7374b81
il y a 9 ans
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
il y a 9 ans
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
il y a 9 ans