Jan Steemann
403ba8a30c
fixed issue #1937
2016-07-12 15:57:19 +02:00
Max Neunhoeffer
846e6b6127
Merge remote-tracking branch 'origin/devel' into HLC
2016-07-12 15:10:24 +02:00
Jan Steemann
1719d3c993
fix destructuring of Externals in MERGE
2016-07-12 13:37:39 +02:00
Jan Steemann
6f3091e30a
fix recovery issues
2016-07-12 09:45:45 +02:00
Max Neunhoeffer
7571a16c9d
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-07-11 23:46:12 +02:00
Max Neunhoeffer
fedcc9cb17
Improving trace logging for syncCollectionFinalize.
2016-07-11 23:37:06 +02:00
Jan Steemann
2d7faa795a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-11 18:39:18 +02:00
Jan Steemann
10db618129
fix recovery
2016-07-11 18:36:00 +02:00
Max Neunhoeffer
8f69fb74f5
Further fixes of commonProperties and friends.
2016-07-11 14:42:42 +00:00
Jan Steemann
55532a9fa5
removed some log message
2016-07-08 14:44:11 +02:00
Jan Steemann
cb14a63778
pass UDF name into UDF call via this argument
2016-07-08 14:31:14 +02:00
Jan Steemann
351f800eb1
fix upsert
2016-07-07 15:15:43 +02:00
Jan Steemann
f8b61c6723
added tests
2016-07-07 12:22:24 +02:00
Jan Steemann
2aaf941110
added test
2016-07-07 12:22:07 +02:00
Alan Plum
6c25aa7648
Restrict file 404 messages to relative path
2016-07-06 15:43:47 +02:00
Alan Plum
5c115b1cdb
Fix Foxx config not being saved
2016-07-06 15:24:47 +02:00
Alan Plum
6a0b9f0e4b
Make sure setup changes from devmode take effect
2016-07-06 14:09:09 +02:00
Alan Plum
29515d58e3
Avoid stale modules in dev mode
2016-07-06 14:09:09 +02:00
Alan Plum
f1eb2ebeb8
Make installed manifests human readable
2016-07-06 14:09:09 +02:00
Alan Plum
b332857bbf
app.isBroken and app.error don't exist
2016-07-06 14:09:09 +02:00
Alan Plum
2769a89c94
Move "executeScript" from FM into Service
2016-07-06 14:09:09 +02:00
jsteemann
507c7ea232
removed ascii art
2016-07-06 12:29:33 +02:00
jsteemann
79c3d589f5
added test for custom attributes
2016-07-06 10:02:20 +02:00
Alan Plum
dacb54d56f
Don't expose graphql on context
2016-07-05 19:45:00 +02:00
Alan Plum
4b43993eda
Port express-graphql to Foxx
2016-07-05 19:38:25 +02:00
jsteemann
51ca41df62
fix startup with completely empty VERSION file
2016-07-05 10:32:10 +02:00
Jan Steemann
9c98cb6cf3
added test for skipLines
2016-07-04 12:15:13 +02:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
Jan Steemann
6c2f9148cc
increase max. number of collections to 256
2016-06-30 13:44:31 +02:00
Alan Plum
999ca00165
Merge pull request #1903 from baslr/patch-4
...
custom toJSON for FoxxContext
2016-06-29 16:34:54 +02:00
Max Neunhoeffer
3ee7ff4aa9
Fix for synchronisation of shards logic.
2016-06-29 11:59:26 +02:00
jsteemann
cd49ac415c
added test
2016-06-28 13:33:40 +02:00
Mark
cd932c4060
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-06-28 12:49:26 +02:00
Mark
fb6f61ba30
shortestpath tests added
2016-06-28 12:49:05 +02:00
jsteemann
54bfd255dc
added test for "collection is a nullptr" issue
2016-06-28 12:16:36 +02:00
Manuel B
1eb49ee6a1
custom toJSON for FoxxContext
...
this fixes #1898
returns only documented values and hides internal values.
2016-06-27 23:46:59 +02:00
Michael Hackstein
808cb97707
Fixed a bug in SHORTEST_PATH using a distance attribute. In some cases the computed path was not correct.
2016-06-27 16:57:47 +02:00
jsteemann
274801b7b6
issue #1891 : renamed to OUTERSECTION
2016-06-24 14:07:41 +02:00
jsteemann
daf6d42683
optimize away some more filter parts of type `"const" IN collection.attribute
2016-06-24 14:03:58 +02:00
jsteemann
50c3aa93a9
issue #1891 : added AQL function `DIFFERENCE` to return the symmetric difference of its input arguments
2016-06-24 10:35:49 +02:00
Wilfried Goesgens
09e4475096
disable numeric aql tests for solaris - its broken in the solaris libm.
2016-06-23 18:05:28 +02:00
jsteemann
7496fa2c67
issue #1894 : make list of edge collections unique in traversal
2016-06-23 12:17:04 +02:00
Alan Plum
77c96537d1
Fix failing test
2016-06-21 10:49:50 +02:00
Alan Plum
24074069f9
Finalize Router/Response.md
2016-06-21 00:13:01 +02:00
Alan Plum
e77e18bbc9
Fix swagger a litle bit
2016-06-20 21:41:14 +02:00
Alan Plum
ab296ac829
Check trustedProxies lazily
2016-06-20 18:57:42 +02:00
Alan Plum
a0b67ae7ad
Handle false-y TRUSTED_PROXIES as null
2016-06-20 18:03:48 +02:00
Alan Plum
132a3fa387
Finalize Context.md
2016-06-20 18:02:26 +02:00
Alan Plum
50b8873d7c
More docs
2016-06-20 17:37:45 +02:00
Max Neunhoeffer
11adb777ca
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-06-20 00:42:00 -07:00
Max Neunhoeffer
11e3de54a1
Repair reverse proxy absolute path rewriting business.
2016-06-20 00:40:45 -07:00
Alan Plum
c55f6df799
Finalize Router/Endpoints.md
2016-06-19 19:54:04 +02:00
Max Neunhoeffer
50f325b4cf
Fix typos.
2016-06-18 00:02:02 -07:00
Max Neunhoeffer
67bd33152b
Fix typo.
2016-06-17 23:58:58 -07:00
Max Neunhoeffer
aae9e92dc0
Change logic when a sync shard job is scheduled.
2016-06-17 23:57:15 -07:00
Max Neunhoeffer
7563cf56d0
Fix sync repl fix.
2016-06-17 23:18:28 -07:00
Max Neunhoeffer
fe0cb0a958
Another fix for shard synchronisation.
2016-06-17 23:16:21 -07:00
Max Neunhoeffer
3bb4424b18
Wait for sync rep before dropping and recreating collection.
2016-06-17 14:18:48 -07:00
Max Neunhoeffer
01b3211048
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-06-17 11:02:56 -07:00
Alan Plum
8a640eb1b5
ERROR_APPLICATION_* -> ERROR_SERVICE_*
2016-06-17 20:02:25 +02:00
Max Neunhoeffer
f59668e889
When recreating a collection to avoid system collections, wait for sync rep.
2016-06-17 11:02:24 -07:00
Max Neunhoeffer
3db19df169
Fix bug in syncCollectionFinalize.
2016-06-17 09:50:18 -07:00
Alan Plum
a56aae69d4
Export foxx/mocha.findTests
2016-06-17 16:17:16 +02:00
Alan Plum
c4ed4d9df0
Make swagger docs secure again
2016-06-17 14:52:15 +02:00
Alan Plum
ba2c489134
Stop swagger-ui from complaining about api key
...
[skip ci]
2016-06-17 14:51:38 +02:00
Alan Plum
fd7a7c154b
More readable manifest messages
...
[skip ci]
2016-06-17 14:11:04 +02:00
Frank Celler
7bcc7b33f3
removed debug log messages
2016-06-17 11:42:22 +02:00
hkernbach
70ad0867d4
shardDistribution api, shards view
2016-06-17 11:10:11 +02:00
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