scottashton
8209796f7c
added documentation to ahuacatl general graph functions and refactored common_Neighbors and common_properties
2014-06-11 15:45:31 +02:00
gschwab
3556868659
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-11 14:52:10 +02:00
gschwab
4bc2905f29
added extend and edit functions for edgeDefinitions of existing graphs
2014-06-11 14:51:26 +02:00
Jan Steemann
49cc332361
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
js/common/bootstrap/errors.js
2014-06-11 14:23:47 +02:00
Jan Steemann
28d2ae151e
flush
2014-06-11 14:18:04 +02:00
Jan Steemann
7e6750c397
wal flush w/ collection unload
2014-06-11 11:33:02 +02:00
Michael Hackstein
f9628e48c2
Fixed tests for new error codes. Also implemented creation of an empty graph initially. It can be modified during runtime
2014-06-11 10:52:07 +02:00
gschwab
866709a434
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-10 13:30:13 +02:00
gschwab
4bcca3408a
- added function to remove a single edge definition from a graph\n- some docu
2014-06-10 13:30:07 +02:00
scottashton
6649fc5819
fixed test
2014-06-10 13:06:43 +02:00
Jan Steemann
3f22fa03be
fixed some indexes
2014-06-08 03:03:16 +02:00
Jan Steemann
7b9e3af0f1
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/voc-shaper.cpp
2014-06-06 17:00:49 +02:00
gschwab
dda28bc102
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-06 15:41:50 +02:00
gschwab
682d85a948
renaming of getIn/OutVertex to getFrom/ToVertex, documentation
2014-06-06 15:40:51 +02:00
Jan Steemann
cb5bb4eb0e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Makefile.files
arangod/RestHandler/RestEdgeHandler.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/voc-shaper.cpp
2014-06-05 22:58:49 +02:00
Esteban Lombeyda
7171c91c03
renaming tests
2014-06-05 16:29:24 +02:00
Michael Hackstein
9e4a983d2f
Simplified some general graph tests
2014-06-05 11:45:20 +02:00
Jan Steemann
3d4873457b
unload
2014-06-04 18:21:06 +02:00
Jan Steemann
7b7f42118e
fixed some unique constraint violation handling
2014-06-04 17:28:06 +02:00
Michael Hackstein
6da48f6ae8
Removed _.neighbors from general graph module. The way to get neighbors is to first select the set of start vertices and then execute neighbors
2014-06-04 17:17:20 +02:00
Michael Hackstein
d1ef96a801
Added further docu to general graph and removed unused functions
2014-06-04 14:32:47 +02:00
gschwab
7590652d57
fixed neighbors
2014-06-04 12:36:21 +02:00
gschwab
4f6e85faf8
fixed tests
2014-06-02 10:58:35 +02:00
gschwab
1fc4060899
edgeCollection may only be used in equal edge definitions
2014-05-28 15:45:03 +02:00
gschwab
8373ae3c28
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-28 13:38:12 +02:00
gschwab
59e61298ea
removing an vertex will now remove its edges recursively
2014-05-28 13:38:05 +02:00
scottashton
504a167077
added commonNeighbors and commonProperties to ahuacatl and general-graph
2014-05-28 09:59:10 +02:00
Jan Steemann
b876bfd34f
fixed typos
2014-05-27 11:04:10 +02:00
Esteban Lombeyda
8353af15eb
renaming test method and cleaning
2014-05-26 16:07:47 +02:00
Esteban Lombeyda
c563756a35
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-26 13:44:12 +02:00
Michael Hackstein
63113a84ad
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-26 13:10:37 +02:00
Michael Hackstein
f49826afd9
Better integrated neighbors into fluent AQL of graphs. Yet missing in AQL: Give examples of target verticies
2014-05-26 13:10:23 +02:00
Esteban Lombeyda
14a7074002
Bug fix in updatebyExample
2014-05-26 11:52:11 +02:00
Esteban Lombeyda
a803c16016
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-26 10:56:17 +02:00
gschwab
3ed6b73702
remove edge will remove other edges used as from or to recursively
2014-05-26 10:37:56 +02:00
gschwab
49253e338b
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
js/common/tests/shell-general-graph.js
2014-05-23 17:15:50 +02:00
gschwab
1423197564
removing edges: recursive remove, when edge is used as vertex
2014-05-23 17:10:44 +02:00
Esteban Lombeyda
f1c8e9e1b4
Functions ..ByExample support new signature
2014-05-23 16:26:23 +02:00
Michael Hackstein
03c91573c1
Merged my offline state for general graphs and included all the tests, everything is green. Fluent interface is on a good way
2014-05-23 15:54:39 +02:00
Michael Hackstein
9505f95abb
Added some more variables to replace plain strings
2014-05-23 15:11:29 +02:00
scottashton
f7a78f354d
added tests for GRAPH_VERTICES
2014-05-23 15:08:35 +02:00
Michael Hackstein
6bd3c88df0
All general-graph tests are green again, even with changed interface. Yet not included: restrict and vertices execution, generated AQL is tested.
2014-05-23 13:50:19 +02:00
Michael Hackstein
fef7fd355e
Finished tests against AQL for current state of fluent interface in general graph module.
2014-05-23 12:51:28 +02:00
Michael Hackstein
ef8536f3e5
THe starting points for general-graph fluent AQL interface now have passing tests, nextup: fixing tests for fluent follow ups
2014-05-23 11:56:57 +02:00
Michael Hackstein
0a4877b71a
Changed interface of graph._edges(). It now expectes examples for edges instead of examples for connected verticies. This fits better for chaining either start with a couple verticies or a couple of edges
2014-05-23 11:46:41 +02:00
Michael Hackstein
742e05d06b
Further implementation of tests against generated AQL in general-graph module
2014-05-23 11:25:48 +02:00
Michael Hackstein
7a55d89363
Started implementing checks against chained AQL statements in general-graph.
2014-05-23 10:48:49 +02:00
Michael Hackstein
6f6091a846
Fixed most tests of the simple suites in general_graph. The restrict test fails right now, some error in AQL
2014-05-23 10:16:19 +02:00
Michael Hackstein
2296f15bef
Made the general-graph code a bit more DRY
2014-05-23 00:06:38 +02:00
scottashton
25d6bf15f1
cleaned up merge conflict
2014-05-22 17:54:13 +02:00
scottashton
3bec9b4c93
refactored aql
2014-05-22 17:49:20 +02:00
Michael Hackstein
fe62bc8609
Added tests for chains in fluent aql interface for general graphs
2014-05-22 15:21:08 +02:00
Esteban Lombeyda
3e26f4384f
Fix: function had used wrong signature for the test goal
2014-05-22 14:43:17 +02:00
Esteban Lombeyda
bcd8490c1b
Supporting new signature for remove function
2014-05-22 14:35:17 +02:00
Michael Hackstein
fbdd3738b6
Further implementation of general-graph fluent interface tests, starting with edges now has tests, they fail intentionally
2014-05-22 14:20:52 +02:00
Michael Hackstein
790046b177
Started implementing more elaborate tests for chaining. Initial vertex tests are implemented but will intentionally fail now, corresponding AQL implementation is yet missing
2014-05-22 14:03:58 +02:00
Esteban Lombeyda
02b8ef12e9
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-22 11:11:01 +02:00
Michael Hackstein
ec1ecaa107
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-22 11:00:33 +02:00
Michael Hackstein
09f19cb13c
Fixed JSLint and started implementing elaborate chaining tests
2014-05-22 11:00:29 +02:00
gschwab
c820c8b264
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-22 10:41:42 +02:00
gschwab
0d25c94b62
graph._drop does not anymore drop collections used in other graphs
2014-05-22 10:41:38 +02:00
Michael Hackstein
b1cdeca44c
Further refactoring, another suite now based on variables and prefixed with UnitTests
2014-05-22 10:39:12 +02:00
Michael Hackstein
2aaca2fa0b
Further refactoring fpr general graph
2014-05-22 10:36:27 +02:00
Esteban Lombeyda
f8c330ce54
Supporting new signature for replace function
2014-05-22 10:31:01 +02:00
Michael Hackstein
1dfdcca97c
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
js/common/tests/shell-general-graph.js
2014-05-22 09:53:40 +02:00
Michael Hackstein
597c2e9416
Further refactoring of test for general-graph
2014-05-22 09:52:48 +02:00
Michael Hackstein
51f523525c
Started test refactoring for general-graph, uses parameters now whenever possible
2014-05-22 09:48:42 +02:00
gschwab
d29ebfaa3b
fixed tests
2014-05-22 09:32:21 +02:00
scottashton
0353483339
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-22 09:17:54 +02:00
scottashton
247fea8cef
neighbors
2014-05-22 09:17:43 +02:00
Michael Hackstein
75d5a04ae7
Embedded cursors into fluent AQL interface for graphs.
2014-05-21 18:22:30 +02:00
Esteban Lombeyda
32aee78f7b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-21 11:53:34 +02:00
Esteban Lombeyda
0b6846e963
Supporting new signature for JS update function
2014-05-21 11:52:06 +02:00
Michael Hackstein
0904f00d77
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-21 09:55:50 +02:00
gschwab
e20f18bb1a
drop graph after tests
2014-05-21 09:46:27 +02:00
Michael Hackstein
ed14083e6f
Implemented a wrapper around collections in graph module. Old collection functionality is now preserved
2014-05-21 09:45:53 +02:00
Michael Hackstein
dddc5cbd9e
Added an _exists function to the general-graph module, which checks if there is a graph with given name to avoid error throwing within apps
2014-05-20 16:22:44 +02:00
Michael Hackstein
eb7150d815
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-20 15:48:38 +02:00
Michael Hackstein
35f602fef2
Renamed collections for AQL queries to contain 'UnitTests' prefix
2014-05-20 15:48:33 +02:00
gschwab
de2fd3ff69
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-20 15:35:13 +02:00
gschwab
072b00c54b
edges of a vertex will be removed, when vertex is removed
2014-05-20 15:35:09 +02:00
Michael Hackstein
bb9aaaeb4e
Fixed error handling on restrict. It will now throw an error if query is restricted to an unkown collection
2014-05-20 14:43:42 +02:00
Michael Hackstein
f89b50a72e
Fixed test for directedRelationDefinition error handling
2014-05-20 13:29:00 +02:00
gschwab
a2460276d3
forgot to rename some variables...
2014-05-20 13:25:34 +02:00
gschwab
ef1665391a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-20 12:56:41 +02:00
gschwab
ad10fc85e6
added drop function for graphs
2014-05-20 12:56:33 +02:00
Michael Hackstein
1be58a157c
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-20 11:39:37 +02:00
Michael Hackstein
d89ff71dbc
Implemented generalGraph as a datasource for Traversal queries incl. tests
2014-05-20 11:39:33 +02:00
gschwab
b3ad2e303f
added tests
2014-05-20 10:37:40 +02:00
gschwab
a786369d2e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-20 09:52:30 +02:00
gschwab
434e1009c6
changed to setUp and tearDown
2014-05-20 09:52:25 +02:00
Michael Hackstein
b416f8b762
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-20 09:43:39 +02:00
Michael Hackstein
058e1dc0e8
Added setUp and tearDown to AQLQueries test suite in general graph
2014-05-20 09:43:35 +02:00
gschwab
3c0fdae6f7
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-20 08:57:48 +02:00
gschwab
bfb5610426
x-edges tests
2014-05-20 08:57:44 +02:00
Michael Hackstein
ff54178f22
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-19 17:47:47 +02:00
Michael Hackstein
b798c4f23a
Enabled tests against AQL execution in graph module
2014-05-19 17:47:42 +02:00
Jan Steemann
b06e89da54
simplified
2014-05-19 17:44:56 +02:00
Michael Hackstein
6a33a9f9e3
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-19 16:17:34 +02:00
Michael Hackstein
39b38ae159
Commented part of the fluent AQL interface in graphs, there is some conception necessary. Implemented a filter alternative instead
2014-05-19 16:17:30 +02:00
gschwab
37f7002c75
added tests for vertex and edges - fixed jslint
2014-05-19 15:06:15 +02:00
gschwab
c38a455760
added tests for vertex and edges
2014-05-19 15:04:19 +02:00
Michael Hackstein
105dde54a7
Implemented filter on general graph module and simplified test code
2014-05-19 13:12:10 +02:00
Michael Hackstein
044f094139
Fixed a bug in graph module aql generation. For in was missing
2014-05-19 12:02:21 +02:00
Michael Hackstein
8bf9922693
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-05-19 11:46:25 +02:00
Michael Hackstein
5255e8f26b
Added tests for restriction on edges call in general graph module
2014-05-19 11:08:23 +02:00
Michael Hackstein
d558fa8fbd
Started implementing fluent AQL interface. Right now allows edges
2014-05-19 10:55:16 +02:00
scottashton
58eefee6b5
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-19 09:45:49 +02:00
scottashton
0c0c2773fa
finished tests for _create and _graph
2014-05-19 09:45:43 +02:00
Michael Hackstein
a0985ec515
Fixed tests to use graph functions starting with _
2014-05-19 09:34:02 +02:00
scottashton
1ac649cf94
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-19 08:43:01 +02:00
scottashton
4dbbc550df
work in progress
2014-05-19 08:42:37 +02:00
Michael Hackstein
0a73cd6823
Implemented restrict interface on edges, right now implementation is not optimized, missing cursor functionality
2014-05-17 11:27:47 +02:00
Michael Hackstein
20d33b80a5
Bound collections by name to graph object. graph.v === db.v
2014-05-16 17:22:32 +02:00
Michael Hackstein
4824e6e914
Refactored tests to make them more dry
2014-05-16 16:27:27 +02:00
scottashton
a40e2ebdfe
pre merge commit
2014-05-16 16:17:02 +02:00
Michael Hackstein
69eeba2403
Commented failing tests in general graph for commit. Productive code missing, but test first
2014-05-16 15:37:05 +02:00
Michael Hackstein
e404d070f4
Fixed merge conflict on general graph tests
2014-05-16 15:31:39 +02:00
scottashton
11faa956a7
first version of create graph
2014-05-16 15:17:54 +02:00
Michael Hackstein
739ab6d54c
Added first tests for restrict on edges. Not working yet, preconditions are missing
2014-05-16 14:49:58 +02:00
scottashton
fd944eee8e
fixed jslint
2014-05-16 13:02:56 +02:00
scottashton
266f72a253
initial checkin for new graph module
2014-05-16 11:29:22 +02:00
Jan Steemann
c843a12149
jshund
2014-05-09 00:42:18 +02:00
Jan Steemann
f18d117228
added GC
2014-05-08 14:36:12 +02:00
Jan Steemann
ce36c94082
added test for issue #796
2014-04-22 13:04:30 +02:00
Jan Steemann
76c09f43b5
added tests
2014-04-22 11:31:35 +02:00
Jan Steemann
c1916b1825
bumped version number
2014-04-03 14:08:28 +02:00
Jan Steemann
9724cfec64
fixed failing test
2014-03-27 13:12:45 +01:00
Jan Steemann
7c28db24af
added tests for coffee script
2014-03-21 09:22:20 +01:00
Jan Steemann
f4752e8f91
added tests for error codes and messges
2014-03-13 23:56:45 +01:00
Jan Steemann
65feb43294
adjusted test expectations
2014-02-28 09:29:52 +01:00
Jan Steemann
c387b697e8
fixed test
2014-02-27 13:26:40 +01:00
Max Neunhoeffer
893e7a87b1
Adjust READMEs to reality.
2014-02-27 08:53:21 +01:00
Jan Steemann
fe74e030ea
fixed keygen test
2014-02-26 16:47:38 +01:00
Jan Steemann
4bbfdb827d
Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-26 15:04:32 +01:00
Jan Steemann
3195da8ff0
use more appropriate assertions
2014-02-26 15:04:15 +01:00
Max Neunhoeffer
89761d5c7e
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-26 14:39:20 +01:00
Max Neunhoeffer
bacfafea7f
Rename non-cluster tests.
2014-02-26 14:38:55 +01:00
Jan Steemann
2db3d4b42d
fixed tests
2014-02-26 14:35:14 +01:00
Max Neunhoeffer
16a2fa6770
Split noncluster and general shell-keygen tests.
2014-02-26 14:27:55 +01:00
Jan Steemann
5c3d81eea3
test split
2014-02-26 13:53:23 +01:00
Jan Steemann
b634aff8a8
renamed test
2014-02-26 13:45:08 +01:00
Jan Steemann
8e05df9950
split tests
2014-02-26 13:21:10 +01:00
Max Neunhoeffer
19765bd859
Fix test for deletion of documents on cluster.
2014-02-26 10:48:48 +01:00
Max Neunhoeffer
3cb1784430
Reorganise unit tests.
...
In JS framework we now find the available test files by directory
listing. This means one can simply drop a file in the right
directory to add a test.
We use a naming convention for filenames which is explained
in the README files in the corresponding directories.
Old unit tests do not yet use this but do use the new names and
should still work as usual.
2014-02-21 11:24:31 +01:00
Jan Steemann
3fd053eb1e
updated tests
2014-02-14 18:44:36 +01:00
Jan Steemann
0f0ef8a33f
updated index docs
2014-02-14 10:30:05 +01:00
Jan Steemann
f8476ce0b0
fixed tests
2014-02-13 18:14:53 +01:00
Jan Steemann
f2cd112bf5
index ids
2014-02-13 16:30:48 +01:00
Jan Steemann
c9c8f4e62a
added tests
2014-02-13 16:12:57 +01:00
Jan Steemann
7970881b22
single-threaded plan changes
2014-02-13 15:33:29 +01:00
Frank Celler
95472a82eb
Merge remote-tracking branch 'origin/devel' into sharding
...
Conflicts:
js/apps/system/aardvark/test/karma/karma.conf.js
2014-02-13 11:07:01 +01:00
Frank Celler
89b6ca0ba3
fixed test setup
2014-02-12 22:04:19 +01:00
Michael Hackstein
bc16cfae86
Merge remote-tracking branch 'origin/devel' into sharding
...
Conflicts:
Documentation/InstallationManual/Installing.md
arangosh/CMakeLists.txt
2014-02-11 15:52:49 +01:00
Frank Celler
c6ce5c7406
made module loader more node compatible, added coffee script support
2014-02-11 13:26:11 +01:00
Jan Steemann
078dca98ae
fixed a test
2014-02-07 10:00:58 +01:00
Jan Steemann
c38c038492
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
CHANGELOG
js/apps/system/aardvark/frontend/css/collectionsItemView.css
js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann
dafa0a3760
added test cases
2014-02-04 17:53:38 +01:00
Jan Steemann
3a783dca76
added tests
2014-02-04 17:09:58 +01:00
Jan Steemann
35c5c9012e
added test cases
2014-02-04 11:51:04 +01:00
Jan Steemann
52040eaad6
added tests, fixed segfault
2014-02-04 09:54:56 +01:00
Jan Steemann
a9c1fd005e
test suite for CRUD
2014-02-03 19:26:05 +01:00
Jan Steemann
18b38771dc
added cluster CRUD tests
2014-02-03 18:24:57 +01:00
Jan Steemann
4a99cde395
jslintified several tests
2014-02-01 01:50:58 +01:00
Jan Steemann
d4227b32ef
jshund
2014-01-23 14:57:54 +01:00
Jan Steemann
7a3635adf9
fixed problem with AQL functions in multiple databases
2014-01-08 09:53:03 +01:00
Jan Steemann
8bc1692d54
fixed issue #711 , #687
2013-12-20 15:13:23 +01:00
Jan Steemann
44b3237882
moved server-only tests to js/server/tests
...
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work
make logfile path accessible
2013-12-04 22:05:00 +01:00
Jan Steemann
32a247aa2f
added tests for creating / dropping graphs
2013-12-02 15:12:07 +01:00
Lucas Dohmen
2024bdf941
Graph: Fixed `getVertices`
2013-11-20 15:37:56 +01:00
Jan Steemann
c5e9538547
Merge remote-tracking branch 'origin/devel' into inline-shapes
...
Conflicts:
arangod/VocBase/document-collection.c
2013-11-14 01:01:24 +01:00
Jan Steemann
86ccaaaf45
do not pollute global namespace
2013-11-11 21:07:38 +01:00
Jan Steemann
9de514d000
removed unused file
2013-11-11 21:07:24 +01:00
Jan Steemann
6a0d54f1ff
fixed test for Windows
2013-11-11 20:30:10 +01:00
Jan Steemann
303abcc60d
issue #665 : Hash/skiplist combo madness bit my ass
2013-11-11 16:38:38 +01:00
Jan Steemann
819e9a1cb6
fixed user creation on database creation
2013-11-07 13:32:42 +01:00
Jan Steemann
7055299a6e
removed shape collections
2013-11-06 17:05:16 +01:00
Jan Steemann
241ad73940
fixed test
2013-11-06 10:16:26 +01:00
Jan Steemann
7924f657d4
added `/_api/database/user` method
2013-11-04 14:22:00 +01:00
Lucas Dohmen
7d7e014bfe
Only drop vertices when dropping a graph if vertices aren't used
...
elsewhere
2013-10-31 16:41:49 +01:00
Lucas Dohmen
6049ef11fb
Graph: Replace a given edge by ID
2013-10-31 15:16:58 +01:00
Lucas Dohmen
04c7cfce33
Graph: Replace a given vertex by ID
2013-10-31 15:16:58 +01:00
Lucas Dohmen
b1f36e41f8
Graph Module: Alternatively provide ID instead of Vertex in addEdge
2013-10-31 13:14:51 +01:00
Frank Celler
a55fe725a8
fixed version
2013-10-29 14:21:27 +01:00
Jan Steemann
9bb89bb654
fixed "error with AQL in user function"
2013-10-16 09:43:24 +02:00
Jan Steemann
79f70c7eea
replication applier will now preferrably use collection names instead of collection ids when applying events
2013-10-14 13:45:44 +02:00
Jan Steemann
dc69d6fa60
updated documentation
2013-10-02 17:54:39 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Frank Celler
fa8bc7299a
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-09-20 17:47:04 +02:00
Frank Celler
95f6cf1275
fix require bug for modules
2013-09-20 17:46:07 +02:00
Jan Steemann
8a9ce4e86d
fixed memory allocation inefficiency
2013-09-20 17:26:26 +02:00
Lucas Dohmen
5eed92d7a5
Foxx: Use defaults in models
2013-09-18 17:00:00 +02:00
Lucas Dohmen
0b89b92efa
Foxx: Whitelist Attributes via Model Annotation
2013-09-18 16:22:00 +02:00
Lucas Dohmen
efc5ee16dd
Foxx: Provide the Model
2013-09-18 15:32:41 +02:00
Lucas Dohmen
f5a177932e
Foxx: bodyParam
2013-09-18 14:28:24 +02:00
Lucas Dohmen
53746deca7
Foxx: Models can have a Schema now
2013-09-18 12:53:45 +02:00
Lucas Dohmen
43988bb3ae
Foxx Repository: Save, Replace, ReplaceById return the model
...
For convenience, this is quite useful in some cases
2013-09-17 14:37:50 +02:00
Lucas Dohmen
fba6c94671
Foxx Repository: replaceById
2013-09-17 14:19:06 +02:00
Jan Steemann
aec7b1f8e8
fixed cursors for use in multi-database env
2013-09-17 09:23:05 +02:00
Jan Steemann
d91022235e
added tests for collections caching
2013-09-17 09:00:18 +02:00
Lucas Dohmen
0b83a9a9b0
Repository: Replace
2013-09-16 17:25:40 +02:00
Lucas Dohmen
d8a8b9bd4e
Foxx Repository: firstExample
2013-09-16 16:28:49 +02:00
Lucas Dohmen
7d432a8911
Foxx Repository: byExample
2013-09-16 16:23:07 +02:00
Lucas Dohmen
cdf9415650
Do this in one spec, this is just duplication
2013-09-16 16:06:43 +02:00
Lucas Dohmen
6618ac6801
Foxx Repository: Also check the returned object of byId
2013-09-16 15:49:05 +02:00
Lucas Dohmen
70c6b403b2
Pushed the constructor mocking to the module
2013-09-16 15:08:57 +02:00
Lucas Dohmen
bbcd9a152a
Foxx Repository: byId (Test: Ugly)
2013-09-16 15:08:57 +02:00
Lucas Dohmen
709821e196
Foxx Repository: removeByExample
2013-09-16 13:28:52 +02:00
Lucas Dohmen
25b87ed3dc
Mock: Take arguments instead of array
2013-09-16 13:28:52 +02:00
Lucas Dohmen
ae8d0e2be2
expect with fluent interface
2013-09-16 13:28:51 +02:00
Lucas Dohmen
2301cdc930
Converted allow to fluent interface
2013-09-16 13:28:51 +02:00
Lucas Dohmen
9c4c0164e7
Simplifying the two tests
2013-09-16 13:28:51 +02:00
Lucas Dohmen
c1bf1b1d11
Moved stub_and_mock to its own module
2013-09-16 13:28:51 +02:00
Lucas Dohmen
1a273e136c
Mini Stub and Mock Framework started
...
I need my sanity.
2013-09-16 13:28:51 +02:00
Lucas Dohmen
b0661f8dc7
Foxx Repository: removeById
2013-09-16 13:28:51 +02:00
Lucas Dohmen
983212cc9d
Foxx Repository: Save
2013-09-16 13:28:51 +02:00
Jan Steemann
894180dc20
added test cases
2013-09-13 18:25:28 +02:00
Lucas Dohmen
cabbaeafaf
Foxx Repository: Changed API
2013-09-10 10:47:13 +02:00
Lucas Dohmen
ad2013e5c4
Foxx: Model#set can now also set multiple attributes
2013-09-10 10:32:08 +02:00
Lucas Dohmen
3d88b57687
Foxx: Removed Repository#all
2013-09-09 14:21:06 +02:00
Lucas Dohmen
545e896e23
Foxx: Repository#save
2013-09-09 14:07:13 +02:00
Lucas Dohmen
5cab0ab025
Foxx: Controller-wide errorResponse
2013-09-09 12:08:10 +02:00
Lucas Dohmen
69286b5742
Foxx: Foxx Transformer is now Foxx Preprocessor
2013-09-04 15:08:15 +02:00
Lucas Dohmen
d1f7d25aa8
Foxx: Some refinements for `.login` and `.logout`
2013-09-04 13:01:56 +02:00
Lucas Dohmen
afef07b425
Foxx: Foxx.Application is now Foxx.Controller [BREAKING CHANGE]
...
The naming was confusing, because Foxx Application had two meanings.
Now we are using the terminology used in MVC frameworks.
2013-09-04 10:43:39 +02:00
Lucas Dohmen
f7899bed83
Foxx: Authentication – first version for feedback
2013-09-03 12:11:22 +02:00
Jan Steemann
ea27f2f995
fixed tests
2013-08-27 16:13:53 +02:00
Jan Steemann
75c83a22de
fixed rotation
2013-08-27 15:07:29 +02:00
Jan Steemann
d30e407c4a
only create new journal file when requested
...
make collection.rotate() publicly available
2013-08-27 14:39:28 +02:00
Lucas Dohmen
8418235769
Foxx: Delegation from Repository to Collection
...
This also fixes the Doxygen ****
2013-08-27 12:55:16 +02:00
Jan Steemann
397a73d2f2
fixed tests
2013-08-27 12:19:42 +02:00
Jan Steemann
38abd5bf9e
issue #576
2013-08-21 14:02:09 +02:00
Jan Steemann
d5a9fe3578
fixed some test fails
2013-08-19 19:46:22 +02:00
Lucas Dohmen
503fa74b63
Foxx: Refinement of Query and Path Param methods
2013-08-11 08:51:59 +02:00
Lucas Dohmen
48858cbc84
Foxx: Repositories are easy now
2013-08-08 17:52:07 +02:00
Lucas Dohmen
94c971af9b
Foxx: body and rawBody
2013-08-08 11:50:34 +02:00
Lucas Dohmen
f0f95148e0
Foxx: Optional fourth parameter for errorHandler for ellaborate hackers
2013-08-08 11:28:09 +02:00
Lucas Dohmen
bfb01c0986
Foxx: New Version of the errorResponse function
2013-08-08 11:28:09 +02:00
Lucas Dohmen
7eabb27254
Foxx: Use parsed comments as docs
2013-08-06 18:08:06 +02:00
Lucas Dohmen
1819e90b2e
Foxx: Preparing existing Tests for new context methods
2013-08-06 17:02:52 +02:00
Lucas Dohmen
2a382abffa
applicationContext, not appContext
2013-08-06 16:38:19 +02:00
Lucas Dohmen
f0a2aeef4a
Foxx: Source Code Transformer is done
2013-08-06 16:13:50 +02:00
Lucas Dohmen
0f6009a3ba
Foxx: Tear apart Foxx.Application
2013-08-05 20:10:28 +02:00
Lucas Dohmen
b374054740
Foxx: Format Middleware is now optional
2013-08-05 17:05:32 +02:00
Lucas Dohmen
ac3cedda34
Foxx: Separating Templates entirely (Step 2)
2013-08-05 16:13:52 +02:00
Lucas Dohmen
c9b48f13cd
Foxx: Separating Template Middleware from Base, Step 1
2013-08-05 16:13:51 +02:00
Lucas Dohmen
b19d3c69fb
Foxx: BaseMiddleware Tests pulled out
2013-08-05 16:13:51 +02:00
Lucas Dohmen
b3dd4d7b59
Foxx: Model tests pulled out
2013-08-05 13:41:02 +02:00
Lucas Dohmen
6cef711a7b
Foxx: Repository tests pulled out
2013-08-05 13:33:06 +02:00
Jan Steemann
5f1bfcf9cd
documentation for replication
2013-08-02 15:28:30 +02:00
Jan Steemann
e86fff18e2
added chunkSize for replication-applier
2013-08-02 11:03:54 +02:00
Jan Steemann
9b6b6e669d
added `totalEvents` for logger
2013-08-02 10:11:13 +02:00
Jan Steemann
d8690e5fa6
make collection revision id a real revision id
2013-08-02 09:37:46 +02:00
Jan Steemann
a7c5350455
added server-id method
2013-08-01 18:27:42 +02:00
Jan Steemann
e739089280
extended tests
2013-08-01 17:57:24 +02:00
Jan Steemann
f1418ec667
updated tests and docs
2013-08-01 16:53:29 +02:00
Jan Steemann
949c194653
updated replication configuration
2013-08-01 15:50:30 +02:00
Jan Steemann
c2611f567a
bugfixed cap constraint
2013-08-01 13:17:38 +02:00
Jan Steemann
461001efd2
split of initial and continuous sync, currently not working
2013-07-30 14:13:49 +02:00
Jan Steemann
6b5900e8e0
updated replication api
2013-07-30 09:54:39 +02:00
Frank Celler
f978730b25
fixed tests
2013-07-29 10:53:59 +02:00
Frank Celler
4658c91518
fixed tests
2013-07-28 20:33:41 +02:00
Jan Steemann
70e71e2cad
fixed foxx test
2013-07-27 17:29:51 +02:00
Lucas Dohmen
8ec4887973
Foxx: No more nickname method – is set automatically
...
Happy hacking, @fceller, @mchacki and @jsteemann 😉
2013-07-25 22:27:10 +02:00
Lucas Dohmen
84a311fac6
Tiny renaming in test
2013-07-25 21:30:13 +02:00
Lucas Dohmen
42c06b765c
Foxx: toJSON splitted into forDB and forClient
2013-07-25 21:28:42 +02:00
Frank Celler
62b61ab12a
fixed tests
2013-07-25 18:48:31 +02:00
Jan Steemann
378e8313f3
added replication docs
2013-07-25 10:54:04 +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
bf12b6ec5a
fixed journalSize
2013-07-23 11:57:56 +02:00
Jan Steemann
f49ae77bc5
include replication tests
2013-07-23 11:19:41 +02:00
Jan Steemann
6dfa6693c8
added test for first/last after reload
2013-07-23 08:59:31 +02:00
Jan Steemann
2a762ce1f7
replication logger tests
2013-07-19 17:22:06 +02:00
Jan Steemann
3ab117de67
added collection.first() and collection.last()
2013-07-19 14:21:46 +02:00
Jan Steemann
6d2daa05a3
test replication logger, initial commit
2013-07-19 11:28:17 +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
5cf234b40d
simplified query testing and query interface a bit
2013-07-18 02:15:22 +02:00
Jan Steemann
3cc4405c18
added collection.checksum()
2013-07-10 11:10:00 +02:00
Jan Steemann
fa69af4206
added wait time for rotate test
2013-07-03 16:42:58 +02:00
Jan Steemann
f7fcd6119d
added tests for special collections
2013-06-26 17:46:43 +02:00
Jan Steemann
af39f069f5
added more tests for hash index queries
2013-06-26 16:50:52 +02:00
Jan Steemann
27bf4bb546
more tests
2013-06-24 17:04:32 +02:00
Jan Steemann
adfd051c92
added test for unloading
2013-06-24 13:55:51 +02:00
Jan Steemann
5a9a13da8f
fixed test, updated docs
2013-06-24 10:58:07 +02:00
Jan Steemann
4c88adc054
potential fix for issue #554
2013-06-24 10:46:13 +02:00
Jan Steemann
4e7a09c33f
added one more test
2013-06-22 03:07:00 +02:00
Jan Steemann
654ea77f25
extended cap constraints with size constraints
2013-06-22 02:44:48 +02:00
Jan Steemann
2d7edbef96
added db._exists()
2013-06-21 21:50:00 +02:00
Jan Steemann
c74c80d5ff
allow bind parameters in db._query()
2013-06-21 17:13:51 +02:00
Jan Steemann
cae82f27e4
added `/_api/current-database`
2013-06-21 10:25:15 +02:00
Jan Steemann
e232e50bf6
fixed client-side test
2013-06-20 19:34:41 +02:00
Jan Steemann
f06012ac65
added tests for big documents
2013-06-20 19:14:47 +02:00
Jan Steemann
959bb653e2
fixed tests
2013-06-20 19:14:35 +02:00
Jan Steemann
74b3055747
added stub tests for functions
2013-06-19 16:51:50 +02:00
Jan Steemann
9dfb7483ff
"doCompact" attribute for collections
2013-06-19 16:51:16 +02:00
Jan Steemann
74d2a00737
test internal.download()
2013-06-13 15:05:08 +02:00
Jan Steemann
212117d3b4
graph traversal API tests
2013-06-12 15:25:35 +02:00
Jan Steemann
68c3b02ffb
added a test for rotate()
2013-06-12 13:09:46 +02:00
Jan Steemann
005f9f6c6f
add safety
2013-06-11 18:31:58 +02:00
Jan Steemann
e8e10844f4
moved compaction tests
2013-06-11 10:41:40 +02:00
Jan Steemann
564523896a
compaction tests
2013-06-11 10:10:58 +02:00
Lucas Dohmen
8e27de26a7
Fix for #546
2013-06-07 10:19:37 +02:00
Jan Steemann
a646e26105
bumped version number
2013-05-13 09:08:09 +02:00
Jan Steemann
841d7d7355
English
2013-05-10 14:06:15 +02:00
Jan Steemann
c0dbfb4136
issue #517
2013-05-08 20:58:55 +02:00
Jan Steemann
ede177aa55
issue #507 , issue #508
2013-05-06 09:40:28 +02:00
Jan Steemann
bfb35a4b3c
issue #495
2013-05-03 11:38:10 +02:00
Jan Steemann
ee7ab712d6
issue #495
2013-05-03 11:08:58 +02:00
Jan Steemann
c8f0236f7e
added test for numeric attribute names
2013-04-19 12:02:39 +02:00
Jan Steemann
b4d115fd4d
commented
2013-04-17 14:26:44 +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
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
31f4edde25
added test case
2013-04-05 11:28:57 +02:00
Lucas Dohmen
8515b6df9c
Foxx: Adjusted Tests to @fceller's changes
2013-04-05 10:01:58 +02:00
Lucas Dohmen
33fd20ea51
Foxx: Introducing Repositories
2013-04-04 13:42:12 +02:00
Lucas Dohmen
d4d2957d9a
Foxx: Introducing Model
2013-04-04 11:17:22 +02:00
Lucas Dohmen
0b7b34d09b
Foxx: Breaking API Changes 💣
...
* Removed the old concept of models entirely.
* Manifest Files
* models has been removed
* Uses lib now as base path for all requires
* FoxxApplication is now called Application
* Changes to Application:
* requiresLibs is now requires
* requiresModels has been removed
2013-04-03 14:56:17 +02:00
Frank Celler
3512fa6ff0
fixed error handling
2013-04-02 15:00:55 +02:00
Frank Celler
07bd4b2585
new module/package mechanism
2013-03-31 12:25:12 +02:00
Frank Celler
1467b78676
cleanup of internal, fs, console
2013-03-31 00:10:48 +01:00
Frank Celler
ee2b40208c
moved apps to js
2013-03-28 22:41:42 +01:00
Jan Steemann
03fcdf1aa0
fixed firstExample with _id & _key attributes
2013-03-28 16:22:29 +01:00
Lucas Dohmen
1daf7a8367
Foxx: Check the format of nicknames
2013-03-28 14:01:04 +01:00
Lucas Dohmen
1aecbd3f84
Foxx: Nope, this should not be in the routing info
...
Don't ask me why I put it there.
2013-03-27 15:40:41 +01:00
Lucas Dohmen
eaf2559b25
Adjustments to Frank's changes
2013-03-27 13:55:39 +01:00
Lucas Dohmen
ee0278dcad
Foxx: Adjusted to the format of Swagger's parameters
2013-03-27 13:19:42 +01:00
Lucas Dohmen
fb4a223cb0
Foxx: Introducing errorResponse
2013-03-27 13:19:41 +01:00
Lucas Dohmen
30f23c22e6
Foxx: Automatically add the httpMethod to the documentation
2013-03-27 13:19:41 +01:00
Lucas Dohmen
1494286143
Foxx: Introducing nickname, summary, notes
2013-03-27 13:19:41 +01:00
Lucas Dohmen
1466429e88
Foxx: Introducing queryParam
2013-03-27 13:19:41 +01:00
Lucas Dohmen
847783a151
Foxx: Bugfixes
2013-03-27 13:19:41 +01:00
Lucas Dohmen
2f3894f715
Foxx: Introducing pathParam
2013-03-26 17:17:53 +01:00
Lucas Dohmen
f59084a433
Foxx: Introducing the new `constrain` concept
2013-03-26 17:17:53 +01:00
Lucas Dohmen
8940df0480
Removing Old Constraints
2013-03-26 17:17:53 +01:00
Jan Steemann
3bb251000c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
lib/V8/v8-utils.cpp
2013-03-26 14:13:41 +01:00
Jan Steemann
1492118545
added test cases for "fs" module
2013-03-26 14:09:20 +01:00
Lucas Dohmen
517b530684
Foxx: Default '/' to index.html
2013-03-26 11:27:22 +01:00
Lucas Dohmen
e0bf7018fc
Foxx: Add the `del` alias for `delete`
...
Aliasing in JavaScript is a sickness.
2013-03-26 11:27:21 +01:00
Jan Steemann
f3bffb2553
fixed test that failed on the client
2013-03-25 17:29:29 +01:00
Lucas Dohmen
74e23f8670
Foxx: Starting with the Foxx User Documentation
2013-03-25 09:50:54 +01:00
Lucas Dohmen
8871849300
Fuxx: Adjusted Expectation
2013-03-24 13:33:01 +01:00
Lucas Dohmen
d6498a2b8d
Foxx: Yes! Foxx is back on track. Like a sir.
2013-03-24 12:57:53 +01:00
Lucas Dohmen
3948e2a0d6
Foxx: Before and After work again
2013-03-24 12:57:53 +01:00
Lucas Dohmen
fd45c765a7
Foxx: BaseMiddleware is now tested again
...
This is such a relief ☺️
2013-03-24 12:57:53 +01:00
Lucas Dohmen
53a7d0eda6
Foxx: Tiny Commits as a Service
2013-03-24 12:57:53 +01:00
Frank Celler
6263d7e11c
added cyclic check
2013-03-24 10:58:12 +01:00
Lucas Dohmen
4f43bed2f6
Foxx, special @fceller edition
2013-03-23 22:01:13 +01:00
Lucas Dohmen
5e0da254f3
Oh man... Strings.
2013-03-23 18:34:59 +01:00
Lucas Dohmen
6f15daf6b9
Fixing the tests by commenting them
2013-03-23 18:05:44 +01:00
Lucas Dohmen
0dd44d82aa
Foxx: Added the params function
2013-03-23 16:01:21 +01:00
Lucas Dohmen
55ab432c4b
Foxx: Request Body
2013-03-23 14:09:59 +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
Lucas Dohmen
2dae5f1d7a
I guess nobody has seen that 😊
2013-03-21 09:48:49 +01:00
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