1
0
Fork 0
Commit Graph

2070 Commits

Author SHA1 Message Date
Jan Steemann 318cf866cb Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-02-05 09:34:16 +01:00
Jan Steemann 65a2e95f72 added safety newline 2015-02-05 09:34:05 +01:00
Willi Goesgens 814c145f1a Trailing linebreaks. 2015-02-05 09:29:50 +01:00
Willi Goesgens ace14bb257 lintify the common testsuite. This should reduce our valgrind false positives. 2015-02-04 20:06:33 +01:00
Jan Steemann 1e48c97a23 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-02-04 15:55:35 +01:00
Jan Steemann e62e6313e6 fixed test 2015-02-04 15:55:29 +01:00
Willi Goesgens e5d51bad99 Make jslint happy and don't create overlong lines. 2015-02-04 11:55:55 +01:00
Willi Goesgens 88df0686e9 Log time at each test so we can better find log messages to tests. 2015-02-04 11:51:12 +01:00
Michael Hackstein acc4aabdad Renamed App folder from databases to _db. It is now consistent with url 2015-02-03 15:45:00 +01:00
Michael Hackstein aa72dacefd Improved upgrade procedure, it now runs smoothly, at least once 2015-02-03 15:44:29 +01:00
Jan Steemann c18ff7f300 use-index-for-sort rule can now remove sorts in more cases 2015-02-02 22:53:25 +01:00
Jan Steemann 875a695b22 selectivity estimates 2015-02-02 20:14:36 +01:00
Jan Steemann 423d22ed71 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-02-02 18:56:17 +01:00
Frank Celler 86c1082935 added path cache 2015-02-02 17:07:31 +01:00
Michael Hackstein d4d82e332b The webinterface now also checks if the mountpoint is valid, e.g. does not contain /APP 2015-02-02 14:23:04 +01:00
Michael Hackstein 34458bad92 Added a check to validate the foxx mount point 2015-02-02 13:36:12 +01:00
Jan Steemann 39603ebaf4 added selectivity estimates for some index types 2015-01-30 23:04:46 +01:00
Jan Steemann 7bcf2b54c0 make explainer display warnings, too 2015-01-29 21:30:42 +01:00
Frank Celler 418a673f2b Merge branch 'devel' of github.com:triAGENS/ArangoDB into request-module
Conflicts:
	js/node/package.json
2015-01-29 17:20:15 +01:00
Frank Celler 05b8115abf Merge pull request #1227 from triAGENS/foxxy-console
Foxx console
2015-01-29 17:16:05 +01:00
Jan Steemann 93131b6bf7 less copying 2015-01-29 14:21:02 +01:00
Alan Plum 0859b83558 Fixed unset mount point. 2015-01-28 18:50:42 +01:00
Frank Celler 0e7f958e0e moved console to package environment 2015-01-28 18:43:22 +01:00
Michael Hackstein 54fd833041 Started moving aardvark to new foxx-manager functionality. Confirmed: listing all apps works. 2015-01-28 14:39:08 +01:00
Max Neunhoeffer e24278828c Changes to cluster startup for mesos cooperation.
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.

New GNUmakefile targets
  pack-tar-config
  pack-tar
2015-01-28 12:58:24 +01:00
Jan Steemann b03a7a4c8f fun with custom visitors 2015-01-28 00:45:21 +01:00
Alan Plum 6a4625e1e0 Added Foxx log manager. 2015-01-27 20:00:00 +01:00
Alan Plum 755b1567d3 Rewrote all the logging. 2015-01-27 20:00:00 +01:00
Alan Plum 964d6f93df Inject console into app modules. 2015-01-27 19:59:59 +01:00
Willi Goesgens e6d438efb1 Work around windows "bug" in the tests. 2015-01-27 12:27:33 +01:00
Michael Hackstein 8e562b2268 Merge branch 'foxx-pathes' of github.com:triAGENS/ArangoDB into foxx-pathes
Conflicts:
	js/client/modules/org/arangodb/foxx/manager.js
	js/common/modules/org/arangodb/foxx/manager-utils.js
	js/common/modules/org/arangodb/foxx/store.js
	js/server/modules/org/arangodb/foxx/manager.js
