1
0
Fork 0
Commit Graph

1433 Commits

Author SHA1 Message Date
Frank Celler 92b8ea6f0b splitted controller generator 2013-03-23 22:16:37 +01:00
Lucas Dohmen 4f43bed2f6 Foxx, special @fceller edition 2013-03-23 22:01:13 +01:00
Frank Celler 8b0c0c7662 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-internal.js
2013-03-23 21:58:44 +01:00
Frank Celler 44806229f7 fixed jslint errors 2013-03-23 21:57:33 +01:00
Jan Steemann d97954e466 unzip 2013-03-23 20:52:33 +01:00
Frank Celler c3cbf1d4cd fixed typo 2013-03-23 19:03:45 +01:00
Frank Celler 6c0785aa04 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 18:58:36 +01:00
Frank Celler 20f024bb30 added require 2013-03-23 18:58:22 +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
Lucas Dohmen 5427faf930 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 18:05:55 +01:00
Lucas Dohmen 6f15daf6b9 Fixing the tests by commenting them 2013-03-23 18:05:44 +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
Frank Celler 55da3b7de2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-23 16:42:59 +01:00
Frank Celler 4059f31170 return error message 2013-03-23 16:42:52 +01:00
Jan Steemann 4c3092e4fd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-23 16:02:35 +01:00
Jan Steemann cddf9607d8 fixed paths 2013-03-23 16:02:14 +01:00
Lucas Dohmen 0dd44d82aa Foxx: Added the params function 2013-03-23 16:01:21 +01:00
Jan Steemann 0d2fdcae58 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-fs.js
2013-03-23 14:36:45 +01:00
Jan Steemann 6cd509c8e5 added fs.isFile() 2013-03-23 14:27:10 +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
Frank Celler 07b087b8ef Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/common/modules/org/arangodb/foxx.js
	js/common/modules/org/arangodb/fuxx.js
	js/server/modules/org/arangodb/fuxx.js
2013-03-23 14:06:52 +01:00
Frank Celler 8a54df7419 added .arangosh.rc, added /_admin/execute 2013-03-23 14:04:08 +01:00
Lucas Dohmen 61ac216571 Low and behold, there is Foxx#start 2013-03-23 13:25:20 +01:00
Lucas Dohmen 5b2595fa56 Merge branch 'fuxx_vendor' into devel
Conflicts:
	UnitTests/Makefile.unittests
