1
0
Fork 0
Commit Graph

3132 Commits

Author SHA1 Message Date
Dan Larkin-York 7929859b23 Fixed behavior of graph._countCommonNeighbors with includeData true. (#5893) 2018-07-18 12:35:16 +02:00
jsteemann 3c1b607e95 create _fishbowl collection with same distribution as other system collections 2018-07-17 20:42:27 +02:00
Tobias Gödderz 9b85243f69 [3.3] Bugfix: Creating a graph failed erroneously (v2) (#5898)
* Regression test & bugfix: comparison of edge definitions didn' order from and to

* Updated CHANGELOG
2018-07-17 12:56:00 +02:00
Tobias Gödderz 557796dde1 [3.3] Bugfix: Creating a graph failed erroneously (#5843)
* Bugfix: edge definition equality check occasionally failed when it shouldn't

* Added a regression test

* Updated CHANGELOG
2018-07-12 12:56:13 +02:00
Jan 9a1d7bc0a5
fixed internal issue #2559 (#5634) 2018-06-20 11:46:10 +02:00
Kaveh Vahedipour 86557cf07c Feature 3.3/arangodoc (#5541) 2018-06-07 15:10:11 +02:00
Jan 78c193d34e
Bug fix 3.3/validate from to consistently (#5438) 2018-05-24 09:56:03 +02:00
Jan ff9cd74ceb
Bug fix 3.3/issue 5429 (#5432) 2018-05-23 11:38:18 +02:00
Jan d602f83afe
add support for named graphs (#5386) 2018-05-22 16:40:36 +02:00
Tobias Gödderz a391088dbf [3.3] Fix inconsistent distributeShardsLike job (#5300) 2018-05-17 12:07:20 +02:00
Mark 911b1d1ce1 Fix Foxx queues (3.3) (#5353) 2018-05-16 15:28:25 +02:00
Jan 731925080d
Feature 3.3/aql optimizations (#5140) 2018-05-15 14:41:07 +02:00
Tobias Gödderz 02675b96a9 [3.3] Fix race condition between foxx install and selfHeal (#5306) 2018-05-11 12:28:07 +02:00
Michael Hackstein fc7a2bec43 Bug fix 3.3/remove unnecessary cmake replace (#5233) 2018-04-30 15:57:00 +02:00
Michael Hackstein f14dc58187
Bug fix 3.3/issue 3811 (#5200)
* now checking existence of _from and _to vertices during edge creation

* changelog

* added tests

* correct use of db module

* merge of added more tests, changed error message

* merge conflicts

* merge conflicts

* Update CHANGELOG

* fixed ruby tests
2018-04-30 14:21:24 +02:00
Mark 3c77e29b1f Add query, aql.literal (3.3) (#5219) 2018-04-30 09:42:02 +02:00
Michael Hackstein b984a29894
Revert "Bug fix 3.3/issue 3811 (#4983)" (#5199)
This reverts commit 40a46d1aab.
2018-04-25 16:22:53 +02:00
Heiko 40a46d1aab Bug fix 3.3/issue 3811 (#4983)
* now checking existence of _from and _to vertices during edge creation
2018-04-25 15:07:54 +02:00
Wilfried Goesgens 7515253e93 Documentation 3.3/backuport examples (#5192) 2018-04-24 13:52:40 +02:00
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
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 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
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
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 8749957de0 remove useless flush from test, bump wal flush default timeouts (#4846) 2018-03-14 22:00:03 +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
Heiko 63048a36de Feature/foxx store (#4600) (#4711) 2018-02-28 17:11:39 +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
Alan Plum 75892a79c9 More Foxx API tests (#4517) 2018-02-09 15:57:25 +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
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +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
Michael Hackstein 82818d3294 Minor test fixes in client case 2018-01-16 21:21:03 +01:00
Michael Hackstein ffbc7058cd
Bug fix 3.3/rocksdb truncate (#4338) 2018-01-16 19:52:27 +01:00
Jan c1459ec5b9
fix missing events in RocksDB-based replication for transactions that… (#4276) 2018-01-15 22:44:54 +01:00
Jan cfe94a0913
add `--ignore-missing` option to arangoimp (#4128)
this option allows importing lines with less fields than specified in the CSV
header line
2017-12-22 11:09:03 +01:00
Jan 223f63bed1
change error message from "no leader" to "not a leader" (#4135) 2017-12-21 20:41:35 +01:00
Jan 9a242fe414 fix non-deterministic test (#3931) 2017-12-07 10:21:34 +01:00
Jan 68a2f331e9 Bug fix 3.3/foxx queues (#3930)
* fix issue #3858

* added tests and updated documentation for Foxx queues
2017-12-07 10:21:01 +01:00
m0ppers ce537af092 Broken client API and server default was wrong (#3748) 2017-11-21 17:19:14 +01:00
m0ppers 75e1bf31cd Feature/allow access to configured 🔐 in readonly mode (#3698)
* Special method to access configured access levels as opposed to only getting the effective access level
* Add integration test
* Allow grants on collection level
2017-11-17 16:11:22 +01:00
Jan 4a199e2fe3 make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
Jan 5abf0c1185 Bug fix/fixes 1511 (#3711) 2017-11-16 14:18:51 +01:00
jsteemann 020e1b5b69 fix another test 2017-11-16 11:13:33 +01:00