1
0
Fork 0
Commit Graph

2219 Commits

Author SHA1 Message Date
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
Jan Steemann ca6ebef72c added test cases 2014-11-05 16:03:44 +01:00
Willi Goesgens 09d2b4ee55 Add new perf tests. 2014-11-04 14:11:03 +01:00
Jan Steemann 657a1be675 added derived file 2014-11-03 23:16:11 +01:00
Frank Celler 1457c2631b minor cosmetics 2014-11-01 22:39:21 +01:00
Jan Steemann 025d73ae03 re-added support for fullCount 2014-11-01 15:20:05 +01:00
Jan Steemann 26c3b0174f fixed tests 2014-10-31 19:58:20 +01:00
Jan Steemann 4f68960ed7 removed Ahuacatl [skip ci] 2014-10-31 17:31:00 +01:00
Jan Steemann d4d3e37a0d added internal.parseFile 2014-10-30 19:18:05 +01:00
Jan Steemann c19060da27 changed www.arangodb.org to www.arangodb.org 2014-10-30 19:17:25 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Willi Goesgens 6b2f4d4067 Split shell-statement into statement / explain-cluster / explain-noncluster 2014-10-30 16:08:10 +01:00
Willi Goesgens 501c721e72 Add jmeter JTL output format to perftests 2014-10-30 14:16:08 +01:00
Willi Goesgens 97459a1aa6 Reset test stati when results are fetched. 2014-10-30 10:23:21 +01:00
Jan Steemann 4418e58315 removed old-style Doxygen sections 2014-10-30 01:16:07 +01:00
Jan Steemann cf6fcb2fc1 linted python files, regenerated derived files 2014-10-29 23:56:20 +01:00
Jan Steemann 1865b8bd57 jslint 2014-10-29 22:42:52 +01:00
Willi Goesgens 8db1e18568 Adjust the result returned to be the old format again. 2014-10-29 21:10:57 +01:00
Willi Goesgens 3e9d91341f When running several suites in one file, we have to remember the results. 2014-10-29 14:44:21 +01:00
Jan Steemann e581aa6612 fixed usage of AQL user-defined functions from web UI 2014-10-27 11:09:20 +01:00
Jan Steemann 29a4416bcf issue #1056: added tests for zipFile / unzipFile
Conflicts:
	js/common/tests/shell-fs.js
	lib/BasicsC/tri-zip.c
