1
0
Fork 0
Commit Graph

2677 Commits

Author SHA1 Message Date
Kaveh Vahedipour 1293c9301a agency's own endpoint is now derived from server.endpoint 2016-04-04 11:23:46 +00:00
Frank Celler 6002ede1c4 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-03 21:46:30 +02:00
Frank Celler e83c1f09b4 WIP 2016-04-02 23:41:21 +02:00
Michael Hackstein 17e7a32fa6 Made the geo index ensure test independent of Index ordering 2016-04-01 13:59:36 +02:00
Michael Hackstein a14120d239 Removed Test for new features. It cannot work in Cluster Case. Needs to be fixed later on. 2016-04-01 12:27:37 +02:00
Michael Hackstein 618c855c85 Cluster Methods now use the OperationOptions of transactions. And now reacts to these options accordingly incl returnNew/returnOld 2016-03-31 10:52:24 +02:00
Michael Hackstein 7c49288acb Disabled Document babies test in Cluster Mode. Should only be used cluster Internally 2016-03-30 17:40:03 +02:00
Michael Hackstein 237aea6b5b Removed tests for removed functions FIRST and LAST 2016-03-30 17:17:11 +02:00
Michael Hackstein 794f692865 Fixed crud test. exists with an old revision now throws Conflict. Former returned false. 2016-03-30 16:18:08 +02:00
Jan Steemann c7daf1531d Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-24 17:23:11 +01:00
Michael Hackstein ef834037df Fixed shell edges Test. The new version of edgeCollection.edge returns a unique array 2016-03-24 17:22:40 +01:00
Michael Hackstein 86513511df Fixed expected error code. was SHAPER_FAILED is now BAD_PARAMETER 2016-03-24 17:10:32 +01:00
Jan Steemann cda0646c83 removed unused error codes 2016-03-24 17:04:58 +01:00
Jan Steemann 688109bcc5 jslint 2016-03-24 15:55:13 +01:00
Jan Steemann eae423349f fixed test (well, cheating a bit) 2016-03-24 13:17:53 +01:00
Jan Steemann 007e0c6e5c fixed test 2016-03-24 13:14:59 +01:00
Jan Steemann f161a98ba4 test fixes 2016-03-24 12:46:08 +01:00
Jan Steemann ecbd17b992 fixed test 2016-03-23 19:13:03 +01:00
Jan Steemann f670a07046 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 19:01:19 +01:00
Jan Steemann 7975913fc5 fixed tests 2016-03-23 18:50:46 +01:00
Andreas Streichardt 8cdf8eebad More python fixes 2016-03-23 18:36:22 +01:00
Jan Steemann c8c9288400 harmonize value comparisons for hash indexes 2016-03-23 16:36:00 +01:00
Jan Steemann 1a2fdb64ee removed unused test 2016-03-22 18:52:49 +01:00
Jan Steemann d763c102d6 fulltext fixes 2016-03-22 18:34:40 +01:00
Jan Steemann 2ab44cef03 fixed tests 2016-03-22 16:17:05 +01:00
Jan Steemann 7f95833505 fixed tests 2016-03-22 16:14:52 +01:00
Jan Steemann 04b436f0b5 fixed test 2016-03-22 15:18:34 +01:00
Jan Steemann d226175e91 test fixes 2016-03-22 15:15:43 +01:00
Jan Steemann 80413739d1 fixed test 2016-03-22 14:34:18 +01:00
Jan Steemann 45cc15fe45 fixes 2016-03-22 10:51:42 +01:00
Jan Steemann f0724447b6 fixed sparse index test 2016-03-21 17:08:42 +01:00
Jan Steemann f17d17841f Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-21 09:28:35 +01:00
jsteemann f12320277f bugfixes 2016-03-18 16:56:05 +01:00
Max Neunhoeffer af6f7bd0fa Fix jslint. 2016-03-18 11:12:34 +01:00
Max Neunhoeffer e9ad1ad954 Fix jslint. 2016-03-18 11:10:04 +01:00
Max Neunhoeffer bf77bd31e2 Fix jslint. 2016-03-18 11:08:52 +01:00
Max Neunhoeffer 20fb42afd5 Cleanup of tests. 2016-03-18 02:04:38 +01:00
jsteemann e0ce1cef5a make buffers somewhat usable 2016-03-17 22:47:22 +01:00
Max Neunhoeffer f44b8a6fa9 Add tests for babies DELETE HTTP /_api/document/<collection>. 2016-03-17 21:13:50 +01:00
Max Neunhoeffer 20d0e98462 Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-03-17 18:50:33 +01:00
Max Neunhoeffer 827f2f4f44 Improve /_api/simple/remove-by-key.
Fix more document methods.
2016-03-17 18:49:52 +01:00
jsteemann a9cc127ffa Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-17 17:17:26 +01:00
Max Neunhoeffer 105fe3e406 Fix tests for documents. 2016-03-17 15:53:02 +01:00
jsteemann 6ce73b439c Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-17 15:21:32 +01:00
Frank Celler 13603e876e safety check 2016-03-17 12:00:27 +01:00
Frank Celler 89cf60d217 added missing test 2016-03-16 23:36:48 +01:00
Frank Celler b39e20c6fc fixed endpoint 2016-03-16 23:29:56 +01:00
Frank Celler a92d280f81 added babies http test 2016-03-16 22:18:00 +01:00
Frank Celler f28f20883a cosmetics 2016-03-16 22:16:56 +01:00
Max Neunhoeffer 8b8019b28a Fix behaviour of remove. 2016-03-16 19:55:49 +01:00
Max Neunhoeffer c9b48ea24b Add babies tests for returnNew and returnOld. 2016-03-14 15:01:48 +01:00
Max Neunhoeffer 0bd5524a7f Fix new tests. 2016-03-14 14:06:56 +01:00
Max Neunhoeffer 5dd4426bf7 Add tests for returnNew and returnOld. 2016-03-14 14:05:21 +01:00
Max Neunhoeffer 8f6cd501aa Change behaviour of remove(), return data, allow returnOld. 2016-03-11 16:35:55 +01:00
Max Neunhoeffer a25df3aece Fix jslint problems. 2016-03-10 16:44:44 +01:00
Max Neunhoeffer 6e4a4d1f7b Add babies tests for document API. 2016-03-10 16:28:10 +01:00
Max Neunhoeffer df487862a8 Fix some more edge tests. 2016-03-10 13:08:02 +01:00
Jan Steemann 878865c53a Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 17:57:07 +01:00
Alan Plum 075ca6a3a5 Request shouldn't set content-type header to "undefined"
Fixes #1776.
2016-03-09 13:10:41 +01:00
Jan Steemann 329b3d623f Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:24 +01:00
Jan Steemann b393c3d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:10 +01:00
Max Neunhoeffer 6ca5132b89 Fix test for edge save. 2016-03-09 09:16:33 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Max Neunhoeffer 7c4d4ab36c Adjust test to (new) behaviour. 2016-03-08 18:46:15 +01:00
Max Neunhoeffer 4452578f5f Fix a test. 2016-03-08 17:46:08 +01:00
Jan Steemann 14a3d02ce7 simple query cleanup 2016-03-07 20:29:04 +01:00
Alan Plum 041ebf1542 Fix #1577 once and for all
This guarantees the module resolution doesn't break out of the ArangoDB module root (or the service's root).
2016-02-26 12:24:26 +01:00
Frank Celler 1cd53c20a1 added generateMimetypes and generateErrorfiles 2016-02-25 13:14:06 +01:00
Frank Celler 034eea10b3 fixed version 2016-02-19 20:15:39 +01:00
Michael Hackstein 8295bae5b3 Added generated files 2016-02-16 14:07:10 +01:00
Michael Hackstein 32d0e48d61 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-16 13:56:08 +01:00
Alan Plum fb23c44e3d Fix client test 2016-02-16 01:45:57 +01:00
Frank Celler 8f1e79e5dc Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-02-15 23:23:44 +01:00
Frank Celler 9a2ced5056 raised waitForSync 2016-02-15 23:22:50 +01:00
Alan Plum 6593f3d358 Clean up stacktraces
Fixes #1564, #1565, #1744.
2016-02-15 22:56:29 +01:00
Michael Hackstein a3cd1aa54e Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-15 10:25:31 +01:00
Max Neunhoeffer 4cbd99a54b Merge branch 'devel' into ClustUp2 2016-02-13 23:06:22 +01:00
Alan Plum e228ce0cd0 @arangodb/request: res.body -> res.json 2016-02-11 16:50:07 +01:00
Max Neunhoeffer 465a117864 Merge branch 'devel' into ClustUp2 2016-02-11 09:11:29 +01:00
Jan Steemann 196ec2593c added parentheses for explain 2016-02-10 15:21:12 +01:00
Jan Steemann cc257b90ff print brackets in explainer 2016-02-10 13:12:46 +01:00
Jan Steemann f3107bc25f Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-operators 2016-02-10 11:34:40 +01:00
Jan Steemann 5ba2432d78 remove sort in more cases 2016-02-10 11:23:11 +01:00
Max Neunhoeffer dc63cb3874 Merge branch 'devel' into ClustUp2 2016-02-09 15:52:36 +01:00
Frank Celler 546ffce3ed added replication test 2016-02-06 23:30:22 +01:00
Frank Celler 6d4b68245a added print.limitString 2016-02-06 20:20:07 +01:00
Jan Steemann 6aa28abce3 adjusted test 2016-02-05 20:46:57 +01:00
Jan Steemann 94990da5f9 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-operators 2016-02-04 19:18:43 +01:00
Frank Celler 7769b68d69 fixed returns 2016-02-04 16:46:29 +01:00
Frank Celler 8b6f4b8bec removed DEV_APP_PATH 2016-02-04 16:38:20 +01:00
Michael Hackstein edf7f6b9d9 Further implementation of AQL functions for VPack. UNIQUE UNIQUE_SORTED UNION UNION_DISTINCT 2016-02-04 15:23:26 +01:00
Max Neunhoeffer 7a92f3ac0f Merge branch 'devel' into ClustUp2 2016-02-04 09:39:46 +01:00
Frank Celler bb3acf8cd5 fixed /_admin/log 2016-02-04 00:41:50 +01:00
Max Neunhoeffer ac51c221b3 Merge branch 'devel' into ClustUp2 2016-02-03 08:55:01 +01:00
jsteemann 13335d4cf9 bugfixes 2016-02-03 01:06:27 +01:00
jsteemann b962c5a9e8 array comparison operators 2016-02-03 00:28:03 +01:00
Jan Steemann fc909486c2 parser adjustments for array operators, not yet working 2016-02-02 18:05:39 +01:00
Jan Steemann 45d9745756 fixed display of Traversals in AQL explain 2016-02-02 11:24:51 +01:00
Max Neunhoeffer 93400bfdcc Implement followerInfo. 2016-02-01 11:38:10 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 847463f968 Fixed JSLintQ 2016-01-28 17:29:29 +01:00
Michael Hackstein ff1a3e5675 Updated AQL explainer to work with Multi Direction Traversals. Last step closes #1683 2016-01-28 17:15:53 +01:00
Frank Celler 732fb58f86 moved into sub-directories 2016-01-24 13:16:05 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00
Frank Celler 8a7f409380 added fs.append 2016-01-24 11:34:13 +01:00
Frank Celler df0a6f4abf create out directory 2016-01-23 23:30:41 +01:00
Andreas Streichardt 4ff105167a Issue #1675 . allow enabling strict mode in tests 2016-01-22 11:38:56 +01:00
jsteemann e0f5401bed fixed test in failure mode 2016-01-21 00:20:32 +01:00
jsteemann 842384016d namespace cleanup 2016-01-21 00:20:22 +01:00
Frank Celler 9840280637 added vm 2016-01-15 12:36:57 +01:00
Frank Celler cc91d528e2 do not check DB if connection is down 2016-01-15 12:35:00 +01:00
Jan Steemann 798a1e05cc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-12 19:41:49 +01:00
Jan Steemann a119837c3e fixed journalSize handling for collections 2016-01-12 19:41:39 +01:00
Alan Plum b3c7cfd11e Remove jasmine completely
This should not impact the frontend tests as they use a npm-installed copy of jasmine.
2016-01-12 19:04:49 +01:00
Alan Plum 812060864b Handle pending mocha tests in output 2016-01-12 18:49:52 +01:00
Alan Plum f442465445 Implement mocha.grep
Allows using context.only and context.skip to skip tests.
2016-01-12 18:49:51 +01:00
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 e90c89812f shell-foxx-manager-install-spec to mocha 2016-01-12 18:49:49 +01:00
Alan Plum 0d16d03853 shell-query-timecritical-spec to mocha 2016-01-12 18:49:48 +01:00
Alan Plum 4eab5cd6c8 Disable mocha timeout and bail
The timeout only results in tests being marked as failing
AFTER the tests have run. That's worse than useless for sync-only
tests like we use.
2016-01-12 18:49:27 +01:00
Alan Plum c7930e1df9 Fix minimal-working setup scripts 2016-01-12 18:49:27 +01:00
Jan Steemann 7524c21f3a added derived files 2016-01-12 17:45:05 +01:00
Jan Steemann 6937dbc489 aggregate fixes 2016-01-12 17:21:18 +01:00
Jan Steemann 2044cf8038 implemented aggregations for SortedCollectBlock 2016-01-12 12:05:57 +01:00
Alan Plum c4c8418b6d Add support for mocha in built-in test runner 2016-01-11 20:00:56 +01:00
Jan Steemann b64f69cfd7 increase timeout a bit 2016-01-11 19:28:38 +01:00
jsteemann 67147482ce bumped built-in version number from 2.7.0-devel to 2.8 2016-01-08 01:56:23 +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 e6149f1fff rm unused queue-legacy-test fixture 2016-01-06 19:20:50 +01:00
Alan Plum 537ff51445 Mark various test apps as 2.8.0 compat
This will make them use legacy mode in FOTF.
2016-01-06 19:18:10 +01:00
Jan Steemann a15c18572f fixed test, added more tests 2016-01-04 19:33:18 +01:00
Jan Steemann 10f97380be updated documentation 2016-01-04 19:10:41 +01:00
Frank Celler 1065a1bd2c added work monitor 2016-01-04 15:33:06 +01:00
jsteemann c20cf66e93 add cacheability info for explain 2016-01-03 00:52:36 +01:00
Alan Plum bdee7f3309 Fix cluster test
The implementation of `_.clone` in underscore naively clones all properties including inherited ones.
As lodash does The Right Thing and ignores the prototype, we need to flatten the object first.
2015-12-29 13:44:00 +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
Jan Steemann 3cfd8214a9 handle id and isSystem when creating collections 2015-12-18 20:16:39 +01:00
Michael Hackstein ba3fe43a4e Fixed Explainer for traversal node. It did only know one direction and only hard-coded starting points 2015-12-18 16:17:01 +01:00
jsteemann fb908043ac truncate long objects 2015-12-17 22:14:52 +01:00
Jan Steemann 928837e1ff \0 fix 2015-12-17 13:07:05 +01:00
Alan Plum dd51a91d59 Always org/arangodb -> @arangodb 2015-12-17 13:02:39 +01:00
Jan Steemann b76c61adb1 \0 fix 2015-12-17 12:28:16 +01:00
jsteemann ead2ee47e7 issue #1409: fix NUL-byte handling 2015-12-17 10:54:24 +01:00
Wilfried Goesgens 788e59ed39 Lintify. 2015-12-16 15:05:29 +01:00
Wilfried Goesgens e93949674b while printing the cursor info check for whether its extra section contains a warning. 2015-12-16 14:06:37 +01:00
Wilfried Goesgens da57d31488 Implement de/serializing of filters in traversalnodes 2015-12-16 11:17:38 +01:00
Alan Plum 34843b76fb Remove CoffeeScript support 2015-12-16 02:03:44 +01:00
Alan Plum 7039647936 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-16 01:16:38 +01:00
Alan Plum 6910f9eaa8 Don't deprecate CoffeeScript 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 87c1310690 Log stacktraces in deprecation warnings 2015-12-16 01:16:33 +01:00
Alan Plum 8b66bf1143 Extend will not be removed in 2.9 2015-12-16 01:16:33 +01:00
jsteemann 7a6022466b fixed test 2015-12-15 22:08:46 +01:00
Max Neunhoeffer dc033e31d9 Merge branch 'devel' into ClustUp1 2015-12-15 21:08:36 +01:00
jsteemann 4a88a17a44 lol self 2015-12-15 21:07:22 +01:00
Max Neunhoeffer d43e118244 Merge branch 'devel' into ClustUp1 2015-12-15 20:44:06 +01:00
jsteemann 6bc3e8c5df fixed rename tests in cluster 2015-12-15 20:42:57 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Jan Steemann 8ed8681505 updated module name 2015-12-15 16:15:26 +01:00
Alan Plum 1eb99c527b Add @arangodb/db 2015-12-15 15:51:44 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Jan Steemann b123ffbe26 issue #1610 2015-12-15 15:41:50 +01:00
jsteemann a098289532 fixed test 2015-12-15 13:57:22 +01:00
jsteemann c043f9301c changed error message 2015-12-15 13:13:31 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Jan Steemann 8e7ac689a2 issue #1606: fail gracefully on invalid index definitions 2015-12-14 16:58:05 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Alan Plum 3c804390cd More consistency 2015-12-11 15:26:41 +01:00
Alan Plum 70ad91c122 Consistency 2015-12-11 15:25:51 +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
Jan Steemann fcf978a422 do not print overly long string values 2015-12-10 17:06:25 +01:00
Max Neunhoeffer ea72850aeb Fix bug in client tests. 2015-12-09 23:13:26 +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
Jan Steemann e4fca5e6b3 issue #1600: updated documentation for register() function 2015-12-09 13:12:45 +01:00
Alan Plum adde8c2867 Yak shaving 2015-12-08 20:17:00 +01:00
Alan Plum 6b4fbdc5a7 Make the Foxx console behave as documented 2015-12-08 18:42:13 +01:00
Wilfried Goesgens fcf3c392c9 Add geo locations to the city navigator. 2015-12-08 18:15:18 +01:00
Jan Steemann ee6792dd6b fixes for traversal and multi-modify 2015-12-08 14:50:05 +01:00
Jan Steemann 06e43fc5cb fixed explainer output for traversals 2015-12-03 14:16:01 +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
Michael Hackstein 2459e2a326 Removed unnecessary tests 2015-12-03 10:19:43 +01:00
Michael Hackstein 3ea14e66a3 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-03 10:19:17 +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 7c3034681b fix for cluster explainer in arangosh 2015-12-02 13:31:13 +01:00
Jan Steemann 1462779281 try to fix cluster access from arangosh 2015-12-02 13:29:42 +01:00
Michael Hackstein 8a76d4be9e Fixed AQL explainer for Traverser 2015-12-02 11:35:39 +01:00
Alan Plum 707c3fe1e2 Brute force ignore events module in jshint 2015-12-01 20:19:54 +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
Frank Celler dd2ba7a0be added OS to version check to catch new packages 2015-12-01 12:57:40 +01:00
hkernbach 6d25ac57e9 Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-12-01 11:25:58 +01:00
Jan Steemann 459d15bb2c added cluster execution site info in explain output for AQL queries 2015-12-01 10:30:13 +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