Jan Steemann
7f637ba12d
use empty instead of size check
2014-04-05 00:20:21 +02:00
Jan Steemann
100e514841
issue #798 : Lower case http headers from arango
...
This change allows returning capitalized HTTP headers, e.g.
`Content-Length` instead of `content-length`.
The HTTP spec says that headers are case-insensitive, but
in fact several clients rely on a specific case in response
headers.
This change will capitalize HTTP headers if the `X-Arango-Version`
request header is sent by the client and contains a value of at
least `20100` (for version 2.1). The default value for the
compatibility can also be set at server start, using the
`--server.default-api-compatibility` option.
2014-04-03 13:24:59 +02:00
gschwab
b4a9026237
omit www authenticate
2014-03-26 11:38:35 +01:00
Jan Steemann
cf22660e85
fixed memleak
2014-03-26 10:43:23 +01:00
Jan Steemann
05d8db9430
make ArangoDB not send back a `WWW-Authenticate` header
...
make ArangoDB not send back a `WWW-Authenticate` header to a client in case the
client sends the `X-Requested-With` header with a value of `XMLHttpRequest`
This is done to prevent browsers from showing their built-in HTTP authentication
dialog for AJAX requests that require authentication.
ArangoDB will still return an HTTP 401 (Unauthorized) if the request doesn't
contain valid credentials, but it will omit the `WWW-Authenticate` header,
allowing clients to bypass the browser's authentication dialog.
2014-03-25 18:48:15 +01:00
Frank Celler
d34832bbcf
added changePassword attribute for users
2014-03-25 11:40:13 +01:00
Jan Steemann
5a3f2aaa49
improved job API
...
* added REST API method HTTP GET `/_api/job/job-id` to query the status of an
async job without potentially fetching it from the list of done jobs
* fixed non-intuitive behaviour in jobs API: previously, querying the status
of an async job via the API HTTP PUT `/_api/job/job-id` removed a currently
executing async job from the list of queryable jobs on the server.
Now, when querying the result of an async job that is still executing,
the job is kept in the list of queryable jobs so its result can be fetched
by a subsequent request.
2014-03-21 21:19:45 +01:00
Frank Celler
f2121ff442
cleanup
2014-02-25 15:32:07 +01:00
Frank Celler
569778ae10
Merge branch 'sharding' of github.com:triAGENS/ArangoDB into sharding
2014-02-25 12:07:46 +01:00
Frank Celler
42fb8244e1
added requeue
2014-02-25 12:07:16 +01:00
Max Neunhoeffer
826714c1b3
Document REUSEADDR setup.
2014-02-24 12:54:21 +01:00
Max Neunhoeffer
70c541fec6
Sort out REUSEADDR matter for good?
2014-02-24 12:40:48 +01:00
Max Neunhoeffer
a762a8c32c
Default for SOCK_REUSEADDR is false.
2014-02-24 11:04:38 +01:00
Max Neunhoeffer
f7e57a5b47
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
js/apps/system/aardvark/frontend/scss/generated.css
js/apps/system/aardvark/manifest.json
lib/Rest/EndpointIp.cpp
lib/Rest/EndpointUnixDomain.cpp
lib/V8/v8-utils.cpp
2014-02-21 15:28:21 +01:00
Jan Steemann
211b0da24b
moved options --server.reuse-address and --server.no-reuse-address into ApplicationEndpointServer
2014-02-21 14:44:18 +01:00
Frank Celler
b01d9d77e7
Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/ApplicationV8.h
arangod/V8Server/v8-actions.cpp
js/apps/system/aardvark/frontend/js/bootstrap/module-internal.js
js/apps/system/aardvark/frontend/scss/generated.css
js/server/version-check.js
lib/Dispatcher/Job.h
lib/GeneralServer/GeneralServerJob.h
2014-02-20 21:02:07 +01:00
Jan Steemann
68707cabad
better error message if keyfile cannot be found
2014-02-20 18:06:25 +01:00
Jan Steemann
c38c038492
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
CHANGELOG
js/apps/system/aardvark/frontend/css/collectionsItemView.css
js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann
0087a5a877
issue #756 : white-listed `server` header
2014-02-05 09:12:03 +01:00
Jan Steemann
79190570ba
issue #756 : set access-control-expose-headers on CORS response
...
the following HTTP headers are now whitelisted by ArangoDB in CORS responses:
- etag
- content-encoding
- content-length
- location
- x-arango-errors
- x-arango-async-id
2014-02-04 18:09:58 +01:00
Max Neunhoeffer
6c36c268f0
Improve debugging output of ClusterComm asynchronous requests.
2014-01-03 09:36:37 +01:00
Max Neunhoeffer
5d51d7b3ba
Get rid of many debugging messages.
2013-12-30 14:49:14 +01:00
Max Neunhoeffer
fec0c20012
Sort out one more allocation/deallocation issue.
2013-12-27 14:29:25 +01:00
Max Neunhoeffer
62976629f0
Various memory leaks and callback improvements.
2013-12-27 13:15:52 +01:00
Max Neunhoeffer
c9b2884def
Full round trip implemented but not yet working.
2013-12-23 16:19:59 +01:00
Jan Steemann
16e16f705c
some bugfixes for asyncRequest etc
2013-12-20 18:03:55 +01:00
Jan Steemann
8fa172f03c
added callbacks for async requests
2013-12-17 13:51:07 +01:00
Jan Steemann
f0184d2786
not sure about the restshardhandler yet
2013-12-12 17:51:45 +01:00
Jan Steemann
e1382dd255
added detailed HTTP request statistics
2013-10-31 16:39:59 +01:00
Jan Steemann
4f50b98c45
removed second logger implementation
2013-10-30 00:38:25 +01:00
Jan Steemann
43b4f78b62
issue #620
2013-10-28 19:38:19 +01:00
Jan Steemann
d89a1de20a
fetch time outside of lock
2013-10-20 23:08:47 +02:00
Jan Steemann
b8318609e2
updated arangorestore
2013-10-10 16:58:21 +02:00
Jan Steemann
857c69d5a6
added `--server.allow-method-override` startup option
2013-10-08 17:06:42 +02:00
Jan Steemann
46a295ba43
fixed some Windows warnings
2013-10-08 12:39:47 +02:00
Jan Steemann
709198c340
updated docs for /_api/jobs
2013-09-28 00:44:03 +02:00
Jan Steemann
18663e7124
async job management
2013-09-26 18:45:20 +02:00
Jan Steemann
e3d9d95f3f
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
lib/Admin/ApplicationAdminServer.cpp
lib/GeneralServer/GeneralServerDispatcher.h
2013-09-26 17:46:05 +02:00
Jan Steemann
5a422becd8
async job management
2013-09-26 17:30:03 +02:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
97afd329ff
updated documentation
2013-09-24 18:22:38 +02:00
Jan Steemann
7f9f5ef000
added documentation
2013-09-23 17:06:51 +02:00
Jan Steemann
1bf82999b9
endpoints handling
2013-09-23 14:26:09 +02:00
Jan Steemann
2e75c872f4
persist list of endpoints
2013-09-23 13:14:54 +02:00
Jan Steemann
6902ae5670
added support for async requests
2013-09-20 12:32:46 +02:00
Jan Steemann
0bdae05b96
changed reference counting for cursors
2013-09-16 13:51:33 +02:00
Jan Steemann
8b5f4e2e65
changed mutex into rw-lock
2013-09-13 11:16:44 +02:00
Jan Steemann
2eb0871813
updated TODOs
2013-09-12 18:46:19 +02:00
Jan Steemann
6ff314de0e
runtime addition and removal of endpoints
2013-09-12 18:07:39 +02:00
Jan Steemann
3a6cabfe44
creating/dropping
2013-09-11 17:16:43 +02:00