2015-01-26 16:53:34 +01:00
Michael Hackstein c72a967e0d Fixed a bug in foxx manager install local file/directory behaviour. It always loaded file from server not from client when using shell. 2015-01-26 15:34:42 +01:00
Michael Hackstein 6b2b459423 Removed leftovers from rebase 2015-01-26 13:03:06 +01:00
Frank Celler 6363011339 fixed routing 2015-01-26 11:59:05 +01:00
Michael Hackstein 900fce9f4a Installing a foxx app is now possible from App store. 2015-01-26 11:58:16 +01:00
Michael Hackstein c9b92ecf23 Now allows to configure an App during runtime and get its configuration options. Configure will trigger reload routing. 2015-01-26 11:58:16 +01:00
Michael Hackstein 802167cea7 Added triggers for to activate development and production mode of Apps 2015-01-26 11:58:16 +01:00
Michael Hackstein 986cdbacec The new modules arangoApp and routing now are able to create an app including a context. Also the routing information is created in the routing file. Now has to be included into the routing table 2015-01-26 11:57:05 +01:00
Michael Hackstein 4bafbc44b1 Moved ArangoApp to its own file. It is not contained in bootstrap modules anymore 2015-01-26 11:56:32 +01:00
Michael Hackstein 923bbeb715 Removed foxx store and client foxx manager dependency on common/bootstrap/module 2015-01-26 11:44:31 +01:00
Michael Hackstein e69993323a Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-26 11:43:07 +01:00
Michael Hackstein 169042f801 Added a function to get the JSON information for one mount point 2015-01-26 11:36:20 +01:00
Michael Hackstein f74c181bf5 The ArangoApp in modules now takes a configuration and exports the configuration to be stored in a collection 2015-01-26 11:36:20 +01:00
Michael Hackstein 465667cea9 The new foxx apps now store themselfes in a collection. One can list all applications and all development applications. 2015-01-26 11:36:20 +01:00
Michael Hackstein a8cdd1b6d1 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-26 11:36:20 +01:00
Michael Hackstein 0df4242965 Moved some code from the module into foxx manager 2015-01-26 11:36:20 +01:00
Michael Hackstein 939e12c458 Removed foxx store and client foxx manager dependency on common/bootstrap/module 2015-01-26 11:36:19 +01:00
Michael Hackstein bf9f3fc3a8 Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-26 11:36:19 +01:00
Jan Steemann 58ddb95417 reduced number of monkeypatches affecting innocent regular objects 2015-01-24 14:23:53 +01:00
Jan Steemann f5aa621536 reverse index scan 2015-01-23 01:36:46 +01:00
Jan Steemann f9a43224cf added explainer
Conflicts:
	js/common/modules/org/arangodb/aql/explainer.js
