1
0
Fork 0
Commit Graph

8952 Commits

Author SHA1 Message Date
Alan Plum ba4e8166ce Oops. 2015-06-04 01:17:54 +02:00
Alan Plum f61671ded5 Fixed validation error detection. 2015-06-04 00:58:38 +02:00
Alan Plum 136897d9c9 Rebuilt aardvark. 2015-06-04 00:29:48 +02:00
Alan Plum 23a50dfd79 Added script results to Aardvark. Simplified some views. 2015-06-04 00:29:43 +02:00
Alan Plum df226744f5 Better routing error handling. 2015-06-03 21:08:52 +02:00
Alan Plum b67166bac9 Minor tweaks. 2015-06-03 21:08:21 +02:00
Alan Plum 9d3a1dc453 Less noise. 2015-06-03 21:06:59 +02:00
Alan Plum 84950f47fc Removed BaseMiddleware#stringRepresentation. Let's see if this breaks stuff. 2015-06-03 20:23:42 +02:00
Alan Plum abee6392c2 Removed vestigial instanceof check. 2015-06-03 20:23:42 +02:00
Alan Plum d3f8c5dbd7 Fixed instanceof checks. 2015-06-03 20:23:42 +02:00
Alan Plum 6170c19c56 Updated npm deps. 2015-06-03 20:23:42 +02:00
Alan Plum be913280f2 Updated AQB to 1.11.0. 2015-06-03 20:23:41 +02:00
Jan Steemann c8a96b73f8 added derived file 2015-06-03 18:24:48 +02:00
Jan Steemann 237276c18d fixed graph examples 2015-06-03 17:10:50 +02:00
Jan Steemann 91ee0bf060 updated documentation for graph functions 2015-06-03 15:44:10 +02:00
Alan Plum 993ad1e0ea De-IFFE-ify all the modules. 2015-06-03 13:08:58 +02:00
Alan Plum e1186eb8e0 Fixed #1355. 2015-06-03 12:11:38 +02:00
Heiko Kernbach d9723dd8a9 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-06-02 18:25:59 +02:00
Heiko Kernbach 1cf977880b prep for using a function for multiple elements 2015-06-02 18:25:50 +02:00
Alan Plum ec1e9fd336 Updated scripts and queues docs. 2015-06-02 16:51:31 +02:00
Alan Plum bf6501c02b FM: script -> run 2015-06-02 15:48:05 +02:00
Heiko Kernbach 25b01f93cd Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-06-02 15:26:02 +02:00
Heiko Kernbach 4574be59b7 changed icon 2015-06-02 15:25:50 +02:00
Alan Plum fcbd66c2ff Make sure manifest always has config and deps. 2015-06-02 15:17:42 +02:00
Jan Steemann a2d99b55ec cxxified more functions 2015-06-02 15:15:45 +02:00
Heiko Kernbach 34a126e156 graphViewer display changes 2015-06-02 15:12:00 +02:00
Alan Plum b94369c4bc Fixed model-events test. 2015-06-02 14:41:14 +02:00
Alan Plum 83d843d1db Fixed repository-events test. 2015-06-02 14:41:14 +02:00
Alan Plum d785e11900 Use 302 instead of 301 for cluster redirect. Fixes #1356. 2015-06-02 14:41:14 +02:00
Heiko Kernbach c39b0754b5 limited vertices to display, optimized some display properties 2015-06-02 14:34:22 +02:00
Jan Steemann 793522a1dd Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-06-02 14:11:29 +02:00
Jan Steemann a68d455a2d whitespace 2015-06-02 14:10:08 +02:00
Alan Plum e4aa4687b8 Fixed repository spec. 2015-06-02 14:06:13 +02:00
Alan Plum 61f9723909 Auto-create model in repo.save if not a model. 2015-06-02 11:27:23 +02:00
Alan Plum 35cab25c97 Support edge collections. 2015-06-02 11:27:23 +02:00
Heiko Kernbach 59bead09b5 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-06-02 11:15:48 +02:00
Heiko Kernbach 62942b87cf now displaying all vertices of graph 2015-06-02 11:15:34 +02:00
Willi Goesgens ac08877009 Only wait 10 times as long for the server GC to finish before aborting the HTTP connection. 2015-06-02 09:54:27 +02:00
Heiko Kernbach e5e9162d9e graphViewer: added new menu for adding custom nodes 2015-06-01 16:46:56 +02:00
Heiko Kernbach f39a2cfdaf graphViewer now showing 10 start indices 2015-06-01 15:56:47 +02:00
Heiko Kernbach 3c9799e853 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-06-01 14:13:47 +02:00
Heiko Kernbach f7a891ce5d closed/opened vertices more clearly displayed, graph viewer vertices fix, added detailed routes in graphViewer 2015-06-01 14:13:37 +02:00
Alan Plum 30b19cd760 Simplified 'createCallbackActionCallbackString' implementation. 2015-06-01 12:30:41 +02:00
Alan Plum d39a2d241b More consistency. 2015-06-01 12:30:41 +02:00
Alan Plum b2f6f29c55 Consistent punctuation. 2015-06-01 11:45:14 +02:00
Michael Hackstein 99afc6ec87 CXX ExampleMatcher learned about internal attributes. This makes all AQL-Graph tests pass again ;) 2015-05-30 00:00:49 -07:00
Michael Hackstein a185fa9ec4 The JS variant of shortest path now only returns paths of lenght > 0. 2015-05-29 10:22:40 -07:00
Jan Steemann b75a39b4c8 fixed typo in message 2015-05-29 18:08:30 +02:00
Frank Celler 0274fbf6ba fixed wrong order of from and to 2015-05-29 15:06:36 +02:00
Jan Steemann 59ce0b7ad9 test option `--create-database` 2015-05-29 14:37:47 +02:00
Alan Plum e16ddf0b93 Don't allow signing with key and alg:none either. Added test. 2015-05-29 11:08:20 +02:00
Alan Plum f95cc7d2a6 Don't verify JWT with alg:none if key is given. 2015-05-29 10:46:22 +02:00
Michael Hackstein 0ee1688da5 Removed debug switch 2015-05-29 00:00:04 -07:00
Michael Hackstein 117a81b4e2 Further attempt to fix Graph features 2015-05-28 23:47:33 -07:00
Michael Hackstein 849bf9d6cf Fixes in basic SHORTEST_PATH function s.t. the cluster will not crash and uses the JS fallback. But gets the new return format 2015-05-28 23:11:27 -07:00
Michael Hackstein 777928de05 Fixed GRAPH_EDGES and their tests. 2015-05-28 17:31:51 -07:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07:00
Michael Hackstein 4dbf8b454d Fixed all GRAPH_NEIGHBOR tests for new format. GRAPH_EDGES still failing. CPP MATCHER still not able to match internal attributes 2015-05-28 15:18:24 -07:00
Alan Plum 4d8863070d Don't ever use Swagger validator. See #1327. 2015-05-28 16:30:46 +02:00
Jan Steemann 98a52a0566 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-28 16:18:55 +02:00
Jan Steemann 38258c7938 make test more reliable 2015-05-28 16:18:48 +02:00
Frank Celler dd0ef2cae2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-28 15:50:31 +02:00
Jan Steemann 7bca0024a5 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-28 15:03:23 +02:00
Jan Steemann e8c3e385a6 updated CHANGELOG 2015-05-28 15:03:17 +02:00
Alan Plum efb062ea7b Use forClient() in PUT/PATCH templates. Fixes #1350. 2015-05-28 14:56:55 +02:00
Jan Steemann 30fa33647c issue #1345: advanced debug information for User Functions 2015-05-28 14:53:57 +02:00
Alan Plum 86015dba97 Added 404 response to PUT/PATCH/GET templates. 2015-05-28 14:52:17 +02:00
Alan Plum 802add169f More graceful error if mount point doesn't exist. 2015-05-28 14:47:59 +02:00
Jan Steemann d3551a77a1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-28 14:29:16 +02:00
Jan Steemann 64ae7adb93 issue #1341: Can't use bindvars in UPSERT 2015-05-28 14:28:23 +02:00
Alan Plum 7f92fdb2a1 Simplified. 2015-05-28 14:14:06 +02:00
Frank Celler 1859ec6f8c added missing meta data 2015-05-28 13:16:40 +02:00
Jan Steemann f724cb3185 added test 2015-05-28 12:23:30 +02:00
Jan Steemann d2fcb64ec4 fixed web interface errors 2015-05-28 12:09:25 +02:00
Jan Steemann ad59242822 fixed ambiguous attribute name "version" for collections 2015-05-28 11:54:57 +02:00
Jan Steemann b1aee3a92f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-28 10:27:58 +02:00
Jan Steemann 4dde6e49cd goodbye barriers, welcome ditches 2015-05-28 10:23:30 +02:00
Willi Goesgens 3ab8579221 The planner needs to forward the valgrindHosts variable. 2015-05-28 09:56:31 +02:00
Michael Hackstein 3297bfd1c6 Made the COMMON_NEIGHBORS function aware of the changes in NEIGHBORS. It also has a slightly changed return format now: {left: vertex1, right: vertex2, neighbors: [neighbors]}. This actually allows to reuse the result much easier in AQL. 2015-05-27 15:09:11 -07:00
Michael Hackstein 0b0a9b81fb Adopted server side unit tests to new return format of graphs. However some still fail because ExampleMatcher is not able to match internal attributes yet 2015-05-27 13:41:20 -07:00
Alan Plum 159533ab16 Fix exports. 2015-05-27 19:45:11 +02:00
Alan Plum 0d47bc5652 Handle tuple validation (workaround for hapijs/joi#659). 2015-05-27 19:44:34 +02:00
Alan Plum a3d8a90406 Make swagger more error-safe. 2015-05-27 19:43:10 +02:00
Alan Plum 138ceb938a Support scripts-as-jobtypes. 2015-05-27 13:54:38 +02:00
Alan Plum 2572ce9664 Style. 2015-05-27 12:52:42 +02:00
Alan Plum 9b5acdf25a Don't dump file content in console. 2015-05-27 12:43:31 +02:00
Alan Plum d40d87a459 More style. 2015-05-27 11:49:56 +02:00
Alan Plum 0a2b4947ae Style. 2015-05-27 11:28:51 +02:00
Alan Plum 81461931c5 No globals. 2015-05-27 11:02:59 +02:00
Alan Plum e9c5b87ea5 Inject process and console in Module.run. 2015-05-27 10:28:13 +02:00
Alan Plum 00cbb400fd Simplification. 2015-05-27 10:27:56 +02:00
Alan Plum 797fdc36d7 Support fs.readFileSync(filename, {encoding}). 2015-05-27 10:24:12 +02:00
Willi Goesgens 66caf3c317 Add checkmark to skip graph tests. 2015-05-27 10:00:18 +02:00
Michael Hackstein 9a5ee272fe Fixed several graph tests to use the new return format. Neighbors and ShortestPath are having different return formats now. Still WIP 2015-05-26 16:15:12 -07:00
Jan Steemann 5935a72645 more information in explainer 2015-05-26 21:45:16 +02:00
Jan Steemann d0b8af7c0b handle calculated object elements in explain 2015-05-26 21:20:43 +02:00
Michael Hackstein 302719e7ae Fixed Betweeness computation to use new result format of shortest path 2015-05-26 11:00:06 -07:00
Alan Plum e9f704ff4e Auto-wrap non-array args. 2015-05-26 19:52:06 +02:00
Alan Plum 4fe795db3c Implemented script args and results. 2015-05-26 19:52:06 +02:00
Alan Plum 9296e6ea23 Fixed script invocation and configure/set-deps. 2015-05-26 19:52:06 +02:00
Alan Plum c83eac8bbc Allow controllers to throw http-errors errors. 2015-05-26 19:52:06 +02:00
Alan Plum a98f1b088e Readability. 2015-05-26 19:52:05 +02:00
Michael Hackstein 8bcbdfaa61 Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-26 10:38:30 -07:00
Michael Hackstein 8b1cef7f76 CPP Neighbors is now able to take an array of examples instead of only a single one. 2015-05-26 09:51:04 -07:00
Willi Goesgens f5b3a1c35b Ignore testDropDatabaseDirectory for windows; its randomly buggy there. 2015-05-26 16:53:23 +02:00
Alan Plum eee716a0bd Rebuilt. 2015-05-26 15:24:21 +02:00
Heiko Kernbach aabc9fd208 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-26 14:45:28 +02:00
Heiko Kernbach ec6305e916 front-end: fixed broken links 2015-05-26 14:45:20 +02:00
Frank Celler d295f87459 added check for newer version 2015-05-26 14:06:50 +02:00
Willi Goesgens d940b914d4 reduce timeout to one hour. 2015-05-26 13:51:08 +02:00
Willi Goesgens 2d02bcf020 remove deprecated mruby path. 2015-05-26 12:13:42 +02:00
Jan Steemann a3108fa13d fixed line too long error 2015-05-26 10:49:11 +02:00
Jan Steemann 58a23394fd fixed failing test 2015-05-26 10:47:19 +02:00
Jan Steemann bf61f6cd02 fixed test 2015-05-26 09:53:05 +02:00
Jan Steemann 558aa4f29c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-26 09:14:44 +02:00
Jan Steemann 441e43c28c fixed jslint warnings 2015-05-26 09:14:36 +02:00
Heiko Kernbach 5f77e4633c removed active/inactive badge - database view front end 2015-05-26 08:57:40 +02:00
Michael Hackstein 76c33a577c Neighbors is now able to take exactly one edge example onto the CPP level. Now working on a list of examples 2015-05-25 12:39:44 -07:00
Michael Hackstein b0723dbb75 Added test for includeData in Neighbors 2015-05-25 11:54:07 -07:00
Max Neunhoeffer 20d7e8d2ba Fix call to CXX for distance > 1 AQL_NEIGHBORS. Experimental. 2015-05-24 17:08:45 +00:00
Max Neunhoeffer e21bff2f80 Add undocumented "distance" attribute to AQL_NEIGHBORS. 2015-05-23 21:21:09 -07:00
Max Neunhoeffer 7bc6615725 Fix CXX version of NEIGHBORS. 2015-05-23 21:00:59 -07:00
Michael Hackstein 0b8e9eb59c Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more 2015-05-22 15:30:24 -07:00
Michael Hackstein e1813327b5 Adapted existing shortest path tests to new version. Breaking API Change. Has to be documented. 2015-05-22 11:56:46 -07:00
Willi Goesgens 871a95122c Work on documentation - not all documentation from the code seems to appear in the generated documentation. 2015-05-22 15:37:23 +02:00
Jan Steemann 6a35c7e514 removed duplicate documentation block 2015-05-22 14:16:48 +02:00
Jan Steemann f8d68b2c5f fixed wrong fcall 2015-05-22 11:51:11 +02:00
Willi Goesgens 17da88a12f remove pattern match trying to detect files; a stat is more precise. 2015-05-22 10:46:04 +02:00
Jan Steemann 3033846791 catch exception when filling indexes 2015-05-22 09:29:56 +02:00
Jan Steemann 4522d8ab33 fixed wrong index usage, added tests 2015-05-21 18:29:43 +02:00
Willi Goesgens 897619d8b2 Add an asterisk to the toplevel testss 2015-05-21 16:18:57 +02:00
Willi Goesgens c418f10729 Implement copying of files, since copyRecursive can't copy single files. 2015-05-21 15:49:10 +02:00
Jan Steemann 892127d9a2 extended dfdb capabilities, updated dfdb manual section 2015-05-21 15:26:12 +02:00
Willi Goesgens 576431f8af compact success output once more, remove debug print. 2015-05-21 14:43:33 +02:00
Willi Goesgens 9ddf5145b7 When we detect a segmentation fault, try to run the debugger. 2015-05-21 11:42:34 +02:00
Willi Goesgens 38c1d1d8ca Combine successfull testcases to one status line. 2015-05-21 09:55:35 +02:00
Jan Steemann 691e8591d7 print startup errors in trace mode 2015-05-20 16:45:10 +02:00
Alan Plum c6aca0d45a Fixed whoAmI caching. 2015-05-20 16:38:36 +02:00
Alan Plum 61f1c7edf8 Lint. 2015-05-20 16:30:24 +02:00
Alan Plum abe77c8738 Restored setup script. 2015-05-20 16:27:26 +02:00
Alan Plum bb86f6eca8 Voodoo. 2015-05-20 15:34:35 +02:00
Alan Plum 508885bd6b Nerf sessions app for consistency with internal cache. 2015-05-20 15:23:49 +02:00
Alan Plum 7af430bfc4 aardvark index.html route should be public. 2015-05-20 15:14:12 +02:00
Alan Plum 178839ef0d De-IIFE users and simple-auth. 2015-05-20 15:11:11 +02:00
Willi Goesgens 8e858bc96d Upgrade V8 to 4.2.77
- v8 now requires llvm libstdc++ inline
  - ForceDelete is gone now; employ new tactics of working with wrapping shaped json
  - gold crashes while linking V8, remove it.
2015-05-20 15:10:28 +02:00
Michael Hackstein 86c7f87dd3 Merge branch 'cppTrav2' into devel 2015-05-19 16:17:27 -07:00
Michael Hackstein b5839064d8 Disabled CPP Neighbors for now to please unittests. Output format is changed significantly 2015-05-19 15:51:05 -07:00
Michael Hackstein a8259af228 Fixed JSLint and SHORTEST_PATH tests. Shortest_path will now fallback to JS implementation if there is a user defined filter or distance function 2015-05-19 15:47:15 -07:00
Jan Steemann 30a1e62ebc make some other cache variable database-aware, too 2015-05-20 00:33:23 +02:00
Jan Steemann e2b2fab797 added startup options `--server.foxx-queues-poll-interval`, `--server.foxx-queues-system-only` 2015-05-20 00:29:49 +02:00
Michael Hackstein 8494ddb85d The shortest_path now allows to use vertexExample and edgeExamples. Also it allows t add additional vertex and edge collections in the options. If you want to use vertexExample and your edge collection is pointing to other vertex collections then the on in the first parameter you have to give the additional collection in the options 2015-05-19 14:26:14 -07:00
Jan Steemann 9f6baaef1e added derived file 2015-05-19 23:15:11 +02:00
Jan Steemann db9e9d7c47 better dfdb diagnostics 2015-05-19 23:12:36 +02:00
Jan Steemann cdc11a9961 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-19 18:50:46 +02:00
Jan Steemann ba48e56a71 preparation work for multi-database foxx queues 2015-05-19 18:50:29 +02:00
Alan Plum 549b92958f Various aardvark auth fixes. 2015-05-19 16:34:55 +02:00
Alan Plum a7ab936734 Rebuilt aardvark. 2015-05-19 16:34:55 +02:00
Jan Steemann db926a4057 store sessions in database-specific container 2015-05-19 15:41:15 +02:00
Heiko Kernbach 40c83fb20d added try catch 2015-05-19 14:12:28 +02:00
Heiko Kernbach 8aa6e4d96d small explainer fixes 2015-05-19 14:01:18 +02:00
Heiko Kernbach 9fd2e50df0 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-19 13:00:01 +02:00
Heiko Kernbach 638021c0b0 scss-lint 2015-05-19 12:59:52 +02:00
Heiko Kernbach 90cd769c05 scss login 2015-05-19 12:02:55 +02:00
Willi Goesgens 74cce6062b Add possibility for ARM to not execute the tests that don't work on limited hardware. 2015-05-19 10:53:25 +02:00
Heiko Kernbach 43dc1d5a9e added query execution time 2015-05-19 10:46:41 +02:00
Heiko Kernbach 3b2784d5f4 hide demo tab is data is not available 2015-05-19 10:24:54 +02:00
Heiko Kernbach 3da1442cc4 jslint 2015-05-19 10:16:28 +02:00
Heiko Kernbach 24bd3bda44 grunt build 2015-05-19 10:00:43 +02:00
Heiko Kernbach 287cdb8b15 added explain query feature in frontend 2015-05-19 09:59:20 +02:00
Heiko Kernbach ded8b3cd1f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-18 18:49:04 +02:00
Heiko Kernbach 8659114185 prep for explainer, renamed some interface buttons in query view 2015-05-18 18:48:54 +02:00
Willi Goesgens 04afbf4ae0 check whether appInfo is something on the filesystem which we like; if - upload it. 2015-05-18 15:19:27 +02:00
Heiko Kernbach e307505753 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-18 12:29:13 +02:00
Heiko Kernbach b0a1dc3338 added graphView to watchlist 2015-05-18 12:29:04 +02:00
Jan Steemann cc98799a97 whitespace 2015-05-18 12:18:08 +02:00
Max Neunhoeffer a3923c9eaf Fix configurability of indexBuckets. 2015-05-18 01:39:54 -07:00
Max Neunhoeffer 13204298d9 Make number of buckets in edge index configurable. 2015-05-17 19:04:47 -07:00
Michael Hackstein d832a7579a The new shortest path is now able to take exactly one edge example. Has to be improved to use a list of examples 2015-05-15 15:08:17 -07:00
Michael Hackstein 4fb9fcaa46 Created legacy result in AQL graph shortest path 2015-05-14 13:28:35 -07:00
Willi Goesgens 6796ba239c set logging to debug while running the directory removal unittests. 2015-05-13 10:40:19 +02:00
Willi Goesgens 58279e2dd1 Shoot me again I ain't dead yet. 2015-05-13 10:23:48 +02:00
Michael Hackstein 3b3a28e16a The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation) 2015-05-12 15:39:04 -07:00
Willi Goesgens 6a63da2548 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-12 17:39:58 +02:00
Willi Goesgens 90eea189c8 Offer a way to specify the number of DB-Servers for the test. 2015-05-12 17:23:19 +02:00
Frank Celler 9c311c33af fixed wrong result of versions 2015-05-12 17:23:16 +02:00
Willi Goesgens 37cdc7a379 Fix shutting down of cluster; give a little more time. 2015-05-12 17:22:32 +02:00
Thomas Schmidts 9597e5fc84 Fixed broken Links 2015-05-12 15:11:08 +02:00
Jan Steemann 833978f9ae added example to documentation 2015-05-12 10:18:54 +02:00
Michael Hackstein f320e74c2d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-11 17:21:32 -07:00
Michael Hackstein 7d3ad7ee46 Fixed a bug with upgrade and replace of foxx apps from local files. Closes #1292 2015-05-11 17:21:23 -07:00
Willi Goesgens d3e07ab837 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-11 18:21:50 +02:00
Willi Goesgens 414b8672c2 Another test which now can use the index instead of direct access. 2015-05-11 18:20:44 +02:00
Heiko Kernbach f57964f8b2 removed unnecessary location hash for enabling reloading graph management view 2015-05-11 18:00:04 +02:00
Willi Goesgens 52f675ac2a Add another garbage collection run for valgrind tests. 2015-05-11 15:32:25 +02:00
Willi Goesgens aec08d5973 Fix naming of parameter. 2015-05-11 15:32:10 +02:00
Jan Steemann b3c8add874 fixed typo 2015-05-11 13:08:30 +02:00
Willi Goesgens 04d6f05128 fix comparison. 2015-05-11 09:49:42 +02:00
Willi Goesgens 6e014ea204 Fix comparison of argument list. 2015-05-11 09:44:09 +02:00
Michael Hackstein efaccccb4e The Shortest path is now able to handle graphs with several vertex collections, but only one edge collection. 2015-05-10 20:38:25 -07:00
Jan Steemann d0a20e8c5e fixed jslint issues 2015-05-08 21:31:53 +02:00
Jan Steemann e5fd92aaaa fixed typo 2015-05-08 18:01:36 +02:00
Jan Steemann 1054b5303c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-08 17:11:52 +02:00
Jan Steemann 40067e6c96 added documents() 2015-05-08 17:11:44 +02:00
Willi Goesgens a537507dc6 Allow that only parts of the cluster are run using valgrind. 2015-05-08 16:42:12 +02:00
Alan Plum 477042da24 Missed one. 2015-05-08 13:16:10 +02:00
Alan Plum 4286f9f89e Fixed name conflict. 2015-05-08 13:14:39 +02:00
Jan Steemann beb45ad8f8 use indexes when referring to an attribute name via bind parameter 2015-05-08 12:39:55 +02:00
Michael Hackstein 323d34f629 The new CPP neighbors now take all three directions 2015-05-07 16:33:05 -07:00
Alan Plum f6532478b8 FM: Allow passing script options. 2015-05-07 23:16:05 +02:00
Alan Plum 1b3d22ebe3 Whitespace. 2015-05-07 23:14:18 +02:00
Alan Plum 4d32eb7367 API: Allow passing options to scripts. 2015-05-07 23:10:44 +02:00
Alan Plum 2a40edaa41 Fixed Foxx trace paths. 2015-05-07 23:09:22 +02:00
Alan Plum 32944fdf34 Add teardown option to aardvark uninstall app. 2015-05-07 22:41:42 +02:00
Alan Plum 23433d6e3e Cleaned up manifest validation. 2015-05-07 21:12:30 +02:00
Alan Plum de9d102f9b Code style. 2015-05-07 20:38:18 +02:00
Alan Plum bc01a4021a Added dummy test to generator. 2015-05-07 20:30:05 +02:00
Alan Plum 0da30315f3 Cleaned up generator templates more and fixed teardown. 2015-05-07 20:30:05 +02:00
Willi Goesgens 412b55754d Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-05-07 17:46:05 +02:00
Willi Goesgens fbbe97b9b0 Modify unit testing suites so they publish the results with 'CL' as prefix if you're running in cluster mode. 2015-05-07 17:45:27 +02:00
Alan Plum 321d9199d8 Saner generator templates. 2015-05-07 17:23:04 +02:00
Alan Plum e90eb767e8 Only add controller extensions if they are active. 2015-05-07 16:49:58 +02:00
Heiko Kernbach 903d67fe27 login screen style changes 2015-05-07 15:54:58 +02:00
Frank Celler 8f13d48aaa fixed database listing for users 2015-05-07 15:54:58 +02:00
Alan Plum d4c7613e4c Fixed tutorial init causing basic auth popup. 2015-05-07 15:54:57 +02:00
Alan Plum 171e776059 Linting. 2015-05-07 15:54:57 +02:00
Frank Celler 154b94c105 added internal support for SID 2015-05-07 15:54:57 +02:00
Alan Plum e709308182 Implemented disable-authentication check. 2015-05-07 15:54:57 +02:00
Alan Plum 2706afd229 Renamed session cookie. 2015-05-07 15:54:57 +02:00
Alan Plum a0286909b6 Postpone XHR init until logged in. 2015-05-07 15:54:57 +02:00
Alan Plum f8afe04922 Logs should checkUser, logout shouldn't have an href. 2015-05-07 15:54:57 +02:00
Alan Plum 94ea5123eb Partially implemented login. 2015-05-07 15:54:57 +02:00
Alan Plum d945c99305 Implemented auto-binding model lifecycle listeners. Fixes #1257. 2015-05-07 15:44:56 +02:00
Alan Plum 061ddf6339 Added docs for API documentation. 2015-05-07 15:27:37 +02:00
Alan Plum ed0f6e876d Allow overriding swagger JSON. 2015-05-07 15:27:15 +02:00
Alan Plum 00043c6213 Don't try to send folders. 2015-05-07 14:44:23 +02:00
Alan Plum a24b5d7ac5 Allow overriding default swagger.json generator. 2015-05-07 14:43:20 +02:00
Alan Plum 3977a42285 Replace Aardvark Foxx API docs generator with Swagger 2.0. 2015-05-07 14:28:58 +02:00
Alan Plum cab3287e08 Allow beforeFn to override indexFile. 2015-05-07 14:28:58 +02:00
Alan Plum 12d9193a26 ApiDocumentation redirect should retain params. 2015-05-07 14:28:58 +02:00
Alan Plum 0871620b77 Added docs route to aardvark. 2015-05-07 14:28:58 +02:00
Alan Plum ed154f7ef2 Allow beforeFn to override appPath in swagger endpoints. 2015-05-07 13:54:41 +02:00
Willi Goesgens a571f12634 Work on cluster shutdown:
- when running in valgrind be more gracefull
  - fix incidents when somebody else already picked exit the result
  - fix write access to the results array - run.pids is an object.
  - fix copying arangod in case of crash in cluster case
  - fix cluster shutdown structure analysis