2014-10-25 01:21:47 +02:00
Jan Steemann 260bfbf235 issue #1059: Bug in js module console 2014-10-25 00:04:39 +02:00
Thomas Schmidts d79ff5d74d Fixed broken links 2014-10-24 17:49:01 +02:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann d1c6c1af9f shorten test duration 2014-10-18 02:33:47 +02:00
Jan Steemann edae662eb4 added res.send() and res.sendFile() 2014-10-15 17:33:10 +02:00
Jan Steemann c946a1536a documentation for fs 2014-10-15 14:01:15 +02:00
Jan Steemann 6511fec7c6 added tests for fs.read and fs.write 2014-10-15 12:44:04 +02:00
Jan Steemann 6bd448be46 added support for reading / writing binary data in fs.readFileSync && fs.write 2014-10-14 19:07:16 +02:00
Jan Steemann ce8ac10f59 optimized memory usage of multi hash index 2014-10-11 18:38:22 +02:00
Jan Steemann 3b52200983 fixed inner loop variable fuckup 2014-10-09 17:28:01 +02:00
Willi Goesgens e433a2831e Add a new wrapper which does fork + waitpid in one js call, so we're closer to the flame and less eventually miss something. 2014-10-08 16:48:30 +02:00
Jan Steemann ff80fafba5 fixed cached lookups of collections on the server, which may have caused spurious problems after collection rename operations 2014-10-08 14:59:02 +02:00
Jan Steemann 0948aaccd9 issue #693: fixed firstExample for `_from` and/or `_to` attributes 2014-10-01 12:20:52 +02:00
Jan Steemann c5c7957b5e manually merged pr #1029 by @baslr 2014-09-29 13:52:32 +02:00
Max Neunhoeffer 046d4f524d Implement getSome for RemoteBlock. 2014-09-26 16:19:25 +02:00
Willi Goesgens ca1ccbab79 Try to match the jenkins grinder input tools csv grammer 2014-09-26 10:37:39 +02:00
Willi Goesgens cba6e480fe Don't add trailing \n to the CSV 2014-09-25 17:31:32 +02:00
Willi Goesgens 0a3877505c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-25 14:50:07 +02:00
Willi Goesgens 6e00b45b50 Add a missing column to the CSV. 2014-09-25 14:49:48 +02:00
Max Neunhoeffer 2542834607 Wait for WAL collector in a few more waitUnload.
This is necessary for some of the slower unittests (for example with
code coverage or valgrind).
2014-09-25 14:01:58 +02:00
Willi Goesgens 1663a18dee Rename the grinder csv log 2014-09-24 18:37:25 +02:00
Willi Goesgens 9e94af7fb1 Perf suite: Add grindertool alike CSV-Exporter 2014-09-24 17:42:54 +02:00
Jan Steemann dd53bc295a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-24 17:14:50 +02:00
Jan Steemann 3da082fdc8 issue #1026: Modules loaded in different files within the same app should refer to the same module 2014-09-24 17:05:04 +02:00
Max Neunhoeffer 784a299ab8 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-24 16:17:44 +02:00
Max Neunhoeffer cf5e1be91e Version version of HTTP API done. 2014-09-24 16:17:18 +02:00
Willi Goesgens 47c4817c50 Adjust perf tests reply structure & the report generator to the new standard. 2014-09-24 13:35:44 +02:00
Willi Goesgens 5b4209d95e Rearange the outputs of our tests so it matches the structure required by the unittest framework 2014-09-24 11:41:51 +02:00
Willi Goesgens 357764ac57 Implement structures in the same way for all other tests, and move the pretty printer over, so users calling testing.js directly can also enjoy human readable test results. 2014-09-23 16:56:24 +02:00
Willi Goesgens ede622ea73 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-23 16:56:09 +02:00
Max Neunhoeffer 1f74a64b58 Implement POST for HTTP API for queries. 2014-09-23 16:51:03 +02:00
Willi Goesgens ca23f467ed Evaluate the correct return code here too. 2014-09-23 13:21:41 +02:00
Willi Goesgens 6a2a025313 Our test results are relevant. 2014-09-23 11:52:19 +02:00
Willi Goesgens 9e53626f5b Add status to perftests, so the unittestrunner is lucky with our result and we don't fail in jenkins. 2014-09-23 11:17:22 +02:00
Willi Goesgens 968023aa46 Measure the time used per test. 2014-09-23 10:44:08 +02:00
Willi Goesgens 42647b01f7 Fix aggregation of overal test result state 2014-09-23 10:18:49 +02:00
Jan Steemann 92f87c19ce Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-22 23:51:16 +02:00
Jan Steemann 9716a482cd fixed issue #1025: Traversal not as expected in undirected graph 2014-09-22 23:08:17 +02:00
Jan Steemann d0639f584b fixed line number in stack traces to show the correct line 2014-09-22 20:53:21 +02:00
Willi Goesgens 03ca3431e1 Add more information to the unittest status xml 2014-09-22 17:10:06 +02:00
Willi Goesgens 772a99faec try another place to add our performance results in the xml. 2014-09-22 15:54:02 +02:00
Willi Goesgens fc5a14311c Add output formatter to intergrate with https://wiki.jenkins-ci.org/display/JENKINS/PerfPublisher+Plugin 2014-09-22 14:23:24 +02:00
Willi Goesgens d6fbebf723 Add the output of the aql execution bits in the results table so we can easily see which parts take how long. 2014-09-22 13:06:53 +02:00
Jan Steemann 6ab1ff472a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-22 09:30:58 +02:00
Jan Steemann 07126d7e3b attempt to fix host test 2014-09-22 09:14:31 +02:00
Willi Goesgens 45cc45f827 Add profile information to the output of the new tests. 2014-09-19 17:53:00 +02:00
Jan Steemann 075e27a1ee fixed test 2014-09-19 12:24:00 +02:00
Jan Steemann 6dc9fb43d8 fixed test 2014-09-19 12:17:00 +02:00
Willi Goesgens 018f649316 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-18 18:19:44 +02:00
Willi Goesgens aaaf2b621f Start implementing performance test tools comparing new & old query engine 2014-09-18 18:19:05 +02:00
Jan Steemann c0a9d189c5 better error messages if mkdir fails 2014-09-18 17:48:05 +02:00
Jan Steemann 3c0723e244 slight speedup for hash index 2014-09-16 19:46:24 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 4e6f6f2cbd finalized move to cxx 2014-09-14 00:06:00 +02:00
Jan Steemann aaf4fd87af fixed test 2014-09-13 02:58:34 +02:00
Jan Steemann c034307dca Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00
Michael Hackstein 03cf0d69fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-10 15:50:28 +02:00
Michael Hackstein 9b62c7367b Deprecated _directedRelation and _undirectedRelation in general-graphs. Created _relation in general-graphs creating a _directedRelation. Handling undirected relations is now given to the user / api-implementor as arangodb itself does not offer any direction constrains which caused some confusion 2014-09-10 15:50:22 +02:00
Jan Steemann 8c9436a92b attempt to shield test from other influences 2014-09-10 15:01:50 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Alan Plum b0995dfdb7 Replaced PBKDF2_HMAC with PBKDF2_HMAC_SHA1 for OSX compat. 2014-09-08 14:32:40 +02:00
Jan Steemann cf4deda835 fixed jsunity 2014-09-08 11:44:20 +02:00
Alan Plum 469af580e5 Added PBKDF2-HMAC. 2014-09-05 16:23:37 +02:00
Willi Goesgens 4b41b449f5 JSUnity: add stacktraces to failing assertions; this way you can get the line in your test better. 2014-09-05 11:49:05 +02:00
Frank Celler 4ffec6e914 tried to silence rpmlint: remove empty files, remove unused scripts, fixed initgroups, fixed identical files, remove __DATE__
Conflicts:
	CHANGELOG
	Makefile.in