2015-01-23 00:59:07 +01:00
Jan Steemann 7f20556c78 added query explainer 2015-01-23 00:41:16 +01:00
Frank Celler 4d3803dcad Merge branch 'foxx-pathes' of github.com:triAGENS/ArangoDB into foxx-pathes 2015-01-21 22:11:57 +01:00
Frank Celler 64d8550de5 fixed routing 2015-01-21 22:11:25 +01:00
Alan Plum 0a89e0c113 Log native functions in a more conventional way. 2015-01-21 18:40:54 +01:00
Alan Plum 2346170016 Use Symbols for console timers if available. See joyent/node#9069. 2015-01-21 18:33:10 +01:00
Michael Hackstein fa72585206 Fixed a bug in the store update function 2015-01-21 14:15:54 +01:00
Michael Hackstein a92f6379f8 Installing a foxx app is now possible from App store. 2015-01-21 13:34:22 +01:00
Michael Hackstein fdaa7c52d2 Now allows to configure an App during runtime and get its configuration options. Configure will trigger reload routing. 2015-01-21 09:54:22 +01:00
Alan Plum d6a46773cd Removed unused deps. 2015-01-20 17:27:56 +01:00
Alan Plum 469d73c8b8 Linting. 2015-01-20 17:27:51 +01:00
Alan Plum 86a39a9f24 Removed body parser helpers.
Can't use them on the client. Maybe re-implement them later.
2015-01-20 17:16:36 +01:00
Alan Plum edc17af821 Pass json flag to Response. 2015-01-20 17:16:36 +01:00
Alan Plum 6d5e09a1da request -> exports 2015-01-20 17:16:35 +01:00
Alan Plum bc89aec6f2 Don't throw on HTTP status >= 400. 2015-01-20 17:16:35 +01:00
Alan Plum 70b31626b2 Node request-style default for maxRedirects. 2015-01-20 17:16:35 +01:00
Alan Plum 7b76841496 HTTP methods should be case-insensitive. 2015-01-20 17:16:35 +01:00
Alan Plum bf61d97f73 Headers should be case-insensitive. 2015-01-20 17:16:35 +01:00
Alan Plum d6e0b6e82d Support form as string. 2015-01-20 17:16:35 +01:00
Alan Plum efc2026151 Support parsed url objects. 2015-01-20 17:16:35 +01:00
Alan Plum 28070d1d41 Added consistent url to error request data. 2015-01-20 17:16:34 +01:00
Alan Plum ef3aeea8bc Fixed broken references. 2015-01-20 17:16:34 +01:00
Alan Plum ba25c584b6 Cleanup. 2015-01-20 17:16:34 +01:00
Alan Plum 5183aabca8 Handle JSON like request does.
This solves the edge case of wanting to pass strings as JSON (i.e. quoted and escaped).
2015-01-20 17:16:33 +01:00
Alan Plum 12490a53e7 Cleaner error message. 2015-01-20 17:16:33 +01:00
Alan Plum e956cbc0c6 Removed parseForm. Made multipart parsing methods take request object instead of body and headers. 2015-01-20 17:16:33 +01:00
Alan Plum 576f4f4064 Stricter RFC 3986 compliance for querystrings. 2015-01-20 17:16:33 +01:00
Alan Plum 15435982f6 Added content-disposition module. 2015-01-20 17:16:33 +01:00
Alan Plum cb1994130a Added handlers for form/-data/multipart. 2015-01-20 17:16:32 +01:00
Alan Plum 88f852d69d Provide nicer wrapper for internal.download. 2015-01-20 17:16:32 +01:00
Michael Hackstein 39a3fa403d Added triggers for to activate development and production mode of Apps 2015-01-20 16:23:13 +01:00
Michael Hackstein bfc82b2dc0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into foxx-pathes
Conflicts:
	js/server/modules/org/arangodb/actions.js