2013-03-23 12:41:25 +01:00
Frank Celler a8d5a06f57 added resetEngine 2013-03-22 18:09:01 +01:00
Frank Celler 38a5cf6a2d added development-mode 2013-03-22 17:33:25 +01:00
Frank Celler f5ef270d50 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup 2013-03-22 14:47:29 +01:00
Frank Celler 12f0c901e5 Merge branch 'devel' of github.com:triAGENS/ArangoDB into feature/v8cleanup
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangosh/V8Client/arangosh.cpp
2013-03-22 14:47:17 +01:00
Thomas Richter f14efc0278 swagger added 2013-03-22 12:21:55 +01:00
Jan Steemann 9b282ab74c some cleanup of transaction code 2013-03-21 18:54:38 +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 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 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 4799f3309d fixed ArangoStatement.explain() with bind variables 2013-03-20 16:52:25 +01:00
Jan Steemann a5b96c36f6 fixed misleading message "cursor has been disposed" when calling `count()` for a client-side cursor 2013-03-20 12:10:54 +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 00fbda082d fixed frontend bugs 2013-03-19 13:40:26 +01:00
Jan Steemann 8155718a4c new web interface 2013-03-19 10:33:23 +01:00
Jan Steemann 7917bc3462 increase wait time 2013-03-14 11:54:53 +01:00
Frank Celler 59184b39bd added update disclaimer for JS files 2013-03-13 17:30:14 +01:00
Michael Hackstein 83684d8c21 Edge Collections can now be created by giving the string edge as type 2013-03-13 13:45:32 +01:00
Jan Steemann 91c38f8425 delete temporary files on startup 2013-03-12 14:45:42 +01:00
Frank Celler b83355a561 added test case for skip-list index 2013-03-12 13:40:13 +01:00
Jan Steemann ac83bcf79b better report errors 2013-03-12 10:26:15 +01:00
a-brandt d4ea6bfa31 documentation updates 2013-03-11 13:01:17 +01:00
a-brandt 4f6fbd9cd3 added more tests 2013-03-11 10:53:37 +01:00
Frank Celler c915bfa5ff cleanup of indexes, fix for compaction (hash, cap, geo)
Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann 386b6ca004 removed unused option 2013-03-08 22:31:31 +01:00
Jan Steemann d6a6cc8b55 fixed jslint issue 2013-03-08 18:36:23 +01:00
Jan Steemann 1a7e6b2d5b colorize! 2013-03-08 18:36:11 +01:00
Jan Steemann 0206076fda stringifying collections should honor colors 2013-03-08 17:38:20 +01:00
a-brandt b3c9654895 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-08 17:00:33 +01:00
a-brandt 1f4685a17d #412 added If-None-Match, If-Match and waitForSync 2013-03-08 17:00:15 +01:00
a-brandt 14226be22a added link to graph collection 2013-03-08 16:57:09 +01:00
Jan Steemann e6c28d50b3 cleanup: removed TRI_HAVE_ICU and internal.HAVE_ICU (always true) 2013-03-08 16:09:47 +01:00
Jan Steemann 0769f311e7 issue #444: make colors portable 2013-03-08 15:25:18 +01:00
Jan Steemann 69fc6e1662 added test case 2013-03-08 14:38:08 +01:00
Jan Steemann 0a883f4076 merged some changes from trx branch into devel 2013-03-08 14:22:25 +01:00
a-brandt 4b2cac5ba0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-08 13:20:51 +01:00
Jan Steemann 2b97f97765 issue #212 2013-03-08 12:18:32 +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
a-brandt 841a5fab5c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-07 17:36:54 +01:00
a-brandt 3d398132cb added waitForSync 2013-03-07 17:36:48 +01:00
Jan Steemann e2c0d9544a fixed jslint errors 2013-03-07 17:35:12 +01:00
Jan Steemann 4e41e0def6 fixed arangosh printing "undefined" 2013-03-07 17:34:31 +01:00
Jan Steemann a4708f806b issue #441 2013-03-07 17:34:16 +01:00
Jan Steemann d93c0693d0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-06 14:33:40 +01:00
Jan Steemann bdf906ef89 fixed a memleak for barriers 2013-03-06 14:33:23 +01:00
a-brandt 82bf2bca17 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-06 14:06:07 +01:00
a-brandt 18c05bdac6 added session errors 2013-03-06 14:05:42 +01:00
Frank Celler 854f68ba9c added node modules 2013-03-06 11:40:43 +01:00
Frank Celler eedbd6e770 renamed to callback 2013-03-06 10:11:16 +01:00
Frank Celler 7abef532f4 fixed package module loading and directory.lib entry 2013-03-05 17:23:19 +01:00
a-brandt d4875c8afb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-05 16:20:37 +01:00
Lucas Dohmen 7861fc873a Codename: Frank.
Like Swordfish, but more classy.
2013-03-05 16:16:34 +01:00
Frank Celler dd15025c1c fixed tests, add missing prefix = false to statistics call 2013-03-05 13:32:58 +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 dca899101f fixed version number assertion 2013-03-04 09:06:08 +01:00
Frank Celler 4c5785187e Merge branch 'feature/statistics' into devel 2013-03-03 22:53:25 +01:00
Frank Celler d186c1ff45 fixed documentation 2013-03-03 22:50:35 +01:00
Frank Celler dd96bb4abd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-03 22:40:55 +01:00
Frank Celler 60037971dc rewrote statistics 2013-03-03 22:39:41 +01:00
Frank Celler f78dc0f5a6 added _admin/statistics and _admin/statistics-description 2013-03-01 13:40:49 +01:00
Jan Steemann 46a7f3e1a2 added AQL test case 2013-03-01 11:09:36 +01:00
Jan Steemann 6eaf3333de added tests 2013-02-28 11:05:02 +01:00
Jan Steemann 8ec5735418 added tests for SUM(), MEDIAN() etc. 2013-02-28 10:56:52 +01:00
Jan Steemann 14c3863a17 added tests for LEFT(), RIGHT() 2013-02-28 09:38:03 +01:00
Frank Celler 1e200d361a Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-27 14:40:37 +01:00
Frank Celler 1834f288ca Merge branch 'feature/npm-modules' into devel 2013-02-27 14:40:22 +01:00
Frank Celler eb8eafa4ef fixed global modules in packages 2013-02-27 14:39:07 +01:00
Jan Steemann 16586c6ee1 make AQL REVERSE() work on strings, too 2013-02-27 14:16:40 +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 3ef2ee9758 shut up jslint 2013-02-23 00:09:31 +01:00
Jan Steemann 4b1de6fa36 fixed typo in test name 2013-02-23 00:03:36 +01:00
Jan Steemann 13d1ff0057 issue #425 2013-02-22 23:43:52 +01:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Frank Celler 3af1f5c2e8 new documentation format for REST calls, hopefully allowing swagger.it like output 2013-02-22 21:36:11 +01:00
Jan Steemann f2e3ac9528 fixed doxygen errors 2013-02-22 08:56:52 +01:00
Jan Steemann 71e5014792 test for a simple route 2013-02-21 18:44:06 +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 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
Frank Celler 9246faf9db issue #370: add documentation for reloadRouting and flushServerModules 2013-02-21 13:33:03 +01:00
Frank Celler aec2fd2b86 added flush server module documentation 2013-02-21 13:09:04 +01:00
Jan Steemann 73505b0bf9 clone routes so the underlying collection can be unloaded 2013-02-20 18:55:25 +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
Oreste Panaia 8f18904ecb Merge branch '1.2' of https://github.com/triAGENS/ArangoDB into 1.2 2013-02-19 20:59:00 +08: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 e760627c83 closed issue #413
the problem seems to have been caused by issue #410
2013-02-18 16:46:24 +01:00
a-brandt 25882a3cd0 bugfix #410: Graph REST API returns "400:Bad request" instead of "404:Not found" 2013-02-18 09:28:03 +01:00
a-brandt 59bd0c54c3 bugfix #410: Graph REST API returns "400:Bad request" instead of "404:Not found" 2013-02-18 09:27:55 +01:00
Jan Steemann c96dfba3ff make jslint happy 2013-02-15 13:44:43 +01:00
Frank Celler cf2888b4fc Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
Conflicts:
	CHANGELOG
	Documentation/Manual/Upgrading12.md
	Installation/Linux/rc.arangod.OpenSuSE
2013-02-15 12:59:16 +01:00
Jan Steemann 68986e068e added optional parameter "excludeSystem" for GET /_api/collection 2013-02-14 16:57:39 +01:00
Jan Steemann 3e04acf3ee added AQL functions KEEP() and UNSET() 2013-02-14 16:14:22 +01:00
Jan Steemann 3d47748434 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-02-14 15:19:22 +01:00
a-brandt 4f244e9096 bugfix #396: Creating a Graph with an existing graph's name _key doesn't throw an error 2013-02-14 15:12:59 +01:00
a-brandt 46c5d66f8e bugfix #396: Creating a Graph with an existing graph's name _key doesn't throw an error 2013-02-14 15:12:11 +01:00
Jan Steemann 494586af2b exit arango-dfdb if there are no collections 2013-02-14 15:11:08 +01:00
Jan Steemann 4acd777b6c fixed jslint warnings 2013-02-14 11:40:14 +01:00
a-brandt 067a8d54fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-13 13:29:03 +01:00
a-brandt d6426107f3 dded PATCH to graph api 2013-02-13 13:28:24 +01:00