1
0
Fork 0
Commit Graph

825 Commits

Author SHA1 Message Date
Lucas Dohmen 30f23c22e6 Foxx: Automatically add the httpMethod to the documentation 2013-03-27 13:19:41 +01:00
Lucas Dohmen 1494286143 Foxx: Introducing nickname, summary, notes 2013-03-27 13:19:41 +01:00
Lucas Dohmen 1466429e88 Foxx: Introducing queryParam 2013-03-27 13:19:41 +01:00
Lucas Dohmen 847783a151 Foxx: Bugfixes 2013-03-27 13:19:41 +01:00
Lucas Dohmen 2f3894f715 Foxx: Introducing pathParam 2013-03-26 17:17:53 +01:00
Lucas Dohmen f59084a433 Foxx: Introducing the new `constrain` concept 2013-03-26 17:17:53 +01:00
Lucas Dohmen 8940df0480 Removing Old Constraints 2013-03-26 17:17:53 +01:00
Jan Steemann 3bb251000c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	lib/V8/v8-utils.cpp
2013-03-26 14:13:41 +01:00
Jan Steemann 1492118545 added test cases for "fs" module 2013-03-26 14:09:20 +01:00
Lucas Dohmen 517b530684 Foxx: Default '/' to index.html 2013-03-26 11:27:22 +01:00
Lucas Dohmen e0bf7018fc Foxx: Add the `del` alias for `delete`
Aliasing in JavaScript is a sickness.
2013-03-26 11:27:21 +01:00
Jan Steemann f3bffb2553 fixed test that failed on the client 2013-03-25 17:29:29 +01:00
Lucas Dohmen 74e23f8670 Foxx: Starting with the Foxx User Documentation 2013-03-25 09:50:54 +01:00
Lucas Dohmen 8871849300 Fuxx: Adjusted Expectation 2013-03-24 13:33:01 +01:00
Lucas Dohmen d6498a2b8d Foxx: Yes! Foxx is back on track. Like a sir. 2013-03-24 12:57:53 +01:00
Lucas Dohmen 3948e2a0d6 Foxx: Before and After work again 2013-03-24 12:57:53 +01:00
Lucas Dohmen fd45c765a7 Foxx: BaseMiddleware is now tested again
This is such a relief ☺️
2013-03-24 12:57:53 +01:00
Lucas Dohmen 53a7d0eda6 Foxx: Tiny Commits as a Service 2013-03-24 12:57:53 +01:00
Frank Celler 6263d7e11c added cyclic check 2013-03-24 10:58:12 +01:00
Lucas Dohmen 4f43bed2f6 Foxx, special @fceller edition 2013-03-23 22:01:13 +01:00
Lucas Dohmen 5e0da254f3 Oh man... Strings. 2013-03-23 18:34:59 +01:00
Lucas Dohmen 6f15daf6b9 Fixing the tests by commenting them 2013-03-23 18:05:44 +01:00
Lucas Dohmen 0dd44d82aa Foxx: Added the params function 2013-03-23 16:01:21 +01:00
Lucas Dohmen 55ab432c4b Foxx: Request Body 2013-03-23 14:09:59 +01:00
Lucas Dohmen 52258ebbfa Renamed Fuxx to Foxx
Frank, Fuxx, Foxx. Call it however you want.
I will now refer to it as F*.
2013-03-21 11:49:45 +01:00
Lucas Dohmen 2dae5f1d7a I guess nobody has seen that 😊 2013-03-21 09:48:49 +01:00
Lucas Dohmen db93a6677f Merge branch 'codename_frank' into devel 2013-03-21 09:43:17 +01:00
Lucas Dohmen 42147e5876 Fuxx: Renamed Frank to FuxxApplication
And reviewed the entire documentation.
Bye Frank.
2013-03-21 09:41:55 +01:00
Lucas Dohmen 9524db93b9 Fuxx: Added `accepts` to app 2013-03-21 09:41:54 +01:00
Lucas Dohmen d71b459d58 Fuxx: Added support for default in FormatMiddleware 2013-03-21 09:41:54 +01:00
Lucas Dohmen 51f75fbb08 Fuxx: First version of the FormatMiddleware 2013-03-21 09:41:54 +01:00
Lucas Dohmen 58155fe84b Frank: Introducing View Helpers 2013-03-21 09:41:42 +01:00
Lucas Dohmen 03c278ce0f Frank: Add Before and After Hooks
I think this will be quite useful.
For logging for example.
Or dancing in the rain.
(Does anybody read this?)
2013-03-21 09:41:42 +01:00
Lucas Dohmen 28c24b1d0c Frank: Add the middleware to the routing info 2013-03-21 09:41:42 +01:00
Lucas Dohmen 87c5638e41 Frank: Adjusting to the correct syntax for Function Actions 2013-03-21 09:41:34 +01:00
Jan Steemann 4799f3309d fixed ArangoStatement.explain() with bind variables 2013-03-20 16:52:25 +01:00
Jan Steemann 40199d64b7 fixed handling of empty and reserved attribute names in documents
specifying an empty attribute name in a document may have led to segmentation faults
when the document was unpacked later.
2013-03-20 11:48:33 +01:00
Jan Steemann 7917bc3462 increase wait time 2013-03-14 11:54:53 +01:00
Frank Celler b83355a561 added test case for skip-list index 2013-03-12 13:40:13 +01:00
Jan Steemann 69fc6e1662 added test case 2013-03-08 14:38:08 +01:00
Jan Steemann 5631314bc7 issue #212: added auto-increment support for collections
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:

    db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });

The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.

The default values currently are:

- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`

The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).

Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann b307e4cd6d completed auto-increment key generator 2013-03-08 10:51:50 +01:00
Jan Steemann b83952c94e added test cases 2013-03-08 10:24:53 +01:00
Jan Steemann 0879cf8d15 added auto-increment key generator (not yet ready) 2013-03-07 18:17:35 +01:00
Jan Steemann bdf906ef89 fixed a memleak for barriers 2013-03-06 14:33:23 +01:00
Jan Steemann dca899101f fixed version number assertion 2013-03-04 09:06:08 +01:00
Frank Celler a79279445a Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-26 18:20:27 +01:00
Frank Celler c9226054fc added tests, fixed unloadAll 2013-02-26 18:12:28 +01:00
Frank Celler 85d2e87154 added new package option 2013-02-25 18:15:32 +01:00
Jan Steemann bed09cbbe2 fixed deleting indexes by numeric id 2013-02-25 13:52:50 +01:00
Jan Steemann 4b1de6fa36 fixed typo in test name 2013-02-23 00:03:36 +01:00
Frank Celler fe9f10af8d Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
Conflicts:
	CHANGELOG
	Documentation/Manual/arangodb_1.2_shell_reference_card.pdf
	Makefile.in
	aclocal.m4
	config/compile
	config/config.guess
	config/config.sub
	config/depcomp
	config/missing
	configure
	lib/JsonParser/json-parser.c
2013-02-21 14:21:59 +01:00
Jan Steemann 3fdebb38ee issue #393, issue #128
Added a REST API for user management
The REST API exposes the functionality available in module "users" for HTTP access.

The following methods are available:
* GET /_api/user/username: fetch user information
* POST /_api/user: create new user
* PUT /_api/user: replace an existing user
* PATCH /_api/user: (partially) update an existing user
* DELETE /_api/user: remove an existing user

Additionally, a module "crypto" is introduced and exposed for Javascript actions.
The crypto module provides the following functions:
* require("org/arangodb/crypto").md5();
* require("org/arangodb/crypto").sha256();
* require("org/arangodb/crypto").rand();
2013-02-20 11:56:26 +01:00
Oreste Panaia 2c12f63d7f libev interface 2013-02-19 20:58:21 +08:00
Jan Steemann d1edc4ddb2 added replaceByExample() and updateByExample() methods
added optional "limit" parameter for removeByExample() method
2013-02-19 11:38:55 +01:00
Jan Steemann 1e517c4792 commented test 2013-02-18 17:23:06 +01:00
Jan Steemann a5c1862cf7 test case for issue #411 2013-02-18 17:21:45 +01:00
Jan Steemann ae36ce63b6 fixed test 2013-02-05 14:05:55 +01:00
Jan Steemann ff67ef15b2 fixed test 2013-02-05 13:08:00 +01:00
Jan Steemann f9c14611a4 remove tabs 2013-02-01 15:46:27 +01:00
Jan Steemann eaf4166b3e more tests, less collection loading 2013-02-01 15:20:01 +01:00
Jan Steemann 9a1bac1d69 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-02-01 13:43:48 +01:00
Jan Steemann ca8935ae2a fix collection name handling in the face of parallel renames 2013-02-01 13:43:14 +01:00
Jan Steemann a31306ff90 issue #381: additional test case 2013-01-31 13:25:07 +01:00
Jan Steemann 088f1c628e issue #381: one more test case 2013-01-31 13:24:26 +01:00
Jan Steemann d43e9b89ca issue #381: lifted restrictions on usernames 2013-01-31 13:20:39 +01:00
Jan Steemann 68d2eab647 issue #381 2013-01-30 21:16:05 +01:00
Frank Celler 62e00c81bf fixed traversal to be independent of vertex/edge structure 2013-01-29 17:49:23 +01:00
Frank Celler 0feb82dfa8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-29 15:48:06 +01:00
Jan Steemann 0a2fe0e9a0 fix reload of duplicate key markers 2013-01-29 15:46:45 +01:00
Frank Celler 307b125035 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/actions/system/api-graph.js
2013-01-29 14:17:13 +01:00
Frank Celler 6bd4bc5525 client side graph 2013-01-29 14:15:35 +01:00
Jan Steemann 6e81f7f6fa return collection ids, cursor ids, and index ids as stringified integers, too 2013-01-28 20:11:29 +01:00
Jan Steemann 1de10d6ea4 make collection id be returned as a string so it cannot overflow 2013-01-28 18:30:48 +01:00
Jan Steemann b3d5217f57 removed tabs 2013-01-28 13:56:08 +01:00
Jan Steemann 909e46c671 moved global AQL functions to internal module 2013-01-25 09:34:51 +01:00
Frank Celler 64ddbe1385 Merge branch '1.2' of github.com:triAGENS/ArangoDB into devel 2013-01-23 14:42:56 +01:00
Frank Celler 53854232ef added getEdges 2013-01-23 14:42:26 +01:00
Jan Steemann 92abde4932 more tests for indexes to overcome getIndexes() mysteries (related to issue #366) 2013-01-23 10:43:20 +01:00
Jan Steemann 7c5203cfea added documentation and test cases for db.collection.removeByExample 2013-01-22 19:20:11 +01:00
Jan Steemann 765f0670af added tests for collection.revision() 2013-01-21 10:17:31 +01:00
Jan Steemann 9a003247d0 removed the _bidirectional attribute for edges
This will be reimplemented later on collection, and not on individual edges level.
Lucas & the others were sure directed & undirected edges should not be mixed in the same collection
2013-01-18 17:02:30 +01:00
Jan Steemann e509f92c5e added test cases for duplicate _key insertion 2013-01-18 11:11:22 +01:00
Jan Steemann 752b9a4846 fixed tests 2013-01-18 03:45:24 +01:00
Jan Steemann 52309cf188 fixed tests & segfault during tests 2013-01-18 00:58:14 +01:00
Frank Celler 670dc221ab Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/client/client.js
	js/common/bootstrap/module-internal.js
	js/common/modules/org/arangodb/simple-query-common.js
	js/server/ahuacatl.js
2013-01-17 23:56:31 +01:00
Frank Celler edef5feacc fixed tests 2013-01-17 23:45:19 +01:00
Frank Celler 3c21a87366 more cleanup 2013-01-17 16:01:15 +01:00
Jan Steemann bbade8c0b8 removed the non-working indexSubstrings property for fulltext indexing 2013-01-17 15:58:28 +01:00
Jan Steemann 913480e881 make revision ids strings so they do not clip in clients that do not support 64 bit integers 2013-01-17 15:02:55 +01:00
Jan Steemann 0298bcc601 added more tests for edge creation 2013-01-16 17:41:19 +01:00
Jan Steemann 9e050addc6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-01-16 12:50:33 +01:00
Jan Steemann e963f104d8 split collection tests into 2 files 2013-01-16 12:44:37 +01:00
Frank Celler ba9388e5a8 fixed .any on arangosh 2013-01-16 12:43:50 +01:00
Jan Steemann f50c9e12b4 fixed any traversal for Graph object 2013-01-16 11:12:17 +01:00
Jan Steemann e0e3fe12b8 added graph traversal for Graph 2013-01-15 19:48:53 +01:00
Jan Steemann 6fde7e2f27 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-01-15 16:45:54 +01:00
Jan Steemann 7a6db16241 added db._version() 2013-01-15 16:44:48 +01:00
Lucas Dohmen 9bb56d801d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-15 15:48:29 +01:00
Lucas Dohmen 3d59723f99 Tiny additions to Frank
* Missing templates will result in an error
* The middleware calls next
* All JSLint warnings except one fixed
2013-01-15 15:45:47 +01:00
a-brandt f2288b5900 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-15 09:08:28 +01:00
a-brandt 60c8ad808f Changed graph moudule to use _key 2013-01-15 09:07:31 +01:00
Jan Steemann 2a3293a59e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-01-14 14:12:26 +01:00
Jan Steemann 848cc1ae28 added CollectionDatasourceFactory 2013-01-14 14:08:28 +01:00
Lucas Dohmen 7189151f93 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-14 13:37:15 +01:00
Lucas Dohmen bad6578ce5 Frank: Templates.
You can now use templates (currently via Underscore, but is expandable)
in Frank.
2013-01-14 13:35:43 +01:00
Jan Steemann c8b55b9b4d added patch & head methods 2013-01-14 13:22:02 +01:00
Lucas Dohmen a8561d0121 Frank: Put, Post, Delete 2013-01-14 09:34:25 +01:00
Michael Hackstein f32c4b2ae4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-14 02:36:51 +01:00
Michael Hackstein 96a5e832b0 Added includeMatchingAttributesFilter 2013-01-14 02:36:45 +01:00
Lucas Dohmen ef8bb55165 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-14 02:36:40 +01:00
Lucas Dohmen 9052dbdcbe Frank: Added some simple convenience functions to the response
Will make everything more comfy.
Amazing.
And wonderful 🦄
The middleware is not yet attached.
2013-01-14 02:35:27 +01:00
Michael Hackstein 1fae3deaa8 Merged conflict 2013-01-14 01:21:00 +01:00
Michael Hackstein 913bb09c67 Expand edges with labels 2013-01-14 01:18:28 +01:00
Jan Steemann f7d8df846b fixed test 2013-01-14 00:24:00 +01:00
Michael Hackstein 1f492f2444 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-14 00:00:53 +01:00
Michael Hackstein c451776ddf creation of first test datasource in function 2013-01-14 00:00:46 +01:00
Lucas Dohmen a29f2f7370 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-13 23:43:09 +01:00
Lucas Dohmen ffeca77e1a First Version of Frank
* Added Underscore (We still need to run all tests to see if it works
  entirely)
* Added the first version of Frank with a few thoughts on how to
  continue working on it
2013-01-13 23:42:01 +01:00
Jan Steemann ad14130aa0 some tests for traversal 2013-01-13 23:40:27 +01:00
Michael Hackstein f946da1772 Added datasource object for manually created graphs 2013-01-13 14:44:06 +01:00
Michael Hackstein e0dc0be787 Removed unused wrapper filter 2013-01-13 11:36:02 +01:00
Michael Hackstein 8686dbe51b Added combine filters, and min/maxDepth filters 2013-01-13 11:26:43 +01:00
Jan Steemann e23e6e3ae6 changed return value for filter functions 2013-01-13 00:55:03 +01:00
Jan Steemann baaaf81cd3 changed the API for traversals 2013-01-13 00:17:11 +01:00
Jan Steemann 227a92aa1c added test cases, some fixes 2013-01-12 21:29:13 +01:00
Jan Steemann 8080b2f501 test cases for collection-based expanders 2013-01-12 20:42:43 +01:00
Jan Steemann f53b09c64a adjusted traversal API 2013-01-12 18:26:57 +01:00
Frank Celler 4cda9c48f1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-11 22:25:52 +01:00
Frank Celler ecb2602ba0 fixed path 2013-01-11 21:11:31 +01:00
Jan Steemann 79f40a5822 fixed tests 2013-01-11 20:53:02 +01:00
Jan Steemann b694d72742 added tests 2013-01-11 15:01:57 +01:00
Jan Steemann 196e3872b6 fixed a bug width non-expanded nodes 2013-01-11 14:57:31 +01:00
Jan Steemann a45da0ce05 added path tests 2013-01-11 14:42:41 +01:00
Jan Steemann 3cdac5f258 tests paths 2013-01-11 14:35:12 +01:00
Jan Steemann 0874d95467 more tests 2013-01-11 14:30:58 +01:00
Jan Steemann f34b5085ee more tests 2013-01-11 14:17:42 +01:00
Jan Steemann 5c19f2d196 cleaned up traversal code, initial unittest 2013-01-11 13:59:03 +01:00
Frank Celler 33e3031380 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	Makefile.in
	VERSION
	arangod/V8Server/v8-query.cpp
	build_posix.h
	configure
	configure.ac
2013-01-10 18:00:25 +01:00
Frank Celler 1612f22319 moved graph to org/arangodb/graph 2013-01-09 22:49:56 +01:00
Jan Steemann d76920443d added tests and documentation for volatile collections 2013-01-07 10:55:25 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +01:00
Jan Steemann b48d039e3f issue #327 2012-12-27 18:26:04 +01:00
Jan Steemann e28d9b9a93 issue #327: fixed javascript parse errors 2012-12-27 18:05:02 +01:00
Jan Steemann 96637435ab fulltext: more query operators, more tests, more controlled memory usage and statistics 2012-12-18 14:56:06 +01:00
Jan Steemann b8ca0b2d4d fulltext index massive rewrite 2012-12-15 01:01:25 +01:00
Jan Steemann fb4afd0353 fulltext index 2012-12-10 12:16:48 +01:00
Jan Steemann efde7b5efa first test cases for fulltext index 2012-12-03 23:55:46 +01:00
Jan Steemann aed99d178d fixed assertion 2012-12-03 15:31:08 +01:00
Jan Steemann cdbb96788f issue #313 2012-12-03 15:30:01 +01:00
Jan Steemann cbad6b526a make collections accesible via name instead of id.
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann f812408a7e documentation for collection names / keys 2012-11-23 19:41:14 +01:00
Jan Steemann 171914bf7a added test case for #284 2012-11-19 21:57:21 +01:00
a-brandt b800f2652c renamed "blueprint" to "blueprints" and added documentation and tests 2012-10-30 13:35:36 +01:00
a-brandt fff25d5ac3 renamed "blueprint" to "blueprints" and added documentation and tests 2012-10-30 12:29:51 +01:00
Jan Steemann 296ad4f5e7 reduce index bloat for edges 2012-10-25 22:02:31 +02:00
Jan Steemann cb6c8c8e7e added bidirectional edges, fixup edges index 2012-10-25 17:18:54 +02:00
a-brandt e66daf3f43 bugfix unit tests 2012-10-24 12:36:11 +02:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
a-brandt 9a599e468a added "_key" attribute 2012-10-23 15:58:09 +02:00
Jan Steemann 0c4da6a1d7 added test cases for edge insert/update rollback 2012-10-17 17:37:29 +02:00
Jan Steemann 5c4d981e7a added tests, fixed documentation 2012-10-17 16:50:35 +02:00
Jan Steemann 057cadc5c0 added some tests, fixed docs 2012-10-17 16:49:48 +02:00
Jan Steemann b639a6ec8c removed lines that printed stuff out 2012-10-10 18:33:34 +02:00
Jan Steemann 9ffa4779e2 test cases for issue #213 2012-10-10 09:22:18 +02:00
Jan Steemann 788f91cd59 added ArangoStatement.explain() client method, wrote test cases 2012-10-08 15:49:15 +02:00
Jan Steemann 56dcb0aedf reduced number of docs in compaction test even more 2012-09-27 13:49:59 +02:00
Jan Steemann 856a1bf9f6 reduced number of docs even further 2012-09-26 16:44:33 +02:00
Jan Steemann 704520c436 reduced waittime 2012-09-26 16:26:40 +02:00
Jan Steemann ad6f26e86a added waittime, reduced number of docs 2012-09-26 16:26:05 +02:00
Jan Steemann 4a0e773536 added waittime 2012-09-26 15:48:23 +02:00
Jan Steemann 1d865cddb1 removed unnecessary long waits 2012-09-13 17:41:00 +02:00
Lucas Dohmen fbe85fcb40 Merge branch 'graph_algorithms' into devel
Conflicts:
	Makefile.in
	configure
2012-09-04 09:41:03 +02:00
Jan Steemann 4aaf066081 issue #185: increased wait time in test 2012-09-04 08:35:19 +02:00
Jan Steemann 035ca9c548 increased wait time 2012-09-03 17:42:55 +02:00
Jan Steemann 13f703c2c7 issue #184 2012-09-03 11:08:35 +02:00
Jan Steemann 6232ca74c7 changed unloading of collections to not wait in an endless loop if collection cannot be unloaded 2012-09-03 10:40:07 +02:00
Jan Steemann b8e7d5634d issue #153: edge collection should be a flag for a collection 2012-08-28 10:48:24 +02:00
Jan Steemann 105af56bf7 issue #110: support for partial updates 2012-08-21 15:17:51 +02:00
Lucas Dohmen 1699414168 Added two execution files for the comparison 2012-08-16 13:21:45 +02:00
Lucas Dohmen 472f279506 Added Payload Tests 2012-08-15 22:15:11 +02:00
Jan Steemann b29d303488 fixed sporadically failing test 2012-08-15 12:43:20 +02:00
Lucas Dohmen 5fa6eb8478 Some minor fixes. 2012-08-15 00:51:14 +02:00
Jan Steemann 396859e4fc added test case to trigger compaction 2012-08-14 11:52:50 +02:00
Frank Celler 69a8e64f9b Merge branch 'master' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	.gitignore
	Makefile.in
	Makefile.local
	Makefile.unittests
2012-08-09 15:25:29 +02:00
Frank Celler 80b78a7415 added GC 2012-08-08 15:33:58 +02:00
Jan Steemann 982781ec3e reduced sleep intervals 2012-08-08 14:51:00 +02:00
Frank Celler 5027294e26 wait for collection to unload in unit-tests 2012-08-08 10:21:44 +02:00
Oreste Panaia 03cce62c3a bitarray index now support explicit values 2012-08-02 15:20:43 +08:00
Oreste Panaia 53e4fb7f12 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/BitIndexes/bitarray.c
	arangod/BitIndexes/bitarrayIndex.c
2012-07-24 14:56:04 +08:00
Oreste Panaia cd5ed3ac67 added http support for bitarray idnex creation 2012-07-24 14:30:38 +08:00
Lucas Dohmen 0b0df398d0 First version of Measurements and Shortest Path Executor 2012-07-23 13:56:25 +02:00
Lucas Dohmen 00ae5bf344 Merge branch 'master' into graph_algorithms 2012-07-18 16:03:13 +02:00
Lucas Dohmen 463045e17c The pathTo method now supports graph-wide caching
This is the first step to support measurements. The data for the tests
has been added.
2012-07-18 16:00:17 +02:00
Lucas Dohmen 8861bd6410 Moved Graph tests to the correct file 2012-07-10 14:55:19 +02:00
Lucas Dohmen fb605e1247 Betweenness Measurement added to Vertices 2012-07-09 18:09:57 +02:00
Lucas Dohmen c6c9712f82 Added support for geodesics to Graph.js 2012-07-09 16:22:02 +02:00
Oreste Panaia 224614f14a Bitarray index fixes 2012-07-06 12:02:08 +08:00
Oreste Panaia 67d6b7fca0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-07-05 13:59:46 +08:00
Oreste Panaia c72f44c949 Bitarray indexes update 2012-07-05 13:59:26 +08:00
Jan Steemann be6d64ced6 fixed unittest expectations after fix for issue #121 2012-07-04 12:32:09 +02:00
Oreste Panaia b84c9fefa9 Some bitarray index creation tests 2012-06-29 14:49:52 +08:00
Lucas Dohmen 07366afcfc Added two measurements to graphs
* diameter
* radius
2012-06-26 15:25:26 +02:00
Lucas Dohmen ecf09fc4dc Added distanceTo and two measurements to Vertices
The two measurements are:

* eccentricity
* closeness
2012-06-26 14:17:41 +02:00
Lucas Dohmen c6b2b2642c Added Degrees to Vertices, Size and Order to Graphs 2012-06-26 12:51:26 +02:00
Lucas Dohmen a7d3d50082 Linted graph.js and shell-graph-algorithms.js 2012-06-16 18:31:50 +02:00
Lucas Dohmen c129644fff Added a listed option to commonNeighbors and commonAttributes
If the listed option is given, instead of the number of attributes /
neighbors, the list of the names of the shared attributes / the IDs
of the shared neighbors are returned.
2012-06-16 18:26:41 +02:00
Lucas Dohmen edff65d5c8 Vertex#commonPropertieWith now also has a normalized variant 2012-06-16 18:05:14 +02:00
Lucas Dohmen b3620827d3 Added commonPropertiesWith to Vertex 2012-06-16 18:00:32 +02:00
Lucas Dohmen 2c70ce9291 Reorganization of functionality and tests for Graph.js 2012-06-16 17:38:27 +02:00
Lucas Dohmen c0a94a570b Added a commonNeighborsWith method to Vertex
Returns the number of common neighbors.
2012-06-16 14:58:48 +02:00
Lucas Dohmen 15b0a44aba Edge Exclusion for pathTo function
You can now exclude certain edges in your pathTo function with the
paramater `only` that expects a function that takes an edge as an
argument and returns true if and only if the edge should be used
for the path.

Use Case:
Only include edges on the path that have a rating of x or higher.
2012-06-16 14:26:26 +02:00
Lucas Dohmen 580813f006 Added Support for Weight Functions in pathTo
Instead of just selecting an attribute to get the weight of an edge,
the user can now formulate the computation of the weight of an edge
as a function that takes an edge as an argument and returns the weight.
This allows more flexible weights in the application.
2012-06-16 14:04:37 +02:00
Lucas Dohmen 46027601ac Merge branch 'devel' into graph_algorithms 2012-06-13 16:19:54 +02:00
Lucas Dohmen ad91d8cdfc The weighted pathTo now also takes a default weight
The default weight is needed, when an edge doesn't
have the specified weight attribute.
The default for this default value is `Infinity`.
2012-06-13 13:48:54 +02:00
Lucas Dohmen 7eddaa9259 Added support for weighted graphs to pathTo
The method `pathTo` now also accepts the following option:

* weight: The name of the attribute including the weight
2012-06-13 13:15:21 +02:00
Lucas Dohmen f11acff837 Enhanced pathTo for directed and labelled graphs
The `pathTo` method accepts an options hash.
Currently supported:

* direction: "both", "outbound", "inbound"
* labels: undefined or Array of Strings
2012-06-13 11:55:26 +02:00
Lucas Dohmen 104b28b607 Refactored the pathesForTree method
* It's now testable
* It's now in a better OO design
2012-06-12 15:25:06 +02:00
Lucas Dohmen 33732898ce Enhanced Vertex#getNeighbors
* getNeighbors now takes the following arguments:
  * direction: 'both', 'outbound' or 'inbound'
  * pathLabels: undefined or Array of Strings
2012-06-12 12:23:09 +02:00
Lucas Dohmen 020aa12c35 Dijkstra: Finds all shortest pathes now
* Previously only found one shortest path
* Returns the same results as Neo4j
2012-06-06 18:09:57 +02:00
Lucas Dohmen a41ff384ab Dijkstra finds pathes of correct length. 2012-06-06 14:57:57 +02:00
Lucas Dohmen a1cf1017c5 Passes the Neo4j 500 Length Test now. 2012-05-25 15:25:13 +02:00
Frank Celler a0d19953e2 removed globals 2012-05-25 00:26:36 +02:00
Frank Celler 67e5ea65b3 console is now a module 2012-05-24 23:59:53 +02:00
Lucas Dohmen 4dd0306d0a Added the Random 500 Test and fixed a bug 2012-05-23 16:21:34 +02:00
Frank Celler 6dc4cbd43d fixed error message 2012-05-22 09:38:36 +02:00
Frank Celler f5c7265911 fixed error message 2012-05-22 09:36:43 +02:00
Jan Steemann 5b05cc0d45 issue #69: added test cases with wrong parameters for inEdges(), outEdges() and edges() 2012-05-21 20:13:56 +02:00
Frank Celler b682357901 added skip list queries 2012-05-21 17:19:17 +02:00
Lucas Dohmen dd5307de29 Dijkstra, Version 1 2012-05-16 16:25:07 +02:00
Lucas Dohmen 0b58cf8875 First version of Dijkstra 2012-05-13 20:59:00 +02:00
Frank Celler 615661c0a6 added hash index test 2012-05-12 22:17:28 +02:00
Frank Celler 675c5d0476 unique constraint 2012-05-12 22:09:00 +02:00
Frank Celler 5ba64bafe1 added test 2012-05-12 21:35:56 +02:00
Frank Celler 763e7aba98 renamed to Arango 2012-05-12 14:40:34 +02:00
Frank Celler db46badb0f cleanup 2012-05-10 16:37:42 +02:00
Frank Celler 875746d0d4 fixed doc 2012-05-07 17:35:41 +02:00
Frank Celler f47788fea6 simple query 2012-05-06 20:05:59 +02:00
Frank Celler 032602d300 added documentation and fixes for cap 2012-05-05 23:14:30 +02:00
Frank Celler cadca4a27b unittests 2012-05-02 17:05:38 +02:00
Frank Celler 691bb68f31 fixed limit and skip 2012-05-02 14:28:29 +02:00
Frank Celler 8c872f00b9 more on simple queries 2012-05-01 23:50:40 +02:00
Frank Celler 6211bd88bb added internal 2012-04-30 23:25:39 +02:00
Frank Celler 1ff5f2940a more tests 2012-04-30 12:32:58 +02:00
Frank Celler 054877194c added ignore-null 2012-04-30 11:07:41 +02:00
Frank Celler 9ccbb5b324 unit tests 2012-04-29 14:48:38 +02:00
Frank Celler eea4c94b1a added constraint flag 2012-04-29 14:14:52 +02:00
Frank Celler da508e5b45 tests and minor fixes 2012-04-29 11:47:33 +02:00
Lucas Dohmen e0fc2466e2 Test Suite for GraphModule complete. 2012-04-24 16:44:36 +02:00
Lucas Dohmen 64ff1fa0b0 Completed the Vertex Edges Getters 2012-04-24 16:23:07 +02:00
Lucas Dohmen e2930ae85d Tested Vertex Properties. All Vertex Methods tested. 2012-04-24 16:20:05 +02:00
Lucas Dohmen 6e16fd6554 Get Eddges with Labels from Vertices 2012-04-24 16:12:32 +02:00
Lucas Dohmen 897c5b4446 Added Tests to get Edges for Vertices 2012-04-24 15:59:59 +02:00
Lucas Dohmen 094108bffa Added Tests for adding edges to Vertices 2012-04-24 15:24:09 +02:00
Lucas Dohmen ffd8963064 Tested Graph Creation 2012-04-24 14:32:04 +02:00
Lucas Dohmen dd5b2ecced Testes Edge and Vertex Removal 2012-04-24 14:02:59 +02:00
Lucas Dohmen b956ed34d7 AddEdge and GetEdges tested
* Arguments for AddEdge have changed
2012-04-24 13:34:18 +02:00
Frank Celler ae18204d1c fixed unit tests 2012-04-21 18:39:36 +02:00
Lucas Dohmen 30b016596f Linted the graph module. Two problems left, reported as bug #52
Conflicts:

	js/common/modules/graph.js
2012-04-20 22:03:39 +02:00
Frank Celler a3a2485472 Merge branch 'master' of github.com:triAGENS/AvocadoDB 2012-04-18 17:09:15 +02:00
Frank Celler dfa392ec79 renamed .delete to .remove or .DELETE to avoid JS lint errors 2012-04-18 17:09:04 +02:00
Lucas Dohmen 18287faef0 Added Tests for the Graph Module. 2012-04-18 16:44:57 +02:00
Lucas Dohmen ae35af2ab8 Code Review with JSLint 2012-04-18 15:17:44 +02:00
Lucas Dohmen 4117c80a5f Passes JSLint 2012-04-18 13:19:15 +02:00
Frank Celler d7c4bb0cc8 skeleton for unit test 2012-04-18 10:29:25 +02:00
Frank Celler 870e21157c using save 2012-04-14 21:54:09 +02:00
Frank Celler 9eab784b39 fixed edges 2012-04-13 14:41:47 +02:00
Frank Celler 58a6a0db2f added valgrind option 2012-04-12 17:38:48 +02:00
Frank Celler c50c758c0e fixed edges 2012-04-12 17:11:56 +02:00
Frank Celler 443b9b1cff added rename 2012-04-12 13:05:23 +02:00
Frank Celler 103b9b168d fixed makefile to start/stop server, fixed figures 2012-04-12 12:42:41 +02:00
Frank Celler 1e52b7bf46 tests for document and collection 2012-04-12 12:03:33 +02:00
Frank Celler 6034970909 fixed names 2012-04-11 23:37:02 +02:00
Frank Celler 535cbdf8c2 moved to common 2012-04-11 23:35:14 +02:00
Frank Celler 5b28d68072 fixed layout and memory bug 2012-03-13 01:26:32 +01:00