1
0
Fork 0
Commit Graph

292 Commits

Author SHA1 Message Date
Jan Steemann 08855d5990 added collection status "loading" 2013-10-29 22:35:07 +01:00
Jan Steemann 4c8e0db434 fixed typo in method name 2013-10-08 13:56:20 +02:00
Jan Steemann 3e85159700 jslintified 2013-09-16 18:55:47 +02:00
Lucas Dohmen 70c6b403b2 Pushed the constructor mocking to the module 2013-09-16 15:08:57 +02:00
Jan Steemann ca6244ccc5 jslintified 2013-09-16 13:54:33 +02:00
Lucas Dohmen 27f522aa03 expect docs 2013-09-16 13:28:52 +02:00
Lucas Dohmen 25b87ed3dc Mock: Take arguments instead of array 2013-09-16 13:28:52 +02:00
Lucas Dohmen ae8d0e2be2 expect with fluent interface 2013-09-16 13:28:51 +02:00
Lucas Dohmen 2301cdc930 Converted allow to fluent interface 2013-09-16 13:28:51 +02:00
Lucas Dohmen c1bf1b1d11 Moved stub_and_mock to its own module 2013-09-16 13:28:51 +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
Jan Steemann 897412b4de initial dropping of databases 2013-09-04 13:04:13 +02:00
Jan Steemann bae9f097fc added _dropDatabase() 2013-09-02 18:04:19 +02:00
Jan Steemann 5056512a37 mimetypes for fonts 2013-08-20 10:03:38 +02:00
Jan Steemann ec1a18aac5 fixed jslint warnings 2013-08-19 18:59:22 +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
Frank Celler 8ed7a0115b added transformation 2013-08-07 11:41:49 +02:00
Frank Celler f5016a2ce9 cleanup 2013-07-26 22:46:53 +02:00
Jan Steemann 94051a74c3 return error code from foxx-manager 2013-07-26 14:58:03 +02:00
Jan Steemann aa9209b888 fixed thumbnails 2013-07-26 14:46:33 +02:00
Jan Steemann 4dfdb13d4d improved tabular output 2013-07-26 13:03:59 +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 9d2a016c5b make jslint happy 2013-07-01 15:50:51 +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 ccf56dd702 Fix the build 2013-06-28 18:34:26 +02:00
Lucas Dohmen 79a6772667 Code Review: Common Graph Module 2013-06-28 18:14:23 +02:00
Jan Steemann 93f7122099 added missing count() method for server-side cursor 2013-06-24 13:50:03 +02:00
Lucas Dohmen f64c227b16 Graph Module: Even more in Graph Common 2013-06-19 17:09:19 +02:00
Lucas Dohmen 6a84d4726b Graph Module: Pulled Iterator into Common
Also adjusted it to be useful for the Server Side.
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
Lucas Dohmen 294b31e839 Further Refactoring of GraphCommon 2013-06-14 10:13:17 +02:00
Lucas Dohmen c357fa1133 Pulled addVertex into Common + tiny style fixes 2013-06-14 10:13:17 +02:00
Lucas Dohmen a81a0f0728 Tiny Refactoring of GraphCommon 2013-06-14 10:11:19 +02:00
Lucas Dohmen 222db29812 More functionality for the tiny is.x library 2013-06-14 10:11:19 +02:00
Jan Steemann b1bc9b3285 adjust traversal docs and examples 2013-06-13 13:06:48 +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
Lucas Dohmen 567a548cff Tearing appart Graph#addEdge and fixing the build even harder 2013-06-07 14:56:08 +02:00
Jan Steemann fe26fa593e jslint 2013-06-07 14:20:50 +02:00
Lucas Dohmen 5aadaf1b99 Restructering Graph Module, fixing the build 2013-06-07 13:51:22 +02:00
Lucas Dohmen 8e27de26a7 Fix for #546 2013-06-07 10:19:37 +02:00
Jan Steemann c2ff93e99d issue #531 (warning) 2013-05-17 14:58:22 +02:00
Jan Steemann ede177aa55 issue #507, issue #508 2013-05-06 09:40:28 +02:00
Jan Steemann eef611b1da fixed some compiler & jslint warnings 2013-05-03 11:09:45 +02:00
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +02:00
Frank Celler 7bfce45ece added more node modules 2013-04-21 22:00:54 +02:00
Jan Steemann 7d9777f8c5 extended API for user-defined AQL functions 2013-04-16 18:32:19 +02:00
Jan Steemann 15026e9a96 fixed examples 2013-04-16 16:16:28 +02:00
Jan Steemann 997c14e032 fixed jslint warnings 2013-04-11 20:24:09 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
Frank Celler b71f31bcbb fixed wrong error message 2013-04-06 23:43:25 +02:00
Frank Celler 71bf83be1b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-05 13:25:04 +02:00
Frank Celler 0ea88d8ebf use different sandbox 2013-04-05 13:24:55 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Frank Celler 0c1e20cb1b fixed wrong import 2013-04-02 18:28:35 +02:00
Frank Celler 3512fa6ff0 fixed error handling 2013-04-02 15:00:55 +02:00
Frank Celler 7def1cf29f Merge remote-tracking branch 'origin/feature/commonjs' into devel
Conflicts:
	apps/aardvark/manifest.json
	apps/aardvark/manifestComplete.json
	etc/arangodb/arangod.conf.in
	etc/relative/arangod.conf
	html/admin/js/bootstrap/module-internal.js
	js/apps/aardvark/assets/collections/foxxCollection.js
	js/apps/aardvark/assets/index.html
	js/apps/aardvark/assets/lib/backbone.js
	js/apps/aardvark/assets/lib/jquery.js
	js/apps/aardvark/assets/lib/underscore.js
	js/apps/aardvark/assets/models/foxx.js
	js/apps/aardvark/assets/views/foxxListView.js
	js/apps/aardvark/assets/views/foxxView.js
	js/apps/aardvark/index.html
	js/apps/aardvark/manifest.json
	js/common/bootstrap/module-internal.js
