1
0
Fork 0
Commit Graph

851 Commits

Author SHA1 Message Date
Jan Steemann 0a2d61a42a added SHORTEST_PATH AQL function, allow user-defined functions for filtering in TRAVERSAL etc. 2014-01-28 01:51:27 +01:00
Jan Steemann e90ee8c572 shut up jslint 2014-01-27 17:30:44 +01:00
Michael Hackstein 2b327912d5 Foxx Controller will now react to int and integer. Furthermore it throws an error if an illegal attribute is defined 2014-01-27 16:20:32 +01:00
Jan Steemann ea2af50683 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	Documentation/ImplementorManual/HttpSystem.md
	js/apps/system/aardvark/aardvark.js
	js/apps/system/aardvark/frontend/css/buttons.css
	js/server/version-check.js
2014-01-24 14:50:09 +01:00
Frank Celler 6679995e76 Merge remote-tracking branch 'origin/1.4' into devel
Conflicts:
	CHANGELOG
	Documentation/man/man1/arangob.1
	Documentation/man/man1/arangodump.1
	Documentation/man/man1/arangoimp.1
	Documentation/man/man1/arangorestore.1
	Documentation/man/man1/arangosh.1
	Documentation/man/man8/arango-dfdb.8
	Documentation/man/man8/arangod.8
	Documentation/man/man8/foxx-manager.8
	Documentation/man/man8/rcarangod.8
	Makefile.in
	VERSION
	aclocal.m4
	build.h
	config/config.guess
	config/config.sub
	config/missing
	configure
	configure.ac
	js/apps/system/aardvark/api-docs.json
	js/apps/system/aardvark/api-docs/batch.json
	js/apps/system/aardvark/api-docs/collection.json
	js/apps/system/aardvark/api-docs/database.json
	js/apps/system/aardvark/api-docs/endpoint.json
	js/apps/system/aardvark/api-docs/job.json
	js/apps/system/aardvark/api-docs/replication.json
	js/apps/system/aardvark/api-docs/system.json
	js/server/bootstrap/module-internal.js
	js/server/modules/org/arangodb/actions.js
	js/server/modules/org/arangodb/foxx/authentication.js
	js/server/modules/org/arangodb/foxx/manager.js
	lib/ApplicationServer/ApplicationServer.cpp
2014-01-23 22:24:20 +01:00
Jan Steemann 6ec73a5589 fixed reference to unused variable 2014-01-23 16:48:24 +01:00
Michael Hackstein 25dee09874 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-23 16:31:41 +01:00
dajester2013 bc09265335 Update ahuacatl.js
vertexFilterType -> vertexFilterMethod
2014-01-23 06:02:30 -06:00
dajester2013 f99df3b6b0 Update ahuacatl.js
followVertices changed to filterVertices
2014-01-23 05:48:23 -06:00
dajester2013 1cad676170 Update ahuacatl.js
fix indentation
2014-01-23 05:46:34 -06:00
dajester2013 27806d90a8 traversal(_tree) vertex filtering
added params "filterVertices" and "vertexFilterType" to traversal(_tree).  "filterVertices" accepts an array of examples similar to "followEdges", while "vertexFilterType" defines how to filter out vertices that do not match the examples. "vertexFilterType" can be set to "prune", "exclude", or (default) ["prune","exclude"].
2014-01-23 05:45:28 -06:00
Jan Steemann 5f442ef742 bugfixes 2014-01-23 11:47:49 +01:00
Michael Hackstein 6a0d219bd5 Fixed bug in agency communication. Discrepancy with Agency content 2014-01-23 10:12:48 +01:00
Jan Steemann 39fd7611ed load/unload of collections 2014-01-22 17:20:06 +01:00
Jan Steemann 8a74c2864e cleanup of current/collections 2014-01-22 11:41:32 +01:00
Jan Steemann 7e732174ce Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-21 15:14:13 +01:00
Jan Steemann ddfa36274d preparation 2014-01-21 15:14:07 +01:00
Michael Hackstein 23e0122f0f Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-21 14:42:22 +01:00
Max Neunhoeffer a1a99170e1 Add information about Current collections to ClusterInfo. 2014-01-21 14:28:30 +01:00
Michael Hackstein 7cd01e816c Fixed new discrepancies between the etcd agency and the high level javascript communication, based on Shards in Collections in the Current state 2014-01-21 14:16:24 +01:00
Jan Steemann 74c76ce41e Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-21 11:10:52 +01:00
Jan Steemann 2ddacc65e8 clean up Current/Databases for ourselves 2014-01-21 11:10:25 +01:00
Max Neunhoeffer 06953daf80 Fix reporting of dropped shard in Current. 2014-01-21 10:44:02 +01:00
Max Neunhoeffer eec3c08f87 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-01-21 09:57:26 +01:00
Max Neunhoeffer 18436b6b27 Fix reporting of new collection in Current (shardID instead of DBserverID) 2014-01-21 09:56:54 +01:00
Jan Steemann 64417d4423 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-21 09:29:45 +01:00
Michael Hackstein c7f86b3def Updated high-level js communication library for newest version of agency comm 2014-01-20 16:37:56 +01:00
Jan Steemann 583878176b issue #736: AQL function to parse collection and key from document handle
Conflicts:

	CHANGELOG
