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
Jan Steemann
fff3c3e7a1
removed `--eol` option for _arangoimp_
2013-02-26 12:34:50 +01:00
Jan Steemann
ebc653a0bd
issue #435
2013-02-26 12:11:13 +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
Jan Steemann
ade0e5bea0
removed configure option --enable-arangob
2013-02-22 15:40:47 +01:00
Jan Steemann
60349edaed
fix for routing reload
2013-02-21 18:52:02 +01:00
Jan Steemann
71e5014792
test for a simple route
2013-02-21 18:44:06 +01:00
Jan Steemann
a10c139039
added tests for /_admin/echo and thus req.url
2013-02-21 17:57:22 +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
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
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
e2cc3eef12
added gcc-specific pragma for a test
2013-02-18 14:09:37 +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
Jan Steemann
f675bdc7dd
fixed typo
2013-02-15 15:14:59 +01:00
Frank Celler
adc3049a5f
fixed relative tests
2013-02-15 13:40:19 +01:00
Jan Steemann
68986e068e
added optional parameter "excludeSystem" for GET /_api/collection
2013-02-14 16:57:39 +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
72fea38943
fix compile warnings
2013-02-13 22:20:04 +01:00
Frank Celler
e37c0c1d21
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-13 14:34:00 +01:00
Frank Celler
d2fb159fac
added tests for offsets
2013-02-13 14:33:52 +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
Jan Steemann
332da75bcb
fixed invalid number to string conversion for edge cases
2013-02-13 11:35:34 +01:00
Jan Steemann
0f29e2b7dd
pass request body to user-defined PATCH action
2013-02-12 18:17:07 +01:00
a-brandt
cce1e6bc02
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-12 13:28:20 +01:00
a-brandt
01729482ad
fixed wrong http return code
2013-02-12 12:55:38 +01:00
Jan Steemann
e02333a053
issue #395
2013-02-12 12:01:20 +01:00
Jan Steemann
861a2e6b25
issue #395
2013-02-12 11:46:55 +01:00
Jan Steemann
24a64efa94
fix tests
2013-02-06 12:40:00 +01:00
Jan Steemann
c2a3f221f8
do not use start_with in rspec. Travis doesn't have it
2013-02-06 12:10:12 +01:00
Jan Steemann
2263e959fe
added tests for cross-collection queries
2013-02-05 09:26:05 +01:00
Jan Steemann
577941bf23
unify collection names returned by ArangoDB
2013-02-04 23:04:56 +01:00
Jan Steemann
923027bfdd
unify collection names returned by rest API
2013-02-04 19:52:05 +01:00
Jan Steemann
de0b290bcd
moved AQL to use AhuacatlTransaction
2013-02-04 11:25:03 +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
Jan Steemann
addb1650ac
test again
2013-02-01 10:43:07 +01:00
Jan Steemann
043a2eb080
test
2013-02-01 10:40:55 +01:00
Jan Steemann
e788dcbd51
test
2013-02-01 10:37:15 +01:00
Jan Steemann
57c4abe4b3
test
2013-02-01 10:35:15 +01:00
Jan Steemann
ee312168a4
test commit hook
2013-01-31 10:22:14 +01:00
Jan Steemann
92799dce6e
commit hook test
2013-01-31 10:20:12 +01:00
Jan Steemann
04ee266b94
commit hook test
2013-01-31 10:19:01 +01:00
Jan Steemann
843453a76c
test for infinite values to prevent endless while loops in number value printing
2013-01-30 19:26:43 +01:00
Jan Steemann
4f90c6d35a
added test case for dfdb startup
2013-01-30 13:12:53 +01:00
Frank Celler
62e00c81bf
fixed traversal to be independent of vertex/edge structure
2013-01-29 17:49:23 +01:00
Jan Steemann
e38a795ff6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-29 14:32:52 +01:00
Jan Steemann
ae9aa990f3
issue #358 : fixed credentialing in CORS-non-preflight requests, fixed CORS keep-alive issue
2013-01-29 14:32:10 +01:00
Jan Steemann
7bcb421fbc
additional tests
2013-01-29 14:28:18 +01:00
a-brandt
0bc71a226d
deleted api for blueprints
2013-01-29 13:44:31 +01:00
Jan Steemann
33e6ac6a7c
adjusted test cases
2013-01-29 10:36:40 +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
Jan Steemann
fff70a8de3
removed tabs
2013-01-28 14:38:16 +01:00
Jan Steemann
57403527a9
issue #374
2013-01-28 11:26:58 +01:00
Jan Steemann
085c03609f
issue #358
2013-01-28 09:49:35 +01:00
Jan Steemann
b30f5bde68
issue #358 : added support for CORS
2013-01-26 03:50:28 +01:00
a-brandt
1666daa7b3
added "limit" filter
2013-01-25 14:43:17 +01:00
Jan Steemann
2cab878e56
added some very basic test cases for TRI_associative_synced_t
2013-01-25 10:34:32 +01:00
Jan Steemann
17530a5e45
added number of shapes in return value of figures()
2013-01-25 10:19:02 +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
Frank Celler
cc6644df6d
added : to allowed characters in keys
2013-01-22 16:07:10 +01:00
Jan Steemann
59c3dac151
added comment
2013-01-21 13:46:49 +01:00
Jan Steemann
ba44906c24
fixed insertion into primary index when there were deleted documents
2013-01-21 12:05:03 +01:00
Jan Steemann
765f0670af
added tests for collection.revision()
2013-01-21 10:17:31 +01:00
Jan Steemann
3e58bbebe9
added test for edge marker size
2013-01-18 17:10:12 +01:00
Jan Steemann
9a003247d0
removed the _bidirectional attribute for edges
...
This will be reimplemented later on collection, and not on individual edges level.
Lucas & the others were sure directed & undirected edges should not be mixed in the same collection
2013-01-18 17:02:30 +01:00
Jan Steemann
e1f9e21e36
fixed broken test
2013-01-18 13:35:31 +01:00
Jan Steemann
bbade8c0b8
removed the non-working indexSubstrings property for fulltext indexing
2013-01-17 15:58:28 +01:00
Jan Steemann
913480e881
make revision ids strings so they do not clip in clients that do not support 64 bit integers
2013-01-17 15:02:55 +01:00
Jan Steemann
e963f104d8
split collection tests into 2 files
2013-01-16 12:44:37 +01:00
Jan Steemann
ead3f2f204
changed order of tests
2013-01-15 17:09:04 +01:00
Jan Steemann
6fde7e2f27
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-15 16:45:54 +01:00
Jan Steemann
7a6db16241
added db._version()
2013-01-15 16:44:48 +01:00
Frank Celler
7380ddfabe
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
arangosh/V8Client/arangosh.cpp
bin/arango32.msi
bin/arango64.msi
lib/BasicsC/win-utils.c
2013-01-15 15:50:47 +01:00
a-brandt
1bda463f37
more tests
2013-01-15 14:06:51 +01:00
a-brandt
f2288b5900
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-15 09:08:28 +01:00
a-brandt
60c8ad808f
Changed graph moudule to use _key
2013-01-15 09:07:31 +01:00
Jan Steemann
f32ba3b165
added frank to Makefile
2013-01-14 14:08:47 +01:00
Jan Steemann
ac9d5f59b5
added tests for datafile building blocks sizes
2013-01-14 03:08:54 +01:00
Jan Steemann
12c687d934
added AQL fulltext queries
2013-01-11 23:08:54 +01:00
Jan Steemann
e888b080d0
execute graph traversal test
2013-01-11 21:12:55 +01:00
Frank Celler
33e3031380
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
VERSION
arangod/V8Server/v8-query.cpp
build_posix.h
configure
configure.ac
2013-01-10 18:00:25 +01:00
Frank Celler
03f85fae23
added 'any' call for collections
2013-01-10 10:39:43 +01:00
Jan Steemann
187d8ecc69
some transaction rework
2013-01-08 17:26:16 +01:00
Jan Steemann
81508c9168
make cppcheck
2013-01-07 22:28:31 +01:00
Jan Steemann
d76920443d
added tests and documentation for volatile collections
2013-01-07 10:55:25 +01:00
Frank Celler
aa0d9d4e3e
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
Makefile.in
js/server/server.js
2013-01-05 12:38:09 +01:00
Frank Celler
0549528325
Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
CHANGELOG
Makefile.in
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/v8-vocbase.cpp
html/admin/js/master.js
js/actions/system/api-collection.js
js/common/bootstrap/errors.js
js/server/version-check.js
lib/BasicsC/errors.dat
lib/BasicsC/logging.c
lib/BasicsC/voc-errors.c
lib/BasicsC/voc-errors.h
2013-01-05 11:16:50 +01:00
Frank Celler
06e191877a
added jslint target
2013-01-03 17:45:35 +01:00
Jan Steemann
c77bcfb385
issue #339
2013-01-02 10:37:10 +01:00
Jan Steemann
908fcc8acd
issue #339
2013-01-02 10:28:44 +01:00
Jan Steemann
d562c52fd7
backport of issue #300
2012-12-22 03:38:29 +01:00
Jan Steemann
443757df3b
some tests for issue #325
2012-12-20 13:35:49 +01:00
Oreste Panaia
83ded3fc1f
windows fixes
2012-12-20 17:17:30 +08:00