1
0
Fork 0
Commit Graph

352 Commits

Author SHA1 Message Date
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 34477c290e added installApp 2013-03-24 12:35:43 +01:00
Frank Celler bc0d1180fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/client/modules/org/arangodb/foxx.js
	js/common/bootstrap/module-internal.js
2013-03-24 10:45:26 +01:00
Jan Steemann 2c279d9c4f fixed jslint errors 2013-03-24 01:14:58 +01:00
Frank Celler 4ccee5fe61 Merge remote-tracking branch 'origin/devel' into devel
Conflicts:
	js/common/modules/org/arangodb/foxx.js
2013-03-23 23:48:48 +01:00
Lucas Dohmen 4f43bed2f6 Foxx, special @fceller edition 2013-03-23 22:01:13 +01:00
Frank Celler 44806229f7 fixed jslint errors 2013-03-23 21:57:33 +01:00
Lucas Dohmen 9971a4bfb5 Ohhhhh. 2013-03-23 18:49:02 +01:00
Lucas Dohmen 5e0da254f3 Oh man... Strings. 2013-03-23 18:34:59 +01:00
Lucas Dohmen af07fdf6ad Fix? 2013-03-23 18:11:24 +01:00
Frank Celler 8012a23744 added foxx api 2013-03-23 17:09:26 +01:00
Lucas Dohmen 0f2cfa75c6 Reality. 2013-03-23 16:53:46 +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 abb2ed0476 Always use strict. 2013-03-23 14:09:59 +01:00
Lucas Dohmen 61ac216571 Low and behold, there is Foxx#start 2013-03-23 13:25:20 +01:00
Lucas Dohmen ef8e467420 Foxx: Code Style 2013-03-21 12:36:28 +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 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 6d0adcbd39 Fuxx: Adjusted the JSLint statement
There were 50% too many globals.
Dude.
You know...
What if everyone did that?
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 c926955541 Frank: Some clarifications about Request and Response. 2013-03-21 09:41:42 +01:00
Lucas Dohmen 915b9e9f8d Frank: Documenting Frank like I'm a Pythonista
Run Docco on it, and you will see a beautiful
documentation.
2013-03-21 09:41:34 +01:00
Lucas Dohmen 87c5638e41 Frank: Adjusting to the correct syntax for Function Actions 2013-03-21 09:41:34 +01:00
Lucas Dohmen 7c4ca742e2 Frank is no longer sloppy and doesn't like plusplus
* He's classy. Classy doesn't go with sloppy.
* No plusplus in here
2013-03-21 09:40:59 +01:00
Jan Steemann 0206076fda stringifying collections should honor colors 2013-03-08 17:38:20 +01:00
Jan Steemann a4708f806b issue #441 2013-03-07 17:34:16 +01:00
Lucas Dohmen 7861fc873a Codename: Frank.
Like Swordfish, but more classy.
2013-03-05 16:16:34 +01:00
a-brandt e41847c336 moved random generators and nonce functions to internal and crypto module 2013-03-04 16:18:00 +01:00
Jan Steemann f2e3ac9528 fixed doxygen errors 2013-02-22 08:56:52 +01:00
Jan Steemann 3e095ab0d0 split users module in client- and server-specific parts 2013-02-21 17:41:38 +01:00
Jan Steemann 35f6b3f054 fix cloning 2013-02-21 15:12:50 +01:00
Frank Celler 36da27ac6f Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	Documentation/DbaManual/Authentication.md
	Documentation/DbaManual/UserManagementTOC.md
	js/common/modules/org/arangodb/users.js
2013-02-20 13:52:20 +01:00
Frank Celler a259580989 documentation cleanup 2013-02-20 13:47:28 +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
Jan Steemann d1edc4ddb2 added replaceByExample() and updateByExample() methods
added optional "limit" parameter for removeByExample() method
2013-02-19 11:38:55 +01:00
Frank Celler 3f9869ab27 fixed issue #350: XMLMISSING in wiki references 2013-02-10 16:11:35 +01:00
Frank Celler 9bf9862f2b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-09 13:15:34 +01:00
Frank Celler 8cca06127c moved .dox to .md 2013-02-09 13:15:28 +01:00
a-brandt 7c0dd75415 use colors in jsunity tests 2013-02-08 15:40:34 +01:00
Jan Steemann a4eb737dbe fixed some jslint warnings 2013-02-06 11:46:59 +01:00
Jan Steemann cae80dfa45 applied Franks fix 2013-02-05 14:08:25 +01:00
Jan Steemann b451fd5f0a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-02-04 23:05:42 +01:00
Frank Celler 31baa7ae70 added GraphArray to make calls easier - no map needed 2013-02-02 15:57:03 +01:00
Jan Steemann f9c14611a4 remove tabs 2013-02-01 15:46:27 +01:00
Frank Celler 695303e432 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-01 10:52:24 +01:00
Frank Celler 4466ccc06a cosmetics 2013-01-31 13:52:41 +01:00
Jan Steemann d43e9b89ca issue #381: lifted restrictions on usernames 2013-01-31 13:20:39 +01:00
Frank Celler b10154ff25 fixed jslint 2013-01-30 09:48:42 +01:00
Frank Celler 62e00c81bf fixed traversal to be independent of vertex/edge structure 2013-01-29 17:49:23 +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
Frank Celler 5620f8aa4d moved to server 2013-01-28 17:08:17 +01:00
Jan Steemann b3d5217f57 removed tabs 2013-01-28 13:56:08 +01:00
Jan Steemann 64377fb161 honor waitForSync parameter from arangosh, too 2013-01-25 11:47:43 +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 4b433a511a added followEdges property for AQL TRAVERSE() function 2013-01-23 11:28:33 +01:00
Jan Steemann 7c5203cfea added documentation and test cases for db.collection.removeByExample 2013-01-22 19:20:11 +01:00
Jan Steemann 33d5abbd91 comments 2013-01-21 13:58:23 +01:00
Jan Steemann 1788f54cce fixed a doxygen error 2013-01-18 18:33:45 +01:00
Jan Steemann ac9360eb36 fixed doxygen errors 2013-01-18 17:42:56 +01:00
Frank Celler dab85633dd fixed WeakDictionary 2013-01-18 13:27:40 +01:00
Jan Steemann a0251be088 fixed wrong usage of ArangoError 2013-01-18 10:27:12 +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 edef5feacc fixed tests 2013-01-17 23:45:19 +01:00
Frank Celler 159f613169 more cleanup 2013-01-17 18:24:58 +01:00
Frank Celler 13427c454c more cleanup 2013-01-17 17:12:31 +01:00
Frank Celler 3c21a87366 more cleanup 2013-01-17 16:01:15 +01:00
Frank Celler 632b9bc430 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-17 10:30:48 +01:00
Frank Celler 250726ca00 reorganisation of modules 2013-01-17 10:30:35 +01:00
Jan Steemann c73cf43874 tests 2013-01-16 18:39:08 +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
a-brandt f1f6eca036 changed the graph document 2013-01-15 17:28:22 +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 c175c73f97 added some missing changes 2013-01-15 14:07:16 +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 a91d92917e Added follow edges with labels 2013-01-14 01:02:47 +01:00
Jan Steemann 6acc85389c fixed "any" traversal 2013-01-13 23:56:28 +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
Jan Steemann b42212e559 removed "redeclaration of bind parameter" 2013-01-13 23:25:27 +01:00
Jan Steemann 0ce59432e0 edge & vertex uniqueness for TRAVERSE 2013-01-13 22:56:14 +01:00
Jan Steemann a2373b7036 added any expander 2013-01-13 14:53:26 +01:00
Michael Hackstein cc2df18db8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-13 14:44:25 +01:00
Michael Hackstein ebec929394 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-13 13:52:02 +01:00
Michael Hackstein 8bb5096e42 First version of expand graphs by labels 2013-01-13 13:51:46 +01:00
Frank Celler bad4c293ad Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-13 13:50:51 +01:00
Jan Steemann 8bf8a733a2 added traversal function 2013-01-13 13:48:23 +01:00
Frank Celler fe3e4e5b24 cosmetic changes 2013-01-13 12:40:22 +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
Jan Steemann 196e3872b6 fixed a bug width non-expanded nodes 2013-01-11 14:57:31 +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 2e6c075405 added getPeerVertex 2013-01-10 15:12:05 +01:00
Frank Celler 1612f22319 moved graph to org/arangodb/graph 2013-01-09 22:49:56 +01:00
Frank Celler 128cb67c8b Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	Documentation/Examples/shell-read-document-bad-handle
	Makefile.in
	arangod/Documentation/shell-document.dox
	configure
	js/actions/system/api-collection.js
	js/actions/system/api-index.js
	js/actions/system/api-system.js
	js/common/bootstrap/modules.js
	js/common/bootstrap/print.js
	js/server/ArangoCollection.js
	lib/V8/v8-utils.cpp
2013-01-09 15:30:21 +01:00
Frank Celler fb881581e1 fixed GUI 2013-01-06 01:31:32 +01:00
Frank Celler 337cee7606 fixed jslint warnings 2013-01-05 23:59:44 +01:00
Frank Celler 7be1c01bda removed linked in JavaScript code, separate files for 'fs' and 'console' 2013-01-05 23:24:10 +01:00
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