1
0
Fork 0
Commit Graph

2677 Commits

Author SHA1 Message Date
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
jsteemann 04e81ea851 more replication 2015-11-30 23:33:59 +01:00
Jan Steemann f013c809ea replication improvements 2015-11-30 18:27:31 +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
Michael Hackstein d79c2f9048 Added a test if the traverser prunes early 2015-11-27 17:03:24 +01:00
Jan Steemann bd8b70455a replication improvements 2015-11-27 16:16:15 +01:00
hkernbach ac8542fe07 Merge branch 'JHMH' of github.com:arangodb/arangodb into JHMH 2015-11-27 14:58:00 +01:00
hkernbach 7dd817417f jslint 2015-11-27 14:57:51 +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 1a23993f99 Make sure constructor is called in legacy-extended classes
This is a horrible workaround for the lack of a spread operator in the V8 version we are currently using.
The super keyword has no way to pass a dynamic number of arguments without using the spread operator
but someone might reasonably want to use additional arguments in a regular subclass that is then
legacy-extended with a constructor property. This should at least protect against the majority of such
cases even if it creates a silly function signature.

See #1592.
2015-11-25 18:19:54 +01:00
Wilfried Goesgens de76c096c9 Adjust explainer to new simple expressions; linting. 2015-11-25 16:50:23 +01:00
hkernbach da06ce12e9 typo 2015-11-24 16:09:00 +01:00
hkernbach a58157f6b4 example graphs now checking if dependencies exist 2015-11-24 15:34:13 +01:00
Alan Plum 5d3b0b0619 Set returnBodyOnError: true by default in org/arangodb/request
Fixes #1437.
2015-11-24 15:00:11 +01:00
hkernbach 2d417e393d Merge branch 'devel' of github.com:arangodb/arangodb into JHMH 2015-11-24 13:24:12 +01:00
hkernbach 922782c13f removed unnecessary parameter in explainer function 2015-11-20 15:20:26 +01:00
jsteemann cb62c657e0 initial commit 2015-11-18 17:46:19 +01:00
Wilfried Goesgens 58dbbda09c Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-18 17:31:00 +01:00
Jan Steemann 23a1782bd8 use options 2015-11-18 17:30:46 +01:00
Wilfried Goesgens 0b69da93bc Add Traversal example 2015-11-18 15:52:23 +01:00
Wilfried Goesgens 0f2686db5d Add the world graph to the script. 2015-11-18 15:36:35 +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 a656182145 Fixed example graph and aql traversal test. 2015-11-18 10:15:44 +01:00
hkernbach bb814f1c5d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-11-17 13:10:53 +01:00
hkernbach f21cb27dca aql explainer support for bind params 2015-11-17 13:10:47 +01:00
Jan Steemann f9ba16f8d4 fixed explainer indentation 2015-11-17 11:31:06 +01:00
Wilfried Goesgens 2d5d2d881e Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-11-11 11:05:06 +01:00
Frank Celler 1e8a7d20bc return graph 2015-11-09 10:22:22 +01:00
Wilfried Goesgens d51b5cdc9b Finalize the explain feature 2015-11-06 13:41:44 +01:00
Wilfried Goesgens bb9039c855 Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH 2015-10-29 16:01:01 +01:00
Jan Steemann 01499dde43 added deadlock detection for lazy locking of collections 2015-10-29 11:57:22 +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
Alan Plum 131da2ea97 Workaround for missing root props on Foxx apps
Fixes #1547.
2015-10-27 18:37:22 +01:00
Jan Steemann 3c4849e81a only drop known graphs 2015-10-23 19:03:11 +02:00
Jan Steemann e2136ea21a do not allow index creation with multiple [*] in single attribute 2015-10-23 11:45:17 +02:00
Wilfried Goesgens e9928de21b start to fix graph implementation for explain() 2015-10-22 13:05:13 +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
Jan Steemann d6cad3bac6 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-19 18:55:36 +02:00
Wilfried Goesgens 30be20224e Fix fluent AQL interface for fromVertices with arrays: need to use 'ArrayVariable [ * RETURN MERGE(CURRENT, other)]' instead of MERGE(ArrayVariable, other) 2015-10-19 16:40:39 +02:00
Jan Steemann 0ffb11c25e do not use sparse indexes for sorting 2015-10-14 12:03:52 +02:00
Jan Steemann fcdd95d7cd fixes 2015-10-13 16:26:43 +02:00
jsteemann 29b3741156 reworked cost calculations 2015-10-12 22:23:03 +02:00
Jan Steemann 1f4c775a02 print names of files with failing tests 2015-10-12 17:57:27 +02:00
Jan Steemann ffa777979c make IN values unique and sort em 2015-10-12 15:34:41 +02:00
Jan Steemann 6a4e9658c5 fixes for explainer and condition 2015-10-08 16:22:52 +02:00
Jan Steemann 0d80a17002 generalize condition handling 2015-10-08 15:10:28 +02:00
Jan Steemann 4bf3bb047b Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-07 17:25:56 +02:00
Frank Celler 4b0911c799 added debugging header x-arango-v8-context 2015-10-07 13:37:35 +02:00
Jan Steemann a1de2bfcc1 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
Conflicts:
	CHANGELOG
