1
0
Fork 0
Commit Graph

14311 Commits

Author SHA1 Message Date
Michael Hackstein 5757965e26
Bug fix 3.3/anonymize in debug dump (#5190)
* Fixed the amount of Xs generated by debug dump

* Fixed typo in debugDump information
2018-04-24 13:19:10 +02:00
Michael Hackstein 4372767c17
Feature/debugdump ui (#5187) (#5188)
* Adeded a route to aardvark to export a debug dump, it can optinally contain anonymized example data

* Added the Download Debug Button to UI

* fixed zip file download of query dump file

* removed not needed vars

* Added JWT token authentication and error display on debug dump button

* Fixed Error reporting on download debug dump.

* Anonymization does not anonymize system attributes any more.

* Anonymize in explainer debugDump will now anonymize bindVars and will not anonymize system document attributes.
2018-04-24 10:11:36 +02:00
jsteemann 6a9fec5221 fix jslint 2018-04-23 22:19:36 +02:00
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Alan Plum cbd9fce10f Ignore manifest field (#5158) 2018-04-20 12:54:40 +02:00
Alan Plum a566ff6e73 Add @arangodb/locals module (3.3) (#5148)
* Add @arangodb/locals module

Extending Node's module object in TS is tricky so let's provide a fake module for compatibility.

* Add testcase
2018-04-20 12:51:22 +02:00
Kaveh Vahedipour 507418d9a4 stop supervision on demand (#5109)
* stop supervision on demand
* adding tests
* Correct an error message.
2018-04-20 11:58:47 +02:00
Jan b843dd6aec
port /_api/simple/by-example to cxx (#5147) 2018-04-19 14:46:32 +02:00
jsteemann c48a349c60 Merge branch '3.3' of https://github.com/arangodb/arangodb into 3.3 2018-04-13 14:23:06 +02:00
jsteemann 35a96f1113 fix broken dump_encrypted test 2018-04-13 14:22:12 +02:00
Jan 2fe7e82af2
improve startup resilience in case there are datafile errors (#4974) 2018-04-13 12:08:41 +02:00
Heiko d4cea1781a Bug fix 3.3/issue 4582 (#4986) 2018-04-13 10:56:46 +02:00
Alan Plum 51b036be9f Don't log stacktrace when fishbowl update fails (#5088) 2018-04-13 10:51:27 +02:00
Heiko 8f40bc35e1 fixed some pagination issues in ui documents view (#4968)
* fixed some pagination issues in ui documents view

* changelog

* fixed behaviour if filter is empty again
2018-04-13 10:49:28 +02:00
jsteemann bde36eb131 release version 3.3.7 2018-04-11 17:16:11 +02:00
jsteemann 3cb46f6ca0 fix jslint 2018-04-10 17:35:52 +02:00
Michael Hackstein 5decb66d01
fix dump&restore of smart graphs (#5065)
* Added tests for dump-restore of SmartGraphs

* Arangosh will now expose isSmart and the smartGraphAttribute on properties

* RestReplicationHandler will now ignore smart-graph collections unless you execute it with force

* Added changelog

* Reactivated original mmfiles dump/restore test

* Skip hidden smart graph collections in arangodump

* Do not dump shadowCollections metadata of smart edge collections

* Cluster optimizer rules for soerted gather nodes now handle virtual edge collections correctly

* Added a dump/restore tests for smartgraphs in rocksdb as well

* Deactivated checks for writesExecuted statistics in dump/restore tests for smartgraphs mmfiles

* Really exclude shadowCollections

* Reduced loglevel

* Added tests

* Don't change single-server behaviour

* Fix tests for omitted shadowCollections and hidden collections

* Activated statistics in MMFIles dump test again and included isEnterprise in rocksdb dump test

* A modification node can now disableStatistics, which means it does not contribute to query->extras() this is only relevant in SmartGraph case so far.

* Added a test to dump&restore satellite collections

* Bugfix: restore satellite collections properly

* Added regression test for internal issue #2237

* Fix bug #2237

* Updated CHANGELOG

* Copied dump/restore tests to rockdsb

* Removed enterprise test

* Added inline comment for smart-edge collections in optimizer rules

* Removed duplicate CHANGELOG entry

* Simplified removal of shadowCollections
2018-04-10 17:21:03 +02:00
jsteemann d452a224df release version 3.3.6.1 2018-04-07 00:44:29 +02:00
jsteemann b11634338e release version 3.3.6.1 2018-04-07 00:38:52 +02:00
jsteemann 18e4109f15 release version 3.3.6.1 2018-04-07 00:30:24 +02:00
Jan 2a97de317e
fix restrict-to-single-shard rule (#5050)
* fix restrict-to-single-shard rule

* added tests for specific cases
2018-04-06 14:30:08 +02:00
Jan ae0b99de63
added ArangoShell helper function for packaging all information about an AQL query so it can be run and analyzed elsewhere: (#5010)
query = "FOR doc IN @@collection FILTER doc.value > @value RETURN doc";
    bind = { value: 42, "@collection": "mycollection" };
    options = { examples: 10, anonymize: true };
    require("@arangodb/aql/explainer").debugDump("/tmp/query-debug-info", query, bind, options);

Entitled users can send the generated file to the ArangoDB support to facilitate
reproduction and debugging.

The data from the generated file can be restored and analyzed via the *inspectDump*
function:

    require("@arangodb/aql/explainer").inspectDump("/tmp/query-debug-info");
2018-04-05 14:06:51 +02:00
jsteemann 3f737e7648 attempt to fix non-deterministic test 2018-03-28 14:44:22 +02:00
Max Neunhöffer 3a7efc772c
Fix replication test w.r.t. indexes comparison. (#4978) (#4980) 2018-03-28 10:58:38 +02:00
Michael Hackstein d56fe45358
Windows should now use rspec.bat by default. No stunts with handed in ruby and rspec foo required but still possible. (#4943) 2018-03-26 10:10:56 +02:00
Jan c6eef6da7e
fixed issue #4934: Wrong used GeoIndex depending on FILTER order (#4947) 2018-03-26 09:43:31 +02:00
jsteemann 2f46033ff6 adjust index selection slightly 2018-03-24 22:27:28 +01:00
jsteemann fc95df2479 move projection optimizer rule to end of the optimization pipeline, because it otherwise may prevent further optimizations 2018-03-24 20:54:32 +01:00
jsteemann 1b2b5edea8 release version 3.3.5 2018-03-23 16:39:01 +01:00
Jan 50fef0f430
multiple cluster-related AQL optimizations (#4928)
* multiple cluster-related AQL optimizations

* do not apply single-shard optimization if _includedShards is already set from the outside

* implement changes requested by @mchacki
2018-03-23 14:52:58 +01:00
Jan 5e795da259
Feature 3.3/optimize cluster collect (#4895) 2018-03-22 18:36:15 +01:00
Jan 784c2ec085
fixed issue #4900 (#4918) 2018-03-22 18:27:31 +01:00
Max Neunhöffer 3e7425a392 More logging and increase timeout. (#4858) 2018-03-15 13:29:59 +01:00
Jan 58294a2c66
fixed issue #4843: Query-Result has more Docs than the Collection itself (#4854) 2018-03-15 10:52:50 +01:00
Jan 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +01:00
Jan 021794e4d2
fixed issue #4827: COLLECT on edge _to field doesn't group distinct values as expected (#4829) 2018-03-13 14:26:26 +01:00
Heiko c79c50e4e1 fixed wrong detection of file types (#4771) 2018-03-07 11:03:46 +01:00
jsteemann 36841feac3 release version 3.3.4 2018-03-06 16:24:52 +01:00
Michael Hackstein 411dc7ecf3 Fixed false http error codes in timeout case. Also reactivated retry in error case. (#4760) 2018-03-06 13:22:15 +01:00
Heiko 4ff33c0ee2 fixed wrong behaviour when updatating foxx repository was not successful (#4762) 2018-03-06 12:02:26 +01:00
jsteemann 7cc78dc0cd release version 3.3.4 2018-03-01 19:34:19 +01:00
Jan fa83a932ee
fix `fullCount` value in some cases in cluster mode (#4722) 2018-03-01 18:33:18 +01:00
Jan f3659947f4
Bug fix 3.3/fix ui (#4730)
* fix UI in non-authenticated mode

* added generated files
2018-03-01 18:06:58 +01:00
Max Neunhöffer 897e31657d
Fix agency test startup. (#4643) 2018-03-01 16:45:47 +01:00
Jan 8c1eccff33 fixed issue #4651 (#4660) 2018-03-01 16:44:05 +01:00
Frank Celler 59f655faf0 fixed compiler warnings and added missing call to arangosh 2018-03-01 12:17:47 +01:00
jsteemann 608c23e69d release version 3.3.4 2018-02-28 18:29:50 +01:00
Heiko 5ed2c3cb97 Bug fix 3.3/issue 4657 (#4707) 2018-02-28 17:13:52 +01:00
Heiko 63048a36de Feature/foxx store (#4600) (#4711) 2018-02-28 17:11:39 +01:00
Heiko 967ccf768d Bug fix 3.3/issue 4698 (#4701) 2018-02-28 16:08:01 +01:00
Michael Hackstein 027a1e167d
Fixed inconsistency in BFS when using filters on vertices (#4586) 2018-02-28 15:05:01 +01:00
Simon 1d57a46168 Refactor Authentication Layer (3.3) (#4588)
* added tests for revokeCollection and revokeDatabase

* optimized user permission test

* ui selection bugfix

* fixed ldap ui login

* login view

* Authentication refactoring

* localstorage fallback if user config is not available

* Fixing permission resolution test

* Adding missing import

* local storage queries now supported

* disabled collection task check for ldap

* added internal ldapEnabled function and ldap config to the ui

* more db creation tests

* removed console logs

* render fix

* Various authentication related fixes

* exec ldap test also for cluster

* Adding support to refresh user rights from external auth sources

* ldap test howto comment

* Handling roles more correctly

* jwt

* login view

* First part of rework of LDAP documentation.

* test roles in a ldap environment

* Changing role handling

* Finish revision of the LDAP chapter in the manual.

* Fixing user header

* Fixing some slight issues with LDAP users and roles

* Removing unused code

* Removing unused code

* added ldap test

* fixing a bug in restuserhandler

* more ldap tests

* ldap tests

* ldap tests

* optimized ldap testing, added cluster support, fixed some auth tests

* ldap cleanup test

* ldap tests

* auth tests

* ldap test

* Changing permission defaults

* revert change

* updated user helper test

* rm of try catch block connection

* Removing FeatureCacheFeature

* Changed permission resolution according to discussion

* updated the docs to clarify the permission resolution and the intricacies of LDAP users

* Fixing wrong permissions check in handling of PUT in ResUserHandler

* Using revision ID when replacing users

* Adding basic replace test

* tests

* Fixing some outstanding issues

* Fixing test setup, optimizing some stuff

* Fixing permission resolution rules, testsuite setup, etc

* Fix deadlock

* Adding error message for keyspace, slightly changing test setup

* Removing 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

* Fixing an assert

* Cleanup, adding changelog entry

* fix typo

* Fixing dump_authentication test

* improvements found during code review

* oops

* updated CHANGELOG

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

* added tests for ldap search mode

* Fixing testInvalidGrants

(cherry picked from commit bc7ea2aaa29a9ed0974898f487e8a318f24912f1)

* Removing undefined auth level externally

(cherry picked from commit 70859f43ae6fd694fdbf70f669fbfdafc58e7913)

* Fixing previous commit

(cherry picked from commit 2fbcffd2ed657862ef9fb5e6d45201a6ec8ada69)

* more use of sessionstorage

* 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

* fix LDAP test invocation

* Added roles transformation to ldap test suite

* Fix compilation of community version.

* Imrpved the ldap testsuites by unifying their options

* fix permission problems for system collections

* Improved LDAP configuration documentation.

* Grunt.

* fixed some ro/rw display issues

* fixed some ro/rw display issues part 2

* grunt build

* bump version number

* Fixed typos in LDAP manual
2018-02-28 13:24:18 +01:00
Jan f74822483c
fix issue #4677 (#4678) 2018-02-27 11:29:15 +01:00
Wilfried Goesgens 356a3c879c remove long gone long_echo functionality (#4646) 2018-02-21 16:34:23 +01:00
Jan f29df7d68b
improvements and more tests for replication (#4624) 2018-02-21 12:10:30 +01:00
Heiko 70fc52979b ui dashboard http correct label (#4612) 2018-02-20 11:30:28 +01:00
Mark 0679bb043c Fix Foxx API (#4616) 2018-02-20 10:10:51 +01:00
jsteemann adde91b621 remove always-failing tests (will be re-activated in devel) 2018-02-19 15:02:06 +01:00
Jan cfed2c1d23
Bug fix 3.3/handle single delete (#4617) 2018-02-19 14:40:39 +01:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Michael Hackstein 0a57be6863 Added missing semicolon (#4570) 2018-02-12 14:59:11 +01:00
Michael Hackstein 79a80558e1 Bug fix/distribute shards like (#4415) 2018-02-12 13:43:06 +01:00
Heiko 3b6abfd4a8 removed not needed menu entry for cluster logs (#4545) 2018-02-12 10:07:56 +01:00
Alan Plum 75892a79c9 More Foxx API tests (#4517) 2018-02-09 15:57:25 +01:00
Jan 9ffbc908f3
replication bugfixes and improvements ported from 3.2 (#4497) 2018-02-09 13:39:31 +01:00
Jan 414388963f
Bug fix 3.3/add edge filter to neighbors enumerator (#4550) 2018-02-08 15:15:21 +01:00
Jan e51f814587
fix internal issue #1848 (#4522)
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:34:24 +01:00
jsteemann 1e5c382b67 remove useless explain 2018-02-08 09:00:14 +01:00
Alan Plum 111cb3054d Don't greedily delete legit app folders (#4439)
See #4395
2018-02-05 12:31:43 +01:00
Alan Plum 5bdd212fc4 Bugfix Foxx API tests (#4472) 2018-02-05 11:32:13 +01:00
Alan Plum 28f4e3970f More consistent config/deps output in Foxx API (3.3) (#4440)
* 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:25 +01:00
Alan Plum ce9dfe8558 Fix legacy Foxx HTTP API compat layer (#4265) Part 2 (#4469)
* Fix store support in foxx-manager legacy API
* Move store refresh logic into legacy Foxx API
The 'refresh' option is not actually exposed by the new API and the behaviour was incompatible with the old implementation.
* issue #4393 part two
2018-01-30 16:29:10 +01:00
Alan Plum 85ee100bf5 Fix legacy Foxx HTTP API compat layer (#4265) (#4450) 2018-01-30 10:08:24 +01:00
jsteemann dbb9d79311 release version 3.3.3 2018-01-26 11:18:00 +01:00
jsteemann ac63433e87 fix invalid filename (my bad) 2018-01-25 16:47:15 +01:00
Jan c55374a75c
fix issue #4272 (#4418) 2018-01-25 15:57:06 +01:00
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
Heiko c06c552359 Bug fix 3.3/quotation marks query editor (#4381) 2018-01-23 12:38:02 +01:00
Jan d094ace175
added traversal test (#4375) 2018-01-23 09:08:58 +01:00
Jan 607a9d9ebd
Wait for 5 dbservers to be there and GOOD before test starts. (#4373) 2018-01-22 09:26:03 +01:00
Jan f04f0537b8
added test for issue #4308 (#4371) 2018-01-22 09:23:16 +01:00
jsteemann 69ef75b2e3 added test case 2018-01-19 15:01:01 +01:00
Heiko 7d5dfa88c9 Bug fix 3.3/issue 1684 (#4339) 2018-01-17 08:29:28 +01:00
Heiko b8c55b126d Bug fix 3.3/issue 1683 (#4341) 2018-01-17 08:28:47 +01:00
Michael Hackstein 82818d3294 Minor test fixes in client case 2018-01-16 21:21:03 +01:00
Heiko 941bd2b3e1 UI: optimized login view for very small screen sizes (#3761) (#4318) 2018-01-16 20:55:26 +01:00
Heiko a16fd972eb optimized shard distribution api and ui (#4312) 2018-01-16 20:54:07 +01:00
Michael Hackstein ffbc7058cd
Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
Heiko da50125e9f Bug fix 3.3/ui query parameter issue 4217 (#4245) 2018-01-16 09:15:01 +01:00
Heiko 7819c217ac Feature 3.3/swagger version upgrade 3.9.0 (#4307) 2018-01-16 09:08:36 +01:00
Jan f31734a198
fixed issue #4185: On execution of FULLTEXT search / AQL query db is … (#4239) 2018-01-15 22:46:14 +01:00
Max Neunhöffer 589bc68957 Fix shard distribution test. (#4262) 2018-01-15 22:45:12 +01:00
Jan c1459ec5b9
fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
Jan ee5e2e56c0
try to make replication test more deterministic (rough guess only) (#4274) 2018-01-15 22:44:36 +01:00
Jan 7b370dbf23
fix memory hunger of cache (#4269) 2018-01-12 12:15:19 +01:00
jsteemann 8908d39031 release version 3.3.2 2018-01-04 09:41:19 +01:00
Jan b2e3a6614a fixed issue #4197: AQL statement not working in 3.3.1 when upgraded from 3.2.10 (#4207) 2018-01-04 00:06:41 +01:00
Kaveh Vahedipour 56a9ad69b1 Bug fix 3.3/supervision no longer fails to remove server from failed when back to good (#4210)
* 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:01 +01:00
Jan 1bcab5628d
Bug fix 3.3/fix issue 4199 (#4201) 2018-01-03 21:32:49 +01:00