Author Commit Message Commit Date Graham Campbell dba638799db Removed unneeded .gitkeep file 26 Jul 2014 Estanislau Trepat e78cce7c9e8 M Merge branch 'GrahamCampbell-travis' into develop 28 Jul 2014 Graham Campbell 034aa9563ca Travis improvements 26 Jul 2014 Estanislau Trepat 1d6d295599c M Merge branch 'GrahamCampbell-git' into develop 28 Jul 2014 Estanislau Trepat 1e6dad06d2d Add some missing files into .gitattributes 28 Jul 2014 Graham Campbell 5321422d5d8 Updated .gitignore and added .gitattributes 26 Jul 2014 Estanislau Trepat 017db846dc7 M Merge branch 'add-row-locks' into develop 17 Jul 2014 Estanislau Trepat 8af3c8398d9 Add 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. 17 Jul 2014 Estanislau Trepat 42b046f1dae M Merge branch 'fix-nullify-parents' into develop 15 Jul 2014 Estanislau Trepat ae5721ad7e9 Fix 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. 15 Jul 2014 Estanislau Trepat 4be1ac74c48 Add tests for Node::all() when using it with soft deletes. 11 Jul 2014 Estanislau Trepat 78a4abf9e2c Update the CONTRIBUTING section of the README and provide a CONTRIBUTING file. 03 Jul 2014 Estanislau Trepat ae9d7e549db Update CHANGELOG & bump version. 03 Jul 2014 Estanislau Trepat 3614736475b Update CHANGELOG. 03 Jul 2014 Estanislau Trepat 6fbae57f7a6 M Merge branch 'ignaciogc-feature/sorted-hierarchy-tree' into develop 03 Jul 2014 Estanislau Trepat f606e675414 Use custome assertion to test for array equality. 03 Jul 2014 Estanislau Trepat eb82b6c6aa6 M Merge branch 'feature/sorted-hierarchy-tree' of https://github.com/ignaciogc/baum into ignaciogc-feature/sorted-hierarchy-tree 03 Jul 2014 ignaciogc 8871f0e390c Test cases for Ordered Scoped Trees. 04 Jun 2014 ignaciogc 3791011ae62 Sort hierarchy tree by $orderColumn 16 May 2014 Estanislau Trepat f2c0fcd429c Update CHANGELOG. 01 Jul 2014 Estanislau Trepat 06e963d597a M Merge branch 'mass-assignment' into develop 01 Jul 2014 Estanislau Trepat 2178c839f9a Implement seeding/mass-assignment. [#68]. 01 Jul 2014 Estanislau Trepat 59758af030a M Merge branch 'BeingTomGreen-patch-1' into develop 30 Jun 2014 Estanislau Trepat 4e38f508f4b M Merge branch 'patch-1' of https://github.com/BeingTomGreen/baum into BeingTomGreen-patch-1 30 Jun 2014 Tom Green bbcfb792d9e Cleaned up migration stub 23 Jun 2014 Estanislau Trepat 58c92fa91db Implement 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. 04 Jun 2014 Estanislau Trepat 8f6117add44 M Merge branch 'makechild-helpers' into develop 04 Jun 2014 Estanislau Trepat 6f765f89a52 Add tests for non-numeric keys use-case. 04 Jun 2014 Estanislau Trepat 7b2544f24a8 Update README.md 04 Jun 2014 Estanislau Trepat afd829a3df3 Implement 'makeFirstChildOf', 'makeLastChildOf' wrappers. Implements #77 04 Jun 2014 Estanislau Trepat b18af1f9ea1 M Merge branch 'ceejayoz-patch-2' into develop 04 Jun 2014 Estanislau Trepat b6313fb853d Modify test cases. Expect qualified column name. 04 Jun 2014 Estanislau Trepat e950396c4b5 M Merge branch 'patch-2' of https://github.com/ceejayoz/baum into ceejayoz-patch-2 04 Jun 2014 Chris Sternal-Johnson 5bfaf91955d have 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. 15 May 2014 Estanislau Trepat ca1e9b91b55 M Merge branch 'GrahamCampbell-patch-1' into develop
Target Laravel stable version in composer.json. Merges #67 04 Jun 2014 Estanislau Trepat 196f81db100 M Merge branch 'patch-1' of https://github.com/GrahamCampbell/baum into GrahamCampbell-patch-1 04 Jun 2014 Graham Campbell ae5382b51c8 Update composer.json 12 May 2014 Estanislau Trepat 7d85d0f4916 M Merge pull request #69 from ceejayoz/patch-1
$sortColumn to $orderColumn to match actual usage 15 May 2014 Chris 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. 15 May 2014 Estanislau Trepat 12baf6c7d51 Update CHANGELOG & Version bump. 02 May 2014 Estanislau Trepat 2e14c8074bc M Merge branch 'to-hierarchy-fix' into develop 30 Apr 2014 Estanislau Trepat 271fc508293 Update CHANGELOG 30 Apr 2014 Estanislau Trepat 4cbde424e0c Add more tests for the 'toHierarchy' method. 30 Apr 2014 Estanislau Trepat 8a4dc2c7350 Reimplement '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. 30 Apr 2014 Estanislau Trepat 6e8b0a67e81 Add a simple not-sequential (by id) test to the toHierarchy method. 30 Apr 2014 Estanislau Trepat ebf6fc087dd M Merge branch 'bugfix/toHierarchy' of github.com:daxborges/baum into to-hierarchy-fix 30 Apr 2014 Dax Borges cf4a9f1f8af - Changed toHierarchy to order nodes based on their index in the collection rather than their ID 14 Apr 2014 Estanislau Trepat 1d6f7492c9b Update CHANGELOG. 30 Apr 2014 Estanislau Trepat cf2b5fb027f M Merge branch 'non-numeric-keys' into develop 29 Apr 2014 Estanislau Trepat 95004a0e486 Extract hmap method. 29 Apr 2014 ← Prev Next → require('plugin/commitgraph/network').applyCommits([{id: 'dba638799db4088725df12071ab20bd7bc0a4791', href: '/projects/WEB/repos/baum/commits/dba638799db4088725df12071ab20bd7bc0a4791',parents: [{ id: '017db846dc7138f546d8e8e6708cfec8d09e66b9' }]},{id: 'e78cce7c9e8ad9fdfa2393ea1d43b78f938ce13b', href: '/projects/WEB/repos/baum/commits/e78cce7c9e8ad9fdfa2393ea1d43b78f938ce13b',parents: [{ id: '1d6d295599ce6abac8d613e6be71a0b615b3ca83' },{ id: '034aa9563caeabf49d45d4b51d6910c26fc5745d' }]},{id: '034aa9563caeabf49d45d4b51d6910c26fc5745d', href: '/projects/WEB/repos/baum/commits/034aa9563caeabf49d45d4b51d6910c26fc5745d',parents: [{ id: '017db846dc7138f546d8e8e6708cfec8d09e66b9' }]},{id: '1d6d295599ce6abac8d613e6be71a0b615b3ca83', href: '/projects/WEB/repos/baum/commits/1d6d295599ce6abac8d613e6be71a0b615b3ca83',parents: [{ id: '017db846dc7138f546d8e8e6708cfec8d09e66b9' },{ id: '1e6dad06d2d253849199f795ce3a2f12f1d036e5' }]},{id: '1e6dad06d2d253849199f795ce3a2f12f1d036e5', href: '/projects/WEB/repos/baum/commits/1e6dad06d2d253849199f795ce3a2f12f1d036e5',parents: [{ id: '5321422d5d87d432a175ab8b3dde2c551e2aac04' }]},{id: '5321422d5d87d432a175ab8b3dde2c551e2aac04', href: '/projects/WEB/repos/baum/commits/5321422d5d87d432a175ab8b3dde2c551e2aac04',parents: [{ id: '017db846dc7138f546d8e8e6708cfec8d09e66b9' }]},{id: '017db846dc7138f546d8e8e6708cfec8d09e66b9', href: '/projects/WEB/repos/baum/commits/017db846dc7138f546d8e8e6708cfec8d09e66b9',parents: [{ id: '42b046f1dae745d096cd30bffec68befd46260d7' },{ id: '8af3c8398d967fc5367e9052e6e3f424e7b00fcc' }]},{id: '8af3c8398d967fc5367e9052e6e3f424e7b00fcc', href: '/projects/WEB/repos/baum/commits/8af3c8398d967fc5367e9052e6e3f424e7b00fcc',parents: [{ id: 'ae9d7e549dbba38f57512b125509f4e56a3009d1' }]},{id: '42b046f1dae745d096cd30bffec68befd46260d7', href: '/projects/WEB/repos/baum/commits/42b046f1dae745d096cd30bffec68befd46260d7',parents: [{ id: '4be1ac74c487841cb181614d4515fe6e337aec9d' },{ id: 'ae5721ad7e92cc7284229d8135e8d5133750b40b' }]},{id: 'ae5721ad7e92cc7284229d8135e8d5133750b40b', href: '/projects/WEB/repos/baum/commits/ae5721ad7e92cc7284229d8135e8d5133750b40b',parents: [{ id: 'ae9d7e549dbba38f57512b125509f4e56a3009d1' }]},{id: '4be1ac74c487841cb181614d4515fe6e337aec9d', href: '/projects/WEB/repos/baum/commits/4be1ac74c487841cb181614d4515fe6e337aec9d',parents: [{ id: '78a4abf9e2cd8a261ef0d6d8c90f653fd55f96f8' }]},{id: '78a4abf9e2cd8a261ef0d6d8c90f653fd55f96f8', href: '/projects/WEB/repos/baum/commits/78a4abf9e2cd8a261ef0d6d8c90f653fd55f96f8',parents: [{ id: 'ae9d7e549dbba38f57512b125509f4e56a3009d1' }]},{id: 'ae9d7e549dbba38f57512b125509f4e56a3009d1', href: '/projects/WEB/repos/baum/commits/ae9d7e549dbba38f57512b125509f4e56a3009d1',labels: [{name: '1.0.11', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.11'}],parents: [{ id: '3614736475b28541656a78c9e777b759528317a4' }]},{id: '3614736475b28541656a78c9e777b759528317a4', href: '/projects/WEB/repos/baum/commits/3614736475b28541656a78c9e777b759528317a4',parents: [{ id: '6fbae57f7a6d228af372b37b47db376147fdfde3' }]},{id: '6fbae57f7a6d228af372b37b47db376147fdfde3', href: '/projects/WEB/repos/baum/commits/6fbae57f7a6d228af372b37b47db376147fdfde3',parents: [{ id: 'f2c0fcd429c04110a2b0b4d165ed633c29963731' },{ id: 'f606e675414c79268210276e3c34f23dbe6a8e1f' }]},{id: 'f606e675414c79268210276e3c34f23dbe6a8e1f', href: '/projects/WEB/repos/baum/commits/f606e675414c79268210276e3c34f23dbe6a8e1f',parents: [{ id: 'eb82b6c6aa614679491b443597ee2017adfbbb3f' }]},{id: 'eb82b6c6aa614679491b443597ee2017adfbbb3f', href: '/projects/WEB/repos/baum/commits/eb82b6c6aa614679491b443597ee2017adfbbb3f',parents: [{ id: 'f2c0fcd429c04110a2b0b4d165ed633c29963731' },{ id: '8871f0e390cfb4139f8aab3419b5792d9d80bc6b' }]},{id: '8871f0e390cfb4139f8aab3419b5792d9d80bc6b', href: '/projects/WEB/repos/baum/commits/8871f0e390cfb4139f8aab3419b5792d9d80bc6b',parents: [{ id: '3791011ae62c41baa54027bfc951b3d99919cb5a' }]},{id: '3791011ae62c41baa54027bfc951b3d99919cb5a', href: '/projects/WEB/repos/baum/commits/3791011ae62c41baa54027bfc951b3d99919cb5a',parents: [{ id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58' }]},{id: 'f2c0fcd429c04110a2b0b4d165ed633c29963731', href: '/projects/WEB/repos/baum/commits/f2c0fcd429c04110a2b0b4d165ed633c29963731',parents: [{ id: '06e963d597a096aaade5c83013227611d633d905' }]},{id: '06e963d597a096aaade5c83013227611d633d905', href: '/projects/WEB/repos/baum/commits/06e963d597a096aaade5c83013227611d633d905',parents: [{ id: '59758af030a3af5f2f7ed034dffbcc87cd69b474' },{ id: '2178c839f9a3186891b317158e43200d0644aaff' }]},{id: '2178c839f9a3186891b317158e43200d0644aaff', href: '/projects/WEB/repos/baum/commits/2178c839f9a3186891b317158e43200d0644aaff',parents: [{ id: '59758af030a3af5f2f7ed034dffbcc87cd69b474' }]},{id: '59758af030a3af5f2f7ed034dffbcc87cd69b474', href: '/projects/WEB/repos/baum/commits/59758af030a3af5f2f7ed034dffbcc87cd69b474',parents: [{ id: '58c92fa91db9cb1bd001533f656864242c216ad3' },{ id: '4e38f508f4b06c5ac35d60899567950faa0c5fba' }]},{id: '4e38f508f4b06c5ac35d60899567950faa0c5fba', href: '/projects/WEB/repos/baum/commits/4e38f508f4b06c5ac35d60899567950faa0c5fba',parents: [{ id: '58c92fa91db9cb1bd001533f656864242c216ad3' },{ id: 'bbcfb792d9e88069dd275d6e92e372ea5db5c957' }]},{id: 'bbcfb792d9e88069dd275d6e92e372ea5db5c957', href: '/projects/WEB/repos/baum/commits/bbcfb792d9e88069dd275d6e92e372ea5db5c957',parents: [{ id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58' }]},{id: '58c92fa91db9cb1bd001533f656864242c216ad3', href: '/projects/WEB/repos/baum/commits/58c92fa91db9cb1bd001533f656864242c216ad3',parents: [{ id: '8f6117add446b45f2e74854d5e2909bc615d996e' }]},{id: '8f6117add446b45f2e74854d5e2909bc615d996e', href: '/projects/WEB/repos/baum/commits/8f6117add446b45f2e74854d5e2909bc615d996e',parents: [{ id: 'b18af1f9ea113624b620bdd497c29a5a3eb40e82' },{ id: '6f765f89a524a323b91279cc95425d134ebe8630' }]},{id: '6f765f89a524a323b91279cc95425d134ebe8630', href: '/projects/WEB/repos/baum/commits/6f765f89a524a323b91279cc95425d134ebe8630',parents: [{ id: '7b2544f24a8e8747591d2717d98f0de9712f485c' }]},{id: '7b2544f24a8e8747591d2717d98f0de9712f485c', href: '/projects/WEB/repos/baum/commits/7b2544f24a8e8747591d2717d98f0de9712f485c',parents: [{ id: 'afd829a3df3aeed03a93e05ac6cf799585a1d126' }]},{id: 'afd829a3df3aeed03a93e05ac6cf799585a1d126', href: '/projects/WEB/repos/baum/commits/afd829a3df3aeed03a93e05ac6cf799585a1d126',parents: [{ id: 'b18af1f9ea113624b620bdd497c29a5a3eb40e82' }]},{id: 'b18af1f9ea113624b620bdd497c29a5a3eb40e82', href: '/projects/WEB/repos/baum/commits/b18af1f9ea113624b620bdd497c29a5a3eb40e82',parents: [{ id: 'ca1e9b91b55969fe602bfa9248d502e0bd0b222b' },{ id: 'b6313fb853d4a795d62f6dc4ee81e89ecfa26811' }]},{id: 'b6313fb853d4a795d62f6dc4ee81e89ecfa26811', href: '/projects/WEB/repos/baum/commits/b6313fb853d4a795d62f6dc4ee81e89ecfa26811',parents: [{ id: 'e950396c4b5fc856d34f524867e9f041f4eccf64' }]},{id: 'e950396c4b5fc856d34f524867e9f041f4eccf64', href: '/projects/WEB/repos/baum/commits/e950396c4b5fc856d34f524867e9f041f4eccf64',parents: [{ id: 'ca1e9b91b55969fe602bfa9248d502e0bd0b222b' },{ id: '5bfaf91955d7eea0ef57103c49fa127c5c1123d8' }]},{id: '5bfaf91955d7eea0ef57103c49fa127c5c1123d8', href: '/projects/WEB/repos/baum/commits/5bfaf91955d7eea0ef57103c49fa127c5c1123d8',parents: [{ id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58' }]},{id: 'ca1e9b91b55969fe602bfa9248d502e0bd0b222b', href: '/projects/WEB/repos/baum/commits/ca1e9b91b55969fe602bfa9248d502e0bd0b222b',parents: [{ id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58' },{ id: '196f81db100a749760a5ffa62b7d80665f5e3e73' }]},{id: '196f81db100a749760a5ffa62b7d80665f5e3e73', href: '/projects/WEB/repos/baum/commits/196f81db100a749760a5ffa62b7d80665f5e3e73',parents: [{ id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58' },{ id: 'ae5382b51c8f57a2d2d773334623668f2cd50345' }]},{id: 'ae5382b51c8f57a2d2d773334623668f2cd50345', href: '/projects/WEB/repos/baum/commits/ae5382b51c8f57a2d2d773334623668f2cd50345',parents: [{ id: '12baf6c7d514b97b6df550d5abfe2baacf625c94' }]},{id: '7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58', href: '/projects/WEB/repos/baum/commits/7d85d0f49160e6fb0b72b7888a6bd49b3b5e2e58',parents: [{ id: '12baf6c7d514b97b6df550d5abfe2baacf625c94' },{ id: 'd9a053a7a30c8277c2884c5094e4bf29cdca75b4' }]},{id: 'd9a053a7a30c8277c2884c5094e4bf29cdca75b4', href: '/projects/WEB/repos/baum/commits/d9a053a7a30c8277c2884c5094e4bf29cdca75b4',parents: [{ id: '12baf6c7d514b97b6df550d5abfe2baacf625c94' }]},{id: '12baf6c7d514b97b6df550d5abfe2baacf625c94', href: '/projects/WEB/repos/baum/commits/12baf6c7d514b97b6df550d5abfe2baacf625c94',labels: [{name: '1.0.10', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.10'}],parents: [{ id: '2e14c8074bcc8841c8fe187ab8583b25fa841643' }]},{id: '2e14c8074bcc8841c8fe187ab8583b25fa841643', href: '/projects/WEB/repos/baum/commits/2e14c8074bcc8841c8fe187ab8583b25fa841643',parents: [{ id: '1d6f7492c9b030e346ecd4e6fe20efcf88f6ab06' },{ id: '271fc5082930fe1d94711a04e512c3880cbd2138' }]},{id: '271fc5082930fe1d94711a04e512c3880cbd2138', href: '/projects/WEB/repos/baum/commits/271fc5082930fe1d94711a04e512c3880cbd2138',parents: [{ id: '4cbde424e0c4a24b2742a8458c7b507942ede921' }]},{id: '4cbde424e0c4a24b2742a8458c7b507942ede921', href: '/projects/WEB/repos/baum/commits/4cbde424e0c4a24b2742a8458c7b507942ede921',parents: [{ id: '8a4dc2c73505cc949c217f2b2f8b9518021f98b3' }]},{id: '8a4dc2c73505cc949c217f2b2f8b9518021f98b3', href: '/projects/WEB/repos/baum/commits/8a4dc2c73505cc949c217f2b2f8b9518021f98b3',parents: [{ id: '6e8b0a67e814f3b5a89ab6b799596992319c9cbc' }]},{id: '6e8b0a67e814f3b5a89ab6b799596992319c9cbc', href: '/projects/WEB/repos/baum/commits/6e8b0a67e814f3b5a89ab6b799596992319c9cbc',parents: [{ id: 'ebf6fc087dd4690e79439498ff3223076f0eb032' }]},{id: 'ebf6fc087dd4690e79439498ff3223076f0eb032', href: '/projects/WEB/repos/baum/commits/ebf6fc087dd4690e79439498ff3223076f0eb032',parents: [{ id: 'cf2b5fb027f9c27d6962f6ee0ac5b0b03c1d91f0' },{ id: 'cf4a9f1f8afe4b9ec46da0885dcfe434219b746f' }]},{id: 'cf4a9f1f8afe4b9ec46da0885dcfe434219b746f', href: '/projects/WEB/repos/baum/commits/cf4a9f1f8afe4b9ec46da0885dcfe434219b746f',parents: [{ id: '926d28957114740ecf3c5e29ddd982c111f5c1ea' }]},{id: '1d6f7492c9b030e346ecd4e6fe20efcf88f6ab06', href: '/projects/WEB/repos/baum/commits/1d6f7492c9b030e346ecd4e6fe20efcf88f6ab06',parents: [{ id: 'cf2b5fb027f9c27d6962f6ee0ac5b0b03c1d91f0' }]},{id: 'cf2b5fb027f9c27d6962f6ee0ac5b0b03c1d91f0', href: '/projects/WEB/repos/baum/commits/cf2b5fb027f9c27d6962f6ee0ac5b0b03c1d91f0',parents: [{ id: '0b5af03e6c1e9e347203db120f25e700f3b609f9' },{ id: '95004a0e4860f61be1a6e99d84e655e26eb00610' }]},{id: '95004a0e4860f61be1a6e99d84e655e26eb00610', href: '/projects/WEB/repos/baum/commits/95004a0e4860f61be1a6e99d84e655e26eb00610',parents: [{ id: '368e76ef8e4e9d141c6b5749862085b4e3e0e95d' }]}]);