2015-10-07 10:18:21 +02:00
Alan Plum 3325d46211 Unbreak aardvark shell 2015-10-06 16:18:23 +02:00
Alan Plum 820e694d0c Re-implement cleanupCancelation 2015-10-06 15:10:43 +02:00
Alan Plum 5b7f3d19d0 Deprecate CS in 2.9, not 2.8 2015-10-06 12:47:58 +02:00
Jan Steemann 849dad60cd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-10-06 11:58:52 +02:00
Jan Steemann beaf3acbd3 simplifications 2015-10-06 11:58:23 +02:00
Alan Plum 7332f3803e Make org/arangodb/deprecated work in arangosh without db 2015-10-06 11:37:42 +02:00
Jan Steemann 1f009a046c Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-05 10:32:53 +02:00
Jan Steemann 1c990b7324 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
Conflicts:
	arangod/Aql/ExecutionNode.cpp
2015-10-05 10:32:36 +02:00
Jan Steemann 3f622d71fb fixed some require issues 2015-10-05 10:28:44 +02:00
Jan Steemann 7d4c379598 small modifications, temporarily disabled interchange-adjacent-enumerations 2015-10-02 19:53:35 +02:00
Wilfried Goesgens 232d0601cb fix running of arangosh tests with the proper parametrization. 2015-10-02 15:47:01 +02:00
Wilfried Goesgens a968707134 Fix foxx-manager test for running in arangosh 2015-10-02 15:39:49 +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
Jan Steemann c291a7117a Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions 2015-10-01 10:57:55 +02:00
Jan Steemann 7933fe5d4b restore 2.6 behavior for db-based modules 2015-10-01 10:51:23 +02:00
Jan Steemann 9205739f6a added IndexNode 2015-09-30 14:10:04 +02:00
Jan Steemann 74358962b5 fixed require on Windows 2015-09-30 13:06:36 +02:00
Alan Plum e26fc9b442 S'more. 2015-09-25 17:04:08 +02:00
Alan Plum 40837eacf1 Refactored db module loading 2015-09-25 17:02:51 +02:00
Alan Plum a58fc5fdfa Also add node/node_modules on Windows 2015-09-25 16:43:50 +02:00
Wilfried Goesgens 06b0057bb1 Fix module loading 2015-09-25 16:24:17 +02:00
Wilfried Goesgens cba3ed80ae fix jslint: remove unused variable 2015-09-25 13:50:29 +02:00
Wilfried Goesgens b280c59aa7 Split tests that don't work in clusters. 2015-09-25 11:50:33 +02:00
Jan Steemann 7c992a5d51 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-09-24 16:05:15 +02:00
Jan Steemann a430cb9f6c allow installing Foxx apps in /_open/ 2015-09-24 15:54:09 +02:00
Alan Plum 1a5f5fe65d Merge pull request #1508 from arangodb/require-sanity
Node-compatible require implementation
2015-09-24 15:50:40 +02:00
Jan Steemann 4249095456 issue #1507: added optional *allowImplicit* sub-attribute for transactions 2015-09-24 15:50:00 +02:00
Alan Plum 963d9b082e Removed hack for extension-free package main 2015-09-24 14:23:15 +02:00
Alan Plum ac3e4b0c49 Linting 2015-09-24 14:20:15 +02:00
Alan Plum 95d99ebd16 Make shell-foxx-manager-install-spec pass 2015-09-24 13:46:15 +02:00
Alan Plum 400532043f Fixed shell-foxx-manager-install-spec module use 2015-09-24 13:46:15 +02:00
Alan Plum 98d2560b4c Fixed shell-require test 2015-09-24 13:46:14 +02:00
Alan Plum 30588d556f Add support for 'main: "index"' and expose globalPaths 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 f021cdc471 Implemented require from db collection 2015-09-24 13:46:13 +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
CoDEmanX 7b95679040 Minor documentation fixes 2015-09-21 19:37:32 +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
Frank Celler 2e2600311a added aliases 2015-09-16 16:05:18 +02:00
jsteemann 22e17814e3 additionally allow the following characters in document keys:
`(` `)` `+` `,` `=` `;` `$` `!` `*` `'` `%`
2015-09-15 00:16:08 +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
Willi Goesgens 3c2b745c2b wrap long lines. 2015-09-11 15:57:02 +02:00
Jan Steemann f09b11504e fix spelling 2015-09-07 21:12:51 +02:00
Jan Steemann e602ca5662 issue #1471: document() vs documents() parameters (_key and _id) 2015-09-04 18:13:23 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
Jan Steemann 4d46286cf7 fancier test output 2015-09-03 14:23:56 +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 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 b4593a7e82 Change spelling of 'initialize' to American English (comments and log messages only) 2015-09-01 17:07:21 +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
Michael Hackstein d87748f64e Another graph test depending on unguranteed ordering 2015-08-28 10:45:30 +02:00
Michael Hackstein e909c79794 Fixed a graph unit test. It assumed a specific ordering which is not guaranteed 2015-08-28 10:14:07 +02:00
Jan Steemann 9374a25822 removed unused error code 2015-08-25 19:55:48 +02:00
Jan Steemann b08713d768 added tests and documentation 2015-08-24 11:05:26 +02:00
Jan Steemann 387e3e9cd4 make removeByExample, replaceByExample and updateByExample use AQL internally 2015-08-22 23:22:24 +02:00
Jan Steemann 4b7d04de47 added missing whitespace 2015-08-20 01:46:21 +02:00
Willi Goesgens 01a1273a87 Merge pull request #1444 from aurelijusb/documentation
Small documentation improvements
2015-08-19 10:23:36 +02:00
Jan Steemann 4e771b2728 replication improvements 2015-08-17 18:41:05 +02:00
Alan Plum 02a72800f3 Removed obsolete test. 2015-08-17 03:24:30 +02:00
Aurelijus Banelis 9c075561f4 Documentation: collection.updateByExample can append not only change
From example it was not clear, that old fields are left unchanged.
So it is not confused with replace whole document: replaceByExample
2015-08-16 17:25:27 +03:00
Jan Steemann 1cf67a9df2 fix linting 2015-08-14 13:34:39 +02:00
Jan Steemann 18ba2d5659 fail if a task with non-parsable code is registered 2015-08-14 11:56:54 +02:00
Willi Goesgens 994d850a79 remove toket that is not used anymore. 2015-08-13 18:42:11 +02:00
Michael Hackstein ca7ca679ee Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-13 11:22:12 +02:00
Michael Hackstein 90d089f49f Fixed an issue with neighborExamples in GRAPH_EDGES 2015-08-13 11:22:06 +02:00
Jan Steemann a1d0c4e431 fixed g++5.1 compile error, added tests 2015-08-13 11:14:50 +02:00
Jan Steemann 589e67357f issue #1434: return more meaningful error message from org/arangodb/general-graph::_fromVertex() 2015-08-12 21:36:27 +02:00
Frank Celler 9de6bd39db moved to strings, fixed #1432: arangosh doesn't ignore prefixed ....> on paste 2015-08-12 17:54:14 +02:00
Jan Steemann 68465ebba5 Merge branch 'collection-not-loaded' of https://github.com/arangodb/arangodb into devel
Conflicts:
	js/apps/system/_admin/aardvark/APP/frontend/build/app.js.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js
	js/apps/system/_admin/aardvark/APP/frontend/build/app.min.js.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/scripts.html.part
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone-min.html
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone-min.html.gz
	js/apps/system/_admin/aardvark/APP/frontend/build/standalone.html
