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