1
0
Fork 0
Commit Graph

402 Commits

Author SHA1 Message Date
jsteemann adbe81d45d fix adler32 function 2017-05-18 15:40:35 +02:00
Alan Plum 5d017d733c Improve Foxx cluster resilience (#2479)
* Improve Foxx cluster resilience

Fixes #2083
Fixes #2384
Fixes #2408
Addresses #1892

* Port old Foxx API

* Implement single-file services

* Add console.errorStack/warnStack/infoStack helpers

* Simplify serviceInfo validation

* Extract github/upload logic into Aardvark and old FM API
* Move generator logic into Aardvark
* Move zip/js buffer logic into FM core

* Add Foxxmanager tests

* Send empty response when no README

* Disambiguate script arg format

Historically we allow passing an array of positional arguments or an arbitrary first argument.
This is surprising behaviour, so we should just always treat the value as a first argument.

* Rebuild bundle in development mode

* Nicer HTTP docs formatting

* Create Foxx HTTP docs

* Simplify service upload handling

* Remove inline swagger docs

* Implement public download route

* Consistency

* Rebuild aardvark

* Move bundle route into /_api/foxx/_local

* Rebuild Swagger API docs

* Add changes to CHANGELOG

* More docs
2017-05-16 17:41:29 +02:00
Simon Grätzer f101e21328 Geo index update, renaming 2017-05-11 13:19:51 +02:00
Simon Grätzer d8053a9bcf Fixing fulltext deduplication 2017-05-10 16:17:46 +02:00
jsteemann 8c52ccf6cf add experimental and undocumented flush option for fs.write 2017-04-26 14:52:42 +02:00
jsteemann 9d6277689c change default value for `--ssl.protocol` from 4 (TLSv1) to 5 (TLSv12) 2017-04-21 12:49:16 +02:00
baslr 21d3056925 fixed another redirection issue 2017-04-10 15:10:16 +02:00
baslr ebd0d012b4 fixed redirection issue 2017-04-07 18:20:46 +02:00
Jan Christoph Uhde b83ae2ab82 refactor some code to make use of arangodb::Result 2017-03-30 09:39:21 +02:00
jsteemann 2eeccd5f09 small simplifications for error handling 2017-03-23 21:18:53 +01:00
Simon Grätzer 3f29cf356b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-03-16 17:03:45 +01:00
Simon Grätzer 70401fe5db Fixed JS_KillExternal 2017-03-16 17:03:29 +01:00
jsteemann a87b8c4f25 generalize usleep argument 2017-03-16 16:27:40 +01:00
jsteemann 645889949c move engine-specific V8 functions into storage engine 2017-03-09 12:59:44 +01:00
Frank Celler 7eefdf547b simplification: FileResult does only support ok, no additional result
header only, added FileResultString class for Result that return a string
2017-03-08 13:01:20 +01:00
jsteemann 0417ed5a82 fix segfault 2017-02-10 11:34:36 +01:00
jsteemann d024a6d00a remove logging for non-topics 2017-02-10 09:32:50 +01:00
jsteemann a9057b2d12 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-07 11:58:56 +01:00
Wilfried Goesgens 540e4178aa attempt to obtain a coredump on server shutdown hang 2017-02-07 10:27:31 +01:00
jsteemann 952b9c00c2 Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api 2017-02-03 10:43:56 +01:00
Frank Celler ca28e7c978 added support for topic logging 2017-02-02 16:00:37 +01:00
jsteemann 454c69a148 fix integer handling 2017-02-02 10:15:39 +01:00
Alan Plum 6bd388672e
Restore original TRI_StringifyV8Exception
It's still being used outside the actual JS logic so we should probably leave it alone for now.
2017-01-27 05:59:06 +01:00
Alan Plum c9b926916a
Even cleaner SyntaxError stacktraces
Don't clutter stacktraces for Node compatibility at all. Just add lineNumber/columnNumber/fileName to the object.
These are non-standard but there is precedent for these names in Mozilla.
2017-01-27 05:53:39 +01:00
Alan Plum 88ac5777d6
Clean up SyntaxError generation
Clobber stacktrace instead of wrapping in another exception with wonky message string.
This makes SyntaxError details node-compatible and parseable for generating code frames.
2017-01-27 05:34:22 +01:00
Alan Plum 61301a391b
Expose PKCS5_PBKDF2_HMAC to JS 2016-12-19 02:20:51 +01:00
jsteemann 7dddbbe00c cosmetics 2016-11-19 09:22:57 +01:00
Jan Steemann a46efabacf preparations for issue #1974 2016-11-17 14:42:18 +01:00
jsteemann b2c04f6165 work around unexcepted start/end values from V8 2016-11-03 17:02:53 +01:00
Andreas Streichardt 1318fa313b Implement cluster authentication 2016-10-17 13:35:55 +02:00
Jan Christoph Uhde d3654d99d8 finish RequestType enum 2016-08-23 14:49:29 +02:00
Jan Steemann 0de5561659 moved mostly unused functions 2016-08-05 16:14:39 +02:00
jsteemann 752015ddb2 added functions V8_TO_VPACK and VPACK_TO_V8 2016-08-04 16:02:46 +02:00
Jan Steemann 2525816892 fixed function signature in error reporting 2016-06-22 14:30:33 +02:00
Jan Steemann 24ee67eda7 try to fix potential crashes 2016-06-14 16:41:00 +02:00
Frank Celler fdf375a01e isStopping 2016-06-10 11:12:01 +02:00
Andreas Streichardt 6cb00f905d Merge branch 'devel' into jwt 2016-05-30 18:49:26 +02:00
Andreas Streichardt 5b0055bfbf jwt generation works 2016-05-30 18:47:04 +02:00
jsteemann b8f99fa717 slightly adjusted wait times 2016-05-30 09:34:13 +02:00
jsteemann f196428920 updated CHANGELOG 2016-05-23 18:45:48 +02:00
Max Neunhoeffer a73b348e77 Add TRI_SuspendExternalProcess and TRI_ContinueExternalProcess for Unix. 2016-05-19 14:06:57 +02:00
Frank Celler bf16086623 moved SSL files into separate directory 2016-05-11 16:34:03 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
jsteemann 96fceb4411 use std::unordered_maps for headers 2016-05-01 20:52:47 +02:00
jsteemann bfd6fa833d disallow thread creation until ApplicationServer::start() 2016-04-27 16:17:46 +02:00
Jan Steemann e3db1236c6 fixed compile warnings 2016-04-22 15:31:47 +02:00
Frank Celler 5335a5b0af moved to Random 2016-04-21 22:53:20 -07:00
Max Neunhoeffer d049b04cd7 Fix compilation. 2016-04-21 14:32:15 +02:00
Wilfried Goesgens 084bb330cb Add tiny wrapper around the ICU-string tokenizer, so one can easily try out what the fulltext index would do. 2016-04-21 14:18:17 +02:00
Frank Celler d02063688b fixed url building 2016-04-17 17:44:18 -07:00