Web
  1. Web

baum

Public

Network

 
AuthorCommitMessageCommit Date
Graham CampbellGraham Campbell
dba638799dbRemoved unneeded .gitkeep file
Estanislau TrepatEstanislau Trepat
e78cce7c9e8MMerge branch 'GrahamCampbell-travis' into develop
Graham CampbellGraham Campbell
034aa9563caTravis improvements
Estanislau TrepatEstanislau Trepat
1d6d295599cMMerge branch 'GrahamCampbell-git' into develop
Estanislau TrepatEstanislau Trepat
1e6dad06d2dAdd some missing files into .gitattributes
Graham CampbellGraham Campbell
5321422d5d8Updated .gitignore and added .gitattributes
Estanislau TrepatEstanislau Trepat
017db846dc7MMerge branch 'add-row-locks' into develop
Estanislau TrepatEstanislau Trepat
8af3c8398d9Add pessimistic locking. Closes #89. Use pessimistic locks when performing certain operations which may result in a race condition. Mainly: + When moving nodes (updates bounds and depth for whole subbranches). + While looking for rightmost node (at every node creation) which may result in some error, mainly if it gets updated while doing this. + When pruning whole subtrees.
Estanislau TrepatEstanislau Trepat
42b046f1daeMMerge branch 'fix-nullify-parents' into develop
Estanislau TrepatEstanislau Trepat
ae5721ad7e9Fix check for 'Node->storeNewParent()'. Fixes #79 and closes #81. This will avoid moving the node when setting 'parent_id' to null and node is already root.
Estanislau TrepatEstanislau Trepat
4be1ac74c48Add tests for Node::all() when using it with soft deletes.
Estanislau TrepatEstanislau Trepat
78a4abf9e2cUpdate the CONTRIBUTING section of the README and provide a CONTRIBUTING file.
Estanislau TrepatEstanislau Trepat
ae9d7e549dbUpdate CHANGELOG & bump version.
Estanislau TrepatEstanislau Trepat
3614736475bUpdate CHANGELOG.
Estanislau TrepatEstanislau Trepat
6fbae57f7a6MMerge branch 'ignaciogc-feature/sorted-hierarchy-tree' into develop
Estanislau TrepatEstanislau Trepat
f606e675414Use custome assertion to test for array equality.
Estanislau TrepatEstanislau Trepat
eb82b6c6aa6MMerge branch 'feature/sorted-hierarchy-tree' of https://github.com/ignaciogc/baum into ignaciogc-feature/sorted-hierarchy-tree
ignaciogcignaciogc
8871f0e390cTest cases for Ordered Scoped Trees.
ignaciogcignaciogc
3791011ae62Sort hierarchy tree by $orderColumn
Estanislau TrepatEstanislau Trepat
f2c0fcd429cUpdate CHANGELOG.
Estanislau TrepatEstanislau Trepat
06e963d597aMMerge branch 'mass-assignment' into develop
Estanislau TrepatEstanislau Trepat
2178c839f9aImplement seeding/mass-assignment. [#68].
Estanislau TrepatEstanislau Trepat
59758af030aMMerge branch 'BeingTomGreen-patch-1' into develop
Estanislau TrepatEstanislau Trepat
4e38f508f4bMMerge branch 'patch-1' of https://github.com/BeingTomGreen/baum into BeingTomGreen-patch-1
Tom GreenTom Green
bbcfb792d9eCleaned up migration stub
Estanislau TrepatEstanislau Trepat
58c92fa91dbImplement depth limiting for queries. Implements/Fixes #62. Adds a new 'limitDepth' chainable query scope and the depth limit may be supplied as the first argument into the 'getDescendants' and 'getDescendantsAndSelf' methods.
Estanislau TrepatEstanislau Trepat
8f6117add44MMerge branch 'makechild-helpers' into develop
Estanislau TrepatEstanislau Trepat
6f765f89a52Add tests for non-numeric keys use-case.
Estanislau TrepatEstanislau Trepat
7b2544f24a8Update README.md
Estanislau TrepatEstanislau Trepat
afd829a3df3Implement 'makeFirstChildOf', 'makeLastChildOf' wrappers. Implements #77
Estanislau TrepatEstanislau Trepat
b18af1f9ea1MMerge branch 'ceejayoz-patch-2' into develop
Estanislau TrepatEstanislau Trepat
b6313fb853dModify test cases. Expect qualified column name.
Estanislau TrepatEstanislau Trepat
e950396c4b5MMerge branch 'patch-2' of https://github.com/ceejayoz/baum into ceejayoz-patch-2
Chris Sternal-JohnsonChris Sternal-Johnson
5bfaf91955dhave newNestedSetQuery use qualified order column Joining a nested set query against another table with a column named the same as the order column (i.e. `name`) will cause an ambiguous column name SQL error. Using the qualified column name seems to address this.
Estanislau TrepatEstanislau Trepat
ca1e9b91b55MMerge branch 'GrahamCampbell-patch-1' into develop Target Laravel stable version in composer.json. Merges #67
Estanislau TrepatEstanislau Trepat
196f81db100MMerge branch 'patch-1' of https://github.com/GrahamCampbell/baum into GrahamCampbell-patch-1
Graham CampbellGraham Campbell
ae5382b51c8Update composer.json
Estanislau TrepatEstanislau Trepat
7d85d0f4916MMerge pull request #69 from ceejayoz/patch-1 $sortColumn to $orderColumn to match actual usage
Chris Sternal-JohnsonChris Sternal-Johnson
d9a053a7a30$sortColumn to $orderColumn to match actual usage Custom sorting column is implemented in `Node.php` as `$orderColumn`, not the `$sortColumn` shown in the documentation.
Estanislau TrepatEstanislau Trepat
12baf6c7d51Update CHANGELOG & Version bump.
Estanislau TrepatEstanislau Trepat
2e14c8074bcMMerge branch 'to-hierarchy-fix' into develop
Estanislau TrepatEstanislau Trepat
271fc508293Update CHANGELOG
Estanislau TrepatEstanislau Trepat
4cbde424e0cAdd more tests for the 'toHierarchy' method.
Estanislau TrepatEstanislau Trepat
8a4dc2c7350Reimplement 'toHierarchy' method. This method was yielding inconsistent results, even worse with custom sorted result sets. Also it was *position dependent*, in that it needed the nodes to nest next to each other (this has been bothering me quite some time). This new impl is not recursive, not position dependent and respects the actual ordering the original result set used.
Estanislau TrepatEstanislau Trepat
6e8b0a67e81Add a simple not-sequential (by id) test to the toHierarchy method.
Estanislau TrepatEstanislau Trepat
ebf6fc087ddMMerge branch 'bugfix/toHierarchy' of github.com:daxborges/baum into to-hierarchy-fix
Dax BorgesDax Borges
cf4a9f1f8af- Changed toHierarchy to order nodes based on their index in the collection rather than their ID
Estanislau TrepatEstanislau Trepat
1d6f7492c9bUpdate CHANGELOG.
Estanislau TrepatEstanislau Trepat
cf2b5fb027fMMerge branch 'non-numeric-keys' into develop
Estanislau TrepatEstanislau Trepat
95004a0e486Extract hmap method.