2014-09-05 09:28:21 +02:00
Alan Plum 4c5f448aae Added tests for JWT HS384/HS512. 2014-09-04 23:23:25 +02:00
Alan Plum 4e3659c01a Added support for sha384, sha512. 2014-09-04 23:17:58 +02:00
Alan Plum 39ba358cd8 Added JWT support for session headers. 2014-09-04 18:51:06 +02:00
Alan Plum 37888a98ea Pass on null queries. 2014-09-03 11:39:02 +02:00
Alan Plum 33db483e7f Support AQB instances as query strings. 2014-09-03 11:36:55 +02:00
Alan Plum 46747e9ac4 Fixed console.log for non-objects. 2014-09-03 11:25:20 +02:00
Frank Celler 070326f4e2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-03 10:32:30 +02:00
Frank Celler e764896cba fixed loading of modules and usage of strict 2014-09-03 10:32:21 +02:00
Alan Plum b384563d97 Linting: tutorial, changes. 2014-09-02 22:21:45 +02:00
Alan Plum e86c98dfe2 Enabled unused: true, ported aardvark jslint to jshint. 2014-09-02 22:18:18 +02:00
Alan Plum 7b24bdba8d Enabled strict: true. 2014-09-02 22:16:07 +02:00
Alan Plum 606da1e3e8 Removed jslint headers from server/client/common modules. 2014-09-02 22:14:56 +02:00
Alan Plum 3156a245f6 Stricter jshintrc. 2014-09-02 22:12:46 +02:00
Alan Plum 6a3386e55a Fixed jshint headers. 2014-09-02 22:12:45 +02:00
Alan Plum b665e038be Switched jslint to jshint. Broke everything. 2014-09-02 22:10:24 +02:00
Jan Steemann cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann cda10393f5 some traversal speedups 2014-08-27 18:56:51 +02:00
Alan Plum 601c99c6e5 Linting. 2014-08-25 20:01:18 +02:00
Alan Plum 898fad4980 Added support for JWT alg: 'none'. 2014-08-25 18:35:23 +02:00
Alan Plum d37b13ee0f Implemented crypto.jwtEncode/jwtDecode (HS256 only). 2014-08-25 18:25:48 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Alan Plum 501735c78b Keep legacy users API backwards-compatible. 2014-08-20 14:19:08 +02:00
Alan Plum 9da4255c16 Fixed shell-users tests. 2014-08-20 11:27:27 +02:00
Alan Plum fefe0d0e6d Replaced org/arangodb/users internals with users app compatible format. 2014-08-20 11:10:50 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Jan Steemann f8cf5dc26d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Jan Steemann 2a2c76770c need to ALWAYS create a new environment. Otherwise results are somewhat non-deterministic 2014-08-15 17:35:46 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Frank Celler 3111d7cc4c relaxed % and escaping 2014-08-12 15:49:33 +02:00
Frank Celler cc91cd1cb0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-11 12:43:47 +02:00
Jan Steemann c7350c4c06 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-07 16:12:14 +02:00
Jan Steemann 099ec8db60 reallow attribute names starting with underscores 2014-08-07 15:52:58 +02:00
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Jan Steemann 1015404edc working on AQL function calls and error handling 2014-08-06 16:19:43 +02:00
Jan Steemann c7e2ccee51 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-08-05 10:13:03 +02:00
Jan Steemann 0e8949f8b3 unify function behavior in shell and server 2014-08-05 09:07:28 +02:00
Alan Plum 069644a2e4 Added flatten method. 2014-08-01 20:02:54 +02:00
Alan Plum d9b80d5ae1 Added exponential back-off helper. 2014-08-01 20:02:53 +02:00
Michael Hackstein 83d49c0d9d Fixed a minor bug where it was not allowed to remove a vertex from a graph by its key 2014-07-30 09:41:57 +02:00
Michael Hackstein 516fdaa3dc Added a cleanup before empty graph test 2014-07-25 16:04:59 +02:00
Michael Hackstein 28f2ca58ac Added a regression test for restricted edges on non existing edges. Yes 2014-07-25 16:04:29 +02:00
Frank Celler 026121dadd fixed sandbox 2014-07-24 16:06:06 +02:00
Frank Celler 55e1ee43bd added createLocations 2014-07-24 16:06:06 +02:00
Alan Plum 05ce0037da Fixed printRecursive for null. 2014-07-24 15:56:27 +02:00
Alan Plum e7e9ec33c5 Handle Object.create(null). 2014-07-23 16:29:48 +02:00
Alan Plum 80070b9e83 Allow printing any object recursively that doesn't override toString. 2014-07-23 16:15:04 +02:00
gschwab 0df37812e2 initial check in 2014-07-23 13:39:16 +02:00
Jan Steemann e7c18b40a6 fixed statistics interval 2014-07-23 11:39:15 +02:00
Max Neunhoeffer a8e3236560 Snapshot, legend cache started. 2014-07-22 16:59:19 +02:00
Jan Steemann b36ad17cc6 finished --wal.suppress-shape-information 2014-07-22 15:16:49 +02:00
Michael Hackstein 3ecae27acd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-15 16:57:33 +01:00
Michael Hackstein db33dd22d2 Fixed a minor bug in gharial where there was no correct error code was thrown when trying to store a vertex in a non existing graph. Also allowed the _create method of graph module to take options like waitForSync 2014-07-15 16:57:24 +01:00
Thomas Schmidts f4e60b7315 Fixed too long line 2014-07-11 09:29:31 +02:00
Thomas Schmidts de75804367 Chapters are color-coded in the documentation. Also bug fixed for Safari 2014-07-10 16:33:47 +02:00
Michael Hackstein 608dd475f6 Fixed an error in a general graph example 2014-07-10 13:38:16 +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 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
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
Thomas Schmidts c9ece0af5c @startDocuBlock removed from non used code block 2014-07-08 15:40:30 +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
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
Frank Celler e436ecfa40 if a cancelation has occured, flush the module cache 2014-07-08 11:54:53 +02:00