2015-05-07 13:48:58 +02:00
Alan Plum 9e9441c352 Fixed failing shell-routing test. 2015-05-07 11:44:42 +02:00
Alan Plum 8bdd5762c1 Removed support for ':x|:y' in URL params (unused + undocumented feature). 2015-05-07 11:44:42 +02:00
Jan Steemann b8a8db8ad1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-07 11:21:55 +02:00
Jan Steemann 57dc9139c1 use FOXX_BASE_URL 2015-05-07 11:21:49 +02:00
Alan Plum 4c0d5b8629 Merge pull request #1329 from pekeler/errorResponse
Adjusted documentation for errorResponse
2015-05-07 10:11:26 +02:00
Alan Plum 61aabc2b06 Update module-fs.js 2015-05-07 03:37:08 +02:00
Alan Plum f9126cd440 Update base_middleware.js 2015-05-07 02:45:52 +02:00
Alan Plum 45cfa12c91 Added Controller#apiDocumentation. 2015-05-07 01:30:14 +02:00
Alan Plum 0b410eb628 Store path (pattern) in RequestContext#path. 2015-05-07 01:30:14 +02:00
Alan Plum 1cd0d0aa10 Simplified BaseMiddleware#params. 2015-05-07 01:30:14 +02:00
Alan Plum de97cfa5fb Converted req.path into a method (no longer useless). 2015-05-07 01:30:14 +02:00
Alan Plum bd09144970 More absoluteUrl. 2015-05-07 01:30:14 +02:00
Alan Plum 7db1593fab fs.join and fs.safeJoin now take arbitrary number of arguments. 2015-05-07 01:30:14 +02:00
Alan Plum 59fd94efd3 Added req.absoluteUrl method. 2015-05-07 01:30:13 +02:00
Michael Hackstein b70cce0353 Use cpp neighbors in AQL 2015-05-06 16:29:50 -07:00
Christian Pekeler 754e7f436c adding missing documentation for errorResponse 2015-05-06 15:13:09 -06:00
Alan Plum 144939dfe1 Added PATCH to generator. Fixes #1324. 2015-05-06 17:39:34 +02:00
Alan Plum 71c2e06649 Linting. 2015-05-06 17:33:05 +02:00
Alan Plum d6ff3d7333 Fixed wrong function name. 2015-05-06 17:30:14 +02:00
Alan Plum f89631a71c Fixed missing joi import. 2015-05-06 17:29:28 +02:00
Alan Plum d2db1c9d3c Fixed #1323. 2015-05-06 17:28:37 +02:00
Alan Plum 24f7e2673c Added docs for summary and notes. Fixes #1040. 2015-05-06 17:26:33 +02:00
Alan Plum be40214b1f Added script command to FM. 2015-05-06 17:15:36 +02:00
Alan Plum ef11e3a622 Added missing exports. 2015-05-06 17:15:36 +02:00
Alan Plum f3ef5a048e Sorting. 2015-05-06 17:15:35 +02:00
Alan Plum a20c9ee16e Added dependencies and set-dependencies manager commands. 2015-05-06 17:15:35 +02:00
Alan Plum c682bf9923 Don't use aardvark in foxx-manager. 2015-05-06 16:54:50 +02:00
Alan Plum e6493d7210 Improved Foxx config handling. 2015-05-06 16:27:44 +02:00
Jan Steemann 4ea2a53771 support arrays in fulltext index, too 2015-05-06 15:11:24 +02:00
Jan Steemann 0996d603c6 fulltext improvements 2015-05-06 14:21:32 +02:00
Jan Steemann 712967108a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-06 11:00:51 +02:00
Willi Goesgens 23739df0aa Increase startup grace period if we're running in cluster mode. 2015-05-06 10:59:00 +02:00
Jan Steemann 7d85c53b31 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-05-06 09:26:23 +02:00
Willi Goesgens ed667d7917 Lintify 2015-05-05 19:07:47 +02:00
Jan Steemann 46cdf686c4 documentation update 2015-05-05 18:23:07 +02:00
Jan Steemann c677ea8b88 added tests for collection.lookupByKeys() and collection.removeByKeys() 2015-05-05 17:57:33 +02:00
Jan Steemann 63138def67 fix location response headers with special characters 2015-05-05 14:00:06 +02:00
Willi Goesgens fe2d5ee0a2 Autogenerate examples. 2015-05-05 10:14:54 +02:00
Jan Steemann 4a8146ed02 fixed some potential leaks 2015-05-05 00:33:12 +02:00
Willi Goesgens 312972a4ec Modify examples so they clean up after their run. 2015-05-04 17:22:25 +02:00
Alan Plum 4f17dfe10e Added error 1237: collection type mismatch. 2015-05-03 22:55:56 +02:00
Jan Steemann b0924956f8 allow `@` character in document keys, too. 2015-04-30 21:28:26 +02:00
Jan Steemann a8855908f6 less copying 2015-04-30 18:36:17 +02:00
Willi Goesgens c0905812a9 remove debug print 2015-04-29 17:44:56 +02:00
Alan Plum bf7c66cfa4 Rebuilt aardvark. 2015-04-29 16:05:00 +02:00
Alan Plum fa24c0d229 Implemented dependencies configuring. 2015-04-29 15:59:51 +02:00
Alan Plum e4b872534e Rebuilt aardvark. 2015-04-29 15:59:51 +02:00
Alan Plum c16388024f Indicate app problems more clearly. 2015-04-29 15:59:20 +02:00
Alan Plum 18a11a72d4 More partial implementating Foxx deps in GUI. 2015-04-29 15:59:20 +02:00
Alan Plum 00f36b07a5 Expose deps on Aardvark API and add cfg and deps to listJson. 2015-04-29 15:57:58 +02:00
Alan Plum 5289e9911f Set default value for app deps. 2015-04-29 15:57:58 +02:00
Alan Plum 89216506b8 Don't try to output swagger docs for fake app routes. 2015-04-29 15:57:58 +02:00
Jan Steemann beb2506bec add subquery tests 2015-04-29 11:32:14 +02:00
Michael Hackstein 7758250f2b Fixed some leftovers of new parameter documentation in GRAPH_SHORTEST_PATH. Should now be consistent again. #1321 2015-04-28 19:10:52 +00:00
Jan Steemann bb3316bf5b issue #1322: strange AQL result
This fixes a problem with unique skiplist indexes declared on multiple attributes
that were queried with an equality condition on only a prefix (e.g. a single
attribute only)
2015-04-28 09:41:03 +02:00
Jan Steemann 128b29c8d2 cxxified more functions 2015-04-28 09:29:09 +02:00
Jan Steemann 717df15a9c cxxified more AQL functions 2015-04-27 22:12:11 +02:00
Michael Hackstein a045cce27a Improved line width and time is always tp precission 3. 2015-04-27 11:58:33 -07:00
Michael Hackstein 997248d6d0 Added print of Top 1 list 2015-04-27 11:48:15 -07:00
Michael Hackstein efac24f464 Fixed size for airports 2015-04-27 11:42:13 -07:00
Michael Hackstein 86a1bde674 Printed the query information for shortest path 2015-04-27 11:30:38 -07:00
Michael Hackstein 828bc0000d Added shortest path to the demo interface 2015-04-27 09:30:20 -07:00
Jan Steemann 2fe04b4c5b added generated files 2015-04-27 17:44:00 +02:00
Willi Goesgens 57e361a74b Adust documentation snipets
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
  - bugs some snippets fixed
  - some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Willi Goesgens 2973ca3a87 - fix detecing empty / undefined detection
