1
0
Fork 0
Commit Graph

5903 Commits

Author SHA1 Message Date
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