1
0
Fork 0
Commit Graph

4206 Commits

Author SHA1 Message Date
Alan Plum 44faf4428d Improved mocha integration
Mocha tests now produce pretty XML files and log output for Jenkins.
2016-01-12 18:49:50 +01:00
Alan Plum b11c74bd12 shell-foxx-repository-spec to mocha 2016-01-12 18:49:28 +01:00
Alan Plum 46c186b3df shell-foxx-query-spec to mocha 2016-01-12 18:49:27 +01:00
Jan Steemann 6937dbc489 aggregate fixes 2016-01-12 17:21:18 +01:00
Wilfried Goesgens fd3d282fb1 Merge pull request #1653 from arangodb/mocha-tests
Add support for mocha in built-in test runner
2016-01-12 09:35:35 +01:00
Wilfried Goesgens a884e73404 assertQueryError: also output the query that failed with the error message. 2016-01-12 09:20:01 +01:00
Alan Plum c4c8418b6d Add support for mocha in built-in test runner 2016-01-11 20:00:56 +01:00
jsteemann debeaeec07 less garbage collection 2016-01-11 12:43:05 +01:00
Max Neunhoeffer b0283077db Merge branch 'devel' into ClustUp2 2016-01-11 11:41:36 +01:00
Max Neunhoeffer e7eae3a73a Merge branch 'devel' into ClustUp2 2016-01-11 11:01:45 +01:00
Jan Steemann 8390793699 moved docu blocks into their own files 2016-01-07 16:39:19 +01:00
Jan Steemann 1e6a07426c collect refactoring 2016-01-07 14:10:32 +01:00
Jan Steemann ad1163e3bb refactoring for Aql COLLECT 2016-01-07 13:35:12 +01:00
Alan Plum 480194ae14 Add missing header to foxx/service 2016-01-06 18:47:13 +01:00
Alan Plum e2f3bfabd1 Fix typo in error message 2016-01-06 18:47:13 +01:00
Jan Steemann 1fc4c0d34e fixed hanging test 2016-01-05 17:58:36 +01:00
Alan Plum 1b25f98996 On Windows, posix-ify mocha test paths 2016-01-05 11:32:21 +01:00
jsteemann a6cb463e06 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2016-01-05 00:25:10 +01:00
Jan Steemann a15c18572f fixed test, added more tests 2016-01-04 19:33:18 +01:00
Jan Steemann 555a0286c2 make merging configurable in update-by-example API 2016-01-04 16:31:06 +01:00
Max Neunhoeffer d8bae80887 Snapshot, with debugging output. 2015-12-30 16:53:13 +01:00
Max Neunhoeffer ad5446bf49 Set heartbeat interval to 5s. 2015-12-29 15:49:37 +01:00
Max Neunhoeffer 8feb663890 Add synchronisation of follower shards. 2015-12-29 15:48:55 +01:00
Alan Plum 9ecc710491 Avoid _.clone
Lodash's clone is subtlely different from underscore's and breaks with ShapedJson.
2015-12-23 23:30:56 +01:00
Alan Plum de9ae5128a underscore -> lodash 2015-12-23 23:30:55 +01:00
Alan Plum a1b816e4f3 Update copyright headers 2015-12-23 23:30:43 +01:00
Alan Plum 840c432904 org/arangodb -> @arangodb in Foxx generator 2015-12-23 23:25:50 +01:00
Max Neunhoeffer 394057fbda Merge branch 'devel' into vpack 2015-12-23 15:09:20 +01:00
Jan Steemann 8781c2d05d added tests 2015-12-23 14:38:48 +01:00
Max Neunhoeffer 9796661ede Make entropy test less sensitive. 2015-12-23 14:12:57 +01:00
Jan Steemann 887e93babc index handling fixes 2015-12-23 14:01:14 +01:00
Max Neunhoeffer 3996d2e6a2 Merge branch 'devel' into vpack 2015-12-23 08:35:59 +01:00
jsteemann 3d6582ed52 micro optimizations 2015-12-22 21:58:20 +01:00
Jan Steemann 5aebcbd91d Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-22 18:05:35 +01:00
Jan Steemann 6e3878ec94 changed behavior of [*] operator, added COLLECTION_COUNT internal function 2015-12-22 18:03:59 +01:00
Max Neunhoeffer 5f3a1fbdb2 Merge branch 'devel' into vpack 2015-12-22 14:18:34 +01:00
Alan Plum cad8c3841a Replace exportCache with app.main.loaded 2015-12-21 19:30:15 +01:00
Alan Plum ff23c28a44 Invalidate export cache when app is reloaded 2015-12-21 19:27:16 +01:00
Max Neunhoeffer 61fe51072c Merge branch 'devel' into vpack 2015-12-21 15:22:46 +01:00
Max Neunhoeffer 8ce0a484e1 Fix graph traversal tests, behaviour and documentation. 2015-12-21 15:20:56 +01:00
Michael Hackstein 60df6b70fc Moved traveral tests into the correct suite. This caused the build to fail 2015-12-21 13:25:02 +01:00
jsteemann 19782a45a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-18 23:33:44 +01:00
Jan Steemann 36eac6ffd0 fixed index selection in some queries 2015-12-18 20:16:09 +01:00
Michael Hackstein ccc23eda16 Added some more edge cases tests for graph traverser 2015-12-18 16:18:01 +01:00
Max Neunhoeffer b227b71c96 Remove name from collection properties for shards. 2015-12-18 15:34:37 +01:00
Jan Steemann 8053911c39 tests for issue #1583 2015-12-18 12:15:52 +01:00
Wilfried Goesgens 52e79fbe53 Fix lint 2015-12-17 14:16:46 +01:00
Wilfried Goesgens 58dbb81eba Cleanup; test de/serlialization. 2015-12-17 13:49:43 +01:00
Wilfried Goesgens d28f87b574 - Test de/serialization of filter arguments
- test multiple edge collection with in and outbound edges
2015-12-17 13:47:54 +01:00
jsteemann c786d9ff5f re-activated tests. jstlint complained about that 2015-12-16 20:13:33 +01:00
Wilfried Goesgens 06005c6939 Also test to de/serialize plans with expressions 2015-12-16 17:07:44 +01:00
Jan Steemann f48e779565 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-16 12:19:37 +01:00
jsteemann b5fa1b4629 extremeVerbosity 2015-12-16 11:48:04 +01:00
Jan Steemann 47d9fd1499 fixed jslint 2015-12-16 11:45:08 +01:00
Michael Hackstein 2867ff1eb4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-16 10:52:08 +01:00
Michael Hackstein e6e66d4469 Fixed a bug in Traversal Path Uniqueness. 2015-12-16 10:51:54 +01:00
Wilfried Goesgens e096903af6 Add comments howto configure the system so we can do automatic coredump analysis 2015-12-16 10:20:19 +01:00
Alan Plum b61d08efce applicationContext.foxxFilename -> applicationContext.fileName 2015-12-16 01:57:30 +01:00
Alan Plum 8b05198e17 Remove duplication 2015-12-16 01:41:20 +01:00
Alan Plum b8b0aa02f4 Remove unnecessary deprecation warnings 2015-12-16 01:16:38 +01:00
Alan Plum 318cf45def fix console.warn in Foxx 2015-12-16 01:16:38 +01:00
Alan Plum 8cd34bc586 Fix UndocumentedBody 2015-12-16 01:16:37 +01:00
Alan Plum ac291a9a17 Remove redundant test 2015-12-16 01:16:37 +01:00
Alan Plum 0c913dfbcf Make the Foxx console behave as documented 2015-12-16 01:16:37 +01:00
Alan Plum 78979e6a0c Revert unnecessary changes 2015-12-16 01:16:36 +01:00
Alan Plum ea419c671e Make activateAuthentication actually work again 2015-12-16 01:16:36 +01:00
Alan Plum 220468ec45 Add Model.toJSONSchema for 2.5 compat 2015-12-16 01:16:36 +01:00
Alan Plum ecfc00098e Lint 2015-12-16 01:16:35 +01:00
Alan Plum 64d3744594 Add jwt support back to Foxx sessions 2015-12-16 01:16:35 +01:00
Alan Plum c09b000d01 Make sessions more backwards compatible again 2015-12-16 01:16:35 +01:00
Alan Plum 06135043c1 Undeprecate Foxx.requireApp 2015-12-16 01:16:35 +01:00
Alan Plum 35b1f4e84f More undeprecation 2015-12-16 01:16:34 +01:00
Alan Plum 07209e278a Don't deprecate addInjector in 2.x 2015-12-16 01:16:34 +01:00
Alan Plum c7c8ee90ae Goodbye ES2015 classes 2015-12-16 01:16:33 +01:00
Alan Plum abbf019256 ctrl.del will not be removed in 2.9 2015-12-16 01:16:33 +01:00
Alan Plum 9c4bb1500d Linting 2015-12-16 01:16:32 +01:00
Alan Plum 0d6c70b4ee Remove ramda from npm deps 2015-12-16 00:10:19 +01:00
Alan Plum 0223b59233 Quotes 2015-12-16 00:09:41 +01:00
Max Neunhoeffer 0198b4576b Merge branch 'devel' into ClustUp1 2015-12-15 20:40:52 +01:00
Alan Plum 5947e2d9a8 fix console.warn in Foxx 2015-12-15 18:16:42 +01:00
Michael Hackstein 6636dec958 Added a test for traversal path uniqueness 2015-12-15 18:04:09 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Michael Hackstein 5235ced456 out/in/edges on an edge collection in a cluster now works for an array of vertices as well 2015-12-15 16:39:04 +01:00
Michael Hackstein 0496f16812 Added a test for AQL edges illegal start vertex values. Tests the reported errors 2015-12-15 16:38:21 +01:00
Michael Hackstein c6e64fc99d Added tests for EDGES to work with Object input 2015-12-15 16:38:14 +01:00
Michael Hackstein 806e8f6d17 Added a test for Array Input in AQL EDGES 2015-12-15 16:37:58 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Max Neunhoeffer 413e66b432 Merge branch 'devel' into ClustUp1 2015-12-15 11:59:25 +01:00
Jan Steemann aa99434c8c fixed test 2015-12-15 11:57:52 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
Max Neunhoeffer 27cf790fef Merge branch 'devel' into ClustUp1 2015-12-14 16:46:30 +01:00
Jan Steemann 5a4165fd54 removed debug output 2015-12-14 14:34:57 +01:00
Jan Steemann 917892a52a added tests 2015-12-14 11:41:30 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
Jan Steemann 90ff8508ac set `extremeVerbosity` to false 2015-12-14 10:03:52 +01:00
jsteemann 51c267cd2a dont optimize in certain cases when its useless 2015-12-14 00:12:14 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Jan Steemann 23367b098b make test output verbose more configurable 2015-12-11 17:54:40 +01:00
Jan Steemann a61589cfdc jslint 2015-12-11 16:35:02 +01:00
Jan Steemann 5ae891ac20 fix for issue #1603 2015-12-11 16:24:33 +01:00
Max Neunhoeffer 95b311f802 Merge branch 'devel' into ClustUp1 2015-12-11 13:33:33 +01:00
jsteemann 18e47457a6 fixes 2015-12-11 13:29:18 +01:00
Max Neunhoeffer c11ec07564 Merge branch 'devel' into ClustUp1 2015-12-11 13:28:07 +01:00
Jan Steemann 4335af50e7 replication improvements 2015-12-10 19:07:10 +01:00
Max Neunhoeffer 7a91accb71 Merge branch 'devel' into ClustUp1 2015-12-09 15:19:11 +01:00
Wilfried Goesgens 181db60b49 break if server is dead. 2015-12-09 13:43:04 +01:00
Alan Plum d3e2f75c33 Make require behave again
Calls to require should stay within the ArangoDB paths or Foxx service root.