- add proper here document wrappers, so curl commands work properly.
2015-04-27 17:08:46 +02:00
Jan Steemann 96fdbe91dc issue #1318: Inconsistent db._create() syntax 2015-04-27 10:51:22 +02:00
Michael Hackstein 7f3a9fbcae Included the CPP Shortest path into AQL. Only under certain conditions 2015-04-26 22:17:23 -07:00
Michael Hackstein 9c40c69c72 Final fixed for YC demo 2015-04-26 22:15:53 -07:00
Michael Hackstein 90dbd678bb Added generated files 2015-04-26 17:33:21 -07:00
Michael Hackstein 346048cb4d Added shortest path call in Demo and improved style for flight distribution 2015-04-26 17:32:58 -07:00
Claudius Weinberger 67b348c7d6 Added definition for demo overlay window 2015-04-26 16:58:20 -07:00
Michael Hackstein e0018d6895 Added fixes for the flights demo 2015-04-26 15:08:37 -07:00
Max Neunhoeffer cbd61804df Add some graph generators and a CSV_exporter. 2015-04-25 21:46:23 -07:00
Willi Goesgens fa1b2fee60 Lintify. 2015-04-24 13:44:57 +02:00
Willi Goesgens 25c6745d13 Add switch to disable noisy config tests 2015-04-24 11:54:59 +02:00
Heiko Kernbach 9d6e5d243f appstore css change, removed demo css import (because file is missing), runned grunt task, added grunt changes 2015-04-24 11:26:05 +02:00
Jan Steemann 6dd12e423e fixed jslint warnings 2015-04-24 10:32:11 +02:00
Michael Hackstein 076cc24e3c Documentation update for graph traversal 2015-04-24 00:02:00 -07:00
Jan Steemann 260554cb35 added encoding tests 2015-04-24 00:10:05 +02:00
Jan Steemann 40ed49ebfa fast path for MERGE() 2015-04-23 13:45:31 +02:00
Jan Steemann 1283d43608 simplification for comments parsing 2015-04-22 14:17:18 +02:00
Jan Steemann 224b33cc75 moved UNSET() and KEEP() to cxx implementation 2015-04-22 13:21:05 +02:00
Willi Goesgens e5be9353d0 Fix file copying for after crash. 2015-04-21 17:38:47 +02:00
Willi Goesgens f7175f6652 Add way to fake the foxx github store structure for faster unittests. 2015-04-21 17:23:56 +02:00
Jan Steemann d10e79c500 updated documentation 2015-04-21 16:08:22 +02:00
Jan Steemann 90610ccb3c fixed typos in tests 2015-04-21 14:45:36 +02:00
Jan Steemann 974b656c1b allow overriding COLLECT method 2015-04-21 14:45:22 +02:00
Heiko Kernbach 0f4644e91c first version for airport sizes bases on their count 2015-04-20 22:27:06 +02:00
Heiko Kernbach f7dc457292 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 18:36:55 +02:00
Heiko Kernbach 02dfdc372a demoview 2015-04-20 18:36:47 +02:00
Jan Steemann e774866f4b decrease the default size of some system collections 2015-04-20 18:17:04 +02:00
Jan Steemann f0fdf3aacc fixed tests 2015-04-20 18:15:33 +02:00
Heiko Kernbach 7529136f86 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 17:58:22 +02:00
Heiko Kernbach 54344de7ae cleanup, added some functions 2015-04-20 17:58:14 +02:00
Jan Steemann ad2e80d334 fixed graph examples 2015-04-20 17:29:24 +02:00
Jan Steemann 10b3ffb877 fixed graph examples 2015-04-20 16:51:16 +02:00
Jan Steemann c3b4e32571 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-20 16:10:38 +02:00
Jan Steemann 6c66320de8 fixed broken examples 2015-04-20 16:10:04 +02:00
Heiko Kernbach 3153f642f5 added gruntfile changes 2015-04-20 15:15:52 +02:00
Heiko Kernbach 154daee994 added _key attribute to index 2015-04-20 15:14:55 +02:00
Heiko Kernbach a34e27a7b3 demo view: added fulltext search for airports 2015-04-20 15:11:26 +02:00
Heiko Kernbach f7ef0e4317 added index for fulltext search 2015-04-20 14:49:44 +02:00
Heiko Kernbach 3dd4ec02fb jslint 2015-04-20 13:52:48 +02:00
Heiko Kernbach 933a19130a changed some styling 2015-04-20 13:29:34 +02:00
Heiko Kernbach 0ffac810d4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-20 12:20:58 +02:00
Heiko Kernbach 8fca525adf added function to change size and color of existing airports 2015-04-20 12:20:49 +02:00
Jan Steemann 61499432b7 do not remove constant sorts when creating plans, but during optimization phase
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Claudius Weinberger a27953cf3b Design modifications Demo 2015-04-19 23:37:39 -07:00
Claudius Weinberger 241876b06c Design modifications Demo 2015-04-19 13:53:09 -07:00
Claudius Weinberger 16ac988ad3 Design modifications Demo 2015-04-19 13:51:16 -07:00
Heiko Kernbach c01e828dc9 added click event function for map object 2015-04-19 22:48:23 +02:00
Heiko Kernbach 604f859f27 some refactoring 2015-04-19 21:23:38 +02:00
Heiko Kernbach 237f997547 typo 2015-04-19 13:32:56 +02:00
Heiko Kernbach 34bdfb86d7 multiple flightlines, remove lines, code cleanup 2015-04-19 13:27:55 +02:00
Heiko Kernbach b33f963667 fixed typo 2015-04-19 12:12:42 +02:00
Claudius Weinberger 5f5b48bd0f Design modifications Demo 2015-04-19 02:10:23 -07:00
Claudius Weinberger b717045a21 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2015-04-18 23:38:54 -07:00
Claudius Weinberger 2d534ba840 Change airport mouseover 2015-04-18 23:36:08 -07:00
Michael Hackstein 132ca70f4c Apply fixes to demo 2015-04-18 23:31:43 -07:00
Michael Hackstein f19c9b1593 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-18 23:18:56 -07:00
Michael Hackstein 546393937e Added a function to get all flights from SFO 2015-04-18 23:17:15 -07:00
Claudius Weinberger cf512ba437 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2015-04-18 23:16:14 -07:00
Claudius Weinberger fe0f273cfd Design modification Demo 2015-04-18 23:13:12 -07:00
Michael Hackstein d6e3bb6790 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-18 21:15:47 -07:00
Michael Hackstein 3c8ad99245 Enforced a timeout for the web interface version check 2015-04-18 21:15:22 -07:00
Alan Plum 89ef7605fe Linting. 2015-04-18 12:41:15 +02:00
Alan Plum fe281e2699 Updated AQB to 1.10.0. 2015-04-18 11:42:15 +02:00
Michael Hackstein 13491efc04 Improved zoomlevel in demo view 2015-04-17 23:25:05 -07:00
Michael Hackstein 37a51856d4 Added function to draw a flight 2015-04-17 22:11:44 -07:00
Michael Hackstein ae4f58f81e Only request Lon,Lat and _key for Aiports and add them on the Map. Drawing lines aint working yet 2015-04-17 21:37:15 -07:00
Michael Hackstein e3180cdad5 The demo view now zooms into the US. Only flights from there are available 2015-04-17 16:53:56 -07:00
Heiko Kernbach 6fa0f64719 dummy test date 2015-04-17 20:24:56 +02:00
Heiko Kernbach 3052d20e03 render demo view 2015-04-17 19:35:44 +02:00
Heiko Kernbach 5e29529729 initial commit and prep for demonstration view 2015-04-17 19:11:22 +02:00
Jan Steemann d9add3a493 fixed collect in cluster 2015-04-16 21:10:48 +02:00
Jan Steemann c88109679d added tests for collect methods 2015-04-16 19:20:23 +02:00
Jan Steemann 528ec17bcd Merge branch 'devel' of https://github.com/arangodb/arangodb into hash-collect
Conflicts:
	arangod/FulltextIndex/fulltext-handles.cpp
