1
0
Fork 0
Commit Graph

715 Commits

Author SHA1 Message Date
Jan Steemann b303db2b50 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
2014-06-17 00:49:18 +02:00
Jan Steemann a1177816aa modifiable AQL, final syntax 2014-06-17 00:37:08 +02:00
Jan Steemann 7f1c67b964 recovery tests 2014-06-16 17:22:20 +02:00
Jan Steemann 02d1cf3ea4 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-16 17:09:58 +02:00
Jan Steemann ff494cc897 added recovery tests (not functional yet) 2014-06-16 16:52:26 +02:00
Esteban Lombeyda 19d851c3cb Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 15:24:54 +02:00
Esteban Lombeyda 2405a5ffa2 read-only: unit tests for client and server side 2014-06-16 15:24:12 +02:00
scottashton 99be3816b3 optimized dijsktra search 2014-06-16 14:44:34 +02:00
Jan Steemann 2a0e0b18d0 added many tests 2014-06-16 14:39:26 +02:00
Esteban Lombeyda 51d86d8351 Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 11:44:46 +02:00
Esteban Lombeyda 9af2994eb9 read-only: unit-tests 2014-06-16 10:47:48 +02:00
Jan Steemann ae6ac271e3 index rework 2014-06-14 23:40:56 +02:00
Jan Steemann 18f3471325 disabled transaction failure tests 2014-06-13 20:26:11 +02:00
Jan Steemann 713b69f1f5 fixed tests 2014-06-13 20:18:55 +02:00
Jan Steemann 34389a10d3 added AQL TRANSLATE function 2014-06-13 19:53:58 +02:00
Jan Steemann 96385080bc fixed test 2014-06-13 18:16:42 +02:00
Jan Steemann 0c5950507c fixed test 2014-06-13 17:50:44 +02:00
Jan Steemann d7f35bcc7b fixed datafile ticks issues 2014-06-13 14:46:21 +02:00
Jan Steemann fabc51f889 fixed wrong ASSERT usage 2014-06-13 12:10:35 +02:00
Jan Steemann d5e695e63f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/RestServer/ArangoServer.h
	arangod/VocBase/server.cpp
	js/common/bootstrap/errors.js
