1
0
Fork 0
Commit Graph

6011 Commits

Author SHA1 Message Date
Michael Hackstein 47c8f709a9 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-09 15:15:39 +02:00
Michael Hackstein 5d90ffef37 Fixed parameter types for boolean query parameter. Fixed return code for edge creation. 400 is thrown on invalid edge, 404 is thrown if collection or graph not found 2014-07-09 15:15:25 +02:00
scottashton c6a5425930 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-09 14:43:15 +02:00
scottashton 267c8ba451 minor fixes in gharial and ahuacatl 2014-07-09 14:43:06 +02:00
Alan Plum b596941aa5 Documentation method syntax. 2014-07-09 14:00:50 +02:00
Alan Plum 38581d714f Marked old requestContext.queryParam/pathParam syntax for deprecation. 2014-07-09 13:10:13 +02:00
Alan Plum f44d319f3e Added tests. 2014-07-09 13:09:16 +02:00
Alan Plum 557167f74d Fixed copy-paste error. 2014-07-09 13:09:16 +02:00
Alan Plum 5671bf1440 Implement joi validation of query and path params. Fixes #936. 2014-07-09 13:09:16 +02:00
Alan Plum 2d4a76417c Removed deprecation warning for now. 2014-07-09 12:41:03 +02:00
Alan Plum 3a117f5bd8 Undocumented body param now uses new syntax. 2014-07-09 12:40:05 +02:00
Alan Plum 7887f1b282 Added tests. 2014-07-09 12:40:05 +02:00
Alan Plum 25afdec36e Made Foxx RequestContext bodyParam more consistent with other param methods. Fixes #935. 2014-07-09 12:40:05 +02:00
Alan Plum 6ff6d4e41a Merge pull request #932 from triAGENS/foxx-joiful-models
Use Joi for model validation (fixes #926)
2014-07-09 12:39:27 +02:00
Michael Hackstein 439b05a361 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-09 12:19:27 +02:00
Michael Hackstein 74c8752d97 Fixes false positioning of edge #894. Tested in FF, Chrome, Safari, IE11 (all newest versions) 2014-07-09 12:19:22 +02:00
Alan Plum 0b97f4731d Marked old Model.extend syntax for deprecation. 2014-07-09 12:00:35 +02:00
Alan Plum 2d6a0f2a73 Clarified isEmpty check. 2014-07-09 12:00:35 +02:00
Alan Plum 08d3be148c Docs consistency. 2014-07-09 12:00:35 +02:00
Alan Plum 34de2d00d3 Added documentation for errors and isValid. 2014-07-09 12:00:35 +02:00
Alan Plum 292ff5c8e7 Don't clone objects just to throw them away. 2014-07-09 12:00:35 +02:00
Alan Plum b2415d7871 Implemented Foxx model auto-validation with joi. 2014-07-09 12:00:34 +02:00
Alan Plum 889e8de4c9 Implemented Joi validation/toJSONSchema with legacy fallback. See #926. 2014-07-09 12:00:34 +02:00
Max Neunhoeffer 5c333cc94a Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-09 10:18:11 +02:00
Max Neunhoeffer 951be763d3 Disable a test in the cluster that needs transactions. 2014-07-09 10:17:34 +02:00
Michael Hackstein 8cf3a41a0c Used documentation generation commands in general graph documentation 2014-07-09 09:58:04 +02:00
Michael Hackstein b0722d9981 FIxed a bug in an example 2014-07-08 17:36:16 +02:00
Michael Hackstein 3ec0b09ae3 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 17:30:48 +02:00
Michael Hackstein c3a9335621 General graph module now allows to drop the collection alongside the definition of a graph 2014-07-08 17:30:14 +02:00
Michael Hackstein 1f795fec66 Improved gharial and general graph documentation. Gharial now documents waitForSync, keepNull and if-match 2014-07-08 17:18:15 +02:00
Alan Plum 0ebddb7bb5 Updated Foxx RequestContext docs to new method syntax. 2014-07-08 17:15:15 +02:00
Michael Hackstein c9b14f9413 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 16:02:06 +02:00
Michael Hackstein 47d092cc3c Removed commented debug output 2014-07-08 16:02:01 +02:00
Lucas Dohmen 1b46f78c54 Unfinished, undocumented graph feature
Psst... It's a secret...
2014-07-08 15:44:35 +02:00
Thomas Schmidts c9ece0af5c @startDocuBlock removed from non used code block 2014-07-08 15:40:30 +02:00
Michael Hackstein 70f4da0534 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 15:24:04 +02:00
Michael Hackstein bbda062747 Fixed a minor bug when updating the edge definitions. The currently referenced graph object was not updated properly, the stored one was. 2014-07-08 15:23:59 +02:00
Alan Plum abbb9ec146 Added node net, sys. 2014-07-08 14:17:46 +02:00
Alan Plum fbe136b5c1 Added joi. 2014-07-08 14:15:03 +02:00
Michael Hackstein 4cf8df05dc Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 13:53:43 +02:00
Michael Hackstein f763f0aa13 Added an error for the graph module. It will be thrown on the attempt to add an orphan collection that is already used. Also alloed orphan collections for restrictions in fluentAQL 2014-07-08 13:53:39 +02:00
Michael Hackstein aeacb9279a Fixed a problem with waitForSync parameter. Returned type is string, not boolean as expected 2014-07-08 13:08:09 +02:00
Frank Celler e436ecfa40 if a cancelation has occured, flush the module cache 2014-07-08 11:54:53 +02:00
Thomas Schmidts c2fa9cb091 Erased useless @startDocuBlocks 2014-07-08 11:16:56 +02:00
Michael Hackstein 3f6e1c3555 Unified gharial error responses with normal API 2014-07-08 10:46:18 +02:00
Michael Hackstein a474689b2e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 09:50:35 +02:00
Michael Hackstein 9c452b826c Fixed a bug where collections where dropped although they were used as orphans in other graphs 2014-07-08 09:50:30 +02:00
Thomas Schmidts 57cd57c55d Fixed wrong @startDocuBlock in Documentation 2014-07-08 09:37:07 +02:00
scottashton 90e4bf9bd3 distinct result on GRAPH_EDGES 2014-07-08 08:35:37 +02:00
Michael Hackstein b67a016b4c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-08 08:03:12 +02:00
Michael Hackstein 3f7e2a7b76 Fixed failing gharial examples 2014-07-08 08:03:03 +02:00
Frank Celler 793f7e8859 generated files 2014-07-07 18:46:39 +02:00
Frank Celler 0703809e00 added isIP 2014-07-07 18:46:02 +02:00
Thomas Schmidts 19e750b35f Fixed some small errors in @startDocuBlock 2014-07-07 16:58:26 +02:00
Thomas Schmidts 1a78807a67 Fixed a few @startDocuBlock errors 2014-07-07 16:15:50 +02:00
Alan Plum 6326f6dcc6 Formatting. 2014-07-07 15:44:09 +02:00
Michael Hackstein 7383fc4fdd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-07 15:18:39 +02:00
Michael Hackstein 72a9b7e5aa Added waitForSync support for creation of vertices and edges in gharial 2014-07-07 15:18:35 +02:00
Alan Plum b0a44312fa Added package.json 2014-07-07 15:05:07 +02:00
scottashton 866604f93d jslinted 2014-07-07 14:47:14 +02:00
scottashton 64a72ed12b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-07 14:22:41 +02:00
scottashton c5bfe5a33c changed gharial to match php api 2014-07-07 14:21:58 +02:00
Michael Hackstein a9a8efb14b Fixed documentation of gharial. Status code assertion did fail due to waitForSync parameter 2014-07-07 09:51:05 +02:00
Michael Hackstein 4701ad8635 Fixed tests for document view. Frontend should be green again 2014-07-07 09:41:39 +02:00
Michael Hackstein 8fe6f0260d Fixed sorting of documents to use internal total function 2014-07-07 09:31:54 +02:00
Michael Hackstein c588a1ca4c Fixed tests for documents view in admin interface. there was some functionality missing thx @jsteemann 2014-07-07 09:17:30 +02:00
Jan Steemann ddb26d76f8 wrote documentation for WAL 2014-07-06 18:31:41 +02:00
Jan Steemann e0920209f7 added generated file 2014-07-06 15:27:02 +02:00
Jan Steemann 40ebe10d0e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-06 13:53:53 +02:00
Jan Steemann 08654635f1 fixed examples 2014-07-06 13:53:45 +02:00
Frank Celler 40edb310f2 generated files 2014-07-06 13:43:53 +02:00
Jan Steemann c12df38eb2 fixed broken examples 2014-07-06 02:25:19 +02:00
Jan Steemann 0b4040265f added derived files 2014-07-06 00:46:03 +02:00
Jan Steemann 158cdd1c7a improved printing of cursors 2014-07-06 00:44:37 +02:00
Jan Steemann 0ab5732c4d updated documentation 2014-07-06 00:21:55 +02:00
Jan Steemann ca97aa4a07 added tests, fixed segfault 2014-07-05 22:58:36 +02:00
Jan Steemann 5d5b3d7009 added AQL documentation 2014-07-05 19:10:56 +02:00
Jan Steemann 64916fd9d8 next attempt 2014-07-05 16:25:35 +02:00
Jan Steemann a7b590e63a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-05 16:19:28 +02:00
Jan Steemann dce300224c attempt to fix test 2014-07-05 16:19:10 +02:00
Alan Plum eea92e17b1 Merge pull request #930 from triAGENS/foxx-repo-indexes
Fixes #899.
2014-07-05 16:08:25 +02:00
Alan Plum eaf855d964 Documentation method syntax. 2014-07-05 16:05:55 +02:00
Jan Steemann aba9fd431f web interface didn't update the view after filtering documents 2014-07-05 14:43:30 +02:00
Alan Plum 61909ccd23 Added tests for Repository index magic. Fixes #899. 2014-07-04 17:09:50 +02:00
Alan Plum 40448d69cc Consistency in docs. 2014-07-04 17:08:34 +02:00
Alan Plum 2f1ef93574 Allow using Repository::all without arguments. 2014-07-04 17:08:34 +02:00
Alan Plum f1d0124a0f Added index-specific repository methods. 2014-07-04 17:08:34 +02:00
Jan Steemann 772f5fc876 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-04 13:52:45 +02:00
Jan Steemann 6f4ab77d9b fixed WAL collector moving markers 2014-07-04 13:52:31 +02:00
Alan Plum b5442e1ec8 Whitelist metadata in Model::set. 2014-07-04 11:15:56 +02:00
Alan Plum 391810aa61 Don't throw in Model::get. 2014-07-04 11:15:56 +02:00
Jan Steemann 96b195a34d added test 2014-07-04 08:06:02 +02:00
Jan Steemann 04ed18be47 recovery 2014-07-03 22:50:22 +02:00
Jan Steemann 27c106e1f2 removed debug output 2014-07-03 18:51:50 +02:00
Jan Steemann 470839ffb9 fixed tests 2014-07-03 18:51:40 +02:00
Jan Steemann cbf7e27f68 added derived files 2014-07-03 17:12:56 +02:00
Jan Steemann 6fc0c051d0 added test case 2014-07-03 17:12:25 +02:00
Jan Steemann 7554ead5d4 fixed recovery 2014-07-03 16:58:10 +02:00
Jan Steemann 2babd2a1d2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-03 12:58:18 +02:00
Jan Steemann d5e4f6762c foxx-directories test 2014-07-03 12:58:02 +02:00
Michael Hackstein 202deaae85 Fixed issues in gharial module. By default the do not wait for sync http codes are returned. You can now optionally send waitForSync true to all modifying endpoints 2014-07-03 10:53:18 +02:00
Lucas Dohmen f9360c2577 Merge pull request #927 from triAGENS/foxx-model-set-validation
FoxxModel.set validation
2014-07-03 07:49:33 +02:00
Thomas Schmidts 0328c9a900 Fixed a few spelling and code erros and deleted last examples 2014-07-02 17:48:54 +02:00
Alan Plum 299cfd80fe Replaced ES5 methods with underscore because reasons. 2014-07-02 17:14:03 +02:00
Alan Plum e3baa87072 Coding style. 2014-07-02 17:14:03 +02:00
Alan Plum e1aa528295 Added tests for bad model attribute setting. 2014-07-02 17:14:02 +02:00
Alan Plum 7b56ff643f Linting. 2014-07-02 17:14:02 +02:00
Alan Plum 19edeb18ba Implemented simple validation in FoxxModel.set 2014-07-02 17:14:02 +02:00
Jan Steemann 8a36d58524 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 16:53:30 +02:00
Jan Steemann d4858f90d3 added test for renaming 2014-07-02 16:53:23 +02:00
Michael Hackstein 7b22c0c2a5 Added a correct 404 return code to gharial when trying to remove a vertex/edge which does not exists. Also added tests for return codes 2014-07-02 15:03:06 +02:00
Michael Hackstein de1c3836aa Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-02 14:16:41 +02:00
Michael Hackstein 75059ac757 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-02 14:16:28 +02:00
Thomas Schmidts e46d87f23c Changed documentation code in configure chapter 2014-07-02 14:08:41 +02:00
Michael Hackstein 0ad3a34266 Added a simple get graph function to gharial. 2014-07-02 14:07:12 +02:00
Jan Steemann a46ac4a8a2 removed mruby 2014-07-02 13:32:07 +02:00
Max Neunhoeffer da4ca4a6b5 Fix bug in disabling of tests. 2014-07-02 11:37:56 +02:00
Max Neunhoeffer ad767b5aee Implement disabling of client tests. 2014-07-02 11:32:38 +02:00
Michael Hackstein 12cf9e4740 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-02 10:30:01 +02:00
Michael Hackstein 2fd21ceac5 Improved router spec. It now checks for correct width send on resize 2014-07-02 10:29:56 +02:00
Jan Steemann 2f1587785b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 10:28:58 +02:00
Jan Steemann 28965618d1 handle renaming of collections 2014-07-02 10:28:43 +02:00
Max Neunhoeffer 439d44cbc7 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-02 10:26:54 +02:00
Max Neunhoeffer 878678e899 Disable changeMode client test in JS unittest framework. 2014-07-02 10:26:28 +02:00
Max Neunhoeffer e9e2913696 Catch exception in changeMode test. 2014-07-02 10:25:54 +02:00
Jan Steemann 84ef51aaf4 handle properties marker 2014-07-02 09:54:28 +02:00
Jan Steemann ab70cfb9bb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 09:31:17 +02:00
Jan Steemann 7fa01da9b4 handle empty logfiles on startup 2014-07-02 09:31:00 +02:00
Jan Steemann eae94f97a8 removed dead code 2014-07-02 00:21:58 +02:00
Jan Steemann 0a230b77e3 jshund 2014-07-02 00:17:25 +02:00
Michael Hackstein aac1d3ecde Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-01 16:52:21 +02:00
Michael Hackstein fd635bddc0 Reactivated and fixed cluster frontend tests 2014-07-01 16:52:15 +02:00
Jan Steemann a5cf53d417 fixed examples 2014-07-01 16:48:47 +02:00
Jan Steemann 0d6ecea63f removed debug output 2014-07-01 15:58:51 +02:00
Alan Plum 1624c6a1b8 Formatting. 2014-07-01 15:08:38 +02:00
Alan Plum ab4e208e7d Simplified config value validation in aardvark. 2014-07-01 14:41:03 +02:00
Alan Plum 1d497135cf Allow specifying config options when mounting apps in aardvark. 2014-07-01 14:35:08 +02:00
Thomas Schmidts 0577583aa5 Changes in the documentation code for API 2014-07-01 14:18:12 +02:00
Max Neunhoeffer 140072a8f0 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 13:21:06 +02:00
Max Neunhoeffer 7fb712c681 Fix create collection in cluster really. 2014-07-01 13:20:45 +02:00
Jan Steemann 815bb8480a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-01 13:12:47 +02:00
Jan Steemann 4cd20bfb7c fixed syncs across multiple files 2014-07-01 13:12:36 +02:00
gschwab 0d9ef4892c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-01 11:47:38 +02:00
gschwab 8e3b800a69 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-07-01 11:47:28 +02:00
Max Neunhoeffer 89654b68cd Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-01 11:47:25 +02:00
Max Neunhoeffer 351da7709d Fix bug in creation of sharded collections in cluster. 2014-07-01 11:47:09 +02:00
Jan Steemann 9f51f9a5dd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-01 11:36:26 +02:00
Jan Steemann 9469513170 remove replication collection 2014-07-01 11:36:13 +02:00
Jan Steemann c28b672fe5 fixed test 2014-07-01 11:35:57 +02:00
Michael Hackstein 8e1680340d Fixed indention and minor errors in cluster specs 2014-07-01 11:35:01 +02:00