1
0
Fork 0
Commit Graph

279 Commits

Author SHA1 Message Date
Jan Steemann 1855b74aaa added asserts 2016-04-07 16:44:36 +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
Jan Steemann 545b87cb76 test fixes 2016-04-06 17:39:24 +02:00
Jan Steemann 9f8c24b1cd Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-04-06 15:43:27 +02:00
Michael Hackstein a968446820 SingleServer INSERT babies now uses newest format. It tries to insert as much as possible. Reports each document individually. Also reports each error individually. The ordering of documents in request and response is identical. 2016-04-05 15:53:48 +02:00
Michael Hackstein 0f7c2af9dc Fixed undefined behaviour bug if someone tries to delete a document without key and body. 2016-04-01 17:12:22 +02:00
Michael Hackstein 91d394105c ClusterResolver cid by numeric name now checks if the number is actually a valid collection and it returns cid 0 instead of the given numeric number. Some apis rely on this to check if collection exists or not. 2016-04-01 14:31:13 +02:00
Frank Celler 068f9defd7 splitted HttpResponse.h 2016-04-01 10:39:38 +02:00
Frank Celler 295c8a3809 MSVC fixes 2016-03-31 14:01:23 +02:00
Frank Celler 486011d399 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-03-31 13:41:09 +02:00
Frank Celler 494bdca847 splitted HttpRequest into GeneralRequest/HttpRequest 2016-03-31 11:45:21 +02:00
Jan Steemann 31c06b0845 cleanup 2016-03-22 11:48:17 +01:00
jsteemann 4694d36671 cppcheck 2016-03-21 20:56:08 +01:00
jsteemann 906418778c cppcheck 2016-03-18 11:23:38 +01:00
Max Neunhoeffer d1c5c64d6b Fix baby methods for documents in arangosh. 2016-03-18 02:05:19 +01:00
Max Neunhoeffer 37bac8881d Implement babies variant of DELETE /_api/document/<collection>. 2016-03-17 20:28:40 +01:00
jsteemann 3fd954fc6a micro optimizations 2016-03-15 10:40:37 +01:00
Max Neunhoeffer 627ef39b81 Finish returnNew and returnOld for RestDocumentHandler. 2016-03-11 23:16:45 +01:00
Max Neunhoeffer 01f942239e Fix Rest handler. 2016-03-11 21:50:35 +01:00
Max Neunhoeffer 1cf6299399 RestDocumentHandler returnNew and returnOld. 2016-03-11 21:45:47 +01:00
Max Neunhoeffer e77159b008 New returnNew option for insert. 2016-03-11 12:44:36 +01:00
Max Neunhoeffer 06be35dd9b Fix RestDocumentHandler after recent changes to rev management. 2016-03-11 10:09:06 +01:00
Max Neunhoeffer 9074f99f09 Get rid of update policy in RestHandlers. 2016-03-10 00:02:47 +01:00
Max Neunhoeffer 80ee083105 Fix RestDocumentHandler: modify and remove. 2016-03-09 23:59:02 +01:00
Max Neunhoeffer c831858224 Fix RestDocumentHandler for POST. 2016-03-09 15:21:29 +01:00
Max Neunhoeffer 6b2fa8c33d RestDocumentHandler GET method, plus tests. 2016-03-09 13:28:13 +01:00
Jan Steemann 6eea757c01 simplifications 2016-03-04 19:40:24 +01:00
Jan Steemann 1c150d4d6e Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk 2016-03-04 18:35:40 +01:00
Jan Steemann ad4a9542ea removed file 2016-03-04 18:32:54 +01:00
Max Neunhoeffer 4cb42662f3 Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-03-04 15:19:26 +01:00
Max Neunhoeffer 2654e654db Compiles again, document API not yet sorted out. 2016-03-04 10:32:34 +01:00
jsteemann 0c580f1076 removed unused includes 2016-03-04 02:37:20 +01:00
Jan Steemann 78f07c6a31 less json 2016-03-03 14:23:39 +01:00
Jan Steemann e6e864cd7a removed unused functions 2016-03-02 10:53:59 +01:00
Jan Steemann 6c152649d4 added allKeys() method 2016-03-01 11:14:40 +01:00
Jan Steemann 88b6828abb re-added single-operation hints 2016-02-26 12:37:12 +01:00
Jan Steemann 2ee4dad77b TransactionContext is now the resource owner 2016-02-25 14:02:57 +01:00
Jan Steemann 3c6391279e cleanup 2016-02-25 12:24:04 +01:00
Jan Steemann e1745608e3 inject attribute translator everywhere 2016-02-25 11:13:32 +01:00
Jan Steemann eb202f528c pass vocbase in TransactionContext 2016-02-23 13:03:30 +01:00
Jan Steemann f468cd00ad create transaction context as shared ptr 2016-02-23 12:18:39 +01:00
Jan Steemann 0a969caf23 removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction 2016-02-23 11:05:44 +01:00
Michael Hackstein fefe7f4f73 Fixed TODO where collectionType was hardcoded and probably wrong and replaced it by new transaction API. 2016-02-23 09:44:02 +01:00
Michael Hackstein a2a52c6ea5 Fixed usage of collection type in RestDocumentHandler 2016-02-22 16:09:51 +01:00
Jan Steemann aea510155d removed unused variables 2016-02-19 12:57:37 +01:00
Michael Hackstein 09c6c4bd0d HTTP DELETE now uses new transaction API 2016-02-19 12:50:20 +01:00
Michael Hackstein 7f2e01a180 Fixed usage of old constructor 2016-02-18 16:44:08 +01:00
Michael Hackstein 4e12805846 document PUT and PATCH now use the new Transaction API. 2016-02-18 16:14:23 +01:00
Michael Hackstein b7cf8138b3 Fixed Rest generateDocument. It now uses the custom attribute handler for _id 2016-02-18 15:25:13 +01:00
Michael Hackstein 4aa3de6eb8 RestDocument Handler GET now uses new Transaction API 2016-02-18 15:08:57 +01:00