2014-06-13 02:23:03 +02:00
Lucas Dohmen 87987b7a14 Merge pull request #897 from pluma/foxx-context-collection-method
Added `collection` method to Foxx applicationContext
2014-06-12 16:41:50 +02:00
Alan Plum 475daa1ed2 Removed tests for deprecated code. 2014-06-12 15:54:27 +02:00
Lucas Dohmen c0bfeee04e Test multiple element functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 89e9205b7c Test multiple items functionality 2014-06-12 15:02:47 +02:00
Lucas Dohmen 6d0d3565fa Foxx: Adjust fakeContext to feature the manifest element 2014-06-12 15:02:47 +02:00
Lucas Dohmen cec32b981a Adjust tests to @fceller's bug fix 2014-06-12 14:24:50 +02:00
Jan Steemann fa6e98d94c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2014-06-11 17:40:15 +02:00
scottashton 8209796f7c added documentation to ahuacatl general graph functions and refactored common_Neighbors and common_properties 2014-06-11 15:45:31 +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
scottashton d70688c61f stabilized tests 2014-06-10 11:55:43 +02:00
Jan Steemann 72a102e794 major internal changes 2014-06-08 00:12:53 +02:00
Jan Steemann fd7f288a59 added test case for shape movements 2014-06-05 22:23:02 +02:00
scottashton fe621c1723 finished measurements 2014-06-05 16:59:43 +02:00
scottashton 8f347f2b54 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-03 16:25:26 +02:00
scottashton 006eb3b61b calculation of measurements for graphs added and changed calculation of shortst paths to Floyd–Warshall algorithm 2014-06-03 16:25:13 +02:00
Alan Plum d9fa68a493 Whitelist metadata attributes in forDB. Fixes #877. 2014-06-02 13:08:16 +02:00
Frank Celler 8db4667755 cleanup of version-check, added option check-version 2014-06-01 13:37:21 +02:00
Jan Steemann f5eb65c96c javascript cleanup 2014-05-31 01:53:30 +02:00
scottashton 504a167077 added commonNeighbors and commonProperties to ahuacatl and general-graph 2014-05-28 09:59:10 +02:00
scottashton 51cc041052 added GRAPH_VERTICES 2014-05-23 14:29:53 +02:00
scottashton 3bec9b4c93 refactored aql 2014-05-22 17:49:20 +02:00
scottashton 247fea8cef neighbors 2014-05-22 09:17:43 +02:00
scottashton a8cacef57d added GRAPH_NEIGHBORS 2014-05-20 16:45:22 +02:00
scottashton c99ce5167d traversal aql 2014-05-20 15:55:07 +02:00
scottashton 009f83026a finished GRAPH_PATHS in aql 2014-05-20 13:50:34 +02:00
Jan Steemann b06e89da54 simplified 2014-05-19 17:44:56 +02:00
scottashton 0f68fa982d fixed bug in edges 2014-05-19 16:42:30 +02:00
scottashton 256868bdc2 aql function edges 2014-05-19 15:28:05 +02:00
Jan Steemann 295870565b issue #864: Inconsistent behavior of AQL REVERSE(list) function 2014-05-19 09:31:39 +02:00
Jan Steemann 978c6b1991 giving up 2014-05-15 16:28:14 +02:00
Jan Steemann 7b4f8d3fd9 try to fix test 2014-05-15 16:03:06 +02:00
Jan Steemann 8959d9df41 adjusted test 2014-05-15 12:35:23 +02:00
Jan Steemann 824cda67e2 fixed test 2014-05-15 10:45:40 +02:00
Jan Steemann 442fa7503c added more delay for busy workers 2014-05-10 02:34:18 +02:00
Jan Steemann d23fe23254 added tasks manual entry 2014-05-10 02:25:59 +02:00
Jan Steemann cfc2d407d7 added tests for task management 2014-05-10 00:43:14 +02:00
Jan Steemann c843a12149 jshund 2014-05-09 00:42:18 +02:00
Jan Steemann 20292af75c throw different type of debug error to prevent bogus "out-of-memory" errors 2014-05-08 23:00:18 +02:00
Jan Steemann f18d117228 added GC 2014-05-08 14:36:12 +02:00
Jan Steemann 0218291d20 added test for issue #848 2014-05-08 14:08:24 +02:00
Jan Steemann 21cfd10453 added AQL FLATTEN function 2014-05-07 19:50:58 +02:00
Jan Steemann 7d28a03782 added AQL date functions 2014-05-07 18:17:46 +02:00
Jan Steemann b978a271ea added AQL function `CURRENT_DATABASE()` 2014-05-02 22:06:47 +02:00
Jan Steemann 02a532a122 added CURRENT_USER function for AQL 2014-05-02 12:00:39 +02:00
Jan Steemann 3744e8dde9 issue #796: Searching with newline chars broken? 2014-04-22 13:38:06 +02:00
Jan Steemann 76c09f43b5 added tests 2014-04-22 11:31:35 +02:00
Jan Steemann ba8e38d6e5 bugfix for AQL query optimiser
the following type of query was too eagerly optimised, leading to errors in code-generation:

   LET a = (FOR i IN [] RETURN i) LET b = (FOR i IN [] RETURN i) RETURN 1

the problem occurred when both lists in the subqueries were empty. In this case invalid code
was generated and the query couldn't be executed.
2014-04-08 23:26:55 +02:00
Jan Steemann ad64c52e28 issue #796: fixed potential issue with newlines treated slightly differently in different parts of AQL 2014-04-08 13:20:26 +02:00
Michael Hackstein f7a85aa079 Fixed Cluster Agency Communication Tests 2014-03-14 10:54:26 +01:00
Max Neunhoeffer 24e7293dba Split shell-any tests to save time on the cluster. 2014-03-10 10:21:28 +01:00
Jan Steemann e1a190a51d fixed segfault during test on Windows 2014-03-04 16:58:22 +01:00
Jan Steemann 629348d696 properly acquire shape write locks 2014-02-28 18:43:09 +01:00
Max Neunhoeffer 893e7a87b1 Adjust READMEs to reality. 2014-02-27 08:53:21 +01:00
Max Neunhoeffer bacfafea7f Rename non-cluster tests. 2014-02-26 14:38:55 +01:00
Max Neunhoeffer 86faf20dbb Disable transactions server test on cluster. 2014-02-26 10:17:05 +01:00
Max Neunhoeffer af02a45e45 Disable test on cluster. 2014-02-25 16:16:33 +01:00
Max Neunhoeffer 5f15e04edc Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-02-25 12:46:33 +01:00
Jan Steemann 8fe19fa897 fixed index tests 2014-02-25 11:55:39 +01:00
Max Neunhoeffer f3d12fdd35 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-02-25 11:35:21 +01:00
Max Neunhoeffer 799eb7c854 Fix tests on cluster. 2014-02-25 11:35:12 +01:00
Jan Steemann d9c96a91f7 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-02-25 11:20:02 +01:00
Jan Steemann af96607fc1 fixed index tests 2014-02-25 11:19:51 +01:00
Max Neunhoeffer 81447c9426 Deactivate a test for the cluster. 2014-02-25 09:56:01 +01:00
Max Neunhoeffer baa6e4fba3 Rename to exclude from standard unittests. 2014-02-24 11:02:30 +01:00
Max Neunhoeffer 078f18138d Fix a filename from a renaming operation. 2014-02-22 23:55:22 +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
Michael Hackstein 015ab56259 Merge remote-tracking branch 'origin/devel' into sharding
Conflicts:
	arangod/VocBase/document-collection.c
	arangosh/CMakeLists.txt
	js/apps/system/aardvark/test/karma/karma.conf.js
