1
0
Fork 0
Commit Graph

1222 Commits

Author SHA1 Message Date
Jan Steemann fb4afd0353 fulltext index 2012-12-10 12:16:48 +01:00
Jan Steemann 1ffa8e702c more tests and documentation for fulltext indexes 2012-12-05 16:12:33 +01:00
Jan Steemann cdbb96788f issue #313 2012-12-03 15:30:01 +01:00
Jan Steemann d60888e970 replaced arango-upgrade script with server startup option --upgrade 2012-12-03 13:45:58 +01:00
Jan Steemann 42ba0502f0 changed upgrade procedure
removed arango-upgrade script, replaced it with --upgrade server option
adjusted documentation & start scripts
2012-12-03 13:02:59 +01:00
Jan Steemann 59461d0c4b added functionality to add and remove users programatically
removed arango-password script
2012-12-03 11:42:30 +01:00
Jan Steemann fec05c853d issue #312 2012-12-03 09:58:00 +01:00
Jan Steemann 30a47496b0 issue #312 2012-12-03 09:55:44 +01:00
Frank Celler 249492a89c Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	CHANGELOG
	Documentation/Manual/GlossaryCollectionName.md
	Documentation/Manual/NewFeatures11.md
	Documentation/UserManual/FirstStepsArangoDB.md
	VERSION
	arangod/Documentation/api-blueprints.dox
	arangod/HashIndex/hasharray.c
	arangod/RestHandler/RestVocbaseBaseHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	configure.ac
	html/admin/js/master.js
	js/server/ahuacatl.js
	js/server/arango-upgrade.js
	lib/BasicsC/voc-errors.h
	lib/V8/V8LineEditor.cpp
	lib/V8/v8-utils.cpp
2012-11-27 12:34:58 +01:00
Jan Steemann ad855bd2bd fixed doxygen errors 2012-11-21 18:10:45 +01:00
Jan Steemann f3b87fbe1f fixed documentation 2012-11-21 17:52:44 +01:00
Jan Steemann a2b404123a load monkeypatches on all occasions 2012-11-20 16:50:15 +01:00
Jan Steemann b159a0539b moved monkeypatches.js to bootstrap folder and load it at all occasions, allowing graph usage from arangosh 2012-11-20 15:36:19 +01:00
Jan Steemann 3780aafde9 issue #284 2012-11-19 15:14:29 +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 cb6c8c8e7e added bidirectional edges, fixup edges index 2012-10-25 17:18:54 +02:00
Frank Celler c1b0c37480 added module org/arangodb, added convinient functions 2012-10-18 15:39:00 +02:00
Frank Celler 59ef60d6b2 fixed doc errors 2012-10-12 19:21:52 +02:00
Frank Celler 7c3547e815 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	Makefile.files
	Makefile.in
	js/actions/system/api-system.js
2012-10-11 23:18:55 +02:00
Jan Steemann 2bb0407826 issue #235: fixed broken web front end 2012-10-11 21:32:15 +02:00
Frank Celler 939c5ece15 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	CHANGELOG
	CONTRIBUTING.md
	Doxygen/arango-html.doxy
	Doxygen/arango-latex.doxy
	Doxygen/arango-xml.doxy
	Doxygen/arango.template
	Makefile.in
	Makefile.local
	Makefile.unittests
	VERSION
	config/config.sub
	configure
	configure.ac
	js/actions/system/api-system.js
	js/client/js-client.h
	js/common/bootstrap/js-modules.h
	js/server/js-ahuacatl.h
	packetize.sh
