Andreas Streichardt
2a2cbf808a
Do not update in endless loop
2017-01-13 17:55:22 +01:00
Andreas Streichardt
b0792f1de3
Propagate errors during index creation
2017-01-13 13:21:41 +01:00
Andreas Streichardt
19b22ea9bf
Partly fix the index schmutz
2017-01-13 11:30:05 +01:00
Andreas Streichardt
1dcbf0850a
Implement sync replication
2017-01-12 18:21:37 +01:00
Max Neunhoeffer
7da0de6207
Merge branch 'schmutz-ng' of ssh://github.com/ArangoDB/ArangoDB into schmutz-ng
2017-01-12 16:34:22 +01:00
Max Neunhoeffer
fe9116f7fb
More Schmutz-NG.
...
Does not trigger sync repl yet.
2017-01-12 16:33:57 +01:00
Andreas Streichardt
97b49e79de
Add cluster sync tests
2017-01-11 18:18:51 +01:00
Kaveh Vahedipour
fe48bcb982
fixed for short names in frontend shard view
2017-01-11 16:31:19 +01:00
Max Neunhoeffer
062ec7ec1a
Activate ng Schmutz for databases.
2017-01-10 23:36:46 +01:00
Max Neunhoeffer
e9630b7aca
First set of changes, not yet activated.
2017-01-10 16:54:51 +01:00
Max Neunhoeffer
f47329f3c0
Mock new structure.
2017-01-10 13:41:16 +01:00
Andreas Streichardt
95cc704741
Ahhh jslint
2017-01-09 17:42:13 +01:00
Andreas Streichardt
b51aebd596
additional error checking
2017-01-09 17:37:06 +01:00
Kaveh Vahedipour
0875353a26
all ArangoAgency.set rewritten in cluster.js
2017-01-09 17:30:36 +01:00
Kaveh Vahedipour
3b57e84865
missing semis
2017-01-09 14:56:53 +01:00
Kaveh Vahedipour
13076e9fc1
no locks left in cluster.js
2017-01-09 14:45:44 +01:00
Kaveh Vahedipour
1ff26054fa
jslint needs satisfaction
2017-01-09 11:46:26 +01:00
Kaveh Vahedipour
853eb1849a
oops
2017-01-09 11:11:28 +01:00
Kaveh Vahedipour
55985ed5de
missing prototypes
2017-01-09 10:38:34 +01:00
Andreas Streichardt
13e3e8e673
more agency request mockery
2017-01-06 17:57:11 +01:00
Andreas Streichardt
11eb78c056
jslint
2017-01-06 17:28:39 +01:00
Andreas Streichardt
b447051677
remove console.logs
2017-01-06 17:24:39 +01:00
Andreas Streichardt
466f932701
First steps to low level replication debugging
2017-01-06 17:19:07 +01:00
Kaveh Vahedipour
a0af781630
to lock or not to lock
2017-01-06 14:46:57 +01:00
Kaveh Vahedipour
e87182d971
more verbose output on failure to create plan
2017-01-06 09:38:37 +01:00
jsteemann
dff5c448e4
fixed jslint
2017-01-03 14:58:07 +01:00
Kaveh Vahedipour
9d5a5537ce
remove deceased agents from AgencyComm
2017-01-02 17:12:00 +01:00
Kaveh Vahedipour
a2ee40d4f3
restarting agents inform rest of their new endpoints
2017-01-02 15:58:38 +01:00
Kaveh Vahedipour
1e8f44dcd0
increase plan too?
2016-12-30 14:03:37 +01:00
Kaveh Vahedipour
55ffd4c55f
collections and current version
2016-12-30 13:54:55 +01:00
Kaveh Vahedipour
4928358e04
removing trace of agency locks part 1
2016-12-30 11:21:11 +01:00
Kaveh Vahedipour
572d294ec7
getting rid of locks in cluster.js
2016-12-29 17:44:03 +01:00
Kaveh Vahedipour
b712640f42
getting rid of locks in cluster.js
2016-12-29 16:39:59 +01:00
Kaveh Vahedipour
6ec19a3136
getting rid of locks in cluster.js
2016-12-29 15:18:08 +01:00
Kaveh Vahedipour
ff701ff57c
getting rid of locks in cluster.js
2016-12-29 15:03:09 +01:00
Alan Plum
99ba80a542
Fix off-by-one in Foxx route
2016-12-20 01:43:14 +01:00
jsteemann
3939d5e2d8
don't log irrelevant message in generated Foxx apps
2016-12-15 16:18:07 +01:00
Alan Plum
3e93980ae9
Generate unique Swagger operationIds
2016-12-12 02:32:50 +01:00
Alan Plum
9a81d2cb63
Add support for Swagger tags
2016-12-12 02:32:50 +01:00
Alan Plum
f2a6864db4
Require at least one arg in route def
2016-12-12 02:32:49 +01:00
Alan Plum
d8bf7252e2
Document OAuth1
2016-12-09 15:28:36 +01:00
Alan Plum
0700cfa86a
Implement OAuth 1.0a
2016-12-06 18:30:11 +01:00
Andreas Streichardt
11bd9381d5
Add satellite collections
2016-12-06 16:40:50 +01:00
jsteemann
369b2c7bc6
added optional memory limit for AQL queries
2016-12-06 13:23:41 +01:00
jsteemann
d09ac31051
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-11-25 11:18:56 +01:00
Michael Hackstein
37b124593f
Unified ensureIndex on client and server libs.
2016-11-25 11:11:45 +01:00
jsteemann
817933c77b
bugfixes for sync replication and collection status in cluster
2016-11-24 17:00:57 +01:00
Andreas Streichardt
c4f5cb7474
debug logging
2016-11-24 13:27:58 +01:00
Alan Plum
4edb258ebb
Fix breaky multi-deps
2016-11-24 09:33:39 +01:00
Alan Plum
a854cbf674
Fix Windows file path resolution
2016-11-22 14:02:01 +01:00
Jan Steemann
689c7fbdc3
fixed issue #2183
2016-11-21 13:41:49 +01:00
Alan Plum
d6a063e28d
Allow multi-dependencies in Foxx
2016-11-18 17:22:07 +01:00
Alan Plum
593274b095
Sanitize paths in fm.requireService
2016-11-18 17:22:07 +01:00
Alan Plum
5493420a81
Make deps immutable
2016-11-18 17:22:07 +01:00
Alan Plum
e12ba2ad3b
Allow descriptions in Foxx dependencies
2016-11-18 15:13:25 +01:00
Alan Plum
2ed6d8cc3e
Discard unknown Foxx configs in production
...
Fixes #2162
2016-11-18 11:47:00 +01:00
Alan Plum
a73ce31e7b
Change format of Foxx API listScripts route
2016-11-17 17:29:51 +01:00
Kaveh Vahedipour
acb187851f
Merge pull request #2153 from de3/devel
...
fix upgrade/install foxx in cluster environment
2016-11-17 15:34:35 +01:00
Alan Plum
57cd82f88c
Fix swagger static path resolution
2016-11-15 18:08:06 +01:00
Alan Plum
8f6f022616
Unescape parts during Foxx routing
2016-11-15 17:38:15 +01:00
Alan Plum
facee370fa
Fix static file serving for paths wth dots in them
2016-11-15 15:41:33 +01:00
Jan Steemann
19f771fcd6
issue #2168
2016-11-14 17:30:19 +01:00
Alan Plum
c0a3f5a8a1
Better Foxx API error handling
2016-11-12 22:33:07 +01:00
Alan Plum
461cfdfcc2
Don't expose configuration in dev mode error page
...
Fixes #2156 .
2016-11-08 16:41:10 +01:00
Edi
69ee438be3
fix upgrade/install foxx in cluster environment
...
When install/upgrade, arangodb response is "No such file or directory".
This is because serviveInfo path already join with temporary Path, and then
in "uploadToPeerCoordinators" it join twice with temporary path.
Another problem, arangodb upgrade url is "update" not "upgrade".
Last problem, when Sync foxx with another cluster, use "coordinatorTransactionID"
but there is no that key response from ArangoClusterComm.
2016-11-08 08:02:53 +07:00
Alan Plum
ccb251e1f5
Better handling of routers & middleware in Swagger
...
Fixes #2148 .
2016-11-04 20:06:08 +01:00
Alan Plum
735f0e5f6c
Resolve 'lib' for 3.x services
...
Fixes #2139 .
2016-11-03 10:35:06 +01:00
jsteemann
68317bb4f2
added experimental `REGEX_REPLACE` AQL function
2016-11-03 00:40:19 +01:00
Alan Plum
f630020269
Expose static req.reverse as module.context.reverse
2016-10-31 17:38:11 +01:00
Alan Plum
33b6a2b8eb
Fix failing swagger test
...
Adds missing signature variant for endpoint.response method.
2016-10-26 21:06:19 +02:00
Alan Plum
0950520eb5
Implement inline middleware
2016-10-26 18:16:18 +02:00
Alan Plum
a999dee906
Add scripts route to Foxx API
2016-10-26 11:41:08 +02:00
Max Neunhoeffer
c695d60a2d
Merge branch 'devel' of https://github.com/ArangoDB/ArangoDB into devel
2016-10-21 09:13:01 +00:00
Max Neunhoeffer
6d96e51883
Catch an exception in wait for sync replication.
2016-10-21 06:45:48 +00:00
Max Neunhoeffer
638ce07e6d
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2016-10-20 15:10:38 +02:00
Max Neunhoeffer
01a386cdc1
Correct some comments.
2016-10-20 15:10:22 +02:00
Alan Plum
245819ea9c
Add Foxx HTTP API
2016-10-20 15:09:36 +02:00
Alan Plum
6aaa55f9dc
app -> service
2016-10-20 15:08:18 +02:00
Frank Celler
7ab630fabc
Removed cluster special case for xxxByExample.
2016-10-20 13:11:24 +02:00
Michael Hackstein
4fac851560
Added some better handling of SmartEdgeCollections in simpleQueries.
2016-10-19 15:19:33 +02:00
Jan Steemann
3c96c6f428
fix jslint
2016-10-18 13:55:10 +02:00
Andreas Streichardt
4ad6ddef3b
Fix naming
2016-10-17 14:00:58 +02:00
Michael Hackstein
1243dc503d
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-10-17 13:58:31 +02:00
Michael Hackstein
7f3b67170a
Removed obsolete JS Coordinator truncate() implementation. All done in cxx now.
2016-10-17 13:58:14 +02:00
Andreas Streichardt
ad2327022e
Merge remote-tracking branch 'origin/devel' into authentication
2016-10-17 13:51:26 +02:00
Andreas Streichardt
1318fa313b
Implement cluster authentication
2016-10-17 13:35:55 +02:00
Max Neunhoeffer
c9cf9a60c8
Put some debug messages in log level debug.
2016-10-14 18:48:11 +02:00
Alan Plum
c2452ddc99
Fix #2110
2016-10-14 11:54:55 +02:00
Max Neunhoeffer
79c0f54072
Add more logging about shard creation/dropping/cleaning.
2016-10-13 13:26:20 +02:00
jsteemann
c934f8e8dd
added AQL function `DISTANCE()` for distance calculations
2016-10-06 12:01:04 +02:00
Jan Steemann
d9d6588151
fixed issue #2081
2016-10-05 18:08:50 +02:00
Kaveh Vahedipour
595fc9b84e
moveShard with distributeShardsLike
2016-10-04 11:41:26 +02:00
Alan Plum
fe4c4d166f
Handle multiple request body models
2016-09-29 14:16:42 +02:00
hkernbach
d4da684325
fixed statistics in cluster mode
2016-09-26 13:45:06 +02:00
Jan Steemann
f0e14cff7d
changed behavior of array comparison operators for empty arrays
2016-09-21 11:01:59 +02:00
jsteemann
6d2a93d997
added experimental AQL functions `JSON_STRINGIFY` and `JSON_PARSE`
2016-09-19 08:58:52 +02:00
Michael Hackstein
a3ba4b249d
DBServer collections now use a cluster-wide unique id for their cids. Better handling of waiting for replication.
2016-09-08 16:26:17 +02:00
jsteemann
2df53c92ce
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-08 09:51:24 +02:00
Kaveh Vahedipour
4e9f455094
too verbose messages from cluster.js
2016-09-08 07:38:10 +00:00
Max Neunhoeffer
549367a15e
Fix error check in tryLaunchTask.
2016-09-07 09:46:59 +02:00
Max Neunhoeffer
c83c5200cf
Fix behaviour of tryLaunchJob when database is dropped.
2016-09-06 16:29:52 +02:00
Max Neunhoeffer
c083693ef0
Better error reporting in tryLaunchTask.
2016-09-06 14:28:00 +02:00
jsteemann
6c2bb5513e
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 16:06:22 +02:00
Frank Celler
04a82b919f
added --cluster.system-replication-factor
2016-09-01 15:59:02 +02:00
jsteemann
3ac79c8132
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-01 15:08:42 +02:00
Kaveh Vahedipour
6239a5fbc5
minor reorganisation
2016-09-01 13:45:15 +02:00
Michael Hackstein
513f6ce560
Now all AGENTs do re port that they are not part of a cluster. This did confuse the statistics.js
2016-08-31 17:20:28 +02:00
jsteemann
b2eadbd179
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-30 16:07:50 +02:00
Wilfried Goesgens
1c34b564ed
Fix release matching for alpha/beta versions
2016-08-30 14:39:48 +02:00
jsteemann
bd590fb62d
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-08-30 08:18:34 +02:00
Kaveh Vahedipour
c53428ce89
minor fixes
2016-08-29 17:13:33 +02:00
jsteemann
396ab41736
allow dropping system collections in some rare cases
2016-08-25 12:47:06 +02:00
Andreas Streichardt
5579eca2df
Change debug levels for shard sync...no more spam
2016-08-23 10:53:14 +02:00
Andreas Streichardt
997a4e688f
Handle backend unavailable properly
2016-08-22 14:15:15 +02:00
Alan Plum
76c447e29d
Add module.context.createDocumentationRouter
2016-08-19 00:36:08 +02:00
Alan Plum
bcb722f0ac
Add legacy mode to web interface
2016-08-17 14:51:04 +02:00
Andreas Streichardt
87c8c0033a
Improve clusterawareness in foxx and foxx queues
2016-08-10 12:26:24 +02:00
Jan Steemann
5b4e4e0845
issue #1977
2016-08-03 09:56:13 +02:00
Wilfried Goesgens
ad0bc4d00f
Work on the debian build
...
- change 3.0.x-devel to be 3.0.devel since minus or underscore collide with packaging requirements
- re-sync package scripts with whats current on suse OBS
- add config-uid support.
2016-08-01 13:43:30 +02:00
Andreas Streichardt
6f156d8554
Fix foxx issues in cluster
...
Bootstrap will now be done on the bootstrap coordinator.
queues will now be executed by the "foxxmaster"
2016-08-01 13:43:30 +02:00
Max Neunhoeffer
4bc433d5a7
Fix bug in synchronous replication.
2016-07-29 11:29:05 +02:00
Jan Steemann
44059b5feb
issue #1959
2016-07-25 11:37:24 +02:00
Jan Steemann
8369f652a4
fixed issue #1950
2016-07-20 09:38:25 +02:00
Alan Plum
6bbe8e8098
Fix OAuth2 getActiveUserUrl
2016-07-19 22:27:24 +02:00
Alan Plum
284e71c8e0
GraphQL! Hype! 🎉
2016-07-12 17:03:44 +02:00
Max Neunhoeffer
fedcc9cb17
Improving trace logging for syncCollectionFinalize.
2016-07-11 23:37:06 +02: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
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
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
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +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
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
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
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