2014-02-18 08:50:27 +01:00
Jan Steemann c40d930fa6 issue #765: added SLICE AQL function 2014-02-17 11:09:03 +01:00
Jan Steemann a546f63714 fixed test 2014-02-17 09:56:27 +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 deff511fbf removed unused variables 2014-02-12 17:14:27 +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 6bb4f0f0ac added SKIPLIST AQL function
Conflicts:
	CHANGELOG
2014-02-03 16:54:35 +01:00
Jan Steemann 4a99cde395 jslintified several tests 2014-02-01 01:50:58 +01:00
Max Neunhoeffer 3966ce0ac7 Rename sharding dir to cluster 2014-01-31 11:24:01 +01:00
Jan Steemann e9c5af7895 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsView.css
	js/apps/system/aardvark/frontend/css/layout.css
	js/apps/system/aardvark/frontend/js/routers/router.js
2014-01-30 19:40:21 +01:00
Jan Steemann 0a2d61a42a added SHORTEST_PATH AQL function, allow user-defined functions for filtering in TRAVERSAL etc. 2014-01-28 01:51:27 +01:00
Jan Steemann ea2af50683 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	Documentation/ImplementorManual/HttpSystem.md
	js/apps/system/aardvark/aardvark.js
	js/apps/system/aardvark/frontend/css/buttons.css
	js/server/version-check.js
2014-01-24 14:50:09 +01:00
Jan Steemann d55a5b156c added tests and documentation for issue #748 2014-01-23 17:22:19 +01:00
Michael Hackstein 23e0122f0f Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-21 14:42:22 +01:00
Michael Hackstein 7cd01e816c Fixed new discrepancies between the etcd agency and the high level javascript communication, based on Shards in Collections in the Current state 2014-01-21 14:16:24 +01:00
Jan Steemann 64417d4423 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-01-21 09:29:45 +01:00
Michael Hackstein c7f86b3def Updated high-level js communication library for newest version of agency comm 2014-01-20 16:37:56 +01:00
Jan Steemann 9f69aae986 issue #736: AQL function to parse collection and key from document handle 2014-01-17 22:39:04 +01:00
Jan Steemann b0e4dc91dd adjusted listDatabases and doesDatabaseExist 2014-01-15 16:01:05 +01:00
Jan Steemann fcb545d268 removed unused methods 2014-01-15 14:00:42 +01:00
Jan Steemann e02b0b52e1 renamed methods 2014-01-15 10:52:56 +01:00
Jan Steemann ce2627619e create collection stub 2014-01-14 16:21:48 +01:00
Jan Steemann 4ec6f04932 return collection properties 2014-01-14 13:19:43 +01:00
Michael Hackstein 9f3479f5b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann f95a0dc6c1 defer evaluation of subqueries 2014-01-10 16:45:36 +01:00
Jan Steemann 269e50eb8f defer evaluation of logical operators 2014-01-10 16:45:07 +01:00
Michael Hackstein b00f9d1100 Added Diff for DBServers and Coordinators 2014-01-08 08:36:17 +01:00
Michael Hackstein 6998e4b2ce Fixed discrepancies between simulated Agency and real Agency communicating with the Agency. 2014-01-07 17:38:46 +01:00
Michael Hackstein 65bb8d2ae3 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 16:47:13 +01:00
Michael Hackstein 92488ab916 Updated to flat version of agency.list and JSLint fixes 2014-01-07 16:40:21 +01:00
Jan Steemann 45a5296e9e make agency.list() return a flat list if requested 2014-01-07 16:24:54 +01:00
Michael Hackstein f7183d6d5a Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-07 15:38:47 +01:00
Michael Hackstein 000260d701 Added Sync and convenience functions in high level agency communication 2014-01-07 15:38:41 +01:00
Jan Steemann 5a365cb2b1 removed shardLocation key 2014-01-07 14:00:27 +01:00
Jan Steemann 3183e6d402 created global cluster object variables 2014-01-07 11:34:42 +01:00
Michael Hackstein 9b2cf1abe8 Added options to move shards in high level agency communication 2014-01-07 11:29:39 +01:00
Michael Hackstein 976ed07007 Added read collection/shard information to high level agency communication and massive code cleanup. 2014-01-07 11:13:35 +01:00
Jan Steemann 3309743c1a moved some collection parameters around 2014-01-07 11:02:49 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Michael Hackstein 5bfb936e02 Added plan Coordinators and DatabaseList to high level agency communication. 2014-01-06 13:40:36 +01:00
Jan Steemann 4de2b916c4 added test for uniqid 2014-01-06 13:18:01 +01:00
Michael Hackstein 7605b33dd3 Added current Coordinators and DBservers to high level agency communication 2014-01-06 12:49:57 +01:00
Jan Steemann ca1e6288a2 allow functions results as parameters in all function calls 2014-01-06 11:14:54 +01:00
Michael Hackstein 7b745854db Added target Coordinators and DatabaseList to high level agency communication. 2014-01-06 09:18:56 +01:00
Michael Hackstein 5bed79017e Optimized readability of routes in agency-comm tests 2014-01-06 00:01:25 +01:00
Michael Hackstein 17cbbcd092 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-03 17:11:05 +01:00
Michael Hackstein ad99e44223 Started implementing of highlevel js agency communication. Right now it is possible to change the target by adding/removing Database servers 2014-01-03 17:10:57 +01:00
Jan Steemann a7d9b3f578 added test for cluster helper functions 2014-01-03 16:04:40 +01:00
Jan Steemann 3176c772cf allow locking/unlocking of arbitrary keys 2014-01-03 15:18:48 +01:00
Jan Steemann 84c46ddb4d added agency.list() 2014-01-03 15:11:03 +01:00
Jan Steemann 532a59d0a3 added agency locks 2014-01-03 13:52:54 +01:00
Jan Steemann 87c1897c23 added lock and unlock functions, yet untested 2014-01-02 18:03:08 +01:00
Jan Steemann c48d54c49b conditional execution of agency tests 2014-01-02 17:22:37 +01:00
Jan Steemann 8070db37a2 changed heartbeat watch implementation 2014-01-02 13:36:26 +01:00
Frank Celler 84507cfc44 merged changes from 1.4 back to devel 2013-12-27 14:59:23 +01:00
Jan Steemann b903d9080d Merge remote-tracking branch 'origin/devel' into sharding
Conflicts:
	js/apps/system/aardvark/test/karma/karma.conf.js