The require cache for Foxx services should be service specific.

Reloading a service's controllers should clear the service's require cache.

See #1577.
2015-12-09 13:33:41 +01:00
Max Neunhoeffer 3f78b86492 Merge branch 'devel' into ClustUp1 2015-12-09 09:04:00 +01:00
jsteemann f13ffb4dff jslint 2015-12-09 00:21:55 +01:00
Max Neunhoeffer a0f6a3c9db Merge branch 'devel' into ClustUp1 2015-12-08 23:21:46 +01:00
Max Neunhoeffer 06a7196924 Fix test that checks etcd version numbers. 2015-12-08 21:31:46 +01:00
Max Neunhoeffer ec4e37b2f9 Merge branch 'devel' into ClustUp1 2015-12-08 20:13:17 +01:00
Jan Steemann 4cd2621d06 adjusted AQL function return values 2015-12-08 19:45:32 +01:00
Alan Plum 6b4fbdc5a7 Make the Foxx console behave as documented 2015-12-08 18:42:13 +01:00
Max Neunhoeffer 4e523a19ed Merge branch 'devel' into ClustUp1 2015-12-08 17:02:14 +01:00
Jan Steemann ee6792dd6b fixes for traversal and multi-modify 2015-12-08 14:50:05 +01:00
Max Neunhoeffer 257c6c897d Fix bugs and tests. 2015-12-08 12:48:11 +01:00
Jan Steemann 7c7fc5175b jslint 2015-12-08 12:44:37 +01:00
Jan Steemann a3f42b5072 renamed test method 2015-12-08 11:49:45 +01:00
Jan Steemann bbe8d5bb1f reduced wait period 2015-12-07 17:10:07 +01:00
Wilfried Goesgens ad8948057e Add timestamp to the output of testing.js before it starts rspec tests 2015-12-07 16:34:16 +01:00
Jan Steemann f707eddbcc added tests 2015-12-07 16:06:58 +01:00
Jan Steemann 1daeb7ad28 deadlock tests for drivers 2015-12-07 15:01:35 +01:00
Max Neunhoeffer a8a9f1832b Merge branch 'devel' into ClustUp1 2015-12-04 23:06:11 +01:00
Jan Steemann a53da38fcd fixed some cluster queries 2015-12-04 17:07:36 +01:00
Max Neunhoeffer 48ca59b4c0 Merge branch 'devel' into ClustUp1 2015-12-04 16:08:29 +01:00
Jan Steemann b6302a89df valgrind test fix 2015-12-04 15:37:17 +01:00
Max Neunhoeffer 60df924ac1 Change data structures for collections in Agency.
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Max Neunhoeffer a926c7570a Cleanup ClusterInfo library w.r.t. Current/Collections. 2015-12-04 15:08:47 +01:00
Wilfried Goesgens de86282978 add -, we do so in all other cases. 2015-12-04 14:24:10 +01:00
Wilfried Goesgens 08942dc729 Numeric functions seem to behave different in valgrind; therefore add a way to skip these tests. 2015-12-04 14:23:03 +01:00
Michael Hackstein 741fa73814 JSLint 2015-12-04 12:29:14 +01:00
Michael Hackstein 9a724cd5a6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-04 11:21:28 +01:00
Michael Hackstein 07e1bac837 Added tests for AQL traverser that check correctness if vertices are missing on the path 2015-12-04 11:20:24 +01:00
Jan Steemann 3b1df26a79 added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00
Jan Steemann 3016c974fc added tests 2015-12-03 16:51:52 +01:00
Jan Steemann ec3ab298e1 added test for traversal after data modification 2015-12-03 13:46:11 +01:00
Jan Steemann b404223212 jslint 2015-12-03 13:07:17 +01:00
Jan Steemann cb0d98cb6c added test cases for multi-modify 2015-12-03 12:18:03 +01:00
Jan Steemann d572f3ed03 Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel 2015-12-03 11:38:30 +01:00
jsteemann cb1c27c5c0 fixed jslint warnings 2015-12-03 11:24:52 +01:00
Michael Hackstein 3ea14e66a3 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-03 10:19:17 +01:00
Michael Hackstein b2e4673c65 Added a test for early filtering of < <= => > in Traversal 2015-12-02 17:52:01 +01:00
Michael Hackstein 23e2ac5da7 Fixed status reporting for Cluster and Single Server Case for the AQL Traverser Node. 2015-12-02 17:20:09 +01:00
jsteemann 9fa0f6d3a7 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-02 16:38:50 +01:00
Jan Steemann 30001804c1 jslint 2015-12-02 16:12:30 +01:00
Jan Steemann 0ec9d342a7 added test 2015-12-02 15:50:00 +01:00
Jan Steemann 3a7eca45b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-02 15:41:51 +01:00
Jan Steemann 61a8e4c686 issue #1593: add POW() AQL function 2015-12-02 15:41:30 +01:00
Jan Steemann 460b51734e fixed disappearing of documents for collections transferred via `sync` if the collection was dropped right before synchronization and drop and (re-)create collection markers were located in the same WAL file 2015-12-02 14:48:08 +01:00
Max Neunhoeffer 43d9dde8cd Slightly adapt sensitivity of a test to avoid false positives. 2015-12-02 14:46:01 +01:00
Wilfried Goesgens eb797f5e2f Remove anonymous wrapper function so this test harmonizes with our testing framework. 2015-12-02 14:17:18 +01:00
Max Neunhoeffer 3556f76469 Fix ClusterComm::asyncRequest w.r.t. body shared_ptr. 2015-12-02 14:15:18 +01:00
Michael Hackstein eca008fc33 Fixed test for Traverser AQL statistics. It now tests the desired optimization state including early pruning of paths 2015-12-02 13:37:13 +01:00
Michael Hackstein 1a13af6f36 Merged remote changes with local stash 2015-12-02 11:34:58 +01:00
Alan Plum 125f825420 Add process to system modules (because it's global) 2015-12-01 19:53:34 +01:00
Wilfried Goesgens 4b861dd44a Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-12-01 16:37:06 +01:00
Wilfried Goesgens 60819f9e80 Fix spelling for starting valgrind db servers 2015-12-01 16:36:23 +01:00
hkernbach 6d25ac57e9 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-01 11:25:58 +01:00
jsteemann 49af794f5d Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify 2015-12-01 01:56:46 +01:00
jsteemann 04e81ea851 more replication 2015-11-30 23:33:59 +01:00
Michael Hackstein 32496735fe Fixed all tests in JSUnityVersion. Now missing stats 2015-11-30 17:54:34 +01:00
Michael Hackstein d42d49f82b Renamed aql-graph-traverser test. It is not supposed to be executed with Jasmine any more 2015-11-30 17:36:27 +01:00
Michael Hackstein a9a8f1644d Use jsunity for graph traverser tests, jasmine report is simply useless in our framework 2015-11-30 17:35:48 +01:00
Michael Hackstein 8a01687565 Moved AQL graph tests into the server side. All other AQL tests are there as well 2015-11-30 15:20:03 +01:00
Michael Hackstein e9a36a3fbf Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-30 14:17:44 +01:00
Jan Steemann b11e88400b added tests for specific cluster queries 2015-11-30 13:56:31 +01:00
Jan Steemann e0392653f7 fixed error message 2015-11-30 13:45:31 +01:00
Jan Steemann 21b4307a55 renamed files 2015-11-30 13:12:55 +01:00
Wilfried Goesgens 55b8fb0c6f Fix links not to point to .html - .md is right, else the non-html generators won't work properly. 2015-11-27 11:51:29 +01:00
Michael Hackstein a93fcac0e8 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-27 09:29:01 +01:00
Wilfried Goesgens aae19ff291 Fix dangling anchors and add checker script to the make target. 2015-11-26 18:51:39 +01:00
Michael Hackstein 7bf37620bb Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-26 16:32:26 +01:00
Alan Plum ec49f5783b Remove FormatMiddleware
Fixes #971.
2015-11-25 13:19:00 +01:00
Jan Steemann 9b1ef915eb issue #1589 2015-11-25 10:49:31 +01:00
Alan Plum 7538d71333 URL parameter -> {query,path} parameter 2015-11-24 18:09:43 +01:00
Alan Plum 01aaa5f95a Adjust docs so it no longer implies IDs in ArangoDB might be numbers
Fixes #1408.
2015-11-24 16:18:37 +01:00
hkernbach 2d417e393d Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-24 13:24:12 +01:00
Alan Plum 3bd39234ec Treat empty string as null in optional Foxx configs
Fixes #1495.
2015-11-24 13:14:41 +01:00
Jan Steemann 95c00332c7 adjusted tests for issue #1583 2015-11-20 11:53:55 +01:00
Jan Steemann 268c0d49ad tests for issue #1583 2015-11-20 11:32:06 +01:00
jsteemann cb62c657e0 initial commit 2015-11-18 17:46:19 +01:00
Michael Hackstein 7a36bbb43f Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-18 13:58:47 +01:00
Michael Hackstein 10529ba474 Removed invalid test queries from Test 2015-11-18 09:42:04 +01:00
Max Neunhoeffer eec37d1e8b Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-17 17:17:10 +01:00
Jan Steemann 2ccfe1471f make replication tests a bit more robust 2015-11-17 15:27:38 +01:00
Jan Steemann 82eddeb120 allow using array indexes without specifying the `[*]` extension 2015-11-17 14:03:58 +01:00
Max Neunhoeffer 48c121bb24 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-17 11:46:19 +01:00
Alan Plum ce8ddcfe1d Fix #1574 2015-11-16 18:50:37 +01:00
Wilfried Goesgens 734d053a15 Adjust error code to non-cluster case. 2015-11-16 17:22:03 +01:00
Wilfried Goesgens 5dd70c78c0 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-16 15:55:33 +01:00
Max Neunhoeffer 8c2be32b48 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-13 15:08:39 +01:00
Wilfried Goesgens 7a41ef1e00 Output a real descritption of whats happening with the arangosh instead of dumping the start parameters 2015-11-12 10:39:55 +01:00
Wilfried Goesgens 91fccfd7ea AQL_NEIGHBORS: make the error checking behaviour similar to the non-cluster version. 2015-11-12 10:36:23 +01:00
jsteemann 8b9a8b80b5 fix broken build 2015-11-12 01:19:01 +01:00
Wilfried Goesgens 66e9cf70fc Add a test which validates proper exit codes of arangosh on throw () or regular exit. 2015-11-11 17:37:13 +01:00
Wilfried Goesgens 2d5d2d881e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-11 11:05:06 +01:00
Max Neunhoeffer c2c8bf95f3 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-11-11 10:47:30 +01:00
Wilfried Goesgens ad94f83b1b Adjust test to new error codes. 2015-11-10 15:00:34 +01:00
Max Neunhoeffer af3cb6868f Increase timeouts for larger clusters. 2015-11-10 10:21:36 +01:00
Wilfried Goesgens e2d2ac5322 Add tests for queries with impossible properties - min/max ranges 2015-11-09 15:39:54 +01:00
Wilfried Goesgens f8980194df Add test for the merge-traversal-filter rule. 2015-11-09 11:22:04 +01:00
Wilfried Goesgens 7a54982eb4 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-06 13:53:21 +01:00
Michael Hackstein 6b62d50ced Added CXX Implementation of MERGE_RECURSIVE 2015-11-05 17:35:03 +01:00
Michael Hackstein 2542ea5924 Added a CXX implementation for POSITION 2015-11-05 15:29:00 +01:00
Jan Steemann 229e71b332 do not execute obsolete startup tasks 2015-11-05 11:48:13 +01:00
Michael Hackstein 90aa5c858f Added CXX implementation for MEDIAN and PERCENTILE 2015-11-05 11:21:16 +01:00
Michael Hackstein 790dae1c52 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-04 17:53:51 +01:00
Michael Hackstein dbc67518a4 Added CXX implementation for STDDEV_SAMPLE and STDDEV_POPULATION 2015-11-04 17:53:45 +01:00
Alan Plum 9a097c31ef aqlQuery should handle null/undefined 2015-11-04 17:33:19 +01:00
Wilfried Goesgens 179660e87c Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-04 17:07:09 +01:00
Michael Hackstein 0294be6ebe Added a CXX implementation for VARIANCE_POPULATION. 2015-11-04 16:49:08 +01:00
Michael Hackstein a1f947c9bf Added a CXX implemention for VARIANCE_SAMPLE 2015-11-04 16:39:45 +01:00
Michael Hackstein a958714bcc Added a CXX implementation for CURRENT_DATABASE. 2015-11-04 14:40:16 +01:00
Michael Hackstein b43eb25135 Added CXX implementation for REMOVE_VALUES 2015-11-04 14:02:27 +01:00
Michael Hackstein 03b6a021ce Adde CXX implementation of NOT_NULL 2015-11-04 13:38:22 +01:00
Wilfried Goesgens 2c38e2a78d make redirects relative if on the same host; later editions of the HTTP 1.1 RFC state that its valid.
this fixes #1558
2015-11-04 13:32:34 +01:00
Michael Hackstein 3549be5088 Added CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 12:44:30 +01:00
Michael Hackstein 0f042e96ea Added Tests for CXX implementation for REMOVE_VALUE and REMOVE_NTH 2015-11-04 10:17:53 +01:00
Michael Hackstein fb0b5d8093 Fixed SHIFT CXX test 2015-11-03 17:10:46 +01:00
Michael Hackstein 39748553d2 Added tests for CXX implementation of SHIFT and UNSHIFT 2015-11-03 13:09:27 +01:00
Michael Hackstein 7ace3c42e4 Added a CXX implementation of APPEND 2015-11-03 11:51:12 +01:00
Michael Hackstein 5154e4de7a Added CXX implementation of POP 2015-11-03 10:21:35 +01:00
Michael Hackstein d75bc51647 Added a CXX implementation of PUSH 2015-11-03 10:21:31 +01:00
Michael Hackstein 1848c0f1f4 Added CXX implementation for FIRST_DOCUMENT and FIRST_LIST. 2015-11-03 10:21:31 +01:00
Michael Hackstein 4627cdabb3 Added warnings for division by zero in CXX implementation. 2015-11-03 10:21:30 +01:00
jsteemann b1a95cb42c added AQL function `UNSET_RECURSIVE` 2015-11-03 10:21:30 +01:00
Michael Hackstein d002370a1d Deactivated warnings test. Have to take a closer look at it on Monday 2015-11-03 10:21:29 +01:00
Michael Hackstein ea54c9fcc8 Deactivated warnings test. Have to take a closer look at it on Monday 2015-11-03 10:21:29 +01:00
jsteemann cbb691410c added CXX implementations for `FIRST`, `LAST` and `NTH` 2015-11-03 10:21:28 +01:00
jsteemann 8d2c3fd7ca remove even more FILTER conditions 2015-11-03 10:21:26 +01:00
Michael Hackstein 0339cb5e0c Added a CXX implementation of BINARY_OPERATOR_DIV. Deactivated CXX implementation of BINARY_OPERATOR_MOD have to check for data types 2015-11-03 10:19:31 +01:00
Michael Hackstein 5a8f75ffb6 Fixed a test that did rely an a non-guaranteed sort order 2015-11-03 10:19:30 +01:00
Michael Hackstein f23259b2bb Added CXX implementation of BINARY_OPERATOR_DIV 2015-11-03 10:19:30 +01:00
Michael Hackstein ceec76f13b Added CXX implementation for BINARY_OPERATOR_TIMES 2015-11-03 10:19:29 +01:00
Michael Hackstein 344f70fee2 Added CXX implementation for BINARY_MINUS 2015-11-03 10:19:29 +01:00
Frank Celler 52daefa306 removed tests 2015-11-03 10:19:29 +01:00
Max Neunhoeffer 92dbff9fdb Add failover actions to coordinator in cluster case. 2015-11-03 10:19:27 +01:00
Michael Hackstein 11606c1f55 Added a CXX implementation of BINARY_PLUS. 2015-11-03 10:19:26 +01:00
Michael Hackstein 8c9282f5c7 Added tests for CXX implementation of arithmetic - in AQL 2015-10-30 13:40:07 +01:00
Michael Hackstein e3d50baabb Added tests for CXX implementation of arithmetic + in AQL 2015-10-30 13:30:19 +01:00
Michael Hackstein 8744572adc Added tests for CXX implementation fo SUBSTRING 2015-10-30 12:58:27 +01:00
Michael Hackstein 76c62c090a Added tests for CXX implementation of CONTAINS 2015-10-30 11:29:17 +01:00
Michael Hackstein c3a6de0cc4 Added more CXX tests for AQL numeric functions 2015-10-30 10:00:25 +01:00
Michael Hackstein 6d2e36cee3 Added a test for CXX version of RAND 2015-10-29 16:31:35 +01:00
Wilfried Goesgens bb9039c855 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-29 16:01:01 +01:00
Michael Hackstein cc35fdb7b0 Added the implementation and more tests for EDGES in CXX only 2015-10-29 15:52:46 +01:00
Michael Hackstein 78e0b4aa9b Added tests for CXX implementation of EDGES 2015-10-29 10:32:10 +01:00
Michael Hackstein 6552c73d25 Added a CXX implementation of DOCUMENT 2015-10-29 09:50:40 +01:00
Michael Hackstein 293bdf4458 Implemented a CXX version of MINUS 2015-10-28 17:29:51 +01:00
Michael Hackstein 94658bb8da Added tests for CXX version of MINUS 2015-10-28 16:33:55 +01:00
Michael Hackstein d8d37a3bd5 Added a CXX implementation for PARSE_IDENTIFER 2015-10-28 16:02:15 +01:00
Michael Hackstein 66ae927e3c Added a CXX implementation of ZIP. Made the CXX implementation of FLATTEN more relaxed. It now works with invalid maxDepth entries and falls-back to 1 there 2015-10-28 15:06:22 +01:00
Michael Hackstein 9e98d5b87b Added CXX implementation of FLATTEN incl tests. 2015-10-28 14:10:03 +01:00
Wilfried Goesgens 951165ab1e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
Conflicts:
	arangod/Aql/grammar.cpp
	arangod/Aql/grammar.h
	js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann 5fff134c80 added CXX implementations of `WITHIN` and `NEAR` AQL functions 2015-10-27 23:24:00 +01:00
Alan Plum 5370213d03 Add root property to FoxxService JSON
See #1547.
2015-10-27 18:31:44 +01:00
Michael Hackstein 476d4e78fd Fixed array index test. It is now adapted to new definition of sparse 2015-10-27 17:58:53 +01:00
Michael Hackstein 44001e8049 Removed debug output from foxx manager 2015-10-27 16:34:25 +01:00
Michael Hackstein 7458e6ee75 Fixed cluster tests for array indexing 2015-10-27 15:31:40 +01:00
Michael Hackstein a94eb7fd49 In an array index with subattributes the document will be indexed with null if it has the array, but the subattribute is not existing. And it will not be indexed if it does not have the array 2015-10-27 14:19:06 +01:00
Michael Hackstein d7f3ca496d The Array Index now allows to query for null IN in sparse version 2015-10-27 13:00:49 +01:00
Michael Hackstein 52e372ab27 Added some more Array Indexing tests. And improved the pathbased index. Now it is checked when trying to array-index a non-array value. And if non existing attributes are added to the index or not. 2015-10-27 11:14:02 +01:00
Michael Hackstein 817c9827e1 Added tests for Array-Indexing non Array elements. It should allow partial indexing in the skiplist and forbid indexing in the hash index now. 2015-10-26 17:22:01 +01:00
Michael Hackstein deac579950 Added tests for Indexing non-Array elements with an Array Index 2015-10-26 11:57:53 +01:00
Michael Hackstein c35ccc02d5 Fixed unique-constrain-violated behaviour in SkiplistIndex 2015-10-26 09:28:14 +01:00
Jan Steemann 3cf1b237ee dfdb improvements 2015-10-23 19:03:24 +02:00
Jan Steemann ad068ce49f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-23 17:23:11 +02:00
Max Neunhoeffer e6a81de395 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-10-23 16:45:37 +02:00
Max Neunhoeffer cc45a0d352 Implement role switching. 2015-10-23 16:45:21 +02:00
Jan Steemann 025e470e3b added a single-array parameter variant for the AQL MERGE function 2015-10-23 15:29:53 +02:00
Jan Steemann 606213c1e2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-23 12:54:47 +02:00
Jan Steemann f457f3c89a remove unuseful test 2015-10-23 12:54:34 +02:00
Michael Hackstein 0a175a4271 Removed getOne in SimpleAttribute Matcher. All of the attributes are in sorted order rendering getOne and getAny useless 2015-10-23 12:49:57 +02:00
Michael Hackstein c4b0b21c74 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-22 17:13:18 +02:00
Michael Hackstein efd0ba0618 Removed a test for nested array indexes. We still need a decission there 2015-10-22 17:13:07 +02:00
Michael Hackstein b18d947492 Fixed jslint 2015-10-22 17:04:16 +02:00
Jan Steemann 5a190d1110 fixed leaks, index speedup 2015-10-22 17:03:05 +02:00
Michael Hackstein 4fb37846a4 Deactivated nested array index test 2015-10-22 17:00:39 +02:00
Michael Hackstein 7ea4130103 Fixed array indexing if the attribute is not set 2015-10-22 12:13:47 +02:00
Michael Hackstein d6e2e69fb0 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-22 11:50:44 +02:00
Michael Hackstein 0a79440634 Fixed sparse array index test. It was requested with null and expected an result... 2015-10-22 11:50:38 +02:00
Jan Steemann caf57a440c added tests 2015-10-22 11:41:36 +02:00
Michael Hackstein 2d02c7a9f8 Fixed sparse array index test. It was requested with null and expected an result... 2015-10-22 09:43:19 +02:00
Michael Hackstein f57e6ede36 Added AQL Array Index Or test 2015-10-21 17:49:52 +02:00
Michael Hackstein f083fc3b66 Added AQL failure tests for EdgeIndex and PrimaryIndex 2015-10-21 16:29:14 +02:00
Michael Hackstein fe455671d4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-21 16:20:44 +02:00
Jan Steemann e187ca26ec Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-21 16:14:27 +02:00
Jan Steemann becac4b4b1 documentation fixes 2015-10-21 16:14:21 +02:00
Alan Plum 4eec43fb28 JSONSchema is so much fun 2015-10-21 16:13:55 +02:00
Michael Hackstein 383912a221 Added failure tests for SimpleAttributeEqualityMatcher 2015-10-21 15:16:55 +02:00
Michael Hackstein e828984837 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-10-21 15:05:53 +02:00
Michael Hackstein afa7f8a2e3 Added failure tests for HashIndex. Now start with AttributeEqualityMatcher. 2015-10-21 15:00:58 +02:00
Jan Steemann 0d2197e77f changed documentation for index creation methods 2015-10-21 14:59:45 +02:00
Wilfried Goesgens dae95de667 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-21 14:54:01 +02:00
Wilfried Goesgens 7c3de62b08 Add file name here too - since some log messages will not add it and leave the user in the dark.
Also add the hint that we don't support APP-relative paths anymore.
2015-10-21 13:58:36 +02:00
Michael Hackstein 9a58955208 Added failure tests for SkiplistIndex 2015-10-21 13:57:00 +02:00
Alan Plum 13a69a4509 Linting 2015-10-21 13:43:24 +02:00
Jan Steemann 74edccbcde Merge branch 'aql-jmmh-conditions' of https://github.com/arangodb/arangodb into devel 2015-10-21 12:56:51 +02:00
Michael Hackstein e13ddcf7b2 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-21 12:55:16 +02:00
Michael Hackstein 7fb4679fb2 Added some failure tests for the IndexNode, ConditionFinder. Todo Index tests 2015-10-21 12:54:25 +02:00
Jan Steemann 6b67ea7fd9 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-21 12:53:01 +02:00
Jan Steemann 3396214a63 added db._explain() convenience function 2015-10-21 12:52:40 +02:00
Alan Plum f0e4b027e0 Fix swagger JSON to pass validation 2015-10-21 12:07:33 +02:00
Alan Plum 28edf6cb66 Fix generated service require paths 2015-10-21 12:07:14 +02:00
Jan Steemann 6791dd2936 fixed cluster tests 2015-10-21 10:17:39 +02:00
Michael Hackstein f181f62b9d Fixed usage of IN operator 2015-10-20 15:54:38 +02:00
Michael Hackstein 4018071699 Further tests for aql-queries with array indexes. Right now they fail, array index is used although it cannot actually serve 2015-10-20 15:12:03 +02:00
Michael Hackstein 2ecf67780b Started adding tests for Array Indexes. 2015-10-20 14:33:44 +02:00
Michael Hackstein 17383430d3 Fixed jslint 2015-10-20 09:39:22 +02:00
Michael Hackstein cbd403bade Fixed indexes multi tests 2015-10-20 09:29:48 +02:00
Michael Hackstein ca2c283ab8 Removed debug output in tests 2015-10-20 09:16:34 +02:00
Michael Hackstein 6adfdbe48e Fixed optimizer indexes-in-or test. In the new IndexNode we need to keep the sort node in some queries 2015-10-20 09:15:34 +02:00
Michael Hackstein 8e2d857ba9 Fixed indexes-sort tests 2015-10-19 17:27:53 +02:00
Michael Hackstein e439407dd4 Fixed tests in optimizer-indexes-in-or. We might be able to optimize a bit more here. 2015-10-19 17:13:03 +02:00
Michael Hackstein cc836b554b Fixed optimizer-in-noncluster tests 2015-10-19 16:59:41 +02:00
Michael Hackstein 72283203b8 Further adaption of IdnexNode tests. Added manual sort where Sorting is not guaranteed. 2015-10-19 12:30:15 +02:00
Michael Hackstein 251e365b5b Fixed several sorting tests. The IndexNode does not guarantiee sort order anymore 2015-10-19 11:57:13 +02:00
Michael Hackstein fc0be76a8f The ordering in IndexNode is not guaranteed anymore in IN for now. Remved the check from tests 2015-10-19 11:31:58 +02:00
Jan Steemann e5761736d4 fixed usage of sparse indexes 2015-10-19 10:56:30 +02:00
Michael Hackstein 2137089369 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-16 10:54:18 +02:00
Max Neunhoeffer 024994e3df Add some interval tests. 2015-10-15 19:04:57 +02:00
Michael Hackstein dd93460318 Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions 2015-10-15 16:20:09 +02:00
Michael Hackstein 06b7d1668a Fixed tests where we can now use indexes other than before 2.7 2015-10-15 16:20:04 +02:00
Max Neunhoeffer 4728dd10d5 Merge branch 'aql-jmmh-conditions' of ssh://github.com/ArangoDB/ArangoDB into aql-jmmh-conditions 2015-10-15 15:37:17 +02:00
Max Neunhoeffer 0087c24db2 Remove some trailing whitespace on some lines. 2015-10-15 15:36:51 +02:00
Max Neunhoeffer fc5e9a5640 Add tests for usage of multiple indexes. 2015-10-15 15:33:26 +02:00
Michael Hackstein 136e375b22 Fixed remove filter covered by index test. And fixed a bug in SkiplistIndexIterator where Nullptr could happen but was not expected 2015-10-15 15:27:35 +02:00
Michael Hackstein 50878b0b41 Fixed the use-index-range test 2015-10-15 14:40:01 +02:00
Michael Hackstein ac351b4141 Another IndexNode test file is executed successfully now 2015-10-15 11:37:38 +02:00
Michael Hackstein f712aee640 Started to remove references to ranges. Still this test throws internal errors 2015-10-14 16:05:00 +02:00
Michael Hackstein ed5c759cd3 Removed debug output in test 2015-10-14 14:10:26 +02:00
Michael Hackstein cc96b6e426 Adaption of Indexes Ranges test 2015-10-14 11:21:08 +02:00
Michael Hackstein 31cf31f7b7 Fixed further AQL optimizer tests. Still some issues in new IndexNode 2015-10-14 11:02:52 +02:00
Michael Hackstein 9d7024b28d Further fixes in AQL optimizer indexes test. It tests now as expected. Some minor issues in IndexNode are still open (Sorting for non-overlapping intervals. Propagation of conditions to earlier EnumerateCollectionNodes 2015-10-14 10:35:28 +02:00
Michael Hackstein e988c0052b Started fixing Optimizer tests, they are supposed to use IndexNode instead of IndexRangeNode now 2015-10-14 09:49:08 +02:00
Michael Hackstein d2e3f7c7c7 Disabled AQL sort rule failure tests 2015-10-13 10:39:43 +02:00
Michael Hackstein 9450e43fda Splitted a large aql-optimizer test file 2015-10-13 10:11:10 +02:00
Michael Hackstein fe5a9ddb93 Replaced IndexRangeNode by IndexNode in tests 2015-10-13 09:56:56 +02:00
Michael Hackstein 356cc4306f Activated use-indexes instead of use-index-range in test 2015-10-13 09:35:18 +02:00
Michael Hackstein c8210551d7 Fixed edges-noncluster test 2015-10-13 09:34:45 +02:00
Michael Hackstein 7821dbcec7 Deactivated use-index-range rule in tests. Activated use-indexes rule instead 2015-10-12 17:47:00 +02:00
Jan Steemann ffa777979c make IN values unique and sort em 2015-10-12 15:34:41 +02:00
Jan Steemann fbfc7773ef serialization and deserialization of IndexNodes 2015-10-08 12:02:27 +02:00
Jan Steemann 71a25e798b mchacki: fixed development mode 2015-10-07 17:03:49 +02:00
Jan Steemann d54db0e3ff do not warn verbosely 2015-10-07 10:15:34 +02:00
jsteemann 358befddde added test for issue #1521 2015-10-06 22:36:09 +02:00
Jan Steemann beaf3acbd3 simplifications 2015-10-06 11:58:23 +02:00
Jan Steemann 3f622d71fb fixed some require issues 2015-10-05 10:28:44 +02:00
Wilfried Goesgens 3060e1d63d lintify: break lines. 2015-10-02 15:01:38 +02:00
Wilfried Goesgens 353c01f04f don't output the result json when running from an interactive shell. 2015-10-02 14:47:57 +02:00
Wilfried Goesgens a5d8c12067 unittesting framework
- don't output xml reports if we run single tests
  - add another token to the 'this is not a testcase name' list
2015-10-02 13:38:25 +02:00
Wilfried Goesgens 320ac8e1e8 Improve indent readability 2015-10-02 12:31:09 +02:00
CoDEmanX 41d6594246 Documentation formatting 2015-10-02 03:14:55 +02:00
Wilfried Goesgens 1d2cf518dd Add --skipArangoBNonConnKeepAlive to skip this part of the test for os'es that have a problem with to frequent ip connection open/close (windows, macos) 2015-10-01 17:09:43 +02:00
Wilfried Goesgens ab130a025f add prefix to system app contexts - they shouldn't live without namespaces. 2015-09-30 17:55:55 +02:00
Frank Celler 3f8b2a4925 changed to dot notation 2015-09-29 14:14:57 +02:00
Frank Celler f8c79f1ab0 added ARANGODB_DEFAULT_ROOT_PASSWORD 2015-09-29 13:15:25 +02:00
Jan Steemann 2353fc648f fixed documentation errors 2015-09-28 11:56:39 +02:00
Jan Steemann 0e6b1e64da re-added reloadRouting() 2015-09-25 16:38:27 +02:00
Alan Plum 0fcb9ea46e Fixed applicationContext.collectionName 2015-09-25 16:32:17 +02:00
Jan Steemann ace5bd8ec2 some fixes for the web interface 2015-09-25 16:01:13 +02:00
Jan Steemann 9e1d4b0c9d updated CHANGELOG 2015-09-24 16:33:59 +02:00
Alan Plum ef50d88f5e Moved queue creation to queue manager init 2015-09-24 13:46:14 +02:00
Alan Plum 67e2264603 Fixed cyclic import 2015-09-24 13:46:14 +02:00
Alan Plum f8ef55f437 Fixed Foxx preprocessing 2015-09-24 13:46:14 +02:00
Alan Plum 252cba5e9f Implemented FoxxService 2015-09-24 13:46:14 +02:00
Alan Plum 309dcb2c17 Partially implemented FoxxService
The FoxxService class replaces ArangoApp and should contain the necessary logic to load Foxx services based on their manifests.
2015-09-24 13:46:14 +02:00
Alan Plum 038267cb06 Re-implemented require/module based on Node 4.1.0
The require function should now behave as expected and treat ArangoDB's module paths as sources for "external" modules.
The "assert", "buffer" and "path" modules have been moved out of ./js/node into the bootstrap modules.
The module "org/arangodb/foxx/arangoApp" (as well as any modules depending on it) is incompatible with the new module loading behaviour and will be have to be rewritten from scratch.
The "Package" class has been removed entirely and is no longer needed.
Support for the database-stored modules is currently missing and needs to be re-implemented within the module loader.
2015-09-24 13:46:13 +02:00
Wilfried Goesgens 44c2063662 Add information about the graph the samples are querying so the user has a better overview. 2015-09-23 14:12:18 +02:00
Michael Hackstein a862f0ea30 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-09-22 11:46:32 +02:00
Michael Hackstein aa1242b67c Fixed a bug with AQL EDGES() function. It did not include the correct
end of the edge when using inbound or outbound in combination with
includeVertices. Reported at
https://groups.google.com/forum/#!topic/arangodb/6yIpzLHprrk
2015-09-22 11:46:11 +02:00
CoDEmanX 7b95679040 Minor documentation fixes 2015-09-21 19:37:32 +02:00
Michael Hackstein a3e17f8eb6 Added a test for large skip value and skiplist sorting 2015-09-21 13:29:29 +02:00
Michael Hackstein 0d3a095736 Fixed a bug in AQL execution which caused LIMIT <skip> <total> to fail after sorting based on an attribute with skiplist index 2015-09-21 13:15:56 +02:00
Jan Steemann f2d42ec67c removed superfluous print statement 2015-09-18 17:27:25 +02:00
Michael Hackstein 1a7f414c16 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-09-18 12:21:39 +02:00
Frank Celler c4d1fff729 new traversal 2015-09-18 10:40:28 +02:00
Wilfried Goesgens 7f89e6e905 Add hint to the user that starting swagger may take a while.
A throbber won't do, since swagger is synchroneous and the browser won't animate it.
2015-09-17 13:29:49 +02:00
Wilfried Goesgens b06d03e84f Cleanup documentation for remaining @-tags 2015-09-17 11:15:33 +02:00
Jan Steemann 74ca6ce9f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-16 16:11:05 +02:00
Jan Steemann 907d98f3dd fixes for sync 2015-09-16 16:10:56 +02:00
Frank Celler 2e2600311a added aliases 2015-09-16 16:05:18 +02:00
Frank Celler c892174c6a added nightly 2015-09-16 15:14:34 +02:00
Jan Steemann c5c51f14da added tests for syncCollection 2015-09-16 11:40:57 +02:00
Jan Steemann a1dc321516 added more compaction tests 2015-09-16 11:39:41 +02:00
Jan Steemann a1a87c0c34 jslint 2015-09-15 14:23:26 +02:00
Jan Steemann dc7ac83354 incremental sync fixes 2015-09-15 14:20:08 +02:00
CoDEmanX f13c2f1fce Alternative DATE_FORMAT() implementation 2015-09-15 11:43:57 +02:00
Jan Steemann d2d3594351 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-14 17:45:09 +02:00
Jan Steemann 75ccd7e2cc fixed incremental sync method 2015-09-14 17:44:12 +02:00
Frank Celler b7bc8526d5 added engine match to available in FoxxManager 2015-09-14 16:52:05 +02:00
Jan Steemann 0c77b4fbe1 fixed tests 2015-09-14 11:55:39 +02:00
CoDEmanX 4158f7d12b Add AQL function DATE_DAYS_IN_MONTH(), extend DATE_FORMAT()
Conflicts:
	js/server/modules/org/arangodb/aql.js
2015-09-14 11:35:04 +02:00
CoDEmanX c4c22086e9 Alternative implementation of DATE_FORMAT()
Conflicts:
	js/server/modules/org/arangodb/aql.js
2015-09-14 11:31:44 +02:00
Frank Celler d828ae39b4 remove rc and devel for version check 2015-09-14 10:40:37 +02:00
Jan Steemann ea4754546a clear AQL cache objects when starting a query, fixed a few TODOs in AQL date implementation 2015-09-11 21:23:07 +02:00
Jan Steemann 5810095d24 adjusted tests 2015-09-11 12:01:35 +02:00
Jan Steemann 7f3cb7fc2c fixed tests 2015-09-11 10:20:18 +02:00
Jan Steemann b5e76b91cb fixed tests 2015-09-11 10:18:26 +02:00
CoDEmanX 6fba9c5284 Additional AQL date functions: DATE_DAYOFYEAR, DATE_ISOWEEK, DATE_LEAPYEAR, DATE_QUARTER, DATE_ADD, DATE_SUBTRACT, DATE_DIFF, DATE_COMPARE and DATE_FORMAT.
Unit tests incomplete and untested. Behavior of some functions might need adjustments. ISO duration cache needs to be cleared on every AQL query to avoid a memory leak.

Please rebuild Aardvark and see TODOs in code. Also added Windows shortcuts to ignore list.
2015-09-11 06:23:36 +02:00
Willi Goesgens a9ade74e87 Upgrade swagger. 2015-09-09 09:29:45 +02:00
Jan Steemann 79a34e94e6 jslint 2015-09-08 17:39:01 +02:00
Jan Steemann a7b51c39da added tests 2015-09-08 17:34:14 +02:00
Michael Hackstein fdde6a69c6 Added failure tests for new implementation of HashIndex. And fixed a memleak there. 2015-09-08 15:35:21 +02:00
Michael Hackstein 9cbbd7dd0f Fixed wrong error reporting in Graph functions 2015-09-08 15:30:32 +02:00
Jan Steemann 560a039f3e added tests 2015-09-08 14:22:23 +02:00
Jan Steemann 3e7f4b61ea added test 2015-09-07 20:54:51 +02:00
Jan Steemann 29d37eb346 added diagnosis functions 2015-09-07 20:48:42 +02:00
Jan Steemann 47360f4511 added tests 2015-09-04 14:21:31 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
Jan Steemann 2e617ac0cc Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
Conflicts:
	arangod/Wal/Slots.cpp
	lib/Basics/debugging.cpp
	lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann 0e802d6438 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-02 10:20:18 +02:00
Jan Steemann a80d6635ab create fat datafiles
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
CoDEmanX 956b396e43 Change spelling of 'initialize' to American English (actual code and files) 2015-09-01 17:29:22 +02:00
CoDEmanX b4593a7e82 Change spelling of 'initialize' to American English (comments and log messages only) 2015-09-01 17:07:21 +02:00
Michael Hackstein 25a52dac53 Disabled test for cluster mode for now 2015-09-01 10:06:26 +02:00
Alan Plum 6b3e08456b Handle ArangoCollection in aqlQuery templates. 2015-08-31 18:16:23 +02:00
Jan Steemann 1867d6c4de added template string generator function `aqlQuery` for generating AQL queries
This can be used to generate safe AQL queries with JavaScript parameter
variables or expressions easily:

    var name = 'test';
    var attributeName = '_key';
    var query = aqlQuery`FOR u IN users FILTER u.name == ${name} RETURN u.${attributeName}`;
    db._query(query);
2015-08-30 22:32:26 +02:00
Willi Goesgens 34e8a8fc9f debug printing for misterious ignore of skip 2015-08-26 15:39:02 +02:00
Michael Hackstein 4effa2291e Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-26 10:41:27 +02:00
Willi Goesgens 7b081fb6f3 print usefull error if we fail to start procdump. 2015-08-25 17:14:44 +02:00
Michael Hackstein 40c1361244 Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing 2015-08-25 16:40:31 +02:00
Jan Steemann 1af238a6d5 added tests for requireFromIncluded 2015-08-25 12:50:58 +02:00
Jan Steemann 893f9592f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into replication 2015-08-24 09:58:04 +02:00
Jan Steemann 387e3e9cd4 make removeByExample, replaceByExample and updateByExample use AQL internally 2015-08-22 23:22:24 +02:00
Jan Steemann b58ecfe206 added firstTick() 2015-08-21 17:11:40 +02:00
Jan Steemann 9e08b1ebc5 add tickRanges() function 2015-08-21 17:00:32 +02:00
Jan Steemann 31a6547d4c fix replication resumption 2015-08-21 15:57:24 +02:00
Michael Hackstein c26be36e61 Added tests for Sparse indexes 2015-08-21 15:04:01 +02:00
Michael Hackstein a2d26056b2 Added a test file for array indexing 2015-08-20 15:48:11 +02:00
Jan Steemann bc7e0f7bbd issue #1445: Object literal simplificatin does not support pseudo-variables NEW and OLD 2015-08-19 09:25:46 +02:00
Willi Goesgens 8992b99ec5 add possibility to skip benchmark tests 2015-08-18 17:02:28 +02:00
Michael Hackstein 527120a3ea Removed outdated documentation, has been replased by a newer version earlier 2015-08-18 16:36:13 +02:00
Michael Hackstein 3f90914397 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-18 16:15:42 +02:00
Michael Hackstein 602c3d0d59 Improved the documentation for Foxx controller 2015-08-18 16:14:39 +02:00
Alan Plum 80b92488f8 Don't warn about Foxx app versions at all. 2015-08-18 13:42:47 +02:00
Michael Hackstein 580066fe8a Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-18 13:12:49 +02:00
Michael Hackstein b81ac9be43 Foxx: controller.allRoutes can now use functions defined by extending the controller. 2015-08-18 13:12:40 +02:00
Jan Steemann 76e85ffc1f added test case 2015-08-18 12:09:30 +02:00
Jan Steemann a8e6b1f6a6 added comment 2015-08-16 22:07:16 +02:00
Alan Plum 09723c4757 Foxx non-semver version should merely warn. 2015-08-16 22:05:21 +02:00
Willi Goesgens f36dc42a0e fix docublock syntax 2015-08-14 14:46:28 +02:00
Willi Goesgens 994d850a79 remove toket that is not used anymore. 2015-08-13 18:42:11 +02:00
Willi Goesgens 1dd4d2b326 Disarm deprecated documentation tokens, we won't fix them before deleting them. 2015-08-13 18:40:29 +02:00
Jan Steemann e1bdca6997 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-13 15:48:57 +02:00
Willi Goesgens 662b3e76c7 Unify the usage of docublocks for the foxx-queues 2015-08-13 15:44:38 +02:00
Jan Steemann 9f9a158419 do not execute OOM tests in cluster case, where they cannot fire 2015-08-13 15:38:01 +02:00
Jan Steemann 5b82096145 honor indexBuckets attribute in restore operation of collection 2015-08-13 15:37:32 +02:00