1
0
Fork 0
Commit Graph

10805 Commits

Author SHA1 Message Date
Alan Plum 95dea0cd14
Yakshaving 2016-04-18 18:00:24 +02:00
Alan Plum 572952864c
Expose service context in request obj 2016-04-18 18:00:24 +02:00
Alan Plum 0156051c37
Basic implementation of SyntheticResponse 2016-04-18 18:00:23 +02:00
Alan Plum 9e3833eadd
Basic implementation of SyntheticRequest
Fixes #1191.
2016-04-18 18:00:23 +02:00
Alan Plum 5ba054210b
Fix router.resolve (req.method => req.requestType) 2016-04-18 18:00:23 +02:00
Alan Plum 34a1835532
Fix legacy mode applicationContext injection 2016-04-18 18:00:23 +02:00
Alan Plum aa4b41763e
Yakshaving
Naming things is hard.
2016-04-18 18:00:22 +02:00
Alan Plum 12e27cac00
Implement queryParam & body validation 2016-04-18 18:00:22 +02:00
Alan Plum 322c9c41b8
Lint shell-foxx-router-spec.js 2016-04-18 18:00:22 +02:00
Alan Plum 4b0fd593ce
Implement rudimentary route handling 2016-04-18 18:00:22 +02:00
Alan Plum 6637a0cd16
Make more route context attributes private 2016-04-18 18:00:21 +02:00
Alan Plum 8230d73406
More versatile route lookup 2016-04-18 18:00:21 +02:00
Alan Plum 6e6a9a3918
Add more tests & fix middleware resolution 2016-04-18 18:00:21 +02:00
Alan Plum 6ea15298bd
Partially implement routing for Foxx 2016-04-18 18:00:21 +02:00
Alan Plum e78e6476ab
Implement routing logic for router 2016-04-18 18:00:20 +02:00
Alan Plum 7bf1e5e502
Add router to Foxx services
Fixes #1189.
2016-04-18 18:00:20 +02:00
Alan Plum 8260da9d35
Implement basic router
Fixes #1164.
Fixes #1759.
2016-04-18 18:00:20 +02:00
Alan Plum 4495a2edc8
Implement session middleware 2016-04-18 18:00:20 +02:00
Alan Plum c934cbc9f2
Implement mounting legacy apps 2016-04-18 18:00:19 +02:00
Alan Plum bc0b5d40c4
Remove context._prefix 2016-04-18 18:00:19 +02:00
Alan Plum 5f91c5399c
Tidy up manifest props 2016-04-18 18:00:19 +02:00
Alan Plum 54fb1a73d8
foxx -> foxx/legacy 2016-04-18 18:00:19 +02:00
Alan Plum 0cfa0ed953
foxx.js -> foxx/index.js 2016-04-18 18:00:18 +02:00
Alan Plum 443ebe42f8
Enable applicationContext for legacy apps 2016-04-18 18:00:18 +02:00
Alan Plum 6a217bc9f7
Remove module.context.foxxFilename 2016-04-18 18:00:18 +02:00
Alan Plum 5161c63670
Remove magical Foxx comments 2016-04-18 18:00:18 +02:00
Alan Plum 54f27f51a2
Expose module.context.service 2016-04-18 18:00:18 +02:00
Alan Plum 4140c26d30
Use symbols for internal module props 2016-04-18 18:00:17 +02:00
Alan Plum c7688a72f8
module.requireCache -> module.require.cache 2016-04-18 18:00:17 +02:00
Alan Plum eacf570a39
applicationContext -> module.context 2016-04-18 18:00:17 +02:00
Alan Plum a385738601
Revert "fixed version"
This reverts commit 034eea10b3.
2016-04-18 18:00:17 +02:00
Jan Steemann 8430f1f71c added test case 2016-04-18 17:29:06 +02:00
Jan Steemann 1355618f67 added tests for indexes on "_key", "_from" and "_to" 2016-04-18 17:22:10 +02:00
Jan Steemann 3ec8bd5706 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-18 17:04:11 +02:00
Jan Steemann e14fd29339 fixed cluster test 2016-04-18 17:04:03 +02:00
hkernbach 26f7898fac Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-18 16:52:11 +02:00
hkernbach 9ecc6c6183 templates, views, scss, router 2016-04-18 16:51:32 +02:00
Jan Steemann 0b07b77cf8 added index tests 2016-04-18 16:50:39 +02:00
hkernbach 9033a36a9f added node update function 2016-04-18 15:23:38 +02:00
Jan Steemann 881f13e13b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-18 15:09:50 +02:00
Jan Steemann a3ad9ba3a3 fixed issue #1805 2016-04-18 15:09:42 +02:00
hkernbach 87ca2a1517 node view 2016-04-18 15:00:40 +02:00
hkernbach 2c0e6cc7f4 cluster view, footer view 2016-04-18 14:34:34 +02:00
hkernbach d0b75e8e5c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-18 13:47:26 +02:00
hkernbach ac8c1b11f5 help us view, cluster state 2016-04-18 13:47:02 +02:00
Michael Hackstein 30c1693fd1 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-18 13:43:20 +02:00
Michael Hackstein 75015da169 Fixed JSLint 2016-04-18 13:43:09 +02:00
hkernbach dca43f884b Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-18 13:22:14 +02:00
hkernbach c43a5358f8 navbar, font 2016-04-18 13:22:06 +02:00
hkernbach c64e289d82 font change, scss 2016-04-18 13:21:28 +02:00
hkernbach 91e7845e6b query view caching bugfix 2016-04-18 13:21:07 +02:00
Michael Hackstein 04f8c0205c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-18 12:44:51 +02:00
Alan Plum 8a9dffd360
Add GraphQL-sync as dependency 2016-04-18 12:42:49 +02:00
Michael Hackstein 4cf47bf9c4 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-18 12:42:00 +02:00
hkernbach 704ef41756 html, scss, layout, helpus view 2016-04-18 11:42:28 +02:00
Michael Hackstein 7fd765555a Fixed Cluster Client tests for Babies 2016-04-18 10:04:04 +02:00
Frank Celler b71185c7e9 WIP 2016-04-17 20:49:59 -07:00
jsteemann 30ec73e596 AQL bugfixes and tests, CHANGELOG updates 2016-04-17 20:57:13 +02:00
jsteemann 2294a4287c added tests 2016-04-17 11:31:45 +02:00
jsteemann 1ca9606bbc added tests 2016-04-17 11:21:07 +02:00
jsteemann 43f040b3c5 added test cases 2016-04-17 11:04:46 +02:00
Frank Celler 3a0ea3aecd WIP 2016-04-16 22:21:32 -07:00
Frank Celler de092a3885 single execute only 2016-04-16 21:01:07 -07:00
Frank Celler 17cd890132 WIP 2016-04-16 20:29:33 -07:00
Frank Celler cf416c686c WIP 2016-04-16 18:44:10 -07:00
Frank Celler 9d26ab1bbc WIP 2016-04-16 17:39:20 -07:00
Frank Celler 040104ebb5 WIP 2016-04-17 00:54:18 +02:00
Frank Celler e298ac9881 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-15 21:05:52 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
Michael Hackstein cd12a07a4d Fixed return codes in cluster. They are now forwarded properly from DBServer to Client 2016-04-15 17:58:06 +02:00
jsteemann 18f54c2dde Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-15 17:21:35 +02:00
jsteemann ecd7de16cb added optimizer rule "inline-subqueries" 2016-04-15 17:21:22 +02:00
Kaveh Vahedipour e3dbb4f9b6 [[{url:test,op:12,ttl:6}]] broke agency 2016-04-15 16:31:00 +02:00
Kaveh Vahedipour 97a6c29ec6 [[{url:test,op:12,ttl:6}]] broke agency 2016-04-15 16:29:44 +02:00
Michael Hackstein a4f6844e27 Fixed babies test in error cases. 2016-04-15 15:53:21 +02:00
Michael Hackstein 5645d77d22 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-15 15:40:04 +02:00
Michael Hackstein 4838eba64e Added a large timeout to upgrade database in test case 2016-04-15 15:39:50 +02:00
Max Neunhoeffer a4a8888e54 Sort out cluster test shutdown. 2016-04-15 15:20:28 +02:00
Michael Hackstein 20733a81ae Improved baby errors in cluster 2016-04-15 14:48:44 +02:00
hkernbach a2f57b2ca8 grunt 2016-04-15 13:49:44 +02:00
hkernbach d6d741a27a images, html 2016-04-15 13:48:16 +02:00
Jan Steemann 65e6aed49f jslint 2016-04-15 12:40:14 +02:00
Michael Hackstein 59f7d1ec70 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-15 08:25:05 +02:00
Frank Celler 6c0ebb1637 WIP 2016-04-14 21:46:28 -07:00
Frank Celler 8254bd4bd6 WIP 2016-04-14 21:32:12 -07:00
Max Neunhoeffer e68a60f81f Remove a test that is no longer needed. 2016-04-15 00:39:55 +02:00
Max Neunhoeffer ce150a6539 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-04-15 00:14:12 +02:00
Max Neunhoeffer cac003a0f4 Take out trace log in testing.js 2016-04-15 00:13:48 +02:00
Max Neunhoeffer 429e59108b Improve situation with tests. 2016-04-15 00:13:37 +02:00
hkernbach cbe91c6df9 scss 2016-04-14 23:49:25 +02:00
hkernbach 0f3997d162 grunt build 2016-04-14 23:44:46 +02:00
hkernbach 8b4f0ed6e8 responsive scss changes 2016-04-14 23:41:24 +02:00
hkernbach c6f82ef3ae new edge api adjustments 2016-04-14 23:41:08 +02:00
hkernbach 06a54b5841 frontend router 2016-04-14 23:14:00 +02:00
hkernbach ff264ea01c scss 2016-04-14 23:13:51 +02:00
Frank Celler b2b5fbb62d WIP 2016-04-14 14:02:07 -07:00
hkernbach e27c6d1554 grunt 2016-04-14 22:53:46 +02:00
hkernbach 5b03dfef1e new collection view + subviews 2016-04-14 22:49:39 +02:00
jsteemann 87c79ca41c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-14 22:03:32 +02:00
jsteemann ad062b0566 turn off trace-level logging 2016-04-14 22:03:21 +02:00
hkernbach bcaadd878f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-14 21:56:52 +02:00
hkernbach 5c153730d2 view, subviews, scss 2016-04-14 21:56:43 +02:00
Max Neunhoeffer dab12cbeed Take out a debugging message. 2016-04-14 20:20:56 +02:00
Michael Hackstein 2f5910f828 Removed debug output and deactivated TRACE log level during tests 2016-04-14 20:15:26 +02:00
Michael Hackstein 483ca0d5b3 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-14 17:42:41 +02:00
Michael Hackstein 3434be7b7a Implemented documents baby variant for cluster and also improved the baby tests. ALl errors will now have exactly one representation for each baby document even if they could be identified earlier. 2016-04-14 17:40:28 +02:00
Kaveh Vahedipour f9716fee62 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-14 16:41:18 +02:00
Kaveh Vahedipour 393b068ac4 store's operator handling 2016-04-14 16:40:25 +02:00
hkernbach 20c80aa35e Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-14 15:38:47 +02:00
hkernbach b7e6b5dfca jslint frontend 2016-04-14 15:38:39 +02:00
Andreas Streichardt 3160b3cccb Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-14 15:30:34 +02:00
Andreas Streichardt 10461fe369 Fix cluster shutdown time 2016-04-14 15:30:19 +02:00
Kaveh Vahedipour 05db051950 agency test for assigning objects through op set new ttl 2016-04-14 14:34:15 +02:00
hkernbach 128caabd92 scss lint 2016-04-14 13:54:09 +02:00
hkernbach 020c3df628 lib + frontend grunt build 2016-04-14 13:24:18 +02:00
hkernbach 163e58898b Merge remote-tracking branch 'origin/frontendmerge' into devel 2016-04-14 13:08:43 +02:00
hkernbach 526b686cc5 grunt 2016-04-14 13:01:17 +02:00
hkernbach 9d3386cc28 frontend 2016-04-14 13:00:27 +02:00
hkernbach 4ff4729e0f view, scss 2016-04-14 09:43:32 +02:00
Michael Hackstein 4d02abeaa9 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-14 09:05:56 +02:00
Michael Hackstein 32a5ed5972 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-14 09:04:34 +02:00
Michael Hackstein bce15b7345 Actually deactivated the agency.wait-for-sync for tests. 2016-04-14 09:04:26 +02:00
Michael Hackstein 1e92fd3485 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-14 08:28:28 +02:00
Andreas Streichardt 0ed24b7465 Merge branch 'agency' into devel 2016-04-13 19:35:30 +02:00
Jan Steemann 576fcab12b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-13 16:29:26 +02:00
Jan Steemann a0fde1b7b2 allow array values in attribute name bind parameters 2016-04-13 16:29:09 +02:00
Michael Hackstein 1352e3d682 Fixed JSLINT 2016-04-13 15:57:49 +02:00
Kaveh Vahedipour d247e7a3bd mop is fixing the cluster load 2016-04-13 15:36:11 +02:00
hkernbach b9d1712fb0 scss 2016-04-13 15:12:03 +02:00
Michael Hackstein b043b103e0 Optimized IN in AQL pattern Matcher properly. Also added some tests for it 2016-04-13 14:49:21 +02:00
Andreas Streichardt 4c27442bd9 Implement callbacks 2016-04-13 14:05:15 +02:00
Frank Celler 3f9dd62d4c WIP 2016-04-13 12:30:18 +02:00
hkernbach 79a57b9fc8 view, scss, templates 2016-04-13 11:12:55 +02:00
Michael Hackstein a14d7dffe2 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-13 08:30:48 +02:00
hkernbach 83a385bd74 grunt build 2016-04-12 22:54:47 +02:00
hkernbach e8fd3fb1cb scss style changes 2016-04-12 21:23:00 +02:00
hkernbach b55bac0560 headerbar scss, fixed some view problems caused by backbone update 2016-04-12 18:24:58 +02:00
hkernbach ba147c73bd grunt 2016-04-12 17:00:43 +02:00
hkernbach 9576c3104b nodes view 2016-04-12 17:00:29 +02:00
hkernbach dbe2c17ae5 scss, updated backbone & underscore libs, views 2016-04-12 16:53:24 +02:00
Jan Steemann f2c8df7db7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-12 14:51:37 +02:00
Jan Steemann 9163236f2b renamed optimizer rule "merge-traversal-filter" into "optimize-traversals" 2016-04-12 14:51:15 +02:00
Michael Hackstein 50535f6ad8 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-12 14:12:06 +02:00
Andreas Streichardt 8354acca0d Merge github.com:arangodb/arangodb into devel 2016-04-12 14:11:22 +02:00
Andreas Streichardt 7b90f3040c parallelize cluster instance startup during test 2016-04-12 14:10:38 +02:00
Michael Hackstein 1311f73775 Further fixes in cluster communication for baby case 2016-04-12 13:04:51 +02:00
hkernbach 2e2712b4bf grunt build 2016-04-12 12:35:12 +02:00
hkernbach c819c00c9b views, router 2016-04-12 12:34:46 +02:00
hkernbach 46bd354bd3 dashboard configuration 2016-04-12 12:34:31 +02:00
hkernbach 2f5bb27e4a scss 2016-04-12 12:34:01 +02:00
hkernbach a48b935be6 views 2016-04-12 12:33:47 +02:00
hkernbach be3757ccb6 updated nvd3 + d3 2016-04-12 11:50:10 +02:00
Michael Hackstein 7991815376 Fixed property undefiend bug in test 2016-04-12 10:39:30 +02:00
Michael Hackstein eeb11919f9 Fixed expectation in cluster-crud test. We cannot guarantee that CHANGE_SHARDING_ATTRIBUTES is thrown, might be NOT_FOUND in some cases 2016-04-12 10:35:09 +02:00
Michael Hackstein 0bc206ff80 Further modification of document babies test 2016-04-12 08:51:16 +02:00
Max Neunhoeffer c9031a648f Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-04-11 23:39:02 +02:00
hkernbach 4857c87818 grunt build 2016-04-11 18:38:58 +02:00
hkernbach 15483723b7 added node(s) view(s) 2016-04-11 18:36:33 +02:00
Michael Hackstein 474f70c9ad Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-11 16:33:08 +02:00
Michael Hackstein 5bc4bb51e6 Reactivated babies test in cluster 2016-04-11 16:32:25 +02:00
Michael Hackstein 0ec045d811 Removed debug output 2016-04-11 16:31:41 +02:00
Michael Hackstein 19139a7bf5 Modified document-babies tests. They are now green but correctness has to be discussed. 2016-04-11 16:29:04 +02:00
Wilfried Goesgens 81df4e6e85 migrate 1b41f5c0bb to devel. 2016-04-11 14:21:46 +02:00
Michael Hackstein 7313df2e5f Fixed babies-tests to fit the newest definition 2016-04-11 14:21:34 +02:00
Jan Steemann 947fb8d9ad make LIKE wildcards newline-aware 2016-04-11 14:02:12 +02:00
Michael Hackstein 97623706b3 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-11 10:09:43 +02:00
Frank Celler 3d2cc31306 WIP 2016-04-11 00:05:37 +02:00
Alan Plum 1aacd670bc Merge pull request #1797 from Simran-B/devel
Add unit tests for TO_BOOL() and unary not with a whole document
2016-04-10 16:35:50 +02:00
Michael Hackstein df497eb8b2 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-10 14:09:25 +02:00
Michael Hackstein 68577f1a45 Fixed expectation of document-babies test. Not yet green 2016-04-10 14:09:18 +02:00
Simran Brucherseifer 5905465c26 Add unit tests for TO_BOOL() and unary not with a whole document 2016-04-09 01:55:00 +02:00
jsteemann e84a0ff0ad jslint argl 2016-04-09 01:02:59 +02:00
jsteemann f94f298862 deactivate babies tests temporarily 2016-04-08 23:50:02 +02:00
hkernbach bb60cef7b3 cluster view 2016-04-08 18:31:29 +02:00
hkernbach 7992591501 fixed some routing issue, scss, fixed a graph issue 2016-04-08 17:51:17 +02:00
hkernbach 229038221c bugfix querview 2016-04-08 15:17:30 +02:00
hkernbach 1013c03e05 added subview functionality 2016-04-08 14:45:28 +02:00
Kaveh Vahedipour c949df2dfc agency compiles after pull from devel 2016-04-08 12:40:38 +00:00
Max Neunhoeffer 1d4abd16a6 Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-04-08 10:28:12 +02:00
Jan Steemann c2749b850f fixed tests 2016-04-07 17:48:51 +02:00
Jan Steemann 6df7221691 cleanup 2016-04-07 17:08:44 +02:00
Jan Steemann 32c0c91926 fixed tests 2016-04-07 17:01:45 +02:00
Jan Steemann ce11474602 jslint 2016-04-07 16:40:21 +02:00
Max Neunhoeffer 130efabdca Export endpointToURL for others to require. 2016-04-07 16:19:26 +02:00
Frank Celler 58b9cf7e91 WIP 2016-04-07 15:40:11 +02:00
Jan Steemann 74794d16db Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-04-07 14:43:35 +02:00
Michael Hackstein 1b967d9535 Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort. 2016-04-07 14:37:18 +02:00
Jan Steemann 4b0c01975b Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-04-07 14:30:36 +02:00
hkernbach 8d7d68158e added mode check 2016-04-07 14:22:17 +02:00
hkernbach c452cb00bc issue #1793 2016-04-07 13:54:11 +02:00
Jan Steemann 83f18fa419 Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-04-07 13:01:23 +02:00
Jan Steemann 513dc26fc1 make replication tests more deterministic 2016-04-07 13:00:30 +02:00
hkernbach 81faa5b08b grunt 2016-04-07 12:57:53 +02:00
hkernbach f2691ba818 issue #1793 2016-04-07 12:54:16 +02:00
Michael Hackstein 015c5d2908 Fixed single-server babies test. Also made sure that the error header is capialized properly 2016-04-07 12:41:23 +02:00
Michael Hackstein 3e1b295d68 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-04-07 10:30:41 +02:00
Michael Hackstein 6847d3f4a7 Preperation to create documents on coordinator with baby awareness. 2016-04-07 10:27:01 +02:00
Kaveh Vahedipour a315997617 callback redesign 2016-04-07 10:20:08 +02:00
hkernbach 00fb467592 Merge remote-tracking branch 'origin/devel' into frontendmerge 2016-04-06 19:06:46 +02:00
Jan Steemann 2a12f3d936 make tests a bit more robust? 2016-04-06 17:57:57 +02:00