2013-12-20 15:35:50 +01:00
Jan Steemann 7c4944de83 added --server.ssl-protocol option for client tools
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/GeneralServer/SslAsyncCommTask.h
2013-12-13 17:58:24 +01:00
Jan Steemann e7ba403998 added --server.ssl-protocol option for client tools 2013-12-13 17:53:51 +01:00
Jan Steemann 5b0713af9c added recursive watches and structured get 2013-12-12 11:16:41 +01:00
Jan Steemann 13bcc2bf7a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2013-12-11 18:39:10 +01:00
Jan Steemann 025a11dbee fixed comments 2013-12-11 18:37:26 +01:00
Jan Steemann 620f4b1c47 added agency tests 2013-12-11 18:37:15 +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 c63655b64c make test more reliable 2013-12-04 20:38:07 +01:00
Jan Steemann 13b8b293bc increased test threshold 2013-11-25 09:40:51 +01:00
Max Neunhoeffer 3aa1b12a45 Merge branch 'skiplist-cleanup' into devel
This implements a considerable cleanup of the skip list index code:
  - Replace implementation of skip lists by a generic one using
    callbacks for comparisons
  - The new implementation resides in lib/BasicsC/skip-list.*
  - It uses a singly linked list (unidirectional) as opposed to the
    previous implementation which used a doubly linked list
  - Adjust skip list index code in arangod/SkipLists/skiplistIndex.* to
    use the generic skip list implementation
  - Unify unique skip lists and non-unique ones into one code base
  - Cleanup in skip list index code, in particular with respect to
    iterators
  - Prepare the scene for sparse skip list indices
