1
0
Fork 0
Commit Graph

1939 Commits

Author SHA1 Message Date
Frank Celler c213c57837 added dev teardown and setup 2013-07-25 13:34:59 +02:00
Jan Steemann 3113fa30ee fixed jslint warnings 2013-07-25 11:38:07 +02:00
Jan Steemann 378e8313f3 added replication docs 2013-07-25 10:54:04 +02:00
Frank Celler 78809a5cc8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-07-25 10:05:17 +02:00
Jan Steemann 8a254ea230 replication API documentation 2013-07-24 17:37:16 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 0adbe8410f log "rev" 2013-07-23 18:00:29 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann 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 c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann cdc57aea83 added arango.reconnect() method for arangosh 2013-07-22 09:57:39 +02:00
Frank Celler ee1ec3d43b better foxx support with global context 2013-07-21 12:10:54 +02:00
Frank Celler 97aa4f6597 cosmetics 2013-07-21 12:01:30 +02:00
Frank Celler 5aa74e9822 limit string on output 2013-07-21 10:17:51 +02:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 2a762ce1f7 replication logger tests 2013-07-19 17:22:06 +02:00
Jan Steemann 54b8bd9d94 fixed jslint warnings 2013-07-19 14:47:08 +02:00
Jan Steemann 3ab117de67 added collection.first() and collection.last() 2013-07-19 14:21:46 +02:00
Jan Steemann 9b55a5ed92 fixed typos 2013-07-19 13:32:22 +02:00
Jan Steemann 6d2daa05a3 test replication logger, initial commit 2013-07-19 11:28:17 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann 2df87f01bb fixed jslint warnings 2013-07-18 12:51:57 +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 08b9f57166 stoppable replication applier 2013-07-17 10:58:10 +02:00
Jan Steemann 9b0c904dca issue #570: updateFishbowl() fails once 2013-07-16 10:07:12 +02:00
Jan Steemann 0b8883f6e2 issue #568: fixed HttpCollection docs 2013-07-16 09:32:56 +02:00
Jan Steemann b5e26235a7 replication configuration 2013-07-12 17:37:24 +02:00
Jan Steemann 1325271bca fixed collection docs 2013-07-11 14:58:33 +02:00
Jan Steemann 98dd1c2522 moved replication parts into separate files 2013-07-11 14:44:09 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann 9fa91447ce renamed attributes 2013-07-09 12:58:10 +02:00
Jan Steemann c6ff61b159 added new error code 2013-07-09 12:33:10 +02:00
Jan Steemann dfd9117fd1 some cleanup, initial implementation of log dump 2013-07-08 12:27:20 +02:00
Jan Steemann 054ed3ca3f apply collection data dumps 2013-07-05 11:41:37 +02:00
Jan Steemann 230f0ddcc3 added errors 2013-07-04 15:51:24 +02:00
Jan Steemann f5968a4646 handle a master's state response 2013-07-04 10:13:09 +02:00
Jan Steemann fa69af4206 added wait time for rotate test 2013-07-03 16:42:58 +02:00
Lucas Dohmen e93dae9632 Fixed JSLint 2013-07-03 14:36:02 +02:00
Jan Steemann c6ea2c417e fixed jslint warnings 2013-07-03 14:11:33 +02:00
Jan Steemann 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Lucas Dohmen bb83987178 Fixing JSLint errors 2013-07-02 14:21:59 +02:00
Jan Steemann 9d2a016c5b make jslint happy 2013-07-01 15:50:51 +02:00
Jan Steemann 1cac136bf6 issue #564 (partly): make default document configurable for Foxx apps
in the manifest file, you can now add the attribute "defaultDocument".
Setting it will override the default "index.html" default document name.
2013-07-01 11:59:10 +02:00
Jan Steemann 1f68eaa221 issue #563: can aal become a default object? 2013-07-01 10:21:18 +02:00
Jan Steemann 6c35ea2520 added missing explanation for system attributes 2013-07-01 10:09:09 +02:00
Lucas Dohmen 7e7a90753a Fixing the build (this time: Really)
Sorry, seems like I shouldn't code today 😊
2013-06-28 19:38:30 +02:00
Lucas Dohmen f6a89cf1d6 Code Review: Client Graph Module 2013-06-28 19:38:29 +02:00
Lucas Dohmen ef86205751 Code Review: Server Graph Module 2013-06-28 18:34:52 +02:00
Lucas Dohmen ccf56dd702 Fix the build 2013-06-28 18:34:26 +02:00
Lucas Dohmen 79a6772667 Code Review: Common Graph Module 2013-06-28 18:14:23 +02:00
Lucas Dohmen 476ec2aaa0 Introducing: GraphAPI
Graph API is wrapping the Graph REST interface for the clientside
ArangoDB module.
2013-06-28 16:39:18 +02:00
Jan Steemann 3b3ac02559 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-28 10:26:06 +02:00
Jan Steemann cf2cb53386 fixed test 2013-06-28 10:25:56 +02:00
a-brandt 7bb3704335 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-28 10:17:46 +02:00
a-brandt 93a8c574bd added a check 2013-06-28 10:17:39 +02:00
Jan Steemann 61c43a47b7 fixed queries 2013-06-28 09:54:05 +02:00
Jan Steemann 4ed7ac6376 improved error messages 2013-06-27 14:49:33 +02:00
Jan Steemann 2a286dc074 updated documentation for #557 2013-06-27 11:33:21 +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 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann db50b38370 fixed typos 2013-06-25 09:06:20 +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 93f7122099 added missing count() method for server-side cursor 2013-06-24 13:50:03 +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 30a747f3ef fixed client-side tests 2013-06-20 19:15:30 +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 b1f243d296 fixed segfault for too big shapes, make shape collection filesize adaptive 2013-06-20 19:14:14 +02:00
Jan Steemann d9c0d588f9 added internal.adminDirectory 2013-06-20 15:47:48 +02:00
Jan Steemann fcf8ff1c47 blind commit to make the basePath for foxx assets dynamic 2013-06-20 14:02:09 +02:00
Lucas Dohmen f64c227b16 Graph Module: Even more in Graph Common 2013-06-19 17:09:19 +02:00
Lucas Dohmen 6a84d4726b Graph Module: Pulled Iterator into Common
Also adjusted it to be useful for the Server Side.
2013-06-19 17:09:19 +02:00
Lucas Dohmen 38327183e8 Graph Module: Edge almost entirely pulled into Common 2013-06-19 17:09:18 +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
Lucas Dohmen 1771c581b7 Graph Module (Client): GraphAPI refined
* Restructering of GraphAPI
* No more feature envy from GraphAPI
2013-06-19 10:29:42 +02:00
Lucas Dohmen 7966657ac0 Graph Module (client): Introducing the GraphAPI
Also some reordering of the methods inside of it.
2013-06-19 10:29:42 +02:00
Lucas Dohmen c8385e4671 Use the connection directly 2013-06-19 10:29:42 +02:00
Lucas Dohmen f1c17dd0d3 Graph Module (client): Pulled get and post graph to request 2013-06-19 10:29:42 +02:00
Lucas Dohmen 5697a7dd74 Graph module (client): Removed Duplication of Iterator 2013-06-19 10:29:42 +02:00
Lucas Dohmen bb71d1391d Graph Module (client): Moved Cursor creation to connection class 2013-06-19 10:29:42 +02:00
Lucas Dohmen cc43747af8 Graph Module (Client): More extracted to the request class 2013-06-19 10:29:42 +02:00
Lucas Dohmen 9cd9b4046b Graph Module (Client): _saveVertex and _saveEdge 2013-06-19 10:29:41 +02:00
Lucas Dohmen 27b3c0fe89 Graph Module (Client): Refactored drop 2013-06-19 10:29:41 +02:00
Lucas Dohmen 12271e7689 Tiny change 2013-06-19 10:29:41 +02:00
Lucas Dohmen 393b887aed Graph Module (Client): First step of extracting shared getEdge behaviour 2013-06-19 10:29:41 +02:00
Lucas Dohmen 14e9279232 Graph Module (Client): Pulling out JSON.stringify to the request method 2013-06-19 10:29:41 +02:00
Lucas Dohmen 53abbdfb8b Pulling out requests in the client Graph module 2013-06-19 10:29:41 +02:00
a-brandt 04e63d52cc added example 2013-06-19 09:53:23 +02:00
a-brandt a9184ce73c fixed jslint warnings 2013-06-18 16:50:50 +02:00
a-brandt 71c5f89010 Added unittests for structures 2013-06-18 15:56:01 +02:00
Jan Steemann 7e53913744 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-14 18:58:27 +02:00
Lucas Dohmen 294b31e839 Further Refactoring of GraphCommon 2013-06-14 10:13:17 +02:00
Lucas Dohmen c357fa1133 Pulled addVertex into Common + tiny style fixes 2013-06-14 10:13:17 +02:00
Lucas Dohmen a81a0f0728 Tiny Refactoring of GraphCommon 2013-06-14 10:11:19 +02:00
Lucas Dohmen 222db29812 More functionality for the tiny is.x library 2013-06-14 10:11:19 +02:00
Jan Steemann 60d0a0e773 fixed doxygen error 2013-06-14 09:37:31 +02:00
Jan Steemann 74872e4575 fixed error message 2013-06-13 16:08:42 +02:00
Jan Steemann 7d101890c7 speedup for KEYS() 2013-06-13 16:08:11 +02:00
Jan Steemann e7975b5273 niced up the examples 2013-06-13 16:07:48 +02:00
Jan Steemann f1ed44dec9 fixed jslint errors 2013-06-13 15:05:30 +02:00
Jan Steemann 8327d76db6 fixed line too long errors 2013-06-13 15:05:18 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann cea8f05db2 fixed example 2013-06-13 13:07:01 +02:00
Jan Steemann b1bc9b3285 adjust traversal docs and examples 2013-06-13 13:06:48 +02:00
Jan Steemann 01cd80d3ea Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-13 12:56:02 +02:00
Jan Steemann 98001c21cc added extra return codes 2013-06-13 12:55:48 +02:00
a-brandt 50e2434d33 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-13 12:29:43 +02:00
a-brandt a1ef5d7425 added PUT 2013-06-13 12:29:24 +02:00
Michael Hackstein ba7f298449 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-13 11:15:15 +02:00
Michael Hackstein 9443ab68d8 Fixed returncode of RestCursorCreateCursorUnknownCollection example 2013-06-13 11:14:56 +02:00
Michael Hackstein d465837056 Added an example for maxIterations 2013-06-13 11:14:12 +02:00
a-brandt 846163e8e4 bugfix 'collection' is already defined. 2013-06-13 11:07:41 +02:00
a-brandt 69fd2b5bb1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-13 10:48:45 +02:00
a-brandt 7d1097ac78 first version structure API 2013-06-13 10:48:34 +02:00
Michael Hackstein fc5f10b3ed Solved conflict 2013-06-13 09:48:46 +02:00
Michael Hackstein ce8343baa4 Made the user-defined expander work 2013-06-13 09:45:27 +02:00
Jan Steemann 9599a021b9 moved some graph traversal validation into the traversal module
- that simplifies some of the traversal-calling routines
- make returning error codes more consistent (specific 404 errors when
referring to unknown collections instead of simple 400 errors)
- optionally limit traversals to a certain number of iterations so they
  don't run endlessly in cyclic graphs
2013-06-12 17:04:47 +02:00
Michael Hackstein 4dd6ff7219 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-06-12 16:08:10 +02:00
Michael Hackstein ed32dd0a9b Started documentation of Traversals. Expander example not yet working 2013-06-12 16:06:47 +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
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
Jan Steemann bb7445a547 fixed jslint warnings 2013-06-11 18:47:15 +02:00
Jan Steemann 005f9f6c6f add safety 2013-06-11 18:31:58 +02:00
a-brandt daa80af5b8 Merge branch 'devel' into multiple_databases 2013-06-11 16:00:34 +02:00
Jan Steemann 0acc1c9580 added stub documentation for traversals (still unfinished) 2013-06-11 15:58:41 +02:00
Jan Steemann 223674f399 fixed doxygen 2013-06-11 13:01:58 +02:00