1
0
Fork 0
Commit Graph

2555 Commits

Author SHA1 Message Date
Jan Steemann f35f8d1643 fixed ranges, added tests 2014-12-16 13:54:46 +01:00
Patrick Huber c9fe2a6a9d mention 'byId' supports not only ids but also keys (from #1181) 2014-12-16 11:26:37 +01:00
Jan Steemann 1a57d587e0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or 2014-12-16 00:25:42 +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
Jan Steemann 1ba3d65485 fixed tests 2014-12-15 21:06:43 +01:00
Willi Goesgens 1c4a72b106 The Big V8 upgrade Merge. 2014-12-15 17:30:56 +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
Patrick Huber 3692c23474 fixes from feedback 2014-12-10 22:05:06 +01:00
Patrick Huber d0eb69fc73 expose the any() method from the collection on the repository too 2014-12-10 14:19:06 +01:00
James 7ab57d64ec Merge branch 'aql-feature-index-or' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or 2014-12-09 22:05:57 +00:00
Jan Steemann 22928c1bb5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
2014-12-09 22:45:55 +01:00
James 3ce7164fb6 finally working again, and more tests 2014-12-09 20:15:38 +00:00
Jan Steemann 5c9e52ea20 pass query parameters 2014-12-09 17:16:03 +01:00
Jan Steemann 1fdf74e09e jslint 2014-12-09 16:44:31 +01:00
Max Neunhoeffer 17f9c83540 Fix issue #1147, must encode dispatcher ID for etcd. 2014-12-09 16:32:37 +01:00
Max Neunhoeffer be421d926f Add new test for use-index-range rule and no rule explosion. 2014-12-09 15:40:22 +01:00
Jan Steemann a617dcffc5 added tests 2014-12-09 14:50:28 +01:00
James afb960f60e fixed another bug and added a test for it. 2014-12-09 11:19:34 +00:00
James a4dcf1b9d3 Merge branch 'aql-feature-index-or' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or 2014-12-09 10:23:07 +00:00
James 8871612eb8 adding tests for last 2014-12-09 10:22:15 +00:00
Jan Steemann 797b6dbf75 added index tests 2014-12-09 11:01:58 +01:00
James 46fe461ca1 fixed bug and added test for it. 2014-12-09 09:40:40 +00:00
Jan Steemann 399e93c3ff issue #1155: allow bind parameter for sort order
SORT what @order is now allowed
2014-12-08 13:05:40 +01:00
Jan Steemann cd17c393ab Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
	arangod/Aql/grammar.cpp
2014-12-08 12:37:13 +01:00
Jan Steemann d5ec9ca4bb jslint 2014-12-08 11:50:14 +01:00
Jan Steemann db507fe3f5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-08 11:34:02 +01:00
Jan Steemann 63ceb0d1e0 added tests for mergeObjects 2014-12-08 11:33:54 +01:00
Max Neunhoeffer 32c6262586 Switch off importing test in the cluster because feature not yet implemented. 2014-12-08 11:27:19 +01:00
James a4c7c4edcd tests for index-or and in 2014-12-06 15:27:20 +00:00
James 8698a1da3d fixing bugs and updating tests 2014-12-06 14:02:50 +00:00
Jan Steemann 8f99e59747 issue #1163: fullcount was sometimes used for wrong LIMIT node 2014-12-05 19:02:51 +01:00
Patrick Huber b8bfdaf554 remove attribute in method parameter 2014-12-05 18:12:24 +01:00
Patrick Huber 57fe367f87 typo 2014-12-05 18:12:24 +01:00
Patrick Huber 92e3f968e0 typo 2014-12-05 18:12:24 +01:00
Patrick Huber ea7553b2cc copy paste error 2014-12-05 18:12:24 +01:00
Jan Steemann d9a945e33a include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
Jan Steemann dd68db2252 fixed precedence of range operator 2014-12-05 11:00:26 +01:00
Jan Steemann 4c43c1bdaf less plans created by optimizer 2014-12-04 12:49:34 +01:00
Jan Steemann 0975fb8349 jslint 2014-12-04 09:44:41 +01:00
Jan Steemann e4b51f616c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-03 17:46:03 +01:00
Jan Steemann 7e161b88ce issue #1131: added KEEP for `COLLECT...INTO` 2014-12-03 17:44:10 +01:00
Frank Celler 3e430276d6 Merge pull request #1145 from triAGENS/positional-query-args
Support positional arguments in Foxx queries
2014-12-03 14:48:39 +01:00
Jan Steemann 4f39b9e358 optimize away `INTO` of `COLLECT` if unused 2014-12-03 13:49:03 +01:00
Jan Steemann 8af441da56 Merge pull request #1148 from triAGENS/correct-horse-battery-staple
Dev app baseUrls should be db-relative too
2014-12-03 11:58:38 +01:00
Jan Steemann 9d197d3eb2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-03 11:39:04 +01:00
Jan Steemann 4ef82239a3 added optimizer statistics 2014-12-03 11:38:56 +01:00
Max Neunhoeffer 9a28d9914d Add new import tests to JS testsuite, fixing the "importing" target. 2014-12-03 11:27:44 +01:00
Max Neunhoeffer 8f1dd637c6 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-12-03 10:56:29 +01:00
Alan Plum 7a4076da8f Also accept `false` instead of an empty array. 2014-12-03 10:56:28 +01:00
Jan Steemann 8e2c5176f4 fixed segfault 2014-12-03 10:47:35 +01:00
Max Neunhoeffer 94e8bbe605 Fix error checking in unittests. 2014-12-03 10:45:51 +01:00
Alan Plum 7b01edbb4c Fixes #1146. 2014-12-03 10:24:50 +01:00
Alan Plum 741bf1e4d5 Support positional arguments in Foxx queries. 2014-12-02 18:29:25 +01:00
Alan Plum fdc4c1e810 Rename Repository#modelPrototype to avoid confusion. Added Repository#modelSchema. 2014-12-02 13:37:06 +01:00
James 0646a5a98e Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	CHANGELOG
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
	arangod/Aql/grammar.cpp
	js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:42:04 +00:00
James fed9e98aca Merge branch 'master' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	CHANGELOG
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
	js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:36:06 +00:00
Patrick Huber f1c6c6cc24 allow to supply args to the optional 'transform' function in Foxx.createQuery() 2014-12-02 08:18:49 +01:00
Frank Celler 7c8b0228da recreate password if missing 2014-12-01 15:36:47 +01:00
Willi Goesgens 1024750c07 Clarify whether the test is running via arangosh or arangod. 2014-12-01 14:21:00 +01:00
Max Neunhoeffer d333ac5845 Cleanup cleanupDirectories list after cleanup of directories. 2014-11-28 17:56:16 +01:00
Jan Steemann aa37504e09 jslint 2014-11-28 17:55:01 +01:00
Jan Steemann b6e182fd0f added tests 2014-11-28 17:53:28 +01:00
Jan Steemann 42e7c64de6 fixed jslint warnings 2014-11-28 17:52:18 +01:00
Jan Steemann 544f7d4ab4 fix optimization of subqueries
Conflicts:
	CHANGELOG
2014-11-28 17:51:50 +01:00
Jan Steemann 99530f6478 fixed invalid optimization, added test cases
Conflicts:
	CHANGELOG
2014-11-28 17:50:17 +01:00
Alan Plum 234af094ec Expose root-relative mount URL as appContext.baseUrl. 2014-11-28 17:49:51 +01:00
Jan Steemann 1f5db121db renamed function, updated documentation
Conflicts:
	CHANGELOG
2014-11-28 17:46:29 +01:00
Jan Steemann 5bf621e756 added test case 2014-11-28 17:35:16 +01:00
Jan Steemann 06af1d3af2 added several AQL functions 2014-11-28 17:34:29 +01:00
Max Neunhoeffer faef09a576 Cleanup cleanupDirectories list after cleanup of directories. 2014-11-28 15:22:01 +01:00
Frank Celler dbf1d3bf30 recreate password if missing 2014-11-28 11:57:58 +01:00
Jan Steemann b3d46923f2 jslint 2014-11-27 13:08:09 +01:00
James 40a67f47c7 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
2014-11-27 09:25:43 +00:00
Jan Steemann e7c7f774e0 added tests 2014-11-26 20:24:28 +01:00
Jan Steemann 513ae2b3dd fixed jslint warnings 2014-11-26 15:24:03 +01:00
Jan Steemann 57aefb988d fix optimization of subqueries 2014-11-26 15:01:55 +01:00
Jan Steemann e5adbf4f56 properly display required pathParams in Foxx documentation
do not restrict route summary to 60 characters
2014-11-26 11:21:14 +01:00
Jan Steemann 646af5175e properly display required pathParams in Foxx documentation
do not restrict route summary to 60 characters
2014-11-26 11:20:05 +01:00
Jan Steemann 37026e8c84 Merge pull request #1121 from triAGENS/appcontext-base-url
Expose root-relative mount URL on applicationContext
2014-11-26 10:28:42 +01:00
Jan Steemann c69fa0b0dc fixed invalid optimization, added test cases 2014-11-25 23:18:24 +01:00
Alan Plum a947b909a4 Expose root-relative mount URL as appContext.baseUrl. 2014-11-25 13:35:41 +01:00
James e73a05bb16 adjust further test 2014-11-22 16:07:10 +00:00
James 7f59881c99 fixing test 2014-11-22 16:03:11 +00:00
James b040a7e544 updating test 2014-11-22 15:52:03 +00:00
Thomas Schmidts 953fcd209e Another dead link in the documentation fixed 2014-11-21 09:48:34 +01:00
Thomas Schmidts e448502f2d Another dead link in the documentation fixed 2014-11-21 09:48:08 +01:00
Thomas Schmidts 403ab66198 Fixed some dead links in the documentation 2014-11-21 09:14:32 +01:00
Thomas Schmidts c6b8e1a569 Fixed some dead links in the documentation 2014-11-21 09:13:50 +01:00
Jan Steemann ed919090ea renamed function, updated documentation 2014-11-20 14:46:32 +01:00
Jan Steemann 620274047f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
Conflicts:
	CHANGELOG
2014-11-20 14:23:01 +01:00
scottashton 28d7230d47 fixed a test 2014-11-20 11:07:24 +01:00
scottashton e36aa92f58 fixed a test 2014-11-20 11:06:50 +01:00
scottashton a5bc4aaa4a added new graph function _connectingEdges 2014-11-19 09:27:39 +01:00
scottashton 6075027484 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-19 09:26:51 +01:00
scottashton 6a418d3a05 added new graph function _connectingEdges 2014-11-19 09:26:40 +01:00
Lucas Dohmen c0a02f9f8a Merge pull request #1096 from sarhugo/model-events
Model events
2014-11-19 09:24:12 +01:00
Alan Plum 42d590dd71 Swagger models should reflect required properties. 2014-11-18 15:06:09 +01:00
Alan Plum a39d48cd0f Also respect required props in legacy schemas. Fixes #1097. 2014-11-18 15:05:58 +01:00
Lucas Dohmen dfc7901621 Merge pull request #1106 from triAGENS/mandatory-swagger
Mandatory swagger (fixes #1097)
2014-11-18 13:20:10 +01:00
Alan Plum 7e2468cc49 Also respect required props in legacy schemas. Fixes #1097. 2014-11-18 11:30:26 +01:00
Jan Steemann ea6c7a287c added test case 2014-11-18 11:27:38 +01:00
Jan Steemann baba563a78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions 2014-11-18 11:27:06 +01:00
Jan Steemann f1f13a4284 added several AQL functions 2014-11-18 11:26:42 +01:00
Alan Plum 74f7d0ee5e Swagger models should reflect required properties. 2014-11-18 11:21:08 +01:00
Jan Steemann 2b92cf5edd issue #1104: edgeExamples broken or changed 2014-11-18 10:34:46 +01:00
Jan Steemann 53fbc02890 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-18 10:29:18 +01:00
Jan Steemann 9565d8f3b2 issue #1104: edgeExamples broken or changed 2014-11-18 10:29:10 +01:00
scottashton 8f3779b1eb added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:43:31 +01:00
scottashton 8635862224 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-18 09:42:26 +01:00
scottashton 40f270f22c added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:42:17 +01:00
Jan Steemann 32c1404eec added tests 2014-11-18 07:02:35 +01:00
Jan Steemann fc0b63967f fixed WITHIN_RECTANGLE for cluster 2014-11-18 07:02:08 +01:00
Jan Steemann 336d456beb issue #1100: HAS() fails on doc[attribute_name] 2014-11-18 07:01:51 +01:00
Jan Steemann 52b527bbe1 added tests 2014-11-17 13:55:35 +01:00
Jan Steemann 675e2a0d40 fixed WITHIN_RECTANGLE for cluster 2014-11-17 12:32:43 +01:00
Jan Steemann 065a5ecef0 issue #1100: HAS() fails on doc[attribute_name] 2014-11-17 11:38:57 +01:00
Max Neunhoeffer 257a382684 Fix tests with new estimateCost functions. 2014-11-16 20:12:46 -05:00
Max Neunhoeffer f4f4193368 Remove a test for cost estimation. 2014-11-15 21:30:17 -05:00
Max Neunhoeffer 57913a5f5a Fix another test for AQL and new estimates. 2014-11-14 23:13:00 -05:00
Max Neunhoeffer 752b603e5f Adjust local test (do not test whether cost estimate is zero). 2014-11-14 23:08:42 -05:00
Hugo Sarti ce66c0ffc6 Removed EventEmitter2. Using core events 2014-11-14 23:38:39 -03:00
Jan Steemann ac667d5e5a added tests 2014-11-14 13:27:33 +01:00
Jan Steemann 71c050d2fa renamed function 2014-11-14 13:06:44 +01:00
Hugo Sarti 619b8cf810 Before/After events at Repository.remove method 2014-11-13 10:55:53 -03:00
James f797afe0d5 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index 2014-11-13 08:04:25 +00:00
Hugo Sarti 26451ea7c3 Before/After events at Repository.update method 2014-11-12 16:27:25 -03:00
Hugo Sarti 298f7dea1e Before/After events at Repository.save method 2014-11-12 16:05:59 -03:00
Jan Steemann 7cd1eb5474 more warnings 2014-11-12 14:52:54 +01:00
Jan Steemann 81c1919f44 minor adjustments for task API 2014-11-12 11:27:47 +01:00
Jan Steemann d6c38f39ed minor test adjustments 2014-11-12 08:50:13 +01:00
Jan Steemann 2d2ad1b4c6 added tests for accessing _from and _to of a non-edge collection 2014-11-12 08:28:24 +01:00
Jan Steemann 8c08a3b24a make `CONCAT` and `CONCAT_SEPARATOR` more useful 2014-11-12 00:07:03 +01:00
Jan Steemann 435016abcd added functions `VALUES` and `ASSEMBLE` 2014-11-11 23:07:45 +01:00
Jan Steemann 3ba00ca653 added `SUBSTITUTE` AQL function 2014-11-11 22:35:15 +01:00
Hugo Sarti 54812d1e02 Model as an EventEmitter 2014-11-11 18:22:07 -03:00
Jan Steemann 40ae5728e0 issue #1032: added `FIND_FIRST` and `FIND_LAST` 2014-11-11 18:05:04 +01:00
Jan Steemann 9ccf7b85f4 issue #1033: added SPLIT function 2014-11-11 16:35:40 +01:00