2014-01-17 23:13:06 +01:00
Jan Steemann 9f69aae986 issue #736: AQL function to parse collection and key from document handle 2014-01-17 22:39:04 +01:00
Jan Steemann 435b56bea2 fixed dropping of collections 2014-01-17 18:27:55 +01:00
Jan Steemann 7751576907 report errors back to the server 2014-01-17 14:19:52 +01:00
Jan Steemann 0bbbd53d4d added fm.rescan() method
Conflicts:
	CHANGELOG
2014-01-17 14:06:27 +01:00
Jan Steemann c7380398d9 added fm.rescan() method 2014-01-17 14:04:10 +01:00
Max Neunhoeffer e5f8331093 Report collection better in Current. 2014-01-17 14:03:16 +01:00
Jan Steemann 07c0ed3bab creation/removal of local shards 2014-01-17 12:43:34 +01:00
Jan Steemann 8010963a94 handle plan change for create/drop database 2014-01-16 17:03:10 +01:00
Jan Steemann c9dabaca86 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-16 15:02:44 +01:00
Jan Steemann 334cd51e6f include console 2014-01-16 15:01:07 +01:00
Jan Steemann a987647bd2 handle state changes 2014-01-16 14:52:40 +01:00
Frank Celler d0c05f6628 fixed issue #734: foxx cookie and route problem 2014-01-16 14:16:47 +01:00
Frank Celler 87009c7e6e added missing db prefix 2014-01-16 14:08:45 +01:00
Jan Steemann 657406bb70 fixed jslint warnings 2014-01-15 18:15:38 +01:00
Jan Steemann 72902b2e62 fixed jslint warnings 2014-01-15 18:06:17 +01:00
Jan Steemann b1c4f75e50 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-14 13:29:07 +01:00
Frank Celler 30252c1877 Merge pull request #731 from pluma/error-response-error-names
Added support for error names instead of error types
2014-01-14 00:27:39 -08:00
Jan Steemann f8c50ade6e force reloading of user functions 2014-01-13 17:50:36 +01:00
Jan Steemann 8ea145cd8f force reloading of user functions 2014-01-13 17:49:44 +01:00
Alan Plum d055c778d4 Added support for error names instead of error types. 2014-01-11 21:37:59 +01:00
Michael Hackstein 9f3479f5b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann 269e50eb8f defer evaluation of logical operators 2014-01-10 16:45:07 +01:00
Jan Steemann 8277e7582c defer evaluation of logical operators 2014-01-10 10:58:30 +01:00
Michael Hackstein cccc98e6af JSLint fix 2014-01-08 13:50:07 +01:00
Michael Hackstein 7c2cd74798 Added Internal documentation for agency communication 2014-01-08 10:18:34 +01:00
Jan Steemann 7a3635adf9 fixed problem with AQL functions in multiple databases 2014-01-08 09:53:03 +01:00
Jan Steemann 56054d3e66 fixed problem with AQL functions in multiple databases 2014-01-08 09:51:56 +01:00
Michael Hackstein 1d47e5c901 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-08 08:36:23 +01:00
Michael Hackstein b00f9d1100 Added Diff for DBServers and Coordinators 2014-01-08 08:36:17 +01:00
Jan Steemann 8070f9a04f Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 17:51:16 +01:00
Jan Steemann 5b965b2a21 added initialised() method 2014-01-07 17:50:52 +01:00
Michael Hackstein 6998e4b2ce Fixed discrepancies between simulated Agency and real Agency communicating with the Agency. 2014-01-07 17:38:46 +01:00
Michael Hackstein 92488ab916 Updated to flat version of agency.list and JSLint fixes 2014-01-07 16:40:21 +01:00
Michael Hackstein f7183d6d5a Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 15:38:47 +01:00
Michael Hackstein 000260d701 Added Sync and convenience functions in high level agency communication 2014-01-07 15:38:41 +01:00
Jan Steemann 3183e6d402 created global cluster object variables 2014-01-07 11:34:42 +01:00
Michael Hackstein 9b2cf1abe8 Added options to move shards in high level agency communication 2014-01-07 11:29:39 +01:00
Michael Hackstein 976ed07007 Added read collection/shard information to high level agency communication and massive code cleanup. 2014-01-07 11:13:35 +01:00
Michael Hackstein 5bfb936e02 Added plan Coordinators and DatabaseList to high level agency communication. 2014-01-06 13:40:36 +01:00
Michael Hackstein 7605b33dd3 Added current Coordinators and DBservers to high level agency communication 2014-01-06 12:49:57 +01:00
Max Neunhoeffer 30415c6a73 Cleanup conversion C++ <-> Javascript of HttpRequest/HttpResponse. 2014-01-06 11:40:49 +01:00
Michael Hackstein 7b745854db Added target Coordinators and DatabaseList to high level agency communication. 2014-01-06 09:18:56 +01:00
Michael Hackstein 17cbbcd092 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 17:11:05 +01:00
Michael Hackstein ad99e44223 Started implementing of highlevel js agency communication. Right now it is possible to change the target by adding/removing Database servers 2014-01-03 17:10:57 +01:00
Max Neunhoeffer eb2afb2f04 Implement case distinction for create collection between cluster and not. 2014-01-03 16:17:34 +01:00
Jan Steemann a7d9b3f578 added test for cluster helper functions 2014-01-03 16:04:40 +01:00
Jan Steemann f657e2c943 added cluster helper functions 2014-01-03 15:49:20 +01:00
Jan Steemann 2c8ef0125f ported web interface changes from devel to 1.4 2013-12-18 16:22:16 +01:00
Jan Steemann 8ac6d9728e better clone some objects returned by AQL user-defined functions 2013-12-04 22:05:54 +01:00
Jan Steemann 44b3237882 moved server-only tests to js/server/tests
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work

make logfile path accessible
2013-12-04 22:05:00 +01:00
Jan Steemann 16264f992d better clone some objects returned by AQL user-defined functions 2013-12-04 20:39:51 +01:00
Jan Steemann 32a247aa2f added tests for creating / dropping graphs 2013-12-02 15:12:07 +01:00
Jan Steemann a5f6faaae4 issue #675: Dropping a collection used in "graph" module breaks the graph 2013-12-02 13:58:29 +01:00
Jan Steemann 28110b01e3 issue #671: make more graph-methods work client-side, too 2013-11-25 10:23:46 +01:00
Jan Steemann 6cf0fa2b4a issue #671: make other graph methods work client-side, too 2013-11-25 10:22:36 +01:00
Lucas Dohmen 2024bdf941 Graph: Fixed `getVertices` 2013-11-20 15:37:56 +01:00
Jan Steemann 42257ba2f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-11-18 11:42:08 +01:00
Jan Steemann 319f5f8dbd removed unused variables 2013-11-18 11:41:57 +01:00
Lucas Dohmen ec9459ef40 Removed unused assignments 2013-11-18 11:25:43 +01:00
Jan Steemann 9054e14232 removed unused variables 2013-11-18 11:22:09 +01:00
Jan Steemann 5d9cd13c4f issue #671: Method graph.measurement does not exist 2013-11-18 10:39:39 +01:00
Jan Steemann 018bbaa01d issue #671: Method graph.measurement does not exist 2013-11-18 10:28:09 +01:00
Jan Steemann 4b7b0cabd3 use skiplist index in byExample 2013-11-16 01:20:33 +01:00
Jan Steemann 9e78ab5af5 added NTH and POSITION 2013-11-04 18:24:03 +01:00
Lucas Dohmen d6efc0f052 Merge pull request #375 from triAGENS/graph-drop
Graph.drop should check if vertices are used more than once
2013-10-31 09:07:49 -07:00
Jan Steemann 33cf861bd4 fixed jslint warnings 2013-10-31 16:41:57 +01:00
Lucas Dohmen 7d7e014bfe Only drop vertices when dropping a graph if vertices aren't used
elsewhere
2013-10-31 16:41:49 +01:00
Lucas Dohmen 6049ef11fb Graph: Replace a given edge by ID 2013-10-31 15:16:58 +01:00
Lucas Dohmen 3da8d973f9 Graph: Also refresh the cache if the rev is different 2013-10-31 15:16:50 +01:00
Lucas Dohmen c7b5549b08 Graph Refactoring: Determination of ID pushed to Common 2013-10-31 12:30:14 +01:00
Lucas Dohmen 37b7630efb Code Style 2013-10-31 12:27:50 +01:00
Lucas Dohmen ea097f6192 Whitespace. 2013-10-31 12:14:03 +01:00
Jan Steemann e190076c29 allow dynamic parameters in DOCUMENT() 2013-10-30 16:19:24 +01:00
Jan Steemann 83866ba58b made AQL DOCUMENT function polymorphic 2013-10-30 16:19:14 +01:00
Jan Steemann e576ee5662 allow dynamic parameters in DOCUMENT() 2013-10-30 16:17:37 +01:00
Jan Steemann 73dd3f9185 made AQL DOCUMENT function polymorphic 2013-10-30 15:01:38 +01:00
Jan Steemann 2c434d3b20 added DOCUMENT_HANDLE function 2013-10-29 11:09:47 +01:00
Jan Steemann 3b18804ec6 potential fix for issue #622 2013-10-20 17:45:39 +02:00
Jan Steemann d71ee7ff6f fixed issue #615 2013-10-17 11:12:02 +02:00
Jan Steemann 9bb89bb654 fixed "error with AQL in user function" 2013-10-16 09:43:24 +02:00
gschwab 2f12a5fd8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-10-07 10:25:20 +02:00
gschwab 16f6e4bd30 multiple options allowed 2013-10-07 10:23:40 +02:00
Jan Steemann e5bde25f3b make source database name configurable for replication applier 2013-10-01 17:36:30 +02:00
Jan Steemann 674468b768 updated documentation 2013-09-30 13:43:20 +02:00
Jan Steemann 729bbc44f0 use per-database directories for Foxx apps 2013-09-30 10:57:29 +02:00
Jan Steemann fd9228d84b issue #595 2013-09-25 17:20:11 +02:00
Jan Steemann 8e627fd3fa updated documentation 2013-09-24 13:40:58 +02:00
Jan Steemann cbd2ed60f4 issue #564: better automatic mimetype detection for assets
also added possibility to override automatic detection with hard-coded value from manifest
2013-09-23 23:26:11 +02:00
Jan Steemann 324d7fab03 documentation 2013-09-23 17:49:25 +02:00
Jan Steemann fb22796acf issue #592 2013-09-23 17:24:14 +02:00
Jan Steemann 67f3c3c469 changed HTTP return code for not-found cursors 2013-09-23 15:29:03 +02:00
Jan Steemann 568ef4141c fixed manifest linting in dev mode 2013-09-23 13:41:47 +02:00
Jan Steemann 0587e80e3e fixed jslint warnings 2013-09-20 17:28:17 +02:00
Lucas Dohmen 6add03669b Foxx: Documentation of the new Model capabilities 2013-09-18 17:17:50 +02:00
Lucas Dohmen 5eed92d7a5 Foxx: Use defaults in models 2013-09-18 17:00:00 +02:00
Lucas Dohmen 0b89b92efa Foxx: Whitelist Attributes via Model Annotation 2013-09-18 16:22:00 +02:00
Lucas Dohmen efc5ee16dd Foxx: Provide the Model 2013-09-18 15:32:41 +02:00
Lucas Dohmen bac776ef17 Foxx: Little Refactoring 2013-09-18 14:38:59 +02:00
Lucas Dohmen f5a177932e Foxx: bodyParam 2013-09-18 14:28:24 +02:00
Lucas Dohmen 53746deca7 Foxx: Models can have a Schema now 2013-09-18 12:53:45 +02:00
Lucas Dohmen 43988bb3ae Foxx Repository: Save, Replace, ReplaceById return the model
For convenience, this is quite useful in some cases
2013-09-17 14:37:50 +02:00
Lucas Dohmen fba6c94671 Foxx Repository: replaceById 2013-09-17 14:19:06 +02:00
Jan Steemann 9eba5d4f7a unify collection names 2013-09-17 13:16:29 +02:00
Jan Steemann 0563ec380e fixed typo 2013-09-16 19:07:57 +02:00
Jan Steemann 25d7a3a0db issue #590 2013-09-16 19:02:10 +02:00
Jan Steemann 0318948d35 issue #590: check a manifest and print proper errors 2013-09-16 18:55:59 +02:00
Lucas Dohmen 172307182d Foxx Repository: Updated Documentation for the new methods 2013-09-16 17:34:57 +02:00
Lucas Dohmen 0b83a9a9b0 Repository: Replace 2013-09-16 17:25:40 +02:00
Lucas Dohmen d8a8b9bd4e Foxx Repository: firstExample 2013-09-16 16:28:49 +02:00
Lucas Dohmen 7d432a8911 Foxx Repository: byExample 2013-09-16 16:23:07 +02:00
Lucas Dohmen bbcd9a152a Foxx Repository: byId (Test: Ugly) 2013-09-16 15:08:57 +02:00
Jan Steemann d23a8f352f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-16 13:51:56 +02:00
Jan Steemann 0bdae05b96 changed reference counting for cursors 2013-09-16 13:51:33 +02:00
Lucas Dohmen 709821e196 Foxx Repository: removeByExample 2013-09-16 13:28:52 +02:00
Lucas Dohmen b0661f8dc7 Foxx Repository: removeById 2013-09-16 13:28:51 +02:00
Lucas Dohmen 983212cc9d Foxx Repository: Save 2013-09-16 13:28:51 +02:00
Jan Steemann 64741f8a8d added test cases for endpoints 2013-09-13 14:07:30 +02:00
Jan Steemann a120a4dbe6 reverted name change for _graphs collection 2013-09-12 18:15:34 +02:00
Jan Steemann 5bc1e5ecea dropping databases, unfinished 2013-09-11 12:47:27 +02:00
Jan Steemann 803bd32ebc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-11 11:42:54 +02:00
Lucas Dohmen cabbaeafaf Foxx Repository: Changed API 2013-09-10 10:47:13 +02:00
Lucas Dohmen ad2013e5c4 Foxx: Model#set can now also set multiple attributes 2013-09-10 10:32:08 +02:00
Lucas Dohmen 3d88b57687 Foxx: Removed Repository#all 2013-09-09 14:21:06 +02:00
Lucas Dohmen 545e896e23 Foxx: Repository#save 2013-09-09 14:07:13 +02:00
Lucas Dohmen 768322e3b3 JSLint 2013-09-09 12:59:14 +02:00
Lucas Dohmen 7a7d972069 Foxx: Added the same for onlyIf and onlyIfAuthenticated 2013-09-09 12:20:28 +02:00
Lucas Dohmen 3e033be395 Crazy Refactoring 2013-09-09 12:13:47 +02:00
Lucas Dohmen 5cab0ab025 Foxx: Controller-wide errorResponse 2013-09-09 12:08:10 +02:00
Jan Steemann ac4ed728c0 renamed collection `_graphs` to `arangodb_graphs` 2013-09-09 11:07:10 +02:00
Lucas Dohmen ef6c905cc2 Foxx: Documentation Review 2013-09-09 09:47:23 +02:00
Jan Steemann b9fbbc85ea Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-05 12:43:17 +02:00
Jan Steemann 369433f1e2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/SimpleHttpClient/SimpleHttpClient.cpp
2013-09-05 12:34:45 +02:00
Frank Celler bbab760a54 renamed foxx-manager to foxx/manager 2013-09-05 10:02:31 +02:00
Lucas Dohmen 4f283d39f4 Foxx: Controller#register 2013-09-04 18:06:52 +02:00
Jan Steemann 3a4532cd71 fixed jslint warnings 2013-09-04 16:07:48 +02:00
Jan Steemann b4efb78f7c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-04 15:58:49 +02:00
Lucas Dohmen 69286b5742 Foxx: Foxx Transformer is now Foxx Preprocessor 2013-09-04 15:08:15 +02:00
Lucas Dohmen f5bbae992c Names 2013-09-04 14:15:25 +02:00
Lucas Dohmen 9c86586014 Var Rage 2013-09-04 14:14:55 +02:00
Lucas Dohmen d946c0fe59 Whitespace Rage 2013-09-04 14:05:41 +02:00
Lucas Dohmen 87c9175db6 Authentication Module – Signs of a Struggle 2013-09-04 13:56:05 +02:00
Lucas Dohmen 610f0ee4cb Pushing stuff down 2013-09-04 13:43:17 +02:00
Lucas Dohmen 34cade4344 Foxx: Pulling some stuff out of the Foxx Controller 2013-09-04 13:32:42 +02:00
Jan Steemann 42660cbb5a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-04 13:04:30 +02:00
Jan Steemann 897412b4de initial dropping of databases 2013-09-04 13:04:13 +02:00
Lucas Dohmen d1f7d25aa8 Foxx: Some refinements for `.login` and `.logout` 2013-09-04 13:01:56 +02:00
Lucas Dohmen d9213af5ec Foxx: Manifest File apps -> controllers [BREAKING CHANGE]
Adjusted to the new vocabulary
2013-09-04 11:12:09 +02:00
Lucas Dohmen afef07b425 Foxx: Foxx.Application is now Foxx.Controller [BREAKING CHANGE]
The naming was confusing, because Foxx Application had two meanings.
Now we are using the terminology used in MVC frameworks.
2013-09-04 10:43:39 +02:00
Frank Celler 65705428f1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-09-03 21:35:49 +02:00
Frank Celler bde36da436 fixed collection prefix 2013-09-03 21:35:43 +02:00
Lucas Dohmen d33c3974fd Foxx: onlyIf simplified 2013-09-03 17:50:34 +02:00
Lucas Dohmen e0ff2d6266 Foxx: Documentation for the existing auth functionality 2013-09-03 16:18:10 +02:00
Lucas Dohmen f7899bed83 Foxx: Authentication – first version for feedback 2013-09-03 12:11:22 +02:00
Jan Steemann bae9f097fc added _dropDatabase() 2013-09-02 18:04:19 +02:00
Jan Steemann 618499c2b1 adjusted client tools and documentation 2013-09-02 14:07:38 +02:00
Jan Steemann 42b8dfca49 added --server.database option for client tools 2013-09-02 13:02:53 +02:00
Jan Steemann 41acd59698 added _createDatabase(), _listDatabases() 2013-09-02 10:55:41 +02:00
Jan Steemann a590ba625a introduced Foxx::UnauthorizedError
assign auto-priority for before/after handlers
removed third parameter for before
2013-08-29 11:25:41 +02:00
Lucas Dohmen 142405c070 An Ode to Doxygen 2013-08-27 14:16:54 +02:00
Lucas Dohmen 8418235769 Foxx: Delegation from Repository to Collection
This also fixes the Doxygen ****
2013-08-27 12:55:16 +02:00
Lucas Dohmen b23138dbae Foxx: Documentation Fixed, now let's implement this stuff 2013-08-27 12:55:16 +02:00
Lucas Dohmen bc1f68b2ff Foxx: First Step to fix Documentation 2013-08-27 12:55:16 +02:00
Jan Steemann c903229468 small refactoring 2013-08-27 12:45:57 +02:00
Jan Steemann e6d8687250 added AQL MINUS function 2013-08-26 22:25:30 +02:00
Jan Steemann 4aea49e611 fix graph viewer in case one graph is broken 2013-08-21 14:49:49 +02:00
Jan Steemann d5a9fe3578 fixed some test fails 2013-08-19 19:46:22 +02:00
Jan Steemann 9f87ef5c17 fixed jslint warnings 2013-08-19 18:51:24 +02:00
Jan Steemann 9eb1752a7e use AQL LIMIT but still return the unlimited count value
Still needs documentation and tests
2013-08-19 18:41:00 +02:00
Thomas Richter 4d9fe423f4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-08-12 09:42:09 +02:00
Lucas Dohmen 57870f5037 Foxx: Preparing for model support
The `models` hash of a Foxx application is included in the output
for Swagger now.
2013-08-11 08:51:59 +02:00
Lucas Dohmen 503fa74b63 Foxx: Refinement of Query and Path Param methods 2013-08-11 08:51:59 +02:00
Lucas Dohmen 2924d49d60 Foxx: Don't log that an app was mounted in Devel Mode
Less noisy output.
2013-08-09 11:24:04 +02:00
Lucas Dohmen 92b99b8823 Foxx: Don't print `mounted dev app`
You can see which dev apps are mounted in aadvark (soon)
2013-08-09 11:04:20 +02:00
Lucas Dohmen 48858cbc84 Foxx: Repositories are easy now 2013-08-08 17:52:07 +02:00
Lucas Dohmen 94c971af9b Foxx: body and rawBody 2013-08-08 11:50:34 +02:00
Lucas Dohmen f0f95148e0 Foxx: Optional fourth parameter for errorHandler for ellaborate hackers 2013-08-08 11:28:09 +02:00
Lucas Dohmen bfb01c0986 Foxx: New Version of the errorResponse function 2013-08-08 11:28:09 +02:00
Frank Celler 487af3bc0d fixed (hacked) display of swagger for dev apps 2013-08-07 13:30:28 +02:00
Frank Celler 8ed7a0115b added transformation 2013-08-07 11:41:49 +02:00
Frank Celler ca15e530c0 fixed purge by id, added install from dir, setup 2013-08-06 19:49:06 +02:00
Lucas Dohmen 7eabb27254 Foxx: Use parsed comments as docs 2013-08-06 18:08:06 +02:00
Lucas Dohmen eeb8b60290 Foxx Manager: Provide the `comment` functionality on applicationContext 2013-08-06 16:40:41 +02:00
Lucas Dohmen 2a382abffa applicationContext, not appContext 2013-08-06 16:38:19 +02:00
Lucas Dohmen f0a2aeef4a Foxx: Source Code Transformer is done 2013-08-06 16:13:50 +02:00
Lucas Dohmen 43dcf6c64b Foxx: Separated the idea of documentation and the concept of annotation
Also making Swagger Docs swappable by putting it into its own class.
2013-08-06 10:21:39 +02:00
Lucas Dohmen 0f6009a3ba Foxx: Tear apart Foxx.Application 2013-08-05 20:10:28 +02:00
Lucas Dohmen 366e258ec7 Foxx: JSLint 2013-08-05 17:05:32 +02:00
Lucas Dohmen b374054740 Foxx: Format Middleware is now optional 2013-08-05 17:05:32 +02:00
Lucas Dohmen ac3cedda34 Foxx: Separating Templates entirely (Step 2) 2013-08-05 16:13:52 +02:00
Lucas Dohmen c9b48f13cd Foxx: Separating Template Middleware from Base, Step 1 2013-08-05 16:13:51 +02:00
Lucas Dohmen fc4b86507f Foxx: BaseMiddleware only used internal
If you really need it, you can require it directly
2013-08-05 16:13:51 +02:00
Lucas Dohmen b19d3c69fb Foxx: BaseMiddleware Tests pulled out 2013-08-05 16:13:51 +02:00
Lucas Dohmen b3dd4d7b59 Foxx: Model tests pulled out 2013-08-05 13:41:02 +02:00
Lucas Dohmen 6cef711a7b Foxx: Repository tests pulled out 2013-08-05 13:33:06 +02:00
Lucas Dohmen e34683c57c Foxx: Split into multiple sub modules 2013-08-05 12:45:22 +02:00
Lucas Dohmen 44936466fe Foxx: Review of the User Manual 2013-08-01 15:21:15 -04:00
Jan Steemann a7c5350455 added server-id method 2013-08-01 18:27:42 +02:00
Jan Steemann 461001efd2 split of initial and continuous sync, currently not working 2013-07-30 14:13:49 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann 6b5900e8e0 updated replication api 2013-07-30 09:54:39 +02:00
Jan Steemann e368ab7a71 fix doxygen errors 2013-07-29 13:17:16 +02:00
Jan Steemann 8d1cdad76a added updateSession 2013-07-29 11:33:39 +02:00
Jan Steemann 762e072ee8 allow different collection names 2013-07-28 16:29:53 +02:00
Jan Steemann 43bec2baf0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-28 16:02:30 +02:00
Jan Steemann ec6792e11e added authentication 2013-07-28 16:02:21 +02:00
Frank Celler f2586c4150 updated Foxx documentation 2013-07-28 13:59:01 +02:00
Frank Celler 5ebd14418d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-27 19:59:35 +02:00
Frank Celler e6acd403ac updated documentation 2013-07-27 19:59:28 +02:00
Jan Steemann 605f693df6 user management, not yet ready 2013-07-27 18:18:23 +02:00
Thomas Richter 5e7659ad65 merge 2013-07-27 15:14:51 +02:00
Frank Celler 8ee008f35e fixed actions for common prefix 2013-07-27 14:56:48 +02:00
Thomas Richter a564d1decd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-27 14:49:53 +02:00
Thomas Richter 56ec155df4 some remarks 2013-07-27 14:49:42 +02:00
Frank Celler f3e7b10e3a fixed overwrite of routes with same path 2013-07-27 14:26:30 +02:00
Frank Celler ae7bf284ef fixed overwrite of routes with same path 2013-07-27 14:22:37 +02:00
Frank Celler f2fde8a7d9 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-27 14:21:05 +02:00
Jan Steemann 834e37cbc9 fixed before/after 2013-07-27 14:20:26 +02:00
Frank Celler 79c9c51b88 fixed overwrite of routes with same path 2013-07-27 14:19:34 +02:00
Jan Steemann 2a30b068bf simplified options 2013-07-27 13:43:22 +02:00
Jan Steemann 9602d2ee3d make jslint happy 2013-07-27 00:29:26 +02:00
Frank Celler e662bbbffb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-27 00:03:22 +02:00
Frank Celler dc247ed1f8 fixed pathHandler and logging 2013-07-27 00:03:16 +02:00
Jan Steemann cc5ae9d1bc added purge() 2013-07-26 23:57:00 +02:00
Frank Celler caa9161d2f Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-26 23:10:13 +02:00
Frank Celler d4ae3d280a fixed wrong app id 2013-07-26 23:10:03 +02:00
Jan Steemann 3f3560a47d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 23:08:25 +02:00
Jan Steemann 1f6b554f6b fixed accessing undefined property 2013-07-26 23:08:12 +02:00
Frank Celler 5820afd507 merged 2013-07-26 23:01:22 +02:00
Frank Celler ebce19f792 merged 2013-07-26 22:52:52 +02:00
Frank Celler f5016a2ce9 cleanup 2013-07-26 22:46:53 +02:00
Jan Steemann 44d6aecef1 options 2013-07-26 20:05:55 +02:00
Jan Steemann 59a31d064a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 18:15:59 +02:00
Jan Steemann 7bba8fee24 fixed broken functions 2013-07-26 18:15:52 +02:00
Frank Celler 80a93cefc2 fixed missing prefix 2013-07-26 18:03:53 +02:00
Frank Celler 3be9f4627a Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-26 17:21:07 +02:00
Frank Celler ca2cfc35e3 removed unneccessary routing computation 2013-07-26 17:20:51 +02:00
Jan Steemann e7b592309e fixed invalid logging 2013-07-26 17:08:29 +02:00
Jan Steemann 1ba62f1a92 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 16:36:35 +02:00
Jan Steemann 26f4a467f0 system applications 2013-07-26 16:36:24 +02:00
Michael Hackstein c2cfce9bfd Fixed error message 2013-07-26 15:53:58 +02:00
Jan Steemann 528563caf1 improved output 2013-07-26 15:48:16 +02:00
Jan Steemann 916c1bc685 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 15:21:49 +02:00
Jan Steemann 1d0addcee0 jslint 2013-07-26 15:21:28 +02:00
Frank Celler 56215083e0 erge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-26 15:16:56 +02:00
Frank Celler 780ae83d58 fixed teardown 2013-07-26 15:16:50 +02:00
Jan Steemann e1b28a41a8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 15:15:40 +02:00
Michael Hackstein 4dbb2c5ab4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-26 15:14:41 +02:00
Michael Hackstein fab8ba533f The Foxx will now throw an error whenever a repository is created but no collection with the given name exists 2013-07-26 15:14:34 +02:00
Jan Steemann 5fa759a1e5 make jslint happy 2013-07-26 15:10:55 +02:00
Jan Steemann fc3df1aded Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-07-26 14:58:22 +02:00
Jan Steemann aa9209b888 fixed thumbnails 2013-07-26 14:46:33 +02:00
Frank Celler 52af46542e fixed missing argument 2013-07-26 14:42:43 +02:00
Frank Celler ee6c43e2a9 fixed context 2013-07-26 14:24:10 +02:00
Frank Celler fc96e7fe9c add uninstall 2013-07-26 13:47:22 +02:00
Frank Celler a708f7d585 better error handling 2013-07-26 12:36:12 +02:00
Jan Steemann 7e5fae6bee fixed jslint warning 2013-07-26 11:20:09 +02:00
Lucas Dohmen 8ec4887973 Foxx: No more nickname method – is set automatically
Happy hacking, @fceller, @mchacki and @jsteemann 😉
2013-07-25 22:27:10 +02:00
Lucas Dohmen 42c06b765c Foxx: toJSON splitted into forDB and forClient 2013-07-25 21:28:42 +02:00
Frank Celler 62b61ab12a fixed tests 2013-07-25 18:48:31 +02:00
Frank Celler 45aff333da Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-25 18:33:32 +02:00
Frank Celler 1b6dfad627 new name convention 2013-07-25 17:25:39 +02:00
Jan Steemann 95a0f9dfb4 added GET /_api/graph 2013-07-25 15:56:08 +02:00
Frank Celler c213c57837 added dev teardown and setup 2013-07-25 13:34:59 +02:00
Frank Celler 78809a5cc8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-25 10:05:17 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann bf12b6ec5a fixed journalSize 2013-07-23 11:57:56 +02:00
Jan Steemann f49ae77bc5 include replication tests 2013-07-23 11:19:41 +02:00
Frank Celler ee1ec3d43b better foxx support with global context 2013-07-21 12:10:54 +02:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann 2df87f01bb fixed jslint warnings 2013-07-18 12:51:57 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 5cf234b40d simplified query testing and query interface a bit 2013-07-18 02:15:22 +02:00
Jan Steemann 2582fbdf50 centralise AQL tests 2013-07-17 23:18:27 +02:00
Jan Steemann 252beb78c8 centralise AQL tests 2013-07-17 23:03:45 +02:00
Jan Steemann e1bf9b9a9e centralise AQL tests 2013-07-17 22:16:06 +02:00
Jan Steemann 66c9896e65 centralise AQL tests 2013-07-17 22:00:24 +02:00
Jan Steemann 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Jan Steemann 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Jan Steemann 1cac136bf6 issue #564 (partly): make default document configurable for Foxx apps
in the manifest file, you can now add the attribute "defaultDocument".
Setting it will override the default "index.html" default document name.
2013-07-01 11:59:10 +02:00
Lucas Dohmen 7e7a90753a Fixing the build (this time: Really)
Sorry, seems like I shouldn't code today 😊
2013-06-28 19:38:30 +02:00
Lucas Dohmen ef86205751 Code Review: Server Graph Module 2013-06-28 18:34:52 +02:00
Jan Steemann af39f069f5 added more tests for hash index queries 2013-06-26 16:50:52 +02:00
Jan Steemann c74c80d5ff allow bind parameters in db._query() 2013-06-21 17:13:51 +02:00
Jan Steemann fcf8ff1c47 blind commit to make the basePath for foxx assets dynamic 2013-06-20 14:02:09 +02:00
Lucas Dohmen f64c227b16 Graph Module: Even more in Graph Common 2013-06-19 17:09:19 +02:00
Lucas Dohmen 38327183e8 Graph Module: Edge almost entirely pulled into Common 2013-06-19 17:09:18 +02:00
a-brandt 71c5f89010 Added unittests for structures 2013-06-18 15:56:01 +02:00
Jan Steemann 7e53913744 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-14 18:58:27 +02:00
Lucas Dohmen c357fa1133 Pulled addVertex into Common + tiny style fixes 2013-06-14 10:13:17 +02:00
Jan Steemann 74872e4575 fixed error message 2013-06-13 16:08:42 +02:00
Jan Steemann 7d101890c7 speedup for KEYS() 2013-06-13 16:08:11 +02:00
Jan Steemann f1ed44dec9 fixed jslint errors 2013-06-13 15:05:30 +02:00
a-brandt 69fd2b5bb1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-13 10:48:45 +02:00
a-brandt 7d1097ac78 first version structure API 2013-06-13 10:48:34 +02:00
Jan Steemann 9599a021b9 moved some graph traversal validation into the traversal module
- that simplifies some of the traversal-calling routines
- make returning error codes more consistent (specific 404 errors when
referring to unknown collections instead of simple 400 errors)
- optionally limit traversals to a certain number of iterations so they
  don't run endlessly in cyclic graphs
2013-06-12 17:04:47 +02:00
Jan Steemann bb7445a547 fixed jslint warnings 2013-06-11 18:47:15 +02:00
a-brandt d9fc2a6c60 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
Jan Steemann e3275136cd allow incremental access to all documents from a collection out of AQL 2013-06-07 16:51:42 +02:00
Jan Steemann 3356055b64 derived files, jslint 2013-06-07 16:41:06 +02:00
Lucas Dohmen 567a548cff Tearing appart Graph#addEdge and fixing the build even harder 2013-06-07 14:56:08 +02:00
Jan Steemann 15f6f54f76 moved "use strict" inside functions 2013-06-07 14:20:57 +02:00
Lucas Dohmen 5aadaf1b99 Restructering Graph Module, fixing the build 2013-06-07 13:51:22 +02:00
Jan Steemann 54b0552dee use a stable sort in COLLECT 2013-06-06 16:56:39 +02:00
a-brandt 384b3c283c Merge branch 'devel' into multiple_databases 2013-06-04 13:07:06 +02:00
Jan Steemann 3a8ecd20e4 issue #550: Make AQL graph functions support key in addition to id 2013-06-04 11:37:41 +02:00
a-brandt 1c0578c2b5 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/VocBase/vocbase.c
	lib/HttpServer/ApplicationEndpointServer.cpp
	lib/HttpServer/ApplicationEndpointServer.h
	lib/HttpServer/HttpCommTask.h
	lib/HttpServer/HttpHandlerFactory.cpp
	lib/HttpServer/HttpHandlerFactory.h
	lib/Rest/HttpRequest.cpp
	lib/Rest/HttpRequest.h
2013-06-03 17:05:01 +02:00
Jan Steemann 4ab133685b descriptive error message 2013-05-23 22:02:55 +02:00
Jan Steemann bf1fbd9799 less-verbose error messages for several cases 2013-05-23 13:30:02 +02:00
Jan Steemann c2ff93e99d issue #531 (warning) 2013-05-17 14:58:22 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann aa4aaf6500 sort assets deterministically 2013-05-13 11:28:58 +02:00
Jan Steemann 841d7d7355 English 2013-05-10 14:06:15 +02:00
Frank Celler 193c598dee auto add aardvark 2013-05-10 10:59:43 +02:00
Jan Steemann c0dbfb4136 issue #517 2013-05-08 20:58:55 +02:00
Jan Steemann 8ad21ec2cf fixed cursor leak for very small batch sizes 2013-05-07 18:48:41 +02:00
Jan Steemann 3ac55bedbb issue #512: bind parameters for limit 2013-05-06 10:47:53 +02:00
Frank Celler 49b5507b73 fixed issue #489: Bug in aal.install
Conflicts:
	Makefile.in
2013-05-05 21:10:14 +02:00
Frank Celler f4d17c2045 added priority 2013-05-05 21:08:54 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Michael Hackstein 8692de7c40 Fixed a type in an error message 2013-05-02 09:39:01 +02:00
a-brandt 3ca514f3d1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-27 09:33:04 +02:00