1
0
Fork 0
Commit Graph

4572 Commits

Author SHA1 Message Date
Max Neunhoeffer 6011ee4994 Repair a test by making SORT well-defined.
There was actually a difference in a (non-guaranteed) sort order
between single server and cluster. This is fixed now.
2016-06-16 12:02:54 -07:00
Alan Plum b289f666db
More detailed error messages in Foxx API 2016-06-16 19:52:27 +02:00
Mark 0e00597e4b fixed compatibility graph functions, added tests 2016-06-16 15:39:05 +02:00
Alan Plum f593734233
Fix mounting with pathParams 2016-06-16 14:04:12 +02:00
Alan Plum a70d0d75cd
Fix routing order: defaultDocument->router->files 2016-06-16 12:59:08 +02:00
Alan Plum c9be12eb37
If a param is declared make sure it is recognized 2016-06-16 12:08:57 +02:00
Alan Plum 48d1048f2d
Fix validateParam with auto path params 2016-06-16 11:54:24 +02:00
Alan Plum e880cd6ec3
trustProxy should be null by default
If neither ArangoDB itself nor the Foxx service specify whether proxies should be trusted, the default should not be true.
2016-06-16 11:08:37 +02:00
Alan Plum 6ef6d9fa1a
Use an actual example IP in test-utils 2016-06-16 11:08:37 +02:00
Max Neunhoeffer d0fe9f6d81 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-15 21:29:20 -07:00
Max Neunhoeffer fb19602436 Finally give system collections replication factor 2. 2016-06-15 21:28:36 -07:00
Max Neunhoeffer dab30642fa Activate statistics already after 10 seconds. 2016-06-15 21:28:14 -07:00
Alan Plum 3a4f19e8fb
Less noise in dev mode 2016-06-15 21:07:20 +02:00
Alan Plum f403ccecf4
Log route info if error was encountered in Foxx 2016-06-15 21:07:19 +02:00
Alan Plum 564fc24472
(2.x) Don't log response type in dev mode when no body was set 2016-06-15 21:07:19 +02:00
Alan Plum 4b65779cc4
Add req.trustProxy, req.arangoUser, req.arangoVersion 2016-06-15 17:11:57 +02:00
Alan Plum 7c40d6d58d
Don't expose internal request user to Foxx 2016-06-15 16:32:35 +02:00
Alan Plum e6b1e0642d
Remove unused system session storage 2016-06-15 16:13:46 +02:00
Alan Plum 74db8609fb
Missed one 2016-06-15 16:13:46 +02:00
Max Neunhoeffer 2bb8e4441d Sort out waiting for sync. repl. to settle at bootstrap and create DB.
This makes startup and creating databases slower, but leads to
a lot less trouble later on. It can now no longer happen that
a collection or database is dropped before synchronous replication
has settled.
2016-06-15 15:25:05 +02:00
Alan Plum d9394f44e1
lodash no longer accepts thisArg 2016-06-15 15:17:58 +02:00
Alan Plum 2bb8957caf
Update all dependencies to latest 2016-06-15 13:47:01 +02:00
Alan Plum a8219b4818
Unbreak the build I say 2016-06-14 17:20:06 +02:00
Alan Plum 0f5b4624ea
Unbreak the build 2016-06-14 17:18:40 +02:00
Alan Plum 0867e8aa87
Validate request headers also 2016-06-14 16:29:36 +02:00
Alan Plum 4466925398
Remove redundant quotes
[skip ci]
2016-06-14 16:29:33 +02:00
Alan Plum 45488ef615
Make param validation errors more descriptive 2016-06-14 16:29:31 +02:00
Alan Plum 8639ebb4cf
Rename 'reason' to 'description'
[skip ci]
2016-06-14 16:29:29 +02:00
Max Neunhoeffer 1be89d4667 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-14 16:20:38 +02:00
Max Neunhoeffer 5153b230b8 Wait for sync repl to settle after db create. 2016-06-14 16:20:18 +02:00
jsteemann 83466c2342 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-14 16:14:21 +02:00
jsteemann 34877186dd make user-defined AQL functions throw again 2016-06-14 16:14:02 +02:00
Max Neunhoeffer 6ae19f3987 Move waiting code to @arangodb/cluster.js 2016-06-14 15:59:20 +02:00
Max Neunhoeffer 6dba665a34 At create database wait for synchronous replication to kick in. 2016-06-14 15:40:55 +02:00
Max Neunhoeffer 85d64d0eae Do not retry for too long to synchronize a shard. 2016-06-14 13:54:53 +02:00
Max Neunhoeffer b6ba8f841c Lower info level of some warning. 2016-06-14 10:51:15 +02:00
Max Neunhoeffer 9c74d6a076 Properly protect traffic in Sync Keyspace. 2016-06-14 10:49:28 +02:00
Max Neunhoeffer 9d42790580 Take out a debugging print. 2016-06-14 00:13:09 +02:00
Max Neunhoeffer 82ac357b2a Less debugging output. 2016-06-14 00:08:42 +02:00
Max Neunhoeffer 66ae93bf1f More patience to wait for supervision to finish jobs. 2016-06-14 00:08:24 +02:00
Max Neunhoeffer 79025546f7 Improve moveShard tests and testing infrastructure. 2016-06-13 23:28:32 +02:00
Alan Plum 3ac6139fdc
Also format JSON body in res.write & res.body 2016-06-13 18:30:38 +02:00
Kaveh Vahedipour d130743a73 shrinkCluster tests 2016-06-13 15:15:10 +02:00
Mark 328b7681f1 Test format fix 2016-06-13 14:44:33 +02:00
Mark 705edefe41 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 14:37:50 +02:00
Max Neunhoeffer c3d9336450 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-13 14:37:38 +02:00
Mark 822fb3282f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-13 14:37:16 +02:00
Max Neunhoeffer 0040105e80 Finish transformation to three digit numbers in server IDs. 2016-06-13 14:37:15 +02:00
Mark 23d1a204b6 breadth first tests added 2016-06-13 14:36:52 +02:00
Alan Plum 279ec5e973
Also handle defaultDocument in non-legacy services 2016-06-13 14:27:26 +02:00