Author Commit Message Commit Date Estanislau Trepat fed7b8c00bb Add more structure validation tests for some specific cases and operations. 20 Jan 2014 Estanislau Trepat ef25e8780c4 Add more tree structure validity assertions. 20 Jan 2014 Estanislau Trepat e17449e1479 Fix duplicate columns check to work well within scopes. 20 Jan 2014 Estanislau Trepat 94157e891d9 Add tree structure assertions on tests which change it. 20 Jan 2014 Estanislau Trepat 9ce6c598f38 Add a Node::isValid method. 17 Jan 2014 Estanislau Trepat 795974d4969 Implement the SetValidator class. 17 Jan 2014 Estanislau Trepat a67760b3ad1 Add methods to retrieve scoped column names. 17 Jan 2014 Estanislau Trepat 0b291cbfa30 Fix 'toHierarchy' sample in README. 20 Jan 2014 Estanislau Trepat 4bddc73e537 Add d11wtq/boris as a REPL for easily testing out
some things.
- Add Boris to dev dependencies.
- Rename phpunit.php to bootstrap.php as we'll use it to bootstrap not only the tests but the environment for Boris.
- Add a Boris REPL launcher script which will load the required libraries and prepare the test DB just so they become available under the REPL. 16 Jan 2014 Estanislau Trepat 926d2895711 Add a test for 'toHierarchy' method. 15 Jan 2014 Estanislau Trepat d9d8d47832c Bump version and upgrade CHANGELOG 14 Jan 2014 Estanislau Trepat a07641d72d4 Modify README.md 14 Jan 2014 Estanislau Trepat 31916e24b76 M Merge branch 'add-static-all-method' into develop 14 Jan 2014 Estanislau Trepat 49068631657 Add Node::all() method override to return the
results sorted by the lft column. 14 Jan 2014 Estanislau Trepat 693c90a41e9 M Merge branch 'prevent-impossible-lr-moves' into develop 14 Jan 2014 Estanislau Trepat d97499366f3 Improve error messages for this particular race condition. 14 Jan 2014 Estanislau Trepat b22a0de0802 Actually when moving nodes around if we cannot move to the right/left the target sibling node will be NULL so we only need to check for that. This makes all the tests pass again. 14 Jan 2014 Estanislau Trepat ab9a93660a3 Add test cases for when we should expect an exception indicating that a right/left move is not possible. 14 Jan 2014 Estanislau Trepat 2eb68255ecd M Merge branch 'master' of git://github.com/ziadoz/baum into prevent-impossible-lr-moves 14 Jan 2014 Jamie York 629ec9e1de2 Check node has parent before attempting to check if move is possible. 28 Nov 2013 Jamie York 99a9f65256d Fix incorrect exception text (change direction, left to right). 13 Nov 2013 Jamie York ac62b9c1d9c Prevent impossible moves to the left or right. 13 Nov 2013 Estanislau Trepat e6921cbe5b6 M Merge branch 'develop' 11 Oct 2013 Estanislau Trepat c71aa63b23f M Merge branch 'fix-readme-examples' 11 Oct 2013 Estanislau Trepat 8577f786168 M Merge branch 'flat-to-hierarchy' into develop 14 Jan 2014 Estanislau Trepat 5d65322ae32 Change impl a lil (lil) bit to properly set model relationships & clarity. Also, make custom Collection object as transparent as possible. 02 Jan 2014 Estanislau Trepat 32fffc70168 Add a simple test case for 'toHierarchy' method. 02 Jan 2014 Estanislau Trepat a8a27b41e39 M Merge branch 'master' of git://github.com/Surt/baum into flat-to-hierarchy
Conflicts:
src/Baum/Node.php 02 Jan 2014 Surt 16a5138d4ca Added new Collection for Baum/Node.php
Added a new Baum/Collection.php method toHierarchical() 28 May 2013 Estanislau Trepat a5eb12fc96a Make travis test against php 5.5. 02 Jan 2014 Estanislau Trepat 521c7fceb4f update dependencies for laravel 4.1 (supporting 4.0) 02 Jan 2014 Estanislau Trepat cc65d4308d6 Switch to ~4 dependencies. 30 Oct 2013 Estanislau Trepat 02edc7becc8 Bump version. 11 Oct 2013 Estanislau Trepat 06b056540e2 Update CHANGELOG. 11 Oct 2013 Estanislau Trepat 60ee4cfe8dd M Merge branch 'wrap-raw-queries' into develop 11 Oct 2013 Estanislau Trepat 72106732831 Wrap table names within raw queries. Fixes #21. 11 Oct 2013 Estanislau Trepat 1897c98754e M Merge branch 'fix-readme-examples' into develop 11 Oct 2013 Estanislau Trepat 10fc5393a29 Fix badly written code examples. 11 Oct 2013 Estanislau Trepat 3bc063cb9a9 Add connection details for MySQL and simple getLeavesIteration test. 10 Oct 2013 Estanislau Trepat 9bb1d3c8c49 Fix typo on qualified column getters. Unfortunately breaks public API. 07 Oct 2013 Estanislau Trepat 7591c9c51b4 Fix improper use of database settings which made tests fail. 31 Jul 2013 Estanislau Trepat 975fce26b52 Bump version. 31 Jul 2013 Estanislau Trepat 6058ab2d057 Update CHANGELOG. 31 Jul 2013 Estanislau Trepat 50d5c166bd8 M Merge branch 'gerp-feature/nested-list' into develop
Conflicts:
src/Baum/Node.php 31 Jul 2013 Gerben Peters d59a057b37b Add getNestedList() method 28 Jul 2013 Estanislau Trepat f1696286976 Update README 29 Jul 2013 Estanislau Trepat 7d32ae93848 Implement without(Node|Root|Self) query scopes. 29 Jul 2013 Estanislau Trepat ad68bec66e3 Bump version. 22 Jul 2013 Estanislau Trepat a18760845ed Update README & CHANGELOG 22 Jul 2013 Estanislau Trepat 3be021e39ee Update generator stub. 22 Jul 2013 ← Prev Next → require('plugin/commitgraph/network').applyCommits([{id: 'fed7b8c00bb584443d0318710df8e71916882f15', href: '/projects/WEB/repos/baum/commits/fed7b8c00bb584443d0318710df8e71916882f15',parents: [{ id: 'ef25e8780c4a072eabca6e638a425f95ad8c3ed4' }]},{id: 'ef25e8780c4a072eabca6e638a425f95ad8c3ed4', href: '/projects/WEB/repos/baum/commits/ef25e8780c4a072eabca6e638a425f95ad8c3ed4',parents: [{ id: 'e17449e147926f75fb88764b669223a2eab8c8d3' }]},{id: 'e17449e147926f75fb88764b669223a2eab8c8d3', href: '/projects/WEB/repos/baum/commits/e17449e147926f75fb88764b669223a2eab8c8d3',parents: [{ id: '94157e891d980eddeec19674bce00d338204d942' }]},{id: '94157e891d980eddeec19674bce00d338204d942', href: '/projects/WEB/repos/baum/commits/94157e891d980eddeec19674bce00d338204d942',parents: [{ id: '9ce6c598f38165f77bba517725ae6de8653785cd' }]},{id: '9ce6c598f38165f77bba517725ae6de8653785cd', href: '/projects/WEB/repos/baum/commits/9ce6c598f38165f77bba517725ae6de8653785cd',parents: [{ id: '795974d4969df2ef5b362b7a45d757ab91aa0495' }]},{id: '795974d4969df2ef5b362b7a45d757ab91aa0495', href: '/projects/WEB/repos/baum/commits/795974d4969df2ef5b362b7a45d757ab91aa0495',parents: [{ id: 'a67760b3ad12a177c1d0b503625e9005ed4c0809' }]},{id: 'a67760b3ad12a177c1d0b503625e9005ed4c0809', href: '/projects/WEB/repos/baum/commits/a67760b3ad12a177c1d0b503625e9005ed4c0809',parents: [{ id: '4bddc73e5373b873ca5c0e7dd4dfbfd4f8f0c05b' }]},{id: '0b291cbfa30faca62bfa87e89009098e375604be', href: '/projects/WEB/repos/baum/commits/0b291cbfa30faca62bfa87e89009098e375604be',parents: [{ id: '4bddc73e5373b873ca5c0e7dd4dfbfd4f8f0c05b' }]},{id: '4bddc73e5373b873ca5c0e7dd4dfbfd4f8f0c05b', href: '/projects/WEB/repos/baum/commits/4bddc73e5373b873ca5c0e7dd4dfbfd4f8f0c05b',parents: [{ id: '926d28957114740ecf3c5e29ddd982c111f5c1ea' }]},{id: '926d28957114740ecf3c5e29ddd982c111f5c1ea', href: '/projects/WEB/repos/baum/commits/926d28957114740ecf3c5e29ddd982c111f5c1ea',labels: [{name: '1.0.9', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.9'}],parents: [{ id: 'd9d8d47832c03ed5a9156da9948445503255f096' }]},{id: 'd9d8d47832c03ed5a9156da9948445503255f096', href: '/projects/WEB/repos/baum/commits/d9d8d47832c03ed5a9156da9948445503255f096',parents: [{ id: 'a07641d72d4c6951a06b9d0c40b5f86005a9b445' }]},{id: 'a07641d72d4c6951a06b9d0c40b5f86005a9b445', href: '/projects/WEB/repos/baum/commits/a07641d72d4c6951a06b9d0c40b5f86005a9b445',parents: [{ id: '31916e24b7659af585ebd7ef7946da0cdfd53407' }]},{id: '31916e24b7659af585ebd7ef7946da0cdfd53407', href: '/projects/WEB/repos/baum/commits/31916e24b7659af585ebd7ef7946da0cdfd53407',parents: [{ id: '693c90a41e965db82e461e16b0b9886031a3f50f' },{ id: '49068631657b3d8e367a34a436c23e6158569432' }]},{id: '49068631657b3d8e367a34a436c23e6158569432', href: '/projects/WEB/repos/baum/commits/49068631657b3d8e367a34a436c23e6158569432',parents: [{ id: '693c90a41e965db82e461e16b0b9886031a3f50f' }]},{id: '693c90a41e965db82e461e16b0b9886031a3f50f', href: '/projects/WEB/repos/baum/commits/693c90a41e965db82e461e16b0b9886031a3f50f',parents: [{ id: '8577f7861684b4c58cb6b8bef530a16da4677730' },{ id: 'd97499366f360defdfee2d670f9b9caf3cd44462' }]},{id: 'd97499366f360defdfee2d670f9b9caf3cd44462', href: '/projects/WEB/repos/baum/commits/d97499366f360defdfee2d670f9b9caf3cd44462',parents: [{ id: 'b22a0de0802b1603153853aab018171a663f943a' }]},{id: 'b22a0de0802b1603153853aab018171a663f943a', href: '/projects/WEB/repos/baum/commits/b22a0de0802b1603153853aab018171a663f943a',parents: [{ id: 'ab9a93660a3175d661243854b797e30ddfa3c837' }]},{id: 'ab9a93660a3175d661243854b797e30ddfa3c837', href: '/projects/WEB/repos/baum/commits/ab9a93660a3175d661243854b797e30ddfa3c837',parents: [{ id: '2eb68255ecd3b9557ecdfee796669c15e7aff4b7' }]},{id: '2eb68255ecd3b9557ecdfee796669c15e7aff4b7', href: '/projects/WEB/repos/baum/commits/2eb68255ecd3b9557ecdfee796669c15e7aff4b7',parents: [{ id: '8577f7861684b4c58cb6b8bef530a16da4677730' },{ id: '629ec9e1de28ab477ffe924e164afd7b6263a60f' }]},{id: '629ec9e1de28ab477ffe924e164afd7b6263a60f', href: '/projects/WEB/repos/baum/commits/629ec9e1de28ab477ffe924e164afd7b6263a60f',parents: [{ id: '99a9f65256df51d79f38c31669746c3b2b770a46' }]},{id: '99a9f65256df51d79f38c31669746c3b2b770a46', href: '/projects/WEB/repos/baum/commits/99a9f65256df51d79f38c31669746c3b2b770a46',parents: [{ id: 'ac62b9c1d9cfba12b2e0058675c96313786cbd51' }]},{id: 'ac62b9c1d9cfba12b2e0058675c96313786cbd51', href: '/projects/WEB/repos/baum/commits/ac62b9c1d9cfba12b2e0058675c96313786cbd51',parents: [{ id: 'e6921cbe5b6b23269088c4d0880119e0c6c2560a' }]},{id: 'e6921cbe5b6b23269088c4d0880119e0c6c2560a', href: '/projects/WEB/repos/baum/commits/e6921cbe5b6b23269088c4d0880119e0c6c2560a',labels: [{name: '1.0.8', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.8'}],parents: [{ id: 'c71aa63b23ff06e8b661153d3ec823316f2532df' },{ id: '02edc7becc8b333d500a206a3dc2a3dc463671e9' }]},{id: 'c71aa63b23ff06e8b661153d3ec823316f2532df', href: '/projects/WEB/repos/baum/commits/c71aa63b23ff06e8b661153d3ec823316f2532df',parents: [{ id: '7591c9c51b4c42c0580b742a0b5351107cad1acb' },{ id: '10fc5393a292530fc1282b2fe5e38d804167afe1' }]},{id: '8577f7861684b4c58cb6b8bef530a16da4677730', href: '/projects/WEB/repos/baum/commits/8577f7861684b4c58cb6b8bef530a16da4677730',parents: [{ id: 'a5eb12fc96a43ed54af3c2da6e5c8f47e3db2944' },{ id: '5d65322ae320e8e72715f783a59645b48e42637b' }]},{id: '5d65322ae320e8e72715f783a59645b48e42637b', href: '/projects/WEB/repos/baum/commits/5d65322ae320e8e72715f783a59645b48e42637b',parents: [{ id: '32fffc7016819b0a53e13ab5e5db668c316ef458' }]},{id: '32fffc7016819b0a53e13ab5e5db668c316ef458', href: '/projects/WEB/repos/baum/commits/32fffc7016819b0a53e13ab5e5db668c316ef458',parents: [{ id: 'a8a27b41e39711691805db8e1112682078ad4b88' }]},{id: 'a8a27b41e39711691805db8e1112682078ad4b88', href: '/projects/WEB/repos/baum/commits/a8a27b41e39711691805db8e1112682078ad4b88',parents: [{ id: 'a5eb12fc96a43ed54af3c2da6e5c8f47e3db2944' },{ id: '16a5138d4ca0bbd1cf1d7304e066efed32834c49' }]},{id: '16a5138d4ca0bbd1cf1d7304e066efed32834c49', href: '/projects/WEB/repos/baum/commits/16a5138d4ca0bbd1cf1d7304e066efed32834c49',parents: [{ id: '31441ae23af70e38abd4421a1699900b2215817c' }]},{id: 'a5eb12fc96a43ed54af3c2da6e5c8f47e3db2944', href: '/projects/WEB/repos/baum/commits/a5eb12fc96a43ed54af3c2da6e5c8f47e3db2944',parents: [{ id: '521c7fceb4f9dc3d5216fc2c1eac3a27e4396dd5' }]},{id: '521c7fceb4f9dc3d5216fc2c1eac3a27e4396dd5', href: '/projects/WEB/repos/baum/commits/521c7fceb4f9dc3d5216fc2c1eac3a27e4396dd5',parents: [{ id: 'cc65d4308d6e668567955ff8ead55b51eb8ed1ed' }]},{id: 'cc65d4308d6e668567955ff8ead55b51eb8ed1ed', href: '/projects/WEB/repos/baum/commits/cc65d4308d6e668567955ff8ead55b51eb8ed1ed',parents: [{ id: '02edc7becc8b333d500a206a3dc2a3dc463671e9' }]},{id: '02edc7becc8b333d500a206a3dc2a3dc463671e9', href: '/projects/WEB/repos/baum/commits/02edc7becc8b333d500a206a3dc2a3dc463671e9',parents: [{ id: '06b056540e2b3b93109ab72f752a00ddd4eeadff' }]},{id: '06b056540e2b3b93109ab72f752a00ddd4eeadff', href: '/projects/WEB/repos/baum/commits/06b056540e2b3b93109ab72f752a00ddd4eeadff',parents: [{ id: '60ee4cfe8ddc7abed2a5244acf410b9af70b496d' }]},{id: '60ee4cfe8ddc7abed2a5244acf410b9af70b496d', href: '/projects/WEB/repos/baum/commits/60ee4cfe8ddc7abed2a5244acf410b9af70b496d',parents: [{ id: '1897c98754ea7605cff20b1ce1c908d058d9ccc9' },{ id: '72106732831bd6a4499759bd44b89c08333ab02c' }]},{id: '72106732831bd6a4499759bd44b89c08333ab02c', href: '/projects/WEB/repos/baum/commits/72106732831bd6a4499759bd44b89c08333ab02c',parents: [{ id: '1897c98754ea7605cff20b1ce1c908d058d9ccc9' }]},{id: '1897c98754ea7605cff20b1ce1c908d058d9ccc9', href: '/projects/WEB/repos/baum/commits/1897c98754ea7605cff20b1ce1c908d058d9ccc9',parents: [{ id: '3bc063cb9a92d55202754bbe6e12dd27e651d517' },{ id: '10fc5393a292530fc1282b2fe5e38d804167afe1' }]},{id: '10fc5393a292530fc1282b2fe5e38d804167afe1', href: '/projects/WEB/repos/baum/commits/10fc5393a292530fc1282b2fe5e38d804167afe1',parents: [{ id: '7591c9c51b4c42c0580b742a0b5351107cad1acb' }]},{id: '3bc063cb9a92d55202754bbe6e12dd27e651d517', href: '/projects/WEB/repos/baum/commits/3bc063cb9a92d55202754bbe6e12dd27e651d517',parents: [{ id: '9bb1d3c8c493efa6893461762155d5b24142753c' }]},{id: '9bb1d3c8c493efa6893461762155d5b24142753c', href: '/projects/WEB/repos/baum/commits/9bb1d3c8c493efa6893461762155d5b24142753c',parents: [{ id: '7591c9c51b4c42c0580b742a0b5351107cad1acb' }]},{id: '7591c9c51b4c42c0580b742a0b5351107cad1acb', href: '/projects/WEB/repos/baum/commits/7591c9c51b4c42c0580b742a0b5351107cad1acb',labels: [{name: '1.0.7', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.7'}],parents: [{ id: '975fce26b526ed2112bddb5ab05ccea4e9fb5f91' }]},{id: '975fce26b526ed2112bddb5ab05ccea4e9fb5f91', href: '/projects/WEB/repos/baum/commits/975fce26b526ed2112bddb5ab05ccea4e9fb5f91',labels: [{name: '1.0.6', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.6'}],parents: [{ id: '6058ab2d0579aede7c66df204a8e3d8096f1bb65' }]},{id: '6058ab2d0579aede7c66df204a8e3d8096f1bb65', href: '/projects/WEB/repos/baum/commits/6058ab2d0579aede7c66df204a8e3d8096f1bb65',parents: [{ id: '50d5c166bd8b905881cf3ebc498d1787635b7fae' }]},{id: '50d5c166bd8b905881cf3ebc498d1787635b7fae', href: '/projects/WEB/repos/baum/commits/50d5c166bd8b905881cf3ebc498d1787635b7fae',parents: [{ id: 'f16962869761de0aa6ac65f179aa421151547a09' },{ id: 'd59a057b37bb666533d70f8ea40d8523c8800d20' }]},{id: 'd59a057b37bb666533d70f8ea40d8523c8800d20', href: '/projects/WEB/repos/baum/commits/d59a057b37bb666533d70f8ea40d8523c8800d20',parents: [{ id: 'ad68bec66e3014a209fa8fd61a54a22beb8b0d88' }]},{id: 'f16962869761de0aa6ac65f179aa421151547a09', href: '/projects/WEB/repos/baum/commits/f16962869761de0aa6ac65f179aa421151547a09',parents: [{ id: '7d32ae938482d20c380236431a2aaff164000894' }]},{id: '7d32ae938482d20c380236431a2aaff164000894', href: '/projects/WEB/repos/baum/commits/7d32ae938482d20c380236431a2aaff164000894',parents: [{ id: 'ad68bec66e3014a209fa8fd61a54a22beb8b0d88' }]},{id: 'ad68bec66e3014a209fa8fd61a54a22beb8b0d88', href: '/projects/WEB/repos/baum/commits/ad68bec66e3014a209fa8fd61a54a22beb8b0d88',labels: [{name: '1.0.5', type: 'TAG', href: '/projects/WEB/repos/baum/browse?at=1.0.5'}],parents: [{ id: 'a18760845ed0a7a779a6e5c716729adad2e4c3dd' }]},{id: 'a18760845ed0a7a779a6e5c716729adad2e4c3dd', href: '/projects/WEB/repos/baum/commits/a18760845ed0a7a779a6e5c716729adad2e4c3dd',parents: [{ id: '3be021e39ee15e4e27e518277449624fa48f078a' }]},{id: '3be021e39ee15e4e27e518277449624fa48f078a', href: '/projects/WEB/repos/baum/commits/3be021e39ee15e4e27e518277449624fa48f078a',parents: [{ id: '0d814771d61cf7e508579fc11c1935c799396556' }]}]);