2015-01-20 11:16:44 +01:00
Jan Steemann 0aa3648727 test fix attempt 2015-01-19 17:04:41 +01:00
Jan Steemann 5f6fba2e1c test fix attempt 2015-01-19 15:42:31 +01:00
Michael Hackstein 620243fc18 The new modules arangoApp and routing now are able to create an app including a context. Also the routing information is created in the routing file. Now has to be included into the routing table 2015-01-19 15:08:24 +01:00
Michael Hackstein 8121702af9 Moved ArangoApp to its own file. It is not contained in bootstrap modules anymore 2015-01-19 13:20:03 +01:00
Jan Steemann c9ad41d7fe test fix attempt 2015-01-19 12:29:59 +01:00
Jan Steemann 63bf4c888a flush WAL status file after collection to shorten recovery 2015-01-18 21:06:57 +01:00
Michael Hackstein 6c8059c8b4 Added a function to get the JSON information for one mount point 2015-01-16 16:16:24 +01:00
Michael Hackstein 562850fdd9 The ArangoApp in modules now takes a configuration and exports the configuration to be stored in a collection 2015-01-16 16:16:24 +01:00
Michael Hackstein efc6737743 The new foxx apps now store themselfes in a collection. One can list all applications and all development applications. 2015-01-16 16:16:23 +01:00
Michael Hackstein 5cf56013f5 Moved description computation from moduels to manager. And deleted obsolete code 2015-01-16 16:16:23 +01:00
Michael Hackstein 720703714b Moved some code from the module into foxx manager 2015-01-16 16:16:23 +01:00
Michael Hackstein d7f17ee1d1 Removed foxx store and client foxx manager dependency on common/bootstrap/module 2015-01-16 16:16:22 +01:00
Michael Hackstein 39edb08e9d Created a foxx store module that wraps around the foxx application store. It is now used from the client and server side foxx manager 2015-01-16 16:16:22 +01:00
Jan Steemann b0fa21b0ce updated conventions documentation for AQL functions 2015-01-16 12:56:02 +01:00
Jan Steemann 36dab4113e stricter checking for AQL user functions 2015-01-16 12:44:59 +01:00
Jan Steemann ef1f56c42c added tests 2015-01-16 12:34:11 +01:00
Willi Goesgens 1fca272389 Move tests to timecritical which seem to fail on a regular basis. 2015-01-14 14:55:23 +01:00
Willi Goesgens 58e1d0b1fe Expand grace period a little more, maybe valgrind can catch up then. 2015-01-14 09:33:02 +01:00
Michael Hackstein ff30d50c93 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2015-01-13 13:20:07 +01:00
Michael Hackstein aaf8d70a83 Improved a generated general graph AQL. It now does not compute the complete set of vertices before filtering, instead it merges the examples before computing. 2015-01-13 13:19:56 +01:00
Alan Plum 2803e090c0 Merge pull request #1188 from triAGENS/windows-line-endings-in-foxx
Fix Foxx JSDoc for Windows Line Endings
2015-01-13 13:18:00 +01:00
Willi Goesgens 2e1d52c1f2 Wait longer for collections to unload before failing. 2015-01-13 10:57:11 +01:00
Jan Steemann f9cfbbee4e type-safe comparisons 2015-01-13 01:31:39 +01:00
Jan Steemann 906d22a691 make fs.move() behave identical on Linux and Windows
Conflicts:
	CHANGELOG
2015-01-12 20:13:11 +01:00
Jan Steemann ac0bb85c3d issue #1201: better error checking for fulltext index with multiple attributes 2015-01-05 09:41:56 +01:00
Frank Celler 06660a6a68 ignore errors in jshintrc 2015-01-04 22:04:45 +01:00
Max Neunhoeffer 27b66a7561 Adjust tests, since now more DistributeNodes are used. 2014-12-24 06:58:02 +01:00
Max Neunhoeffer 1cdf439845 Broken version, errors not yet fixed. 2014-12-23 16:51:48 +01:00
Jan Steemann 67aa5b67e5 ES6 2014-12-22 12:56:57 +01:00
Jan Steemann cded2892ef ES6 2014-12-21 19:12:16 +01:00
Jan Steemann 69e4665bf5 ES6 2014-12-20 21:57:30 +01:00
Jan Steemann d358b80080 ES6 2014-12-20 04:02:24 +01:00
Jan Steemann fd5a723f30 removed deprecated methods 2014-12-19 14:00:58 +01:00
Jan Steemann d92057dd03 the great rename: array => object, list => array 2014-12-18 22:33:23 +01:00
Jan Steemann 363df745ea fix program names 2014-12-17 14:19:54 +01:00
Frank Celler 40e4b40dff Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-12-16 16:28:30 +01:00
Michael Hackstein d8ad93f1b6 Moved fishbowl update from client to common module of foxx manager. Offered update in server-side foxx manager and used it in Web Interface 2014-12-16 14:10:15 +01:00
Michael Hackstein 275503224e Added some Error notification for Foxx App install failures. Added download for Zipfile as well as information for your development path. 2014-12-16 14:10:15 +01:00
Jan Steemann 1ba3d65485 fixed tests 2014-12-15 21:06:43 +01:00
Lucas Dohmen e8a474ef60 Fix Foxx JSDoc for Windows Line Endings 2014-12-15 10:00:26 +01:00
Frank Celler 0edff23aa1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-12-11 12:31:53 +01:00
Jan Steemann 9b15228676 fixed broken documentation 2014-12-11 12:30:41 +01:00
Frank Celler 2ec69873bf Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
2014-12-10 16:57:00 +01:00
Jan Steemann 5c9e52ea20 pass query parameters 2014-12-09 17:16:03 +01:00
Frank Celler db677ab186 fixed missing makeDirectory when fetching a Foxx application from a ZIP file
Conflicts:
	CHANGELOG