2015-04-16 19:06:21 +02:00
Jan Steemann db4bbf6931 removed superfluous parameters 2015-04-16 16:29:56 +02:00
Jan Steemann 9f2643acaa show type of collect method in explain 2015-04-16 16:29:36 +02:00
Jan Steemann d3569d5c77 adjusted failure code names 2015-04-16 00:28:41 +02:00
Jan Steemann ff6e56d89c adjusted some tests 2015-04-15 23:45:07 +02:00
Alan Plum 0f475dc099 Lint. 2015-04-15 19:54:22 +02:00
Alan Plum af9abcbc1d Added 'tests' command to foxx-manager. 2015-04-15 18:18:24 +02:00
Alan Plum abb3d3bda2 More idiomatic Foxx app template. 2015-04-15 18:18:24 +02:00
Jan Steemann 5f5b11f422 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-15 14:00:54 +02:00
Jan Steemann 61c42e0ee2 fix relative URL redirects in internal.download() 2015-04-15 14:00:35 +02:00
Alan Plum 1be7717f0a Added chai support. 2015-04-15 13:04:49 +02:00
Jan Steemann 7b933f7d4f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-15 12:33:42 +02:00
Jan Steemann 7e0597f215 fixed cursor output in browser shell 2015-04-15 12:00:35 +02:00
Willi Goesgens 2982994444 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-04-15 10:22:24 +02:00
Willi Goesgens feda1119b4 We can simplify extra arguments now that we work with objects for argv all over the place. 2015-04-15 10:21:32 +02:00
Jan Steemann 19471fcec4 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-14 19:26:54 +02:00
Alan Plum 3a15e749d1 Automatically show/hide scripts dropdown. 2015-04-14 19:19:30 +02:00
Jan Steemann 322b3f9c6d issue #1231: bug xor feature in AQL: LENGTH(null) == 4
This changes the behavior of the AQL `LENGTH` function as follows:

- if the single argument to `LENGTH()` is `null`, then the result will now be `0`. In previous
  versions of ArangoDB, the result of `LENGTH(null)` was `4`.

- if the single argument to `LENGTH()` is `true`, then the result will now be `1`. In previous
  versions of ArangoDB, the result of `LENGTH(true)` was `4`.

- if the single argument to `LENGTH()` is `false`, then the result will now be `0`. In previous
  versions of ArangoDB, the result of `LENGTH(false)` was `5`.

The results of `LENGTH()` with string, numeric, array object argument values do not change.
2015-04-14 19:03:29 +02:00
Alan Plum c6b72d01e1 Rebuilt aardvark again. Removed indent on test GUI stacktraces. 2015-04-14 18:54:24 +02:00
Alan Plum 2f3bf9ed82 Rebuilt aardvark. 2015-04-14 18:44:48 +02:00
Alan Plum 7c4a3daeea Implemented aardvark test GUI. 2015-04-14 18:44:37 +02:00
Alan Plum 281fbf1fcb Saner manifest handling.
Controllers and tests are coerced into an object/array on parse instead of on demand.
Removed unnecessary function.
2015-04-14 18:31:12 +02:00
Alan Plum 4e5d097f1a Linting. 2015-04-14 18:31:12 +02:00
Willi Goesgens 950e05787b Instead of zip'ing for move, copy recursive & remove original. 2015-04-14 18:30:03 +02:00
Willi Goesgens 6450d2a3b2 We have to detect for 'undefined' rather then empty string in the dev-AppPath 2015-04-14 17:17:52 +02:00
Willi Goesgens 6579eefc33 Add function that can copy files recursive. 2015-04-14 14:46:17 +02:00
Alan Plum decbc6dcea Fully implemented tests API. 2015-04-14 13:39:06 +02:00
Alan Plum 044669cdac Hardcore stubbing action. 2015-04-14 13:39:06 +02:00
Alan Plum 3dcb0f52e5 Reconstructed stubs. 2015-04-14 13:39:05 +02:00
Max Neunhoeffer f34a009885 Do not execute a time critical test on cluster tests. 2015-04-14 09:06:47 +02:00
Willi Goesgens 25c99c5365 - fix off by one in logfile parsing
- if we already have an exit status, the server is already dead.
2015-04-13 17:02:11 +02:00
Jan Steemann 1fce9850b5 return to original database instead of hard-coded _system database 2015-04-13 16:54:50 +02:00
Jan Steemann 7c393dec44 fixed assertion error on shutdown 2015-04-13 16:24:19 +02:00
Jan Steemann d7e4c6fd4c fixed test that failed in cluster
Conflicts:
	js/server/tests/shell-foxx-model.js
2015-04-13 15:33:29 +02:00
Jan Steemann a17d2d2e0e added generated file 2015-04-13 13:41:57 +02:00
Jan Steemann 60bad2ebd6 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-04-13 13:41:23 +02:00
Jan Steemann e8186a6ded issue #1308: ArangoDB Foxx Install via ZIP Frontend 2015-04-13 13:41:05 +02:00
Max Neunhoeffer 8a999c8cc1 Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel 2015-04-13 13:04:50 +02:00
Willi Goesgens 19eb79dd4d On windows also copy the pdb files on core exit 2015-04-13 12:17:08 +02:00
Max Neunhoeffer 1c9d348e0f Do not do waitForSync in upgrade-database.js. 2015-04-13 12:07:34 +02:00
Max Neunhoeffer 900cc84204 Only allow bootstrapDbServers action on coordinators. Only allow POST. 2015-04-13 12:01:25 +02:00
Max Neunhoeffer 0179922eb0 Create _configuration collection only at startup and no longer on the fly.
This gets rid of a race condition on coordinators.
2015-04-13 11:58:21 +02:00
Max Neunhoeffer 358714599a Do not initialise statistics collections on each coordinator. 2015-04-13 11:57:58 +02:00
Alan Plum 448e496df6 Don't load the foxx too early. 2015-04-10 11:58:15 +02:00
Alan Plum e0b21f6823 Revert "Create default queue in setup, not on module load."
This reverts commit 6c391827c707216a10183ea3b40ac58f7030b428.
2015-04-10 11:50:27 +02:00
Alan Plum a94b333a26 Create default queue in setup, not on module load. 2015-04-10 10:57:17 +02:00
Alan Plum f108ecd86b Linting. 2015-04-10 10:19:57 +02:00
Alan Plum 4ff33f6f4d Updated deps. 2015-04-10 00:36:13 +02:00
Alan Plum 501f5a3f51 Removed unused modules. 2015-04-10 00:33:47 +02:00
Alan Plum 3c089a6d50 Added minimatch for globbing. 2015-04-09 23:24:44 +02:00
Alan Plum 5deadef133 appCollection what? 2015-04-09 22:49:08 +02:00
Alan Plum c5cca6dccf More strict. 2015-04-09 22:47:45 +02:00
Alan Plum 63f65f7907 Added rudimentary support for Foxx dependencies.
The manifest parsing / configuration aspect of dependencies is missing,
but dependencies defined in the _apps collection (via options.dependencies)
will be resolved correctly.

Also, setup scripts for non-system apps are delayed
until system apps setup scripts have been executed.
Ideally, `requireApp` should ensure the setup scripts for the app-to-require
have already been executed (to support using dependencies in setup scripts).

We'll also probably want to run "startup" scripts instead of "setup" scripts
and reserve setup scripts for upgrades and installs.

We also still need a way to run Foxx app code in each thread on startup
in addition to the (necessarily) one-thread-only "startup" script.
2015-04-09 20:05:18 +02:00
Alan Plum b02fb586aa More beautiful console.trace. 2015-04-09 20:04:13 +02:00
Alan Plum 96bc36499f No need to emit. 2015-04-09 17:30:41 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum e8ba1a1332 Even more strictness. 2015-04-08 17:12:34 +02:00
Alan Plum 45ff33b404 More strictness. 2015-04-08 16:18:11 +02:00
Alan Plum 30adf407f0 Cleaned up FoxxManager install tests. 2015-04-08 14:23:02 +02:00
Alan Plum 4f51343100 Fixed Foxx installer errors. 2015-04-08 14:19:38 +02:00
Max Neunhoeffer 19b14bd98c Move loading of db:// modules later in the search.
Collection lookups are painfully slow on a coordinator if they fail,
because the cache has to be reloaded from the Agency. Therefore we
only want to load modules from there after all other local methods
have been tried.
2015-04-08 13:16:34 +02:00
Alan Plum f8cfcbdbd6 Use ArangoError in module loader. 2015-04-08 13:16:12 +02:00
Alan Plum 83b1b4596a Added module loader errors. 2015-04-08 13:12:43 +02:00
Alan Plum ecbc6f581f Merge pull request #1287 from arangodb/vulpine-grace
Foxx improvements (fixes #1284, #1257)
2015-04-08 03:23:55 +02:00
Alan Plum e4a2e5ddde Rebuilt aardvark. 2015-04-08 01:55:13 +02:00
Alan Plum 20fdb71e9c Exposed some tests. 2015-04-08 01:54:31 +02:00
Alan Plum 064599d1a5 Code style. 2015-04-08 01:53:09 +02:00
Alan Plum 4dcdb1cde9 Fixed relative requires in apps. Also fixes #887. 2015-04-08 01:49:27 +02:00
Alan Plum eb255f73ed Use ArangoError in Module#run. 2015-04-07 23:33:23 +02:00
Alan Plum 5bc058d247 Removed unused code. 2015-04-07 20:06:43 +02:00
Alan Plum 8133bd4c6a Linting 2015-04-07 20:04:59 +02:00
Alan Plum 8e94402b43 Fixed session errors. 2015-04-07 19:58:58 +02:00