* Fix windows path handling not to slip into UNC lookup (#10073)
* make sure that we don't get more than one leading directory separator in front of the path, so windows doesn't mistakenly look it up as a UNC.
* make sure we don't build paths that start with two \'s
* fix condition
* preview code I dropped on jackie today. only supports document collections.
* saving work in progress
* update arangoexport to fully use ManagedDirectory object (arangoimport still needs work).
* migrate remainder of import to using ManagedDirectory objects
* correct spelling within activateEncryption(): encription to encryption
* forgot to fix up graphExport for managed directory. luckily unittest noticed.
* add test read of gzip json file
* add readGzip to our fs object
* add TRI_SlurpGzipFile function
* add code to bridge javascript fs.readGzip to TRI_SlurpGzipFile
* correct the return type used by JS_ReadGzip
* add gzip test for jsonl type export
* add remain gzip versions of existing export tests
* add import tests of gzip files
* activate encryption in enterprise to enable fs.readDecrypt()
* bug fix: allow encryption to enable in empty directory if EncryptionFeature active.
* add JS_ReadDecrypt to enterprise build. Current used for unit tests.
* enterprise build needs EncryptionFeature added to build to support TRI_SlurpDecryptFile()
* add TRI_SlurpDecryptFile() to aid in unit test of encrypted stuff
* missing newline at end of file.
* add fs.readDecrypt when available
* add test of encrypted json array export
* correct progress meter when gzip involved
* move from using ManagedDirectory::File to ManagedDirectory::readableFile calls
* create version of readableFile that uses file descriptor as param
* Fix temporary directory handling
On linux we create a sub directory under the temp directory with our own name and a unique id.
On windows we would only return the configured system temporary directory and not create a subdirectory.
This PR makes windows behave similar to linux.
* Cleanup windows implementation of locating the base temp path
- don't try to create a temporary file. The calling function will try anyways and fail then.
- properly check for unsupported characters and bail out.
* changelog
* fix c++ string handling
* remove double directory separators, so later on JS_RemoveRecursiveDirectory() won't trip over them
* do not use V8 variant of AQL functions in early optimization stage when a C++ variant is available
* additionally, simplify AQL function definitions and aliases
* warn when more than 90% of max mappings are in use
* added C++ variant of replication catchup
* added `--log.role` option
* updated CHANGELOG
* removed non-existing scheduler.threads option from config
* removed useless __FILE__, __LINE__ invocations
* updated CHANGELOG
* allow a priority V8 context
* remove TRI_CORE_MEM_ZONE
* try to fix Windows errors & warnings
* cleanup
* removed memory zones altogether
* exclude system collections from collection tests
* ignore some return codes when closing zip files and do not report them
* hide mostly useless debug message
* clear basic authentication cache after deletion of users and after updating them
otherwise deleted/changed users can still access the database!
* adjust wording
* added notes about mmfiles-specific parameters
* updated CHANGELOG and documentation