1
0
Fork 0
Commit Graph

842 Commits

Author SHA1 Message Date
Jan Steemann e2136ea21a do not allow index creation with multiple [*] in single attribute 2015-10-23 11:45: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
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 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 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
jsteemann 22e17814e3 additionally allow the following characters in document keys:
`(` `)` `+` `,` `=` `;` `$` `!` `*` `'` `%`
2015-09-15 00:16:08 +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 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 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
Alan Plum 02a72800f3 Removed obsolete test. 2015-08-17 03:24:30 +02: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
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
Alan Plum 289cdfcd43 Wrong error. 2015-07-14 20:11:03 +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
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
Jan Steemann f06bedfecf adjusted tests 2015-06-18 16:03:28 +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
Alan Plum e16ddf0b93 Don't allow signing with key and alg:none either. Added test. 2015-05-29 11:08:20 +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 f724cb3185 added test 2015-05-28 12:23:30 +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 40067e6c96 added documents() 2015-05-08 17:11: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
Jan Steemann b0924956f8 allow `@` character in document keys, too. 2015-04-30 21:28:26 +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