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
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
87c5638e41
Frank: Adjusting to the correct syntax for Function Actions
2013-03-21 09:41:34 +01:00
Jan Steemann
4799f3309d
fixed ArangoStatement.explain() with bind variables
2013-03-20 16:52:25 +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
7917bc3462
increase wait time
2013-03-14 11:54:53 +01:00
Frank Celler
b83355a561
added test case for skip-list index
2013-03-12 13:40:13 +01:00
Jan Steemann
69fc6e1662
added test case
2013-03-08 14:38:08 +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
Jan Steemann
bdf906ef89
fixed a memleak for barriers
2013-03-06 14:33:23 +01:00
Jan Steemann
dca899101f
fixed version number assertion
2013-03-04 09:06:08 +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
4b1de6fa36
fixed typo in test name
2013-02-23 00:03:36 +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
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
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
ae36ce63b6
fixed test
2013-02-05 14:05:55 +01:00
Jan Steemann
ff67ef15b2
fixed test
2013-02-05 13:08:00 +01:00
Jan Steemann
f9c14611a4
remove tabs
2013-02-01 15:46:27 +01:00
Jan Steemann
eaf4166b3e
more tests, less collection loading
2013-02-01 15:20:01 +01:00
Jan Steemann
9a1bac1d69
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-02-01 13:43:48 +01:00
Jan Steemann
ca8935ae2a
fix collection name handling in the face of parallel renames
2013-02-01 13:43:14 +01:00
Jan Steemann
a31306ff90
issue #381 : additional test case
2013-01-31 13:25:07 +01:00
Jan Steemann
088f1c628e
issue #381 : one more test case
2013-01-31 13:24:26 +01:00
Jan Steemann
d43e9b89ca
issue #381 : lifted restrictions on usernames
2013-01-31 13:20:39 +01:00
Jan Steemann
68d2eab647
issue #381
2013-01-30 21:16:05 +01:00
Frank Celler
62e00c81bf
fixed traversal to be independent of vertex/edge structure
2013-01-29 17:49:23 +01:00
Frank Celler
0feb82dfa8
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-29 15:48:06 +01:00
Jan Steemann
0a2fe0e9a0
fix reload of duplicate key markers
2013-01-29 15:46:45 +01:00
Frank Celler
307b125035
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/actions/system/api-graph.js
2013-01-29 14:17:13 +01:00
Frank Celler
6bd4bc5525
client side graph
2013-01-29 14:15:35 +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
b3d5217f57
removed tabs
2013-01-28 13:56:08 +01:00
Jan Steemann
909e46c671
moved global AQL functions to internal module
2013-01-25 09:34:51 +01:00
Frank Celler
64ddbe1385
Merge branch '1.2' of github.com:triAGENS/ArangoDB into devel
2013-01-23 14:42:56 +01:00
Frank Celler
53854232ef
added getEdges
2013-01-23 14:42:26 +01:00
Jan Steemann
92abde4932
more tests for indexes to overcome getIndexes() mysteries (related to issue #366 )
2013-01-23 10:43:20 +01:00
Jan Steemann
7c5203cfea
added documentation and test cases for db.collection.removeByExample
2013-01-22 19:20:11 +01:00
Jan Steemann
765f0670af
added tests for collection.revision()
2013-01-21 10:17:31 +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
e509f92c5e
added test cases for duplicate _key insertion
2013-01-18 11:11:22 +01:00
Jan Steemann
752b9a4846
fixed tests
2013-01-18 03:45:24 +01:00
Jan Steemann
52309cf188
fixed tests & segfault during tests
2013-01-18 00:58:14 +01:00
Frank Celler
670dc221ab
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/client/client.js
js/common/bootstrap/module-internal.js
js/common/modules/org/arangodb/simple-query-common.js
js/server/ahuacatl.js
2013-01-17 23:56:31 +01:00
Frank Celler
edef5feacc
fixed tests
2013-01-17 23:45:19 +01:00
Frank Celler
3c21a87366
more cleanup
2013-01-17 16:01:15 +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
0298bcc601
added more tests for edge creation
2013-01-16 17:41:19 +01:00
Jan Steemann
9e050addc6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-16 12:50:33 +01:00
Jan Steemann
e963f104d8
split collection tests into 2 files
2013-01-16 12:44:37 +01:00
Frank Celler
ba9388e5a8
fixed .any on arangosh
2013-01-16 12:43:50 +01:00
Jan Steemann
f50c9e12b4
fixed any traversal for Graph object
2013-01-16 11:12:17 +01:00
Jan Steemann
e0e3fe12b8
added graph traversal for Graph
2013-01-15 19:48:53 +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
Lucas Dohmen
9bb56d801d
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-15 15:48:29 +01:00
Lucas Dohmen
3d59723f99
Tiny additions to Frank
...
* Missing templates will result in an error
* The middleware calls next
* All JSLint warnings except one fixed
2013-01-15 15:45:47 +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
2a3293a59e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-01-14 14:12:26 +01:00
Jan Steemann
848cc1ae28
added CollectionDatasourceFactory
2013-01-14 14:08:28 +01:00
Lucas Dohmen
7189151f93
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-14 13:37:15 +01:00
Lucas Dohmen
bad6578ce5
Frank: Templates.
...
You can now use templates (currently via Underscore, but is expandable)
in Frank.
2013-01-14 13:35:43 +01:00
Jan Steemann
c8b55b9b4d
added patch & head methods
2013-01-14 13:22:02 +01:00
Lucas Dohmen
a8561d0121
Frank: Put, Post, Delete
2013-01-14 09:34:25 +01:00
Michael Hackstein
f32c4b2ae4
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-14 02:36:51 +01:00
Michael Hackstein
96a5e832b0
Added includeMatchingAttributesFilter
2013-01-14 02:36:45 +01:00
Lucas Dohmen
ef8bb55165
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-14 02:36:40 +01:00
Lucas Dohmen
9052dbdcbe
Frank: Added some simple convenience functions to the response
...
Will make everything more comfy.
Amazing.
And wonderful 🦄
The middleware is not yet attached.
2013-01-14 02:35:27 +01:00
Michael Hackstein
1fae3deaa8
Merged conflict
2013-01-14 01:21:00 +01:00
Michael Hackstein
913bb09c67
Expand edges with labels
2013-01-14 01:18:28 +01:00
Jan Steemann
f7d8df846b
fixed test
2013-01-14 00:24:00 +01:00
Michael Hackstein
1f492f2444
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-14 00:00:53 +01:00
Michael Hackstein
c451776ddf
creation of first test datasource in function
2013-01-14 00:00:46 +01:00
Lucas Dohmen
a29f2f7370
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-01-13 23:43:09 +01:00
Lucas Dohmen
ffeca77e1a
First Version of Frank
...
* Added Underscore (We still need to run all tests to see if it works
entirely)
* Added the first version of Frank with a few thoughts on how to
continue working on it
2013-01-13 23:42:01 +01:00
Jan Steemann
ad14130aa0
some tests for traversal
2013-01-13 23:40:27 +01:00
Michael Hackstein
f946da1772
Added datasource object for manually created graphs
2013-01-13 14:44:06 +01:00
Michael Hackstein
e0dc0be787
Removed unused wrapper filter
2013-01-13 11:36:02 +01:00
Michael Hackstein
8686dbe51b
Added combine filters, and min/maxDepth filters
2013-01-13 11:26:43 +01:00
Jan Steemann
e23e6e3ae6
changed return value for filter functions
2013-01-13 00:55:03 +01:00
Jan Steemann
baaaf81cd3
changed the API for traversals
2013-01-13 00:17:11 +01:00
Jan Steemann
227a92aa1c
added test cases, some fixes
2013-01-12 21:29:13 +01:00