2013-11-22 10:47:04 +01:00
Max Neunhoeffer b23f299aaa Add unittest for correctness of skiplist index. 2013-11-22 10:40:13 +01:00
Jan Steemann b75c66c2e4 fixed segfault in AQL optimiser when using IN on constant, non-list values 2013-11-21 22:56:37 +01:00
Jan Steemann 6302003f06 fixed segfault in AQL optimiser when using IN on constant, non-list values 2013-11-21 22:53:32 +01:00
Jan Steemann 436b47eb0c removed unnecessary shaper attribute from struct 2013-11-20 12:38:47 +01:00
Jan Steemann 0fe4c7b090 fixed shape compaction 2013-11-20 12:02:13 +01:00
Jan Steemann 9054e14232 removed unused variables 2013-11-18 11:22:09 +01:00
Jan Steemann 72aaacbb54 removed priority queues
this feature was never advertised nor documented nor tested.
2013-11-18 11:12:36 +01:00
Max Neunhoeffer 929ea7bbf8 Increase a threshold because a unittest failed by coincidence. 2013-11-14 14:22:20 +01:00
Jan Steemann 5c2dcf8f74 added database-directory test 2013-11-11 14:36:49 +01:00
Max Neunhoeffer ea7abdc027 Add a test suite.
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-08 09:26:06 +01:00
Jan Steemann 40a21d0efb fixed bitarray index access 2013-11-07 16:27:23 +01:00
Jan Steemann 9d5e5ff7cc merged fix for issue #653 2013-11-07 16:26:45 +01:00
Jan Steemann 3c3e89721f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-11-07 16:25:07 +01:00
Jan Steemann 217e5f897b fixed bitarray index access 2013-11-07 16:24:57 +01:00
Max Neunhoeffer 7d19f11a70 Add a test suite.
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-07 16:00:26 +01:00
Jan Steemann 9e78ab5af5 added NTH and POSITION 2013-11-04 18:24:03 +01:00
Jan Steemann 935d1edd53 issue #653: slow query 2013-11-04 13:33:26 +01:00
Jan Steemann abcf1c769a greater tolerance for stddev dist 2013-10-31 18:55:50 +01:00
Jan Steemann fdceda75e8 greater tolerance for stddev dist 2013-10-31 18:40:17 +01:00
Jan Steemann 0b64f18e77 issue #650: Randonmess of any() should be improved 2013-10-31 10:37:45 +01:00
Jan Steemann 46d4e14f7b issue #650: Randonmess of any() should be improved 2013-10-31 10:09:01 +01:00
Jan Steemann e190076c29 allow dynamic parameters in DOCUMENT() 2013-10-30 16:19:24 +01:00
Jan Steemann 83866ba58b made AQL DOCUMENT function polymorphic 2013-10-30 16:19:14 +01:00
Jan Steemann e576ee5662 allow dynamic parameters in DOCUMENT() 2013-10-30 16:17:37 +01:00
Jan Steemann 73dd3f9185 made AQL DOCUMENT function polymorphic 2013-10-30 15:01:38 +01:00
Jan Steemann 671b1e850b added tests for dump/restore 2013-10-15 16:47:37 +02:00
Jan Steemann dc69d6fa60 updated documentation 2013-10-02 17:54:39 +02:00
Jan Steemann 9155b16252 caching for db[...] 2013-09-21 00:12:35 +02:00
Jan Steemann 43a4464daf grr 2013-09-20 13:33:24 +02:00
Jan Steemann ed163164c4 fixed queue naming 2013-09-20 13:17:32 +02:00
Jan Steemann 894180dc20 added test cases 2013-09-13 18:25:28 +02:00
Jan Steemann 42441b208f refactoring of multiple databases, intermediate commit 2013-09-11 11:42:34 +02:00
Jan Steemann d37b21375b attempt to fix travis build 2013-09-05 14:51:15 +02:00
Jan Steemann 42b8dfca49 added --server.database option for client tools 2013-09-02 13:02:53 +02:00
Jan Steemann 8ae67b32c8 increased wait time 2013-08-29 14:12:54 +02:00
Jan Steemann 3aab2d73c3 add wait time 2013-08-29 11:38:10 +02:00
Jan Steemann eb2dee447c fixed test 2013-08-28 22:50:31 +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
Jan Steemann 397a73d2f2 fixed tests 2013-08-27 12:19:42 +02:00
Jan Steemann e6d8687250 added AQL MINUS function 2013-08-26 22:25:30 +02:00
Jan Steemann 6dcdf5582e added test 2013-08-19 12:36:13 +02:00
Jan Steemann 5a99987673 issue #581: parameter binding for attributes 2013-08-19 12:29:59 +02:00
Jan Steemann 1fc1bb108d added replication client tests 2013-08-02 11:45:55 +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 f1418ec667 updated tests and docs 2013-08-01 16:53:29 +02:00
Jan Steemann 78601319fb updated replication API 2013-07-30 18:40:35 +02:00
Jan Steemann 461001efd2 split of initial and continuous sync, currently not working 2013-07-30 14:13:49 +02:00
Jan Steemann 9a5a1b02c1 fixed server crash when using firstExample/byExample in a transaction 2013-07-27 17:25:57 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann 7dcfae65a7 added tests for multi-let 2013-07-18 12:08:27 +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 72349558c1 centralised AQL tests 2013-07-18 00:17:39 +02:00
Jan Steemann 354f8018cc centralise AQL tests 2013-07-17 23:29:07 +02:00
Jan Steemann 2582fbdf50 centralise AQL tests 2013-07-17 23:18:27 +02:00
Jan Steemann 252beb78c8 centralise AQL tests 2013-07-17 23:03:45 +02:00
Jan Steemann e1bf9b9a9e centralise AQL tests 2013-07-17 22:16:06 +02:00
Jan Steemann 592a182e96 centralised AQL tests 2013-07-17 22:08:17 +02:00
Jan Steemann 66c9896e65 centralise AQL tests 2013-07-17 22:00:24 +02:00
Jan Steemann a0c5d1f7b4 simplify AQL query calls 2013-07-17 21:22:24 +02:00
Jan Steemann c61395dff6 added single line comments for AQL 2013-07-17 15:12:53 +02:00
Jan Steemann cf2cb53386 fixed test 2013-06-28 10:25:56 +02:00
Jan Steemann 61c43a47b7 fixed queries 2013-06-28 09:54:05 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann 54b0552dee use a stable sort in COLLECT 2013-06-06 16:56:39 +02:00
Jan Steemann 5bdaa22049 issue #545 2013-06-04 18:31:16 +02:00
Jan Steemann fadcb59423 issue #540 2013-05-23 15:24:40 +02:00
Jan Steemann aca42ef9fd issue #540: merged patch by @guidoreina, added test 2013-05-23 12:17:57 +02:00
Jan Steemann 28039b3c8a one more test 2013-05-17 19:42:55 +02:00
Jan Steemann 78169e3626 issue #531: thanks to @guidoreina for bugfix suggestions! 2013-05-17 19:29:05 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann 3ac55bedbb issue #512: bind parameters for limit 2013-05-06 10:47:53 +02:00
Jan Steemann 8e23b92fb9 made "limit" an optional parameter for AQL NEAR() 2013-04-21 15:45:13 +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 d17fc17bf2 updated documentation 2013-04-12 18:09:48 +02:00
Jan Steemann 3e4ddb049a updated documentation 2013-04-12 00:49:08 +02:00
Jan Steemann 9b5849f650 updated documentation 2013-04-12 00:42:02 +02:00
Jan Steemann 68116b7145 added test 2013-04-11 21:08:45 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Frank Celler f373615268 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/V8Server/v8-actions.cpp
2013-04-10 21:47:51 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
Jan Steemann badf20e47e added AQL function NEIGHBORS 2013-04-09 18:14:46 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Jan Steemann 4bb32107ba triAGENS/ArangoDB-PHP#55
optimiser may have mis-optimised duplicate filter statements with limit
2013-03-27 14:22:49 +01:00
Jan Steemann 01c0da5238 fixed more tests 2013-03-25 12:40:07 +01:00
Jan Steemann 9598aebc59 fixed tests and make them not rely on on-the-fly-collection-creation 2013-03-25 12:36:01 +01:00
Frank Celler 38a5cf6a2d added development-mode 2013-03-22 17:33:25 +01:00
Jan Steemann 9b282ab74c some cleanup of transaction code 2013-03-21 18:54:38 +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
Jan Steemann 16586c6ee1 make AQL REVERSE() work on strings, too 2013-02-27 14:16:40 +01:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Jan Steemann 3e04acf3ee added AQL functions KEEP() and UNSET() 2013-02-14 16:14:22 +01:00
Jan Steemann f00bf9c8d2 be more strict with numeric limits 2013-02-13 12:08:59 +01:00
Jan Steemann ca81913abb added AQL function EDGES() 2013-02-07 22:53:50 +01:00
Jan Steemann f16f88a2e6 added docs for CONTAINS(), added LIKE() 2013-02-06 11:40:45 +01:00
Jan Steemann e06329db48 fix cross-collection queries in AQL 2013-02-05 10:56:28 +01:00
Jan Steemann 2263e959fe added tests for cross-collection queries 2013-02-05 09:26:05 +01:00
Jan Steemann d17628e28b adjusted test 2013-02-04 22:19:40 +01:00
Jan Steemann de0b290bcd moved AQL to use AhuacatlTransaction 2013-02-04 11:25:03 +01:00
Jan Steemann 8989bc398c added more test cases for over/underflow 2013-01-30 20:58:40 +01:00
Jan Steemann 8136f40f79 added more test cases 2013-01-30 10:02:54 +01:00
Jan Steemann 67a9608ce6 added test cases 2013-01-30 09:42:18 +01:00
Jan Steemann 9773a88cf9 prevent endless loops for inf double values being appended to string buffer 2013-01-29 12:07:30 +01:00
Jan Steemann b7cec5dc22 added test case for naming 2013-01-29 11:19:19 +01:00
Jan Steemann 234f2ecaaa simplify list access in AQL 2013-01-29 09:15:14 +01:00
Jan Steemann d4d7123cc8 issue #363: renamed TREE to TRAVERSAL_TREE 2013-01-28 17:33:17 +01:00
Jan Steemann 909e46c671 moved global AQL functions to internal module 2013-01-25 09:34:51 +01:00
Jan Steemann ac91506da4 fixed issues reported by jslint, added AQL ATTRIBUTES() 2013-01-24 17:25:48 +01:00
Jan Steemann 8fc4b97710 shortened internal aql function names 2013-01-24 14:55:12 +01:00
Jan Steemann 81dc83b8df de-globalised aql 2013-01-24 14:49:55 +01:00
Jan Steemann 4b433a511a added followEdges property for AQL TRAVERSE() function 2013-01-23 11:28:33 +01:00
Jan Steemann 09f0a91595 make MATCHES() AQL function variadic 2013-01-23 10:25:38 +01:00
Jan Steemann 58cead20e7 allow FUNC(...)[...] and FUNC(...).attr in AQL 2013-01-22 11:27:21 +01:00
Jan Steemann 3b4a18fd94 fixed import tests 2013-01-18 11:14:54 +01:00
Jan Steemann 752b9a4846 fixed tests 2013-01-18 03:45:24 +01:00
Jan Steemann c73cf43874 tests 2013-01-16 18:39:08 +01:00
Jan Steemann 4761e9c28c added more tests 2013-01-14 00:02:10 +01:00
Jan Steemann 6acc85389c fixed "any" traversal 2013-01-13 23:56:28 +01:00
Jan Steemann 87034eaa02 fixed traverse 2013-01-13 23:43:41 +01:00
Jan Steemann ad14130aa0 some tests for traversal 2013-01-13 23:40:27 +01:00
Jan Steemann 12c687d934 added AQL fulltext queries 2013-01-11 23:08:54 +01:00
Jan Steemann 992c49d4a1 more cases for issue #324 2013-01-08 00:47:44 +01:00
Jan Steemann e28d9b9a93 issue #327: fixed javascript parse errors 2012-12-27 18:05:02 +01:00
Jan Steemann 443757df3b some tests for issue #325 2012-12-20 13:35:49 +01:00
Jan Steemann 7f93615dc6 issue #326 2012-12-19 17:22:01 +01:00
Jan Steemann fb4afd0353 fulltext index 2012-12-10 12:16:48 +01:00
Jan Steemann cbaa57a1bd cleanup of fulltext indexes, resizing etc. 2012-12-07 18:00:01 +01:00
Jan Steemann c49ce0a52f fulltext resizing, still incomplete 2012-12-07 13:51:19 +01:00
Jan Steemann b5b431e815 some more tests 2012-12-07 09:08:58 +01:00
Jan Steemann a9df4d22cb extended AQL document() function to take id lists 2012-12-05 14:10:06 +01:00
Jan Steemann e4e95fabfe added AQL function DOCUMENT() 2012-12-05 11:47:03 +01:00
Jan Steemann cc54fd3ccc added some language test cases 2012-12-04 16:02:40 +01:00
Jan Steemann 99034b0aa4 more tests 2012-12-04 15:36:49 +01:00
Jan Steemann 0b41690881 tests for substrings 2012-12-04 15:01:48 +01:00
Jan Steemann b5c978feb6 applied bugfix from Richard, more test cases 2012-12-04 14:40:50 +01:00
Jan Steemann 46132c9f26 more tests for fulltext 2012-12-04 14:20:55 +01:00
Jan Steemann dc9f84fc60 added test cases for update and delete 2012-12-04 11:46:49 +01:00
Jan Steemann 5742ab6fba fixed unicode lowercasing 2012-12-04 11:12:38 +01:00
Jan Steemann 5eb0081bcd tests for issue #300 2012-12-04 09:58:23 +01:00
Jan Steemann 1992597015 applied bug fix from Richard, activated 2 more tests 2012-12-04 09:00:48 +01:00
Jan Steemann cb08d4f45f fulltext tests 2012-12-04 01:51:16 +01:00
Jan Steemann 4d2d8455d4 fulltext query test cases 2012-12-04 01:20:34 +01:00
Jan Steemann cbad6b526a make collections accesible via name instead of id.
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann d4daccb3a5 added a fix and tests for issue #293 2012-11-27 13:55:52 +01:00
Jan Steemann 0f8767a996 issue #287 2012-11-20 18:22:31 +01:00
Jan Steemann 37750da396 * fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:00:09 +01:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
Jan Steemann d117f2916a issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
Jan Steemann fc0e64f812 issue #247 2012-10-17 13:07:44 +02:00
Frank Celler 939c5ece15 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	CHANGELOG
	CONTRIBUTING.md
	Doxygen/arango-html.doxy
	Doxygen/arango-latex.doxy
	Doxygen/arango-xml.doxy
	Doxygen/arango.template
	Makefile.in
	Makefile.local
	Makefile.unittests
	VERSION
	config/config.sub
	configure
	configure.ac
	js/actions/system/api-system.js
	js/client/js-client.h
	js/common/bootstrap/js-modules.h
	js/server/js-ahuacatl.h
	packetize.sh