2012-10-11 15:19:44 +02:00
Jan Steemann 3b8ad1835e harmonise API between client and server versions
this adds db._createStatement() on the server side, furthermore it provides GeneralArrayCursor.elements()
2012-10-08 18:11:45 +02:00
Jan Steemann 788f91cd59 added ArangoStatement.explain() client method, wrote test cases 2012-10-08 15:49:15 +02:00
Frank Celler 5d21d2ac2d removed try/catch 2012-09-29 14:52:56 +02:00
Lucas Dohmen 06fb38ca20 Requiring Graph.js automatically requires monkeypatches
The user should not have to do that manually.
Makes no sense.
2012-09-26 14:18:24 +02:00
Jan Steemann 135d454a3c fix wrong variable names 2012-09-10 17:59:51 +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 f70cdc8fcb issue #169: adjusted documentation 2012-08-31 18:08:36 +02:00
Jan Steemann e4e73a7a56 issue #169: missing argument for simple queries 2012-08-31 17:32:53 +02:00
Jan Steemann 1167b62ca6 issue #153: wrote upgrade script for arango. this will convert collections into edge collections etc. 2012-08-28 17:29:36 +02:00
Jan Steemann b8e7d5634d issue #153: edge collection should be a flag for a collection 2012-08-28 10:48:24 +02:00
Lucas Dohmen 5fa6eb8478 Some minor fixes. 2012-08-15 00:51:14 +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
Lucas Dohmen 353b28d814 Faster Handling of shortest path if empty 2012-08-06 16:07:12 +02:00
Lucas Dohmen 0b0df398d0 First version of Measurements and Shortest Path Executor 2012-07-23 13:56:25 +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 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
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 ac092872ee Refactoring on Graph.js
All methods reviewed and refactored. The refactorings use the new
ECMA Script 5 methods which are more efficient and precise.
2012-06-24 09:30:30 +02:00
Lucas Dohmen 2745997ad8 Re-Did the optimizations of the monkeypatches 2012-06-20 17:01:14 +02:00
Lucas Dohmen 15eddecc34 Revert "Monkeypatches have their own module now."
This reverts commit d01b16a930cfc5a47174d7e24a1742c20f874318.

Conflicts:
	js/common/modules/monkeypatches.js
2012-06-20 16:43:08 +02:00
Lucas Dohmen 455befdbf6 Monkeypatches loaded by default and refactored
The monkeypatches will now always be loaded a server startup.
I also refactored them.
2012-06-20 16:18:04 +02:00
Lucas Dohmen a31d5e8f27 Monkeypatches have their own module now. 2012-06-20 15:14:48 +02:00
Lucas Dohmen bfa2e09ee6 All "Monkey Patches" now use Object.defineProperty 2012-06-20 14:12: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 e41291c44d Tiny improvement: forEach instead of for 2012-06-13 16:11:26 +02:00
Lucas Dohmen aa17edce23 Refactored Vertex#getNeighbors 2012-06-13 14:01:48 +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 70ae8d84d4 Small Refactoring for pathesForTree 2012-06-12 15:38:19 +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 e3a3e5f857 Heavy refactoring of the methods for Dijkstra 2012-06-12 13:24:25 +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 ea13cfac51 Renamed all occurrences of node to vertex... 2012-06-06 19:14:21 +02:00
Lucas Dohmen 933bc293b6 Added documentation for all pathTo helper functions 2012-06-06 19:11:53 +02:00
Lucas Dohmen 0433236c8b Graph.js: Lint-Free 2012-06-06 18:49:43 +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
Jan Steemann 0ef03fc006 mini cleanup 2012-05-28 22:10:03 +02:00
Jan Steemann 6f7e11e46c potential solution for issue #95 2012-05-28 22:01:32 +02:00
Frank Celler 86fcb881e9 fixed === and !== and == and != 2012-05-25 15:33:35 +02:00
Lucas Dohmen a1cf1017c5 Passes the Neo4j 500 Length Test now. 2012-05-25 15:25:13 +02:00
Lucas Dohmen 4dd0306d0a Added the Random 500 Test and fixed a bug 2012-05-23 16:21:34 +02:00
Frank Celler b682357901 added skip list queries 2012-05-21 17:19:17 +02:00
Frank Celler b64a51844f added lookup skiplist index 2012-05-21 13:51:03 +02:00
Lucas Dohmen dd5307de29 Dijkstra, Version 1 2012-05-16 16:25:07 +02:00
Frank Celler 56c53e5741 doc user-manual 2012-05-14 21:44:29 +02:00
Frank Celler c909ec20f3 more doc 2012-05-14 14:51:55 +02:00
Lucas Dohmen ff0ecc0b76 ... and its implementation 2012-05-13 21:00:53 +02:00
Frank Celler 763e7aba98 renamed to Arango 2012-05-12 14:40:34 +02:00
Frank Celler 89ce610379 fixed for by-example 2012-05-10 17:10:07 +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 5c5f0827b3 fixed byExample and firstExample 2012-05-07 16:08:23 +02:00
Frank Celler 46afa40ca4 fixed error handling 2012-05-04 12:48:18 +02:00
Frank Celler 3812c8ffa5 geo indexes 2012-05-03 14:14:28 +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 3770c30684 doc 2012-04-28 21:25:07 +02:00
Frank Celler 3f413a39b1 doc 2012-04-28 21:20:15 +02:00
Frank Celler a3050937a0 Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-04-25 23:39:29 +02:00
a-brandt 1d6fa6196c fix getVertex 2012-04-25 16:50:16 +02:00
a-brandt 402e49f8cc Merge branch 'devel' of github.com:triAGENS/AvocadoDB into devel
Conflicts:
	js/common/modules/graph.js
