1
0
Fork 0
Commit Graph

73 Commits

Author SHA1 Message Date
Jan Steemann 7cc7f2d28e added authentication tests, fixed authentication 2013-06-27 13:53:19 +02:00
Jan Steemann b3c8f6b19a addtl sleep to suppress some errors 2013-06-26 12:06:26 +02:00
Jan Steemann adfd051c92 added test for unloading 2013-06-24 13:55:51 +02:00
Jan Steemann ee2de60670 less syscalls in logging, do not use file-logging in tests
file-based logging creates a problem with Valgrind 3.8.1 for `make unittests-http-server VALGRIND=valgrind` on OpenSuse 64 bits, -O2
2013-06-21 16:05:58 +02:00
Lucas Dohmen b5982aa2aa Make it easier to exclude single Unit Tests
This change is tiny. But its lovely at the same time.
2013-06-14 10:13:17 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann 928d22eb98 remove temporary files 2013-05-03 18:30:53 +02:00
Jan Steemann 74cd7fc9ef enabled static codebase tests 2013-05-03 11:09:17 +02:00
Frank Celler c437c03aa5 fixed path for modules 2013-04-24 12:40:03 +02:00
Frank Celler d02d79ce1c added coffee-script 2013-04-21 22:57:19 +02:00
Frank Celler 5f0f9922f8 added node path 2013-04-21 22:16:06 +02:00
Jan Steemann 4d172c69d3 added test case 2013-04-17 09:31:30 +02:00
Jan Steemann dee5adb9f5 added client side API for transactions 2013-04-12 23:18:48 +02:00
Jan Steemann 5ff92dddb6 added test case 2013-04-12 15:45:28 +02:00
Jan Steemann b3e8313a5e added transaction test 2013-04-12 15:24:07 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Jan Steemann 1492118545 added test cases for "fs" module 2013-03-26 14:09:20 +01:00
Jan Steemann cddf9607d8 fixed paths 2013-03-23 16:02:14 +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
Jan Steemann acc3cdb0cf fixed Makefile 2013-03-21 10:09:31 +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 61af5f27da added startup option `--database.force-sync-properties` 2013-03-14 13:48:58 +01:00
Jan Steemann 836963ae00 less compaction 2013-03-12 18:17:27 +01:00
Frank Celler 257647be51 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-12 15:22:22 +01:00
Frank Celler d441b190db use skip list test only on server 2013-03-12 15:20:41 +01:00
Jan Steemann 70b9b5e305 added test 2013-03-12 14:52:18 +01:00
Frank Celler b83355a561 added test case for skip-list index 2013-03-12 13:40:13 +01:00
Jan Steemann a091a72ef2 added test 2013-03-11 15:24:11 +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 5f08de7bd3 fixed offset calculation for arangob 2013-03-06 17:27:23 +01:00
Jan Steemann ea8330257d added test case 2013-03-04 12:16:05 +01:00
Jan Steemann 4456f484b7 added crud test case to test suite 2013-03-01 18:14:26 +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
Jan Steemann fff3c3e7a1 removed `--eol` option for _arangoimp_ 2013-02-26 12:34:50 +01:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Jan Steemann ade0e5bea0 removed configure option --enable-arangob 2013-02-22 15:40:47 +01:00
Jan Steemann 5c2582591a add missing test for routing.js 2013-02-20 14:54:00 +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
Frank Celler adc3049a5f fixed relative tests 2013-02-15 13:40:19 +01:00
Jan Steemann afbc5da1de issue #395 2013-02-12 12:05:04 +01:00
Jan Steemann 2263e959fe added tests for cross-collection queries 2013-02-05 09:26:05 +01:00
Frank Celler cf76062167 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-01 10:53:29 +01:00
Frank Celler cd41e71b6b fixed trailing blanks 2013-02-01 10:53:05 +01:00
a-brandt 9b793d4b63 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-02-01 10:52:53 +01:00
a-brandt 0cb33c0397 test commit 2013-02-01 10:52:25 +01:00