Jan Steemann
a7c5350455
added server-id method
2013-08-01 18:27:42 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
c2611f567a
bugfixed cap constraint
2013-08-01 13:17:38 +02:00
Jan Steemann
002ebd48bc
removed all replication conditionals
2013-07-30 13:16:37 +02:00
Jan Steemann
a19530c57c
attempt to fix failing tests
2013-07-29 09:21:27 +02:00
Jan Steemann
68a1cac6f2
added fm tests
2013-07-27 00:52:28 +02:00
Jan Steemann
6d4a58e625
generate foxx-manager man page
2013-07-26 22:46:58 +02:00
Jan Steemann
3b57e80241
simplified HTTP import API
2013-07-25 18:24:21 +02:00
Jan Steemann
9de2910717
updated replication documentation
2013-07-25 16:32:11 +02:00
Jan Steemann
aa9845d1bd
fixed graph test
2013-07-25 16:31:37 +02:00
Jan Steemann
8a254ea230
replication API documentation
2013-07-24 17:37:16 +02:00
Jan Steemann
4f14062d10
replication tests
2013-07-24 15:22:45 +02:00
Jan Steemann
0adbe8410f
log "rev"
2013-07-23 18:00:29 +02:00
Jan Steemann
5fe1844ee1
replication tests
2013-07-23 15:03:59 +02:00
Jan Steemann
f49ae77bc5
include replication tests
2013-07-23 11:19:41 +02:00
Jan Steemann
c4f82088dd
replication tests
2013-07-22 18:12:56 +02:00
Jan Steemann
3ab117de67
added collection.first() and collection.last()
2013-07-19 14:21:46 +02:00
Lucas Dohmen
42eae4dea4
Better Structure for Makefile Unittests
2013-07-19 10:55:37 +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
ca6b184286
added TRI_JSON_STRING_REFERENCE
2013-07-10 17:00:29 +02:00
Jan Steemann
3cc4405c18
added collection.checksum()
2013-07-10 11:10:00 +02:00
Jan Steemann
4c952ad927
added unit tests
2013-07-09 12:32:47 +02:00
Jan Steemann
a07d2ea011
replication
2013-07-05 12:12:38 +02:00
Jan Steemann
bb86a0b2d5
speed up simple queries testing
2013-06-28 09:54:20 +02:00
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
db50b38370
fixed typos
2013-06-25 09:06:20 +02:00
Jan Steemann
adfd051c92
added test for unloading
2013-06-24 13:55:51 +02:00
Jan Steemann
373639a3b6
increase unittest timeout
2013-06-21 17:11:20 +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
Jan Steemann
cae82f27e4
added `/_api/current-database`
2013-06-21 10:25:15 +02:00
Jan Steemann
9dfb7483ff
"doCompact" attribute for collections
2013-06-19 16:51:16 +02:00
a-brandt
71c5f89010
Added unittests for structures
2013-06-18 15:56:01 +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
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
Jan Steemann
212117d3b4
graph traversal API tests
2013-06-12 15:25:35 +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
c7d2f8f8cd
some json / shaped-json and string handling improvements
2013-05-13 09:01:07 +02:00
Jan Steemann
ede177aa55
issue #507 , issue #508
2013-05-06 09:40:28 +02:00
Frank Celler
01d654e923
fixed https version of test
2013-05-05 23:34:02 +02:00
Frank Celler
48515d7bd8
fixed tests
2013-05-05 21:55:10 +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
Jan Steemann
ee7ab712d6
issue #495
2013-05-03 11:08:58 +02:00
Jan Steemann
ef1fcc89ee
added test case for #491
2013-05-02 16:26:40 +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
cd17f1ef44
issue #481
2013-04-21 11:37:46 +02:00
Jan Steemann
4d172c69d3
added test case
2013-04-17 09:31:30 +02:00
Jan Steemann
7d9777f8c5
extended API for user-defined AQL functions
2013-04-16 18:32:19 +02:00
Jan Steemann
c945dbd2cd
updated transaction API
2013-04-15 11:54:36 +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
f7a5cf4cf3
transactions
2013-04-03 14:40:23 +02:00
Frank Celler
f810711a79
FreeBSD port
2013-04-02 18:43:10 +02:00
Frank Celler
3512fa6ff0
fixed error handling
2013-04-02 15:00:55 +02:00
Jan Steemann
55c1134702
replaced error code 9
2013-03-26 18:03:03 +01:00
Jan Steemann
6d82d45859
adjusted tests after Franks changes
2013-03-26 17:58:09 +01: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
5b2595fa56
Merge branch 'fuxx_vendor' into devel
...
Conflicts:
UnitTests/Makefile.unittests
2013-03-23 12:41:25 +01:00
Frank Celler
38a5cf6a2d
added development-mode
2013-03-22 17:33:25 +01:00
Jan Steemann
69db58a154
index cleanup
2013-03-22 10:38:47 +01:00
Jan Steemann
bc7bd149c5
initial transaction tests
2013-03-21 18:55:24 +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
d54078390d
fixed failing test
2013-03-19 14:57:11 +01:00
Jan Steemann
99522ccb84
switch order of insertion into indexes & datafile for updates
...
updates are now done in the indexes first, then written to the datafile
2013-03-18 13:03:05 +01:00
Jan Steemann
61af5f27da
added startup option `--database.force-sync-properties`
2013-03-14 13:48:58 +01:00
a-brandt
b2703d4a49
fixed unittest
2013-03-13 14:46:55 +01:00
Jan Steemann
555a09e02c
removed unused variable
2013-03-12 18:17:41 +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
8ddf718c81
more detailed logging
2013-03-11 13:41:39 +01:00
a-brandt
4f6fbd9cd3
added more tests
2013-03-11 10:53:37 +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
e952b28aab
changed http return codes for document update and delete
2013-03-08 16:56:15 +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
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
Frank Celler
dd15025c1c
fixed tests, add missing prefix = false to statistics call
2013-03-05 13:32:58 +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
Jan Steemann
f32e5811d4
increase the http unittest timeout to make all tests pass even with Valgrind
2013-03-01 11:32:52 +01:00
Jan Steemann
47bce0a0b4
issue #436
2013-02-27 14:47:05 +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