1
0
Fork 0
Commit Graph

1269 Commits

Author SHA1 Message Date
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 eedbd6e770 renamed to callback 2013-03-06 10:11:16 +01:00
a-brandt d4875c8afb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-05 16:20:37 +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