2015-08-11 14:16:12 +02:00
Alan Plum 5e4630d31d Class-based controllers, models, repos and request contexts. 2015-08-11 13:08:41 +02:00
Jan Steemann e642ce972f throw error if collection not yet loaded 2015-08-10 17:08:41 +02:00
Alan Plum 7bd08e29aa Deprecated CS. 2015-08-05 12:48:27 +02:00
Willi Goesgens a5337ccdcb fix usage of db._query() when generating documentation. 2015-08-04 18:41:37 +02:00
hkernbach ae17532ee3 Merge 2015-08-04 17:34:51 +02:00
hkernbach b328fe6faa added missing contributer attr in manifest 2015-08-04 17:25:23 +02:00
Alan Plum 1a2b17bce7 Added org/arangodb/deprecated. 2015-08-04 16:57:54 +02:00
Willi Goesgens 8b47ac11d5 remove the endDocuBlock of the broken documentation too. 2015-08-03 16:45:41 +02:00
Willi Goesgens 59868bb4d2 Remove duplicated / broken documentation of deprecated modules. 2015-08-03 16:01:48 +02:00
Willi Goesgens 3766ab9f59 de-duplicate documentation of geo-indices. 2015-08-03 14:42:11 +02:00
Willi Goesgens c53bade3c1 fix jslint 2015-08-03 14:12:22 +02:00
Willi Goesgens 651c77685c Fix Errormessage: add collection name. 2015-08-03 10:41:27 +02:00
Jan Steemann 20c96b5e46 removed locks 2015-07-21 17:34:57 +02:00
Willi Goesgens 7c1aca6d11 If teardown fails with an exception, abort accordingly. 2015-07-21 09:44:16 +02:00
Alan Plum 1a3a18ea3e Only throw if actually an error. 2015-07-15 19:03:10 +02:00
Alan Plum 380e4b929b Added Response#throw. 2015-07-15 18:04:20 +02:00
Alan Plum 289cdfcd43 Wrong error. 2015-07-14 20:11:03 +02:00
Jan Steemann 72feca418b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-07-14 18:23:42 +02:00
Jan Steemann f5a7e2120f pass filename to internal.parse() call 2015-07-14 18:23:08 +02:00
Alan Plum c9e193e2b8 genRandomSalt should take an argument. 2015-07-14 16:43:07 +02:00
Jan Steemann 2d9bd616c8 added tests 2015-07-14 10:58:16 +02:00
Jan Steemann 14ccfbabc3 Merge branch 'aql-query-cache' of https://github.com/arangodb/arangodb into devel 2015-07-13 12:46:41 +02:00
Jan Steemann 5a453bbcfc issue #1409: Document values with null character truncated with 2.6.2 on Windows 2015-07-13 12:45:13 +02:00
Jan Steemann c71dc4d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache 2015-07-13 10:49:14 +02:00
Michael Hackstein 5348fb78a6 Fixed and reactivated some general-graph tests. Were deactivated by accident. 2015-07-09 16:33:03 +02:00
Michael Hackstein ecad770e9c Fixed #1407. Thank you very much for spotting it. 2015-07-09 15:35:09 +02:00
Alan Plum d2f6f26a35 Fixed scripts fields in fixture apps. 2015-07-01 17:07:37 +02:00
Jan Steemann 1f5e047486 query cache, now with result limitations, HTTP and JavaScript APIs 2015-06-27 01:12:32 +02:00
Jan Steemann 85c7705684 added test
Conflicts:
	CHANGELOG