2012-04-25 16:30:18 +02:00
a-brandt 7c02ab3e6f added getVertex() by internal id 2012-04-25 16:27:49 +02:00
Frank Celler 786dedc85e fixed formatting mistakes 2012-04-25 16:24:17 +02:00
a-brandt da756cd8da Merge branch 'devel' of github.com:triAGENS/AvocadoDB into devel
Conflicts:
	js/common/modules/graph.js
2012-04-25 15:48:44 +02:00
a-brandt c7f008a2e1 get graph by internal id 2012-04-25 15:38:38 +02:00
Frank Celler 797950b8b7 merged 2012-04-25 09:13:13 +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 b956ed34d7 AddEdge and GetEdges tested
* Arguments for AddEdge have changed
2012-04-24 13:34:18 +02:00
Frank Celler 95a42b9245 added comments 2012-04-24 12:15:35 +02:00
Frank Celler ae18204d1c fixed unit tests 2012-04-21 18:39:36 +02:00
Frank Celler 4625a6791d repaired constructor 2012-04-21 16:30:17 +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
Jan Steemann 4ee30b6061 added error messages 2012-04-20 09:40:46 +02:00
Frank Celler dfa392ec79 renamed .delete to .remove or .DELETE to avoid JS lint errors 2012-04-18 17:09:04 +02:00
Frank Celler 700fb4e5c5 fixed graph properties 2012-04-18 16:37:42 +02:00
Frank Celler 7a80c3c5ee fix lost id 2012-04-18 10:53:03 +02:00
Frank Celler d7c4bb0cc8 skeleton for unit test 2012-04-18 10:29:25 +02:00
Frank Celler 3c5ce283b2 added cache 2012-04-15 13:23:00 +02:00
Frank Celler d8bb698030 added isSystem, cleanup of graph module 2012-04-15 00:02:08 +02:00
Frank Celler cb016351e8 documentation and minor fixes 2012-04-11 15:41:00 +02:00
Frank Celler dd0b08c618 added unittests 2012-04-07 23:33:10 +02:00
Frank Celler 07a8d05ef6 fixed context 2012-04-07 12:35:18 +02:00
Frank Celler 04f4e312c6 fixed replace and delete to accept document 2012-04-06 21:02:48 +02:00
Jan Steemann be8ec0d3e6 fixed issues in key/value API and in simple-query API 2012-04-03 00:25:25 +02:00
Frank Celler 5b28d68072 fixed layout and memory bug 2012-03-13 01:26:32 +01:00