2012-10-11 15:19:44 +02:00
Jan Steemann 6d96d040fa added AQL function TO_LIST 2012-10-10 11:02:56 +02:00
Jan Steemann eb11086ae5 added AQL function TO_LIST 2012-10-10 10:51:35 +02:00
Jan Steemann 5da08eb283 allow AQL to use indexes in additional cases 2012-10-08 12:51:27 +02:00
Jan Steemann 3b5d4a4fc9 issue #204: allow import of tab-separated values
this enables the user to specify the tab as separator for arangoimp.
the separator and eol values used by arangoimp can now also consist of
more than one character.

updated documentation and added test cases
2012-09-30 01:38:32 +02:00
Frank Celler aeb83e4435 ssue #165: front-end application howto 2012-09-29 16:03:32 +02:00
Jan Steemann 8944637717 issue #183: strange unittest error 2012-09-03 08:42:38 +02:00
Jan Steemann b8f694ec0a issue #178: added test cases for arangoimp 2012-08-31 13:31:16 +02:00
Jan Steemann 31dbf59cc8 issue #137: AQL optimizer should use indexes for ref accesses with 2 named attributes 2012-08-06 13:08:45 +02:00
Jan Steemann a70d4f2920 issue #137: exploit indexes for FILTER patterns collection.attribute operator collection.attribute 2012-08-06 12:56:11 +02:00
Jan Steemann 3411a9b98c fixed a few query optimiser bugs, added test cases 2012-06-29 15:26:35 +02:00
Jan Steemann fa3b6a74fa fixed some range optimiser bugs, added test cases 2012-06-29 11:30:44 +02:00
Jan Steemann bafc974623 added test cases for range optimisation, fixed some range optimiser bugs 2012-06-29 10:23:04 +02:00
Jan Steemann e3a075057f reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
Jan Steemann d84193bce7 explain & optimizer 2012-06-11 17:55:09 +02:00
Jan Steemann 7d84873f4f added test cases for ref access 2012-06-06 16:20:23 +02:00
Jan Steemann c21659fbac added more test cases for index access 2012-06-06 15:57:38 +02:00
Jan Steemann 15a504d023 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-01 13:21:20 +02:00
Heiko Kernbach 6a8c0c2400 test suite 2012-06-01 10:33:18 +02:00
Jan Steemann 11612dbe15 fixed a segfault with some broken queries 2012-06-01 09:12:14 +02:00
Heiko Kernbach 030ba0f2e2 ahuacatl-contains 2012-05-31 14:15:46 +02:00
Jan Steemann 68db2dc0b5 test case for issue #97 2012-05-28 20:52:00 +02:00
Jan Steemann 693338a0fb renamed some functions 2012-05-24 15:27:29 +02:00
Jan Steemann 3f539e7bd6 possible fix for issue #82 2012-05-23 21:44:52 +02:00
Jan Steemann 0bf4a241c7 added test cases 2012-05-23 00:13:33 +02:00
Jan Steemann 34bfac9774 some more tests 2012-05-22 22:18:30 +02:00
Jan Steemann 46ea63a11c more test cases 2012-05-21 14:57:49 +02:00
Jan Steemann 24d829bb5c added tests for skiplist queries 2012-05-21 14:46:59 +02:00
Jan Steemann 8e834971fd internally changed the query execution, adjusted query tests 2012-05-21 10:31:05 +02:00
Jan Steemann 4d8e005241 more test cases 2012-05-19 01:41:11 +02:00
Jan Steemann 57efcc2668 added complex tests 2012-05-19 01:17:17 +02:00
Jan Steemann e5cc97633f added tests 2012-05-18 18:56:41 +02:00
Jan Steemann ba7eb326c7 added test cases 2012-05-18 17:18:50 +02:00
Jan Steemann 12df9e7d02 added test cases 2012-05-18 16:51:24 +02:00
Jan Steemann 7fea45cb97 added error code checks for bind parameter tests 2012-05-18 16:11:45 +02:00
Jan Steemann 92392b6c79 fixed tests 2012-05-18 16:05:28 +02:00
Jan Steemann 49990c5288 unified javascript runtime error messages in AQL 2012-05-18 15:52:11 +02:00