2013-03-31 12:46:16 +02:00
Frank Celler 1467b78676 cleanup of internal, fs, console 2013-03-31 00:10:48 +01:00
Lucas Dohmen f1b5f20fab Foxx: Also using ArangoDB Mimetype Lookup for the other way around 2013-03-28 14:01:04 +01:00
Jan Steemann b04c33f1ec generate reverse map of mimetypes 2013-03-28 13:48:57 +01:00
Lucas Dohmen 8261a46577 Added a Mimetype 2013-03-28 13:25:30 +01:00
Jan Steemann 7a70cb3ed3 use property 2013-03-27 10:43:58 +01:00
Jan Steemann 59b6ef99ae finalised mimetypes 2013-03-27 10:38:34 +01:00
Jan Steemann 3fd4fd984b mimetypes w/ charsets 2013-03-27 10:31:30 +01:00
Jan Steemann 909c316e22 added mimetype generation file 2013-03-27 10:11:56 +01:00
Frank Celler 557184631d more fox-manager, added files section 2013-03-26 13:58:00 +01:00
Frank Celler 0f6e48a38b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/server/modules/org/arangodb/foxx.js
2013-03-26 10:01:39 +01:00
Jan Steemann 0e6c21e4e7 removed NEW_BORN collection status in server 2013-03-25 15:51:42 +01:00
Frank Celler 877066392e foxx manager cleanup 2013-03-25 14:10:10 +01:00
Frank Celler e3de563668 requiresLibs and requiresModels 2013-03-24 15:03:01 +01:00
Lucas Dohmen 44a97317ba Fuxx: We now always need an urlPrefix 2013-03-24 13:27:31 +01:00
Lucas Dohmen 9c9739af80 Foxx: Fixed the JSLint errors caused by @fceller 2013-03-24 13:15:55 +01:00
Lucas Dohmen 4bded1da55 Foxx: Fix for the Frank 2013-03-24 13:13:57 +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 34477c290e added installApp 2013-03-24 12:35:43 +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 8cca06127c moved .dox to .md 2013-02-09 13:15:28 +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 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