1
0
Fork 0
Commit Graph

14384 Commits

Author SHA1 Message Date
Jan ed843991d6
added test (#4840) 2018-03-14 16:14:09 +01:00
Jan b325d05357
Bug fix/aql auto keep on collect (#4795)
* automatically detect which variables to keep in AQL COLLECT

If a COLLECT INTO is used, then it is detected which sub-attributes
of the into variables are used later in the query, and automatic
KEEP instructions are added to the COLLECT if possible

Example query:

    FOR doc1 IN collection1
      FOR doc2 IN collection2
        COLLECT x = doc1.x INTO g
        RETURN { x, all: g[*].doc1.y }

would be turned into

    FOR doc1 IN collection1
      FOR doc2 IN collection2
        COLLECT x = doc1.x INTO g KEEP doc1
        RETURN { x, all: g[*].doc1.y }

and prevent `doc2` from being temporarily stored in the variable `g`

* fix runtime warnings

* increase default flush timeout

* added tests
2018-03-14 13:59:46 +01:00
Manuel B 73b6975e56 Doc - colors in the AQL explain examples (#4835) 2018-03-14 11:55:29 +01:00
Jan 2f47cdcaf9
fixed issue #4827: COLLECT on edge _to field doesn't group distinct values as expected (#4830) 2018-03-13 13:40:26 +01:00
Jan 67e7e4181e
Bug fix/remove v8 executor (#4756) 2018-03-13 10:41:02 +01:00
Simon eb709e0dd8 Using stream cursor in arangoexport and arangosh (#4807) 2018-03-12 09:41:43 +01:00
Simon fe9768dc44 Replace /_api/simple/by-example (#4779)
* Replacing /_api/simple/by-example

* Requested changes
2018-03-09 09:35:48 +01:00
Wilfried Goesgens 87edf275e3 implement SPLIT Aql-Function in C++ (#4786) 2018-03-09 09:12:30 +01:00
Wilfried Goesgens 33bc2f704f Doc - AQL improve examples (#4788) 2018-03-08 20:25:56 +01:00
Simon 272859c5fd Replacing js upgrade logic (#4061) 2018-03-08 13:57:30 +01:00
Michael Hackstein 6f42d062be Fixed false http error codes in timeout case. Also reactivated retry in error case. (#4760) (#4770) 2018-03-08 09:19:16 +01:00
Simon 102998dd65 Streaming Query Cursor (#4769) 2018-03-08 09:18:41 +01:00
Andrey Abramov 29b7a7ea44 remove logger view (#4764) 2018-03-08 09:18:21 +01:00
Mark 292117e3cf Bug fix devel/bfs filter vertices (#4752) 2018-03-08 09:06:15 +01:00
ArangoDB Release Bot aeec9d3879 nightly frontend build 2018-03-08 00:57:38 +00:00
Heiko 43c11b448b fixed wrong detection of file types (#4772) 2018-03-07 11:03:30 +01:00
ArangoDB Release Bot fb4d18dfa6 nightly frontend build 2018-03-07 00:57:49 +00:00
Heiko a9ce6f8d9a fixed wrong behaviour when updatating foxx repository was not successful (#4763) 2018-03-06 12:07:45 +01:00
Wilfried Goesgens c7a9b41cf5 Doc - Interactively generated AQL examples (#4757)
* interactively generated AQL examples
2018-03-05 19:17:16 +01:00
Wilfried Goesgens 8297fd38b8 Doc - Fix doc build attempt 2 (#4744) 2018-03-02 15:02:42 +01:00
ArangoDB Release Bot 0d184a07fa nightly frontend build 2018-03-02 00:57:43 +00:00
Jan 46a56792ed
fix `fullCount` value in some cases in cluster mode (#4723) 2018-03-01 18:33:10 +01:00
Jan 00d331bb62
fix UI in non-authenticated mode (#4731) 2018-03-01 18:07:10 +01:00
Heiko 7bcfbee0c5 Bug fix/issue 4698 (#4700)
* databases inside the login view and uer permissions view are now sorted

* changelog
2018-03-01 16:51:14 +01:00
Heiko 663d98c99f Bug fix/issue 4657 (#4706)
* fixed incomplete content type header

* changelog
2018-03-01 16:47:54 +01:00
Max Neunhöffer b7d09bcdc4
Fix agency test startup. (#4642) 2018-03-01 16:45:26 +01:00
ArangoDB Release Bot 6a1bb6ab2c nightly frontend build 2018-03-01 00:57:46 +00:00
Heiko 64e81064b1 added missing global var (#4712) 2018-02-28 16:25:54 +01:00
Heiko b6df96fcc1 Feature/foxx store (#4600)
Vastly improved the Foxx Store UI
2018-02-28 14:39:36 +01:00
Simon 345fc3c0b7 Refactor Authentication Layer (devel) (#4592)
* Cherry Picking LDAP changes

* Adding missing merges

* Fixing remaining mentions of FeatureCacheFeature

* Fix jslint

* Fixing some failed tests

* Fixing cluster authentication issue, red tests

* Fixing ldap testsuite, adding trace logging

* Fixint ldap tesuite setup and LDAP recognition

(cherry picked from commit 686d28a779)

* Fixing wrong assert

* Adding changelog entry, making requested changes from code review

* Fixing dump_authentication, fix typos

* improvements found during code review

* oops

* more use of sessionstorage

* fix tests

* Fixing broken handling, disallowing adding of local users when disabled

* Fixing testInvalidGrants

* Removing undefined auth level externally

* Fixing previous commit

* added tests for ldap search mode

* intentionally removed `after` methods from tests

because they are executed before the tests start
no cleanup is performed right now after the authentication tests
however, a cleanup is done at start of every test

* ldap tests all modes

* forward port changes from 3.3

* added generated files

* forward port missing changes for web UI

* added generated files

* added generated files
2018-02-28 13:24:28 +01:00
Jan 9ca52c0cf7
fixed issue #4651 (#4659) 2018-02-28 12:56:07 +01:00
sleto-it 0ba532b16a
Doc - Replication Refactor - Part 1 (#4555)
Next steps after DC2DC and Cluster doc improvements:

- We refactor replication sections and make more intuitive separation between Master/Slave and the new Active Failover in 3.3
- We create corresponding sections for Master/Slave and Active Failover in the Administration and Deployment chapters, as well as in the Scalability chapter, where these "modes" are introduced
- We touch and improve the "Architecture" chapter as well, where some architecture info have to be placed
- We reorg the TOC having in more "logical" order:
-- Deployment
-- Administration
-- Security
-- Monitoring
-- Troubleshooting
- We adds parts in the TOC
- We add toc per pages, using page-toc plugin
- We also put close together "Scalability" and "Architecture" chapters, preliminary steps of further improvements / aggregation
- We improve swagger

Internal Ref:
- https://github.com/arangodb/planning/issues/1692
- https://github.com/arangodb/planning/issues/1655
- https://github.com/arangodb/planning/issues/1858
- https://github.com/arangodb/planning/issues/973 (partial fix)
- https://github.com/arangodb/planning/issues/1498 (partial fix)
2018-02-28 12:23:19 +01:00
Simon ab0cb34398 Fixing shell-request testsuite (#4696) 2018-02-28 08:42:11 +01:00
Vasiliy 423ce33ed1 Changes since last PR: remove 'dataPath' IResearchView configuration property and use a hardcoded path similar to a LogicalCollection (#4683) 2018-02-27 18:10:32 +01:00
jsteemann 7badc8660e temporarily disable broken tests 2018-02-27 17:15:54 +01:00
Wilfried Goesgens b8e55ef022 fix https://github.com/arangodb/arangojs/issues/508 (#4664) 2018-02-27 14:54:51 +01:00
Jan da1dd2b063
fix issue #4677 (#4679) 2018-02-27 11:29:09 +01:00
jsteemann 6df7bf460a temporarily disable broken test 2018-02-27 09:04:45 +01:00
Simon 11a7bbf321 Replacing statistics handler with c++ (#4653) 2018-02-26 15:33:43 +01:00
Jan Christoph Uhde 586a66ebbf Fix: #4583 - adds AQL ASSERT and WARN (#4584) 2018-02-26 14:25:24 +01:00
Wilfried Goesgens 4edbcc58f0 remove old way to invoke unittests (#4648) 2018-02-21 18:28:49 +01:00
Wilfried Goesgens 878ee09df9 remove long gone long_echo functionality (#4645) 2018-02-21 16:34:52 +01:00
ArangoDB Release Bot 5c28a00b24 nightly frontend build 2018-02-21 00:57:40 +00:00
Heiko a5bd135ddf ui dashboard http correct label (#4613) 2018-02-20 11:30:47 +01:00
Mark cd97787adf Fix Foxx API (#4614) 2018-02-20 10:22:27 +01:00
Wilfried Goesgens 1c80774091 Fresh swagger (#4623) 2018-02-19 18:56:27 +01:00
jsteemann aa5e02c82d make syncer more compatible and ignore revs if not present 2018-02-19 18:44:08 +01:00
Jan 63c50c3993
Bug fix/handle single delete (#4618) 2018-02-19 14:49:58 +01:00
Wilfried Goesgens bda5c79bce Implement FIND_FIRST and FIND_LAST in c++ (#4608) 2018-02-19 10:41:21 +01:00
Wilfried Goesgens 101a9893a4 migrate r/l-trim, split trim so we can reuse that code. (#4578) 2018-02-16 14:10:00 +01:00
Andrey Abramov d130e0f7c6 Bug fix/internal issue #350 (#4601) 2018-02-15 18:57:08 +01:00
Vasiliy 828f8fb48c locally tested only, Changes since last PR: ensure parser.cc dependency is tracked in the build directory to avoid bison invocation on MSVC, aquire IResearchView snapshot at transaction begin() and reuse it for all queries, remove unused callback registration from Methods (#4564) 2018-02-14 12:32:29 +01:00
Wilfried Goesgens 139aca6967 Doc - fix examples (#4579) 2018-02-13 20:32:01 +01:00
jsteemann a0ace6ef73 fix jslint 2018-02-13 12:21:20 +01:00
Wilfried Goesgens 619155a62d Feature/aqlfunction to cpp (#4573) 2018-02-13 11:50:49 +01:00
ArangoDB Release Bot 66401c5463 nightly frontend build 2018-02-13 00:57:52 +00:00
Heiko c36bb206ad removed not needed menu entry for cluster logs (#4544) 2018-02-12 10:05:52 +01:00
Wilfried Goesgens 16648fc628 fix windows compile (#4557) 2018-02-11 18:56:13 +01:00
Dan Larkin 934e936bae Fix index selectivity estimate issues with RocksDB engine (#4429) 2018-02-09 16:05:33 +01:00
Alan Plum b00d169bcf More Foxx API tests (#4516) 2018-02-09 15:55:42 +01:00
Simon 35136a89c0 Fix some problems with active failover (#4540) 2018-02-09 15:11:53 +01:00
Jan 42dd337152
allow using `returnOld` and `returnNew` attributes in HTTP REST APIs … (#4479) 2018-02-09 14:50:56 +01:00
Jan 8da61a9875
Bug fix/more replication tests (#4500) 2018-02-09 13:06:47 +01:00
Jan 4f872b62ee
add missing edge filter NeighborsEnumerator (#4547) 2018-02-08 15:15:29 +01:00
Jan 0eae1d225f
fix internal issue #1848 (#4521)
AQL optimizer was trying to resolve attribute accesses
to attributes of constant object values at query compile time, but only did so far
the very first attribute in each object

this fixes https://stackoverflow.com/questions/48648737/beginner-bug-in-for-loops-from-objects
2018-02-08 09:23:15 +01:00
jsteemann 24da298f0a removed useless explain 2018-02-08 09:01:03 +01:00
Alan Plum 232abd4bd0 Fix legacy Foxx HTTP API compat layer (#4265) (#4449) 2018-02-05 12:35:51 +01:00
Mark 599da158b5 Bugfix Foxx API tests (#4446) 2018-02-05 11:31:27 +01:00
Alan Plum 58cfd340cc Don't greedily delete legit app folders (#4437)
See #4395
2018-02-05 11:30:05 +01:00
Vasiliy aa041ddfb9 locally tested only (#4476) 2018-02-05 11:24:34 +01:00
Dan Larkin bf606bdf89 Rename more '-iresearch' tests to '-arangosearch'. (#4477) 2018-01-31 18:01:04 +01:00
Dan Larkin a25384fe6c Rename -iresearch files to -arangosearch for proper test selection. (#4386) 2018-01-31 17:25:59 +01:00
Jan Christoph Uhde fd166d07f4 try to fix windows build (#4468) 2018-01-31 10:09:39 +01:00
Alan Plum 05d0c81d7d More consistent config/deps output in Foxx API (devel) (#3792)
* Correctly expose parsed/raw config

This makes accessing the configuration more consistent by distinguishing between the raw (assigned) and parsed (validated/default) values.
Previously there was no way to recognise default values for unset config options and the "current" value did not actually reflect what the service sees.

* Add minimal option to config/deps routes

The default values are backwards compatible with the existing behaviour but can be overridden to consistently get more/less output.

* Actually merge warnings into non-mininal response
2018-01-30 16:50:36 +01:00
Wilfried Goesgens 054989cd41 Documentation/rename iresearch files (#4456) 2018-01-29 17:23:18 +01:00
Michael Hackstein 7a5a9a620c
Bug fix/distribute shards like (#4415) 2018-01-29 13:07:06 +01:00
jsteemann a73408182c fix invalid filename (my bad) 2018-01-25 16:46:15 +01:00
Jan caf409b638
fix issue #4272 (#4419) 2018-01-25 15:57:13 +01:00
Jan fe0fca9029
Bug fix/restore unlock (#4387) 2018-01-25 15:56:27 +01:00
Wilfried Goesgens 14c5c3aa35 fix restoring a dump created from a cluster to single server (#4350) 2018-01-24 13:50:27 +01:00
Manuel B ebf1622b4e typo (#4414) 2018-01-24 13:48:41 +01:00
Wilfried Goesgens 9f7f03af44 Fix output of arangosh when run in testing.js (#4411) 2018-01-24 12:28:19 +01:00
Jan abd3355784
renamed files (#4405) 2018-01-24 09:54:24 +01:00
ArangoDB Release Bot 8be7833973 nightly frontend build 2018-01-24 00:58:15 +00:00
Jan 1a7177bc3d
added traversal test (#4376) 2018-01-23 15:18:09 +01:00
Heiko fdc0c62dbc Bug fix/quotation marks query editor (#4380) 2018-01-23 12:38:13 +01:00
Simon 3de120d915 Doc - Move cursor documentation out of deprecation folder (#4353) 2018-01-23 11:01:29 +00:00
Jan Christoph Uhde 3683e555ef move statistics from js to c++ (#4351) 2018-01-23 09:58:29 +01:00
Andrey Abramov ffbb00bbe2 standardize on the 'analyzer' and 'trackListPositions' naming (#4384) 2018-01-22 16:39:53 +01:00
Jan 41f1b31e58
added test for issue #4308 (#4372) 2018-01-22 09:22:48 +01:00
ArangoDB Release Bot 172494db51 nightly frontend build 2018-01-20 00:57:42 +00:00
Max Neunhöffer c221dddad4 Wait for 5 dbservers to be there and GOOD before test starts. (#4364) 2018-01-19 18:37:46 +01:00
jsteemann 6bbdafb31d added test case 2018-01-19 15:43:30 +01:00
Andrey Abramov a1cfb3d72b Feature iresearch (#4105) 2018-01-19 14:23:58 +01:00
ArangoDB Release Bot 5651ceed79 nightly frontend build 2018-01-17 00:57:36 +00:00
Heiko 97f7851ebe Bug fix/issue 1683 (#4264) 2018-01-16 21:41:24 +01:00
Heiko 9d2e11f789 fixed a query caching and parsing issue in the ui (#4266) 2018-01-16 21:39:40 +01:00
Michael Hackstein 40fa74f626
Bug fix/selectivity estimates on abort (#4337) 2018-01-16 18:21:55 +01:00
Michael Hackstein 4a5301fbf9
Bug fix/rocksdb truncate (#4328) 2018-01-16 15:21:43 +01:00
Michael Hackstein 802fda8e10 Revert "Bug fix/selectivity estimates on abort (#4314)"
This reverts commit d32f3b5fe9.
2018-01-16 14:39:02 +01:00
Michael Hackstein d32f3b5fe9
Bug fix/selectivity estimates on abort (#4314) 2018-01-16 12:39:03 +01:00
Heiko 77ac74bcf0 UI: optimized login view for very small screen sizes (#3761) 2018-01-16 09:55:49 +01:00
Heiko 43edad2537 Bug fix/ui query parameter issue 4217 (#4244) 2018-01-16 09:12:54 +01:00
Michael Hackstein d32ac3b9c8
Bug fix/rocksdb truncate (#4060) 2018-01-16 09:01:04 +01:00
ArangoDB Release Bot 62aee41411 nightly frontend build 2018-01-16 00:57:47 +00:00
Jan 653f95f243
fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4238) 2018-01-16 00:27:27 +01:00
Jan 37da067059
fix missing events in RocksDB-based replication for transactions that… (#4277) 2018-01-16 00:27:11 +01:00
Heiko 947771b757 updated swagger to current version: 3.9.0 (#4285) 2018-01-16 00:25:15 +01:00
Jan Christoph Uhde bddadda0ee add 'create database' to 'import feature' (#4278) 2018-01-15 15:15:31 +01:00
Jan Christoph Uhde 9c2ebb7bfc remove code that potentially throws from ~WBReader (#4282) 2018-01-15 15:14:55 +01:00
Jan 416724ff68 try to make replication test more deterministic (rough guess only) (#4275) 2018-01-14 22:10:58 +01:00
Max Neunhöffer f2cf4cbb80 Fix shard distribution test. (#4260) 2018-01-14 22:06:06 +01:00
Jan 140452c80c
fix memory hunger of cache (#4270) 2018-01-12 12:14:11 +01:00
ArangoDB Release Bot 2c5fa19d4e nightly frontend build 2018-01-12 01:02:18 +00:00
Jan b2b6c06cbf
Feature/efficiency (#3736) 2018-01-05 16:51:31 +01:00
Jan 19ab240bf8
add wait to test (#4224) 2018-01-05 14:53:35 +01:00
Jan 3b6e85f4a6
fixed issue #4197: AQL statement not working in 3.3.1 when upgraded from 3.2.10 (#4206) 2018-01-05 14:52:03 +01:00
Jan d113b755a0
fixed issue #4199: Internal failure: JavaScript exception in file 'arangosh.js' at 98,7: ArangoError 4: Expecting type String (#4202) 2018-01-05 14:51:26 +01:00
Jan 2a93560473
added AQL function `IS_KEY` (#4158) 2018-01-05 14:50:57 +01:00
Jan 7018d003cc
added `SORTED` and `SORTED_UNIQUE` AQL functions (#4157) 2018-01-05 14:50:27 +01:00
Jan 6cb79b164e
change message from "no leader" to "not a leader" (#4134) 2018-01-05 14:50:15 +01:00
Alan Plum d37fd83a96 Warn about Foxx manifest names (#3899)
Via #3818
2018-01-05 14:49:05 +01:00
ArangoDB Release Bot 6b3f1c1697 nightly frontend build 2018-01-04 00:57:41 +00:00
Kaveh Vahedipour 7715c75c59 let's not miss failedserver removal (#4208)
* let's not miss failedserver removal
* remove resetting of FailedServers in test code
* Only call abortRequestsToFailedServers at most every 3 seconds.
2018-01-03 21:55:40 +01:00
Heiko e48acb5523 ui - updated support view (#4203) 2018-01-03 17:04:44 +01:00
ArangoDB Release Bot 212b5056a5 nightly frontend build 2018-01-03 00:57:34 +00:00
Jan 6ab17171a3
do not materialize entire collections using V8 (#4087) 2018-01-02 15:47:41 +01:00
Jan bbfb8238b1
clean up generator code (#4191) 2018-01-02 15:26:06 +01:00
Heiko 65d22c6066 Feature/sha512 aql cpp (#4181) 2018-01-02 14:31:01 +01:00
Jan 1d24a4e14a
temporarily break flush thread feature in order to prevent some loss (#4159) 2018-01-02 13:20:07 +01:00
Heiko 61de1b6099 Bug fix/optimize shard distribution api and ui (#3921)
* UI: document/edge editor now remembering their modes (e.g. code or tree)

* changed shardDistribution api behaviour, added PUT route to only fetch collection based shard distribution

* ui: optimized shards view, added missing cleanup function in nodes view

* broken test

* shard distribution tests not fit the new api behaviour

* variables as reference

* CHANGELOG
2018-01-02 12:42:12 +01:00
Heiko 1a1f908c2b Bug fix/issue 4152 ui wfs rocksdb (#4153) 2018-01-02 12:30:03 +01:00
Heiko ba563f7f36 Feature/dygraph lib update (#4183) 2018-01-02 12:27:25 +01:00
Jan 6040b4ae9f
add ignore-missing option to arangoimport (#4129) 2017-12-22 11:29:10 +01:00
jsteemann b82a32b94b rename test 2017-12-20 11:26:16 +01:00
Jan 52d0a4593e
Bug fix/add recovery tests for intermediate commits (#4108)
* added several recovery tests that check intermediate commits

* small fixes

* fix tests
2017-12-20 09:46:06 +01:00
Wilfried Goesgens 7a9bf83561 fresh examples (#4101) 2017-12-19 13:48:27 +01:00
ArangoDB Release Bot 1e87c55e86 nightly frontend build 2017-12-19 00:57:45 +00:00
Jan 2a96df5ca5
Feature iresearch (#4071) 2017-12-18 15:04:59 +01:00
Jan e1c13b2130
simply fulltext query handling (#4072) 2017-12-18 13:38:33 +01:00
ArangoDB Release Bot 61841c3293 nightly frontend build 2017-12-17 00:57:31 +00:00
Heiko 2cda6b8153 changelog (#4051) 2017-12-16 17:23:12 +01:00
Jan 3b1453b864
make queue test more robust (#4065) 2017-12-16 15:32:11 +01:00
Heiko 5878d8184e Bug fix/ui fix foxx configuration keys 3818 (#3993)
* ui: fixed broken foxx configuration keys. Some valid values could not be handled by the ui.

* changelog
2017-12-16 15:16:00 +01:00
Jan 4ceaf2ce1c
add minPort and maxPort to testing.js help output (#4042) 2017-12-15 10:26:41 +01:00
ArangoDB Release Bot 92ed9a84ec nightly frontend build 2017-12-15 00:57:40 +00:00
Dan Larkin 9cd8c47eb7 Renamed arangoimp to arangoimport (with alias for compatibility.) (#4040) 2017-12-14 21:31:21 +01:00
Jan 3f9918a163
revert broken fix for WITHIN_RECTANGLE, restore the old (non-working) behavior (#4038) 2017-12-14 21:30:28 +01:00
Heiko 7563ba25ea Feature/ui modals usability 891 (#3989) 2017-12-14 12:59:33 +01:00
Heiko 62d0476bd7 Feature/ui 1447 nodes sorting (#3986) 2017-12-14 12:58:02 +01:00