2014-12-08 23:18:00 +01:00
scottashton c657790bc4 cleaned up example for getConnectingEdges 2014-12-08 10:58:59 +01:00
Jan Steemann eb372dea63 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-12-05 14:59:00 +01:00
Jan Steemann d9a945e33a include or exclude system collections from replication 2014-12-05 14:58:43 +01:00
Thomas Schmidts e799dfa8f9 Fixed #1007 spelling error fixed 2014-12-05 14:28:08 +01:00
Jan Steemann 90819836e5 added test for mergeObjects 2014-12-04 13:05:20 +01:00
Willi Goesgens 1024750c07 Clarify whether the test is running via arangosh or arangod. 2014-12-01 14:21:00 +01:00
Jan Steemann efa8d2b32b fixed tests 2014-11-24 12:55:49 +01:00
Jan Steemann 620274047f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
Conflicts:
	CHANGELOG
2014-11-20 14:23:01 +01:00
scottashton 401157edd1 jslinted 2014-11-20 09:53:50 +01:00
scottashton 6a418d3a05 added new graph function _connectingEdges 2014-11-19 09:26:40 +01:00
Jan Steemann f1f13a4284 added several AQL functions 2014-11-18 11:26:42 +01:00
Jan Steemann a71bf1819c issue #1099: do not fail if general-graph.remove is used inside a transaction 2014-11-17 15:47:39 +01:00
Jan Steemann 64392bfed1 fixed tests 2014-11-17 13:31:02 +01:00
Jan Steemann 675e2a0d40 fixed WITHIN_RECTANGLE for cluster 2014-11-17 12:32:43 +01:00
Jan Steemann 67356de499 issue #1098: some tests for error checking 2014-11-14 17:14:33 +01:00
Jan Steemann 2c0f5b96c9 issue #1098: added better error checking 2014-11-14 16:56:25 +01:00
Jan Steemann 777f70c8e2 fixed error message 2014-11-14 16:45:51 +01:00
Jan Steemann 0d9071e037 removed unused function 2014-11-12 21:08:26 +01:00
Jan Steemann 7cd1eb5474 more warnings 2014-11-12 14:52:54 +01:00
Jan Steemann 81c1919f44 minor adjustments for task API 2014-11-12 11:27:47 +01:00
Willi Goesgens d96907d8da Implement tastks REST api
- Implement REST api for tasks
 - Implement wrappers in arangosh
 - Add API-documentation
 - move unittest from server to common
2014-11-11 12:39:09 +01:00
Willi Goesgens 5ec01eca99 Split relevant test parts in non / cluster 2014-11-06 17:26:13 +01:00
Jan Steemann d3be7cb7f5 indentation 2014-11-05 16:29:25 +01:00