2015-06-25 09:47:03 +02:00
Alan Plum 7362331164 Added config type 'password' in manifest. 2015-06-22 14:16:25 +02:00
Jan Steemann f9e1430af8 jslint 2015-06-19 11:51:30 +02:00
Jan Steemann 19e05f087e added unhandled node types 2015-06-19 09:59:29 +02:00
Jan Steemann 1f83842621 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-18 16:04:05 +02:00
Jan Steemann f06bedfecf adjusted tests 2015-06-18 16:03:28 +02:00
Jan Steemann c2b343d309 added generated files 2015-06-18 15:42:57 +02:00
Jan Steemann dcfe29211a updated CHANGELOG 2015-06-18 14:03:31 +02:00
Jan Steemann dd314561ed Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-16 19:34:22 +02:00
Alan Plum fc15d421d6 Implemeneted JSON configs. Cleaned up optional configs. 2015-06-16 17:58:38 +02:00
Jan Steemann 7cd27d5c56 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-16 15:14:18 +02:00
Alan Plum 273d16c0ed Linting. 2015-06-16 14:54:14 +02:00
Jan Steemann e7ff3f2a19 Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification 2015-06-12 12:04:41 +02:00
Jan Steemann 55d4002ad3 speed up tests 2015-06-11 22:27:38 +02:00
Jan Steemann ff7a00d6e4 fixed edge index selectivity estimates and added tests 2015-06-11 21:22:01 +02:00
Jan Steemann 0cdf9142c9 jslint warning 2015-06-11 13:39:26 +02:00
Willi Goesgens 6126569d6a Fix conversion of bool arguments 2015-06-11 13:08:48 +02:00
Jan Steemann 07b2da0ca0 fixed indentation 2015-06-11 11:52:53 +02:00
Jan Steemann fa8589bd2c whitespace 2015-06-11 09:34:48 +02:00
Jan Steemann 3985498fc3 added [x..y] array access, added [**] operator 2015-06-11 00:09:41 +02:00
Jan Steemann d99d164c0a simplified parser 2015-06-10 20:25:25 +02:00
Alan Plum 53dff0b2d1 Added queue legacy test. 2015-06-10 19:14:49 +02:00
Alan Plum 3576b898d7 Fixed toArgv implementation. 2015-06-10 18:02:23 +02:00
Jan Steemann bd055a3b1d fix line numbers being off by 2 in Foxx stack traces 2015-06-10 09:14:55 +02:00
Alan Plum 9d3a1dc453 Less noise. 2015-06-03 21:06:59 +02:00
Jan Steemann 237276c18d fixed graph examples 2015-06-03 17:10:50 +02:00
Alan Plum 993ad1e0ea De-IFFE-ify all the modules. 2015-06-03 13:08:58 +02:00
Jan Steemann b75a39b4c8 fixed typo in message 2015-05-29 18:08:30 +02:00
Alan Plum e16ddf0b93 Don't allow signing with key and alg:none either. Added test. 2015-05-29 11:08:20 +02:00
Alan Plum f95cc7d2a6 Don't verify JWT with alg:none if key is given. 2015-05-29 10:46:22 +02:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07:00
Jan Steemann 30fa33647c issue #1345: advanced debug information for User Functions 2015-05-28 14:53:57 +02:00
Jan Steemann f724cb3185 added test 2015-05-28 12:23:30 +02:00
Jan Steemann d2fcb64ec4 fixed web interface errors 2015-05-28 12:09:25 +02:00
Alan Plum 9b5acdf25a Don't dump file content in console. 2015-05-27 12:43:31 +02:00
Alan Plum e9c5b87ea5 Inject process and console in Module.run. 2015-05-27 10:28:13 +02:00
Alan Plum 00cbb400fd Simplification. 2015-05-27 10:27:56 +02:00
Alan Plum 797fdc36d7 Support fs.readFileSync(filename, {encoding}). 2015-05-27 10:24:12 +02:00
Michael Hackstein 9a5ee272fe Fixed several graph tests to use the new return format. Neighbors and ShortestPath are having different return formats now. Still WIP 2015-05-26 16:15:12 -07:00
Jan Steemann 5935a72645 more information in explainer 2015-05-26 21:45:16 +02:00
Jan Steemann d0b8af7c0b handle calculated object elements in explain 2015-05-26 21:20:43 +02:00
Alan Plum 4fe795db3c Implemented script args and results. 2015-05-26 19:52:06 +02:00
Alan Plum a98f1b088e Readability. 2015-05-26 19:52:05 +02:00
Frank Celler d295f87459 added check for newer version 2015-05-26 14:06:50 +02:00
Jan Steemann 6a35c7e514 removed duplicate documentation block 2015-05-22 14:16:48 +02:00
Willi Goesgens c418f10729 Implement copying of files, since copyRecursive can't copy single files. 2015-05-21 15:49:10 +02:00
Heiko Kernbach 8aa6e4d96d small explainer fixes 2015-05-19 14:01:18 +02:00
Heiko Kernbach 3da1442cc4 jslint 2015-05-19 10:16:28 +02:00
Heiko Kernbach 24bd3bda44 grunt build 2015-05-19 10:00:43 +02:00
Heiko Kernbach 8659114185 prep for explainer, renamed some interface buttons in query view 2015-05-18 18:48:54 +02:00
Jan Steemann 833978f9ae added example to documentation 2015-05-12 10:18:54 +02:00
Jan Steemann 40067e6c96 added documents() 2015-05-08 17:11:44 +02:00
Alan Plum 1b3d22ebe3 Whitespace. 2015-05-07 23:14:18 +02:00
Alan Plum 2a40edaa41 Fixed Foxx trace paths. 2015-05-07 23:09:22 +02:00
Alan Plum 61aabc2b06 Update module-fs.js 2015-05-07 03:37:08 +02:00
Alan Plum 45cfa12c91 Added Controller#apiDocumentation. 2015-05-07 01:30:14 +02:00
Alan Plum 7db1593fab fs.join and fs.safeJoin now take arbitrary number of arguments. 2015-05-07 01:30:14 +02:00
Alan Plum f89631a71c Fixed missing joi import. 2015-05-06 17:29:28 +02:00
Alan Plum e6493d7210 Improved Foxx config handling. 2015-05-06 16:27:44 +02:00
Jan Steemann 4ea2a53771 support arrays in fulltext index, too 2015-05-06 15:11:24 +02:00
Jan Steemann 0996d603c6 fulltext improvements 2015-05-06 14:21:32 +02:00
Willi Goesgens ed667d7917 Lintify 2015-05-05 19:07:47 +02:00
Jan Steemann c677ea8b88 added tests for collection.lookupByKeys() and collection.removeByKeys() 2015-05-05 17:57:33 +02:00
Willi Goesgens 312972a4ec Modify examples so they clean up after their run. 2015-05-04 17:22:25 +02:00
Alan Plum 4f17dfe10e Added error 1237: collection type mismatch. 2015-05-03 22:55:56 +02:00
Jan Steemann b0924956f8 allow `@` character in document keys, too. 2015-04-30 21:28:26 +02:00
Alan Plum fa24c0d229 Implemented dependencies configuring. 2015-04-29 15:59:51 +02:00
Alan Plum 00f36b07a5 Expose deps on Aardvark API and add cfg and deps to listJson. 2015-04-29 15:57:58 +02:00
Willi Goesgens 57e361a74b Adust documentation snipets
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
  - bugs some snippets fixed
  - some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Jan Steemann 96fdbe91dc issue #1318: Inconsistent db._create() syntax 2015-04-27 10:51:22 +02:00
Jan Steemann 6dd12e423e fixed jslint warnings 2015-04-24 10:32:11 +02:00
Jan Steemann 260554cb35 added encoding tests 2015-04-24 00:10:05 +02:00
Willi Goesgens f7175f6652 Add way to fake the foxx github store structure for faster unittests. 2015-04-21 17:23:56 +02:00
Jan Steemann 90610ccb3c fixed typos in tests 2015-04-21 14:45:36 +02:00
Jan Steemann 974b656c1b allow overriding COLLECT method 2015-04-21 14:45:22 +02:00
Jan Steemann f0fdf3aacc fixed tests 2015-04-20 18:15:33 +02:00
Jan Steemann ad2e80d334 fixed graph examples 2015-04-20 17:29:24 +02:00
Jan Steemann 10b3ffb877 fixed graph examples 2015-04-20 16:51:16 +02:00
Jan Steemann 9f2643acaa show type of collect method in explain 2015-04-16 16:29:36 +02:00
Jan Steemann 7e0597f215 fixed cursor output in browser shell 2015-04-15 12:00:35 +02:00
Willi Goesgens 950e05787b Instead of zip'ing for move, copy recursive & remove original. 2015-04-14 18:30:03 +02:00
Willi Goesgens 6579eefc33 Add function that can copy files recursive. 2015-04-14 14:46:17 +02:00
Alan Plum decbc6dcea Fully implemented tests API. 2015-04-14 13:39:06 +02:00
Alan Plum 044669cdac Hardcore stubbing action. 2015-04-14 13:39:06 +02:00
Jan Steemann a17d2d2e0e added generated file 2015-04-13 13:41:57 +02:00
Alan Plum 501f5a3f51 Removed unused modules. 2015-04-10 00:33:47 +02:00
Alan Plum b02fb586aa More beautiful console.trace. 2015-04-09 20:04:13 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum e8ba1a1332 Even more strictness. 2015-04-08 17:12:34 +02:00
Alan Plum 45ff33b404 More strictness. 2015-04-08 16:18:11 +02:00
Alan Plum 30adf407f0 Cleaned up FoxxManager install tests. 2015-04-08 14:23:02 +02:00
Alan Plum 4f51343100 Fixed Foxx installer errors. 2015-04-08 14:19:38 +02:00
Max Neunhoeffer 19b14bd98c Move loading of db:// modules later in the search.
Collection lookups are painfully slow on a coordinator if they fail,
because the cache has to be reloaded from the Agency. Therefore we
only want to load modules from there after all other local methods
have been tried.
2015-04-08 13:16:34 +02:00
Alan Plum f8cfcbdbd6 Use ArangoError in module loader. 2015-04-08 13:16:12 +02:00
Alan Plum 83b1b4596a Added module loader errors. 2015-04-08 13:12:43 +02:00
Alan Plum 064599d1a5 Code style. 2015-04-08 01:53:09 +02:00
Alan Plum 4dcdb1cde9 Fixed relative requires in apps. Also fixes #887. 2015-04-08 01:49:27 +02:00
Alan Plum eb255f73ed Use ArangoError in Module#run. 2015-04-07 23:33:23 +02:00
Alan Plum 8133bd4c6a Linting 2015-04-07 20:04:59 +02:00
Alan Plum c0bc47165b Added more stubs. 2015-04-07 19:55:58 +02:00
Alan Plum efe7dba4c1 Workaround for internal.sprintf not handling dates properly. 2015-04-07 19:55:45 +02:00
Alan Plum 211d6f3987 Lunt. 2015-04-07 17:41:04 +02:00
Alan Plum df23003452 Extracted Module#run. 2015-04-07 17:34:32 +02:00
Frank Celler de1a9fe833 added reload for DB modules 2015-04-05 14:02:34 +02:00
Alan Plum c23390360b Unbreak the build. 2015-04-02 01:49:00 +02:00
Alan Plum 8ffd5ddd1c Allow running arbitrary Foxx scripts. 2015-04-02 00:16:23 +02:00
Michael Hackstein 3c79b54330 Merge branch 'devel' of github.com:arangodb/arangodb into gos 2015-04-01 13:38:29 +02:00
Michael Hackstein e2fd4cdd65 Further improvements of graph queries. All queries should now be noticably faster. 2015-04-01 13:25:25 +02:00
Jan Steemann 3ddf23d093 hand-moved changes from other branch 2015-03-30 12:30:45 +02:00
Michael Hackstein a4e4abe3cd Improved several graph AQL functions by moving the logic into the visitor, reducing the amount of necessary loops thereby 2015-03-30 11:11:05 +02:00
Willi Goesgens 0690b4943f - Replace the javascript implementation of makeDirectoryRecursive by our native implementation
- fix the native implementation so it doesn't try to create driveletters as directories.
2015-03-26 17:23:57 +01:00
Jan Steemann 7ec3a18e04 added internal.options() 2015-03-25 17:08:29 +01:00
Jan Steemann 2f58e4ea61 small cleanup 2015-03-25 12:42:44 +01:00
Jan Steemann a26c7c7f28 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-25 08:57:33 +01:00
Alan Plum 9afb093e84 Replace bundled backbone extend with npm dep. 2015-03-24 22:58:45 +01:00
Jan Steemann 01745402f3 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-24 14:34:20 +01:00
Jan Steemann a3c0612798 added cluster tests 2015-03-24 14:34:09 +01:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Jan Steemann 16348cd10c added tests 2015-03-24 11:11:55 +01:00
Jan Steemann 7d5cc17d98 added tests 2015-03-23 22:28:26 +01:00
Jan Steemann c62c26e088 Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification 2015-03-23 15:31:41 +01:00
Jan Steemann e3bf1c709c upsert blocks 2015-03-23 15:31:07 +01:00
Willi Goesgens d8d0196b85 Add tests for the environment handling. 2015-03-23 11:18:20 +01:00
Jan Steemann d63f47e840 added possibility to kill JS traversals 2015-03-20 23:05:41 +01:00
Jan Steemann d512b5fa35 issue #1282: Geo WITHIN_RECTANGLE for nested lat/lng 2015-03-20 19:27:30 +01:00
Jan Steemann 29ea9f40ec added tests for attribute names and values containing specifically dollar signs 2015-03-20 12:28:38 +01:00
Willi Goesgens 108fccdbf7 Add environment variable to V8 wrapping. 2015-03-20 11:55:32 +01:00
Jan Steemann bdae982aa0 refuse to start the server when collection files or parameter.json files are not readable
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2015-03-18 17:44:06 +01:00
Willi Goesgens a95a496920 Add (unix) implementation for chmod 2015-03-18 13:41:26 +01:00
Jan Steemann f04f1ef4cb fixed inefficiencies in `remove` method of general-graph module
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2015-03-17 18:28:26 +01:00
Jan Steemann 35fdc9a9c0 attempt to fix test 2015-03-17 08:30:07 +01:00
Michael Hackstein 3c7aaf204c Made the foxx manager install spec more robust and added a test app containing 'app' as sub folder 2015-03-16 11:13:25 +01:00
Jan Steemann f59dca83d4 fixed warning 2015-03-16 10:40:55 +01:00
Michael Hackstein 4543668a07 Fixed installing of Apps containing an internal app folder 2015-03-16 10:27:32 +01:00
Jan Steemann ce7b75064a fixed test 2015-03-14 20:49:35 +01:00
Jan Steemann d91cc3e9b3 added more tests 2015-03-14 20:49:22 +01:00
Michael Hackstein 6e893826dc Further tests for api query analysis 2015-03-12 16:05:46 +01:00
Michael Hackstein 08933b3c93 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-11 17:50:02 +01:00
Michael Hackstein 5be310fc21 It is now possible to install Apps that are invalid if they are not configured correctly. If they get broken by configuration they are still routed and will display an errorpage. They also display an errorpage until configured. 2015-03-11 17:49:42 +01:00
Alan Plum 5b277891a6 Fixed fixture. 2015-03-11 16:58:39 +01:00
Alan Plum 644a2dc415 Added fixtures for Foxx config errors. 2015-03-11 16:57:04 +01:00
Willi Goesgens a9d9b56992 Argsparser:
- fix parsing of sub-option arrays
  - add possibibility to serialize to '--longopt=value' instead of '--longopt' 'value'
2015-03-11 15:04:01 +01:00
Michael Hackstein 6ff88839e9 Removed unnecessary throw 2015-03-10 16:03:57 +01:00
Michael Hackstein 3a8fee211f The Foxx Comment preprocessor now trimes strings properly 2015-03-10 15:22:16 +01:00
Michael Hackstein aafd1feb9f Activated comments in Foxx Test 2015-03-10 15:04:07 +01:00
Jan Steemann 349683fd38 fixed JSDoc comments parsing 2015-03-10 14:38:04 +01:00
Michael Hackstein d0a43227fb Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-03-10 14:00:43 +01:00