1
0
Fork 0
Commit Graph

874 Commits

Author SHA1 Message Date
Lucas Dohmen 6999a6e3e4 Merge pull request #1204 from triAGENS/foxxy-bodies-of-joi
Allow bodyParam to take joi schemas and actually validate data
2015-01-13 13:46:37 +01:00
Jan Steemann 2af987ed66 added tests 2015-01-12 15:25:45 +01:00
Jan Steemann 2cbc278e6c finally 2015-01-12 14:23:26 +01:00
Jan Steemann 591a92fa0d jslint 2015-01-12 12:02:05 +01:00
Jan Steemann d02de8d7e0 more tests 2015-01-12 11:59:19 +01:00
Max Neunhoeffer 207aba0983 Sensible state 2 for aql-modify-cluster.js. 2015-01-12 10:49:32 +01:00
Max Neunhoeffer 3e27c46bf4 Sensible state for aql-modify-cluster.js 2015-01-12 10:49:07 +01:00
Max Neunhoeffer 743d92f466 Use multiple shards in cluster modifying AQL queries. 2015-01-12 10:37:28 +01:00
Jan Steemann 7961be8836 fixed test 2015-01-09 10:39:05 +01:00
Jan Steemann ba30df4e5c added test 2015-01-09 00:03:50 +01:00
Jan Steemann 26b51b35b8 added tests 2015-01-08 17:31:40 +01:00
Jan Steemann f2590881f1 return old or new values in data-modification operations 2015-01-08 16:35:54 +01:00
Willi Goesgens 0fa352b699 comment out curerntly failing test. 2015-01-07 16:32:09 +01:00
Willi Goesgens e2f206fd2c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/Aql/grammar.cpp
2015-01-07 15:50:44 +01:00
Willi Goesgens f905123802 Implement REMOVE/INSERT/UPDATE/REPLACE return the changed values 2015-01-07 15:48:13 +01:00
Jan Steemann 1e3082aef3 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2015-01-07 15:11:57 +01:00
Jan Steemann c591357dd3 slightly changed cost estimation for IndexRangeNode 2015-01-07 15:11:42 +01:00
Alan Plum 75cf182de2 Allow RequestContext#bodyParam to take joi schemas and reject invalid data. 2015-01-07 11:21:19 +01:00
Alan Plum 6fde5c96a8 Tests should not use deprecated Foxx features. 2015-01-07 11:02:42 +01:00
Alan Plum 6fad459fcc Removed Foxx Model legacy tests (non-joi schemas are no longer supported in 2.5+). 2015-01-07 10:52:09 +01:00
Alan Plum 2b569e5db2 Ported legacy Foxx syntax to 2.4+. 2015-01-06 20:37:18 +01:00
Alan Plum 7aee5e56bd Extract toJSONSchema from Model. 2015-01-06 20:37:10 +01:00
Jan Steemann 971ead19cb added tests 2015-01-05 09:42:31 +01:00
Jan Steemann f3b142849f fixed leaks during reverts 2015-01-03 01:28:23 +01:00
Max Neunhoeffer af976491b2 Fix tests finally. 2014-12-24 00:26:20 +01:00
Max Neunhoeffer 354825d12d Fix a test because now more queries use DistributeNode. 2014-12-24 00:19:20 +01:00
Jan Steemann 6d6d67f06f activated optimizer rule remove-sort-rand
fixed tests, updated documentation
2014-12-21 18:50:50 +01:00
Jan Steemann d92057dd03 the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
Willi Goesgens d46b215e30 Expect Indexrangenodes where we now know they will be created. 2014-12-17 14:01:50 +01:00
Willi Goesgens 016c8e477b Remove debug prints 2014-12-17 13:32:34 +01:00
Willi Goesgens ed2529efe9 We can now convert EnumerateCollectionNodes to IndexRangeNodes here too. 2014-12-17 13:05:44 +01:00
Willi Goesgens 419e3ece51 Make jslint happy. 2014-12-17 09:22:22 +01:00
Jan Steemann dd60e53ce3 added more collect special cases 2014-12-16 22:52:33 +01:00
Jan Steemann 571b6b5b02 added tests 2014-12-16 15:25:46 +01:00
Jan Steemann f35f8d1643 fixed ranges, added tests 2014-12-16 13:54:46 +01:00
Jan Steemann 1c65c042a4 added tests, fixed exception 2014-12-16 00:20:40 +01:00
Jan Steemann bcdeabd3ab Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
2014-12-15 21:53:51 +01:00
James fd1c68fb4a more tests for sorting in descending order 2014-12-13 18:03:13 +00:00
James 17ed7fbef4 sorting works, tests updated 2014-12-13 17:47:59 +00:00
James 0dee54ee6f more bugfixes more tests 2014-12-13 16:05:20 +00:00
James a7635abe41 fixed some bugs added some tests 2014-12-13 14:51:46 +00:00
Jan Steemann e4686bcc1b reverted non-fix 2014-12-13 12:44:24 +01:00
Willi Goesgens b275c79793 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/server/tests/aql-optimizer-rule-remove-filter-covered-by-index.js
2014-12-13 00:20:09 +01:00
Willi Goesgens f3c13f7c38 Fix unittest. 2014-12-13 00:13:00 +01:00
Jan Steemann ff2ddd3133 fixed tests 2014-12-12 23:34:28 +01:00
Jan Steemann 44a5db257d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-12 23:02:42 +01:00
Jan Steemann f4d7a57c19 changed `COLLECT...INTO x COUNT` to `COLLECT...WITH COUNT INTO x`
allow executing subqueries without double brackets

jslint
2014-12-12 23:02:24 +01:00
Willi Goesgens daeb46893f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-12 21:40:35 +01:00
Willi Goesgens 115f226385 Optimizer: Enable removing of filternodes if the index can handle the filter condition. 2014-12-12 21:39:35 +01:00
Jan Steemann 8f6193faa2 added optional COUNT clause for AQL COLLECT 2014-12-12 17:18:04 +01:00