1
0
Fork 0
Commit Graph

14312 Commits

Author SHA1 Message Date
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
Heiko 4a22fdba31 ui - updated support view (#4205) 2018-01-03 17:04:17 +01:00
Frank Celler 1c01d07dbd release version 3.3.1 2017-12-28 14:32:01 +01:00
Heiko 953e41b5e2 Bug fix 3.3/issue 4152 ui wfs rocksdb (#4154)
* ui displayed wrong wfs property for a collection while using rocksdb storage engine
* changelog
2017-12-28 12:25:31 +01:00
Heiko 3b5a397241 Bug fix 3.3/ui fix foxx configuration keys 3818 (#3994)
* ui: fixed broken foxx configuration keys. Some valid values could not be handled by the ui.
* changelog
2017-12-28 12:09:12 +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
jsteemann 48031be4f0 rename test 2017-12-20 11:27:26 +01:00
Jan f83a1a0394
Feature 3.3/add recovery tests for intermediate commits (#4106)
* added several recovery tests that check intermediate commits

* small fixes

* fix tests
2017-12-20 09:46:12 +01:00
Jan 5230df9f72
Feature 3.3/fulltext optimizations (#3925) 2017-12-19 21:40:12 +01:00
Heiko cd1c44ea56 improved the behavior during collection creation in a cluster environment (#4052)
* improved the behavior during collection creation in a cluster environment

* changelog
2017-12-16 15:33:11 +01:00
Jan 4caeaed655
make queue test more robust (#4064) 2017-12-16 15:10:37 +01:00
Jan b4d27b38a6
revert broken fix, restore the old (non-working) behavior (#4039) 2017-12-14 21:30:39 +01:00
Heiko f580b48654 Feature 3.3/ui modals usability 891 (#3990) 2017-12-14 13:00:14 +01:00
Heiko 82f0c660c9 Feature 3.3/ui 1447 nodes sorting (#3987) 2017-12-14 12:58:13 +01:00
Jan 9c5893e7a7
fix premature unlock (#3802) (#4027)
* fix some deadlocks found by evil lock manager (tm)

* fix duplicate lock

* fix indentation

* ensure proper lock dependencies

* fix lock acquisition

* removed useless comment

* do not lock twice

* create either a V8 transaction context or a standalone transaction context, depending on if we are called from within V8 or not

* AQL micro optimizations

* use explicit constructor

* only use V8DealerFeature's ConditionLocker for acquiring a free V8 context

entering and exiting the selected context is then done later on without having to hold the ConditionLocker

* remove some recursive locks

* Disable custom deadlock detection when Thread Sanitizer is enabled

* Changing ifdef's

* grr

* broke gcc

* Using atomic for ApplicationServer::_server

* fix premature unlock

* add some asserts

* honor collection locking in cluster

* yet one more lock fix

* removed assertion

* some more bugfixes

* Fixing assert

(cherry picked from commit 1155df173bfb67303077fbe04ee8d909517bfd21)
2017-12-13 18:46:14 +01:00
Jan 3caa4c47bb
add a test for replication applier restarts (#3750) (#3933) 2017-12-08 15:48:15 +01:00
Heiko 673ab08142 UI: fixed issue #3822: disabled name input field for system collections (#3961) 2017-12-08 15:39:19 +01:00
Wilfried Goesgens 60b2e385a8
Merge pull request #3968 from arangodb/bug-fix-3.3/fix-max-traversal-depth-test
fix failing test on MSVC
2017-12-07 18:30:07 +01:00
jsteemann e0b3917380 fix failing test on MSVC 2017-12-07 16:25:31 +01:00
Wilfried Goesgens c8d5ae05f8 release version 3.3.rc7 2017-12-07 15:45:38 +01:00
Wilfried Goesgens 427bf044eb Merge branch '3.3' of github.com:arangodb/ArangoDB into 3.3 2017-12-07 14:49:17 +01:00
Wilfried Goesgens 3a940eccdc release version 3.3.rc7 2017-12-07 14:48:38 +01:00
jsteemann d482a07d64 adjusted test after merge 2017-12-07 12:45:09 +01:00
Jan 6ce073c2d5 fixed issue #3640: limit in subquery (#3903) 2017-12-07 10:41:46 +01:00
Jan 9c45363a6a edge collections were wrongly added to from and to vertices select box during graph creation (#3905)
* edge collections were wrongly added to from and to vertices select box during graph creation

* changelog
2017-12-07 10:37:10 +01:00
Jan bec83181be Bug fix 3.3/add security check end with failover (#3911)
* Add security check in AgencyComm::sendWithFailover.

* some cleanup

* added some more tests

* add typeName() to AgencyCommTransaction to make the transaction type printable in debug messages

* improve debuggability
2017-12-07 10:33:59 +01:00
Jan 6e0bc341ac Bug fix 3.3/ui issue 2668 document not found (#3914)
* added better not found information if a document or a collection was not found

* UI: added not found views for documents and collections
2017-12-07 10:31:42 +01:00
Jan abf185fe63 UI: using default user database api during database creation now (#3924) 2017-12-07 10:25:20 +01:00
Jan 09ade62c04 Bug fix 3.3/aardvark dont use any for graph start (#3927)
* any() is very slow in rocksdb with large collections.
Instead pick a random document of the first 1000 documents.

* changelog: why do we replace any()
2017-12-07 10:22:44 +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
Jan 21e275d1a1 Propagate commit errors to AQL (#3831) (#3932) 2017-12-07 10:20:04 +01:00
Jan ddd8d5c8e1 Added 503/0 inquire tests to resilience tests (#3839) (#3934) 2017-12-07 10:18:39 +01:00
Heiko a432d26065 Bug fix 3.3/ui navigation label issue 1406 (#3935)
* nav label wrongly removed

* changelog
2017-12-07 10:17:58 +01:00
Heiko 57633794bc Bug fix 3.3/ui updating graph viewer values (#3938)
* the graph viewer now displays updated label values correctly

* changelog
2017-12-07 10:09:09 +01:00
Michael Hackstein f986a5f06c Improved the cost estimation of traversals to be independent from max search depth. This fixes #3917 (#3944)
LGTM
2017-12-07 10:05:35 +01:00
Jan 4104296fd3 fix revision id vs local document id usage in incremental sync (#3916) 2017-12-07 09:24:20 +01:00
Frank Celler 775a1a8066 release version 3.3.rc4 2017-11-28 17:47:54 +01:00
Frank Celler 75a494dc74 Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-28 12:49:25 +01:00
ArangoDB Release Bot de79bea932 nightly frontend build 2017-11-28 10:28:23 +00:00
ArangoDB Release Bot 4fd9c33e8a nightly frontend build 2017-11-27 17:55:56 +00:00
ArangoDB Release Bot a7bda575ee nightly frontend build 2017-11-27 17:42:11 +00:00
ArangoDB Release Bot 61a0439b89 nightly frontend build 2017-11-27 17:31:55 +00:00
ArangoDB Release Bot d5b35baac8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2017-11-27 17:31:00 +00:00
ArangoDB Release Bot 69efa185a7 nightly frontend build 2017-11-27 17:28:59 +00:00
Heiko 259a051a8e UI: document/edge editor now remembering their modes (e.g. code or tree) (#3815) 2017-11-27 18:24:12 +01:00
Heiko cb3b71d697 Bug fix/gv catch graph error and fix renderer cleaanup dev (#3791) 2017-11-27 12:21:31 +01:00
ArangoDB Release Bot 18bd7a9677 nightly frontend build 2017-11-27 00:57:57 +00:00
ArangoDB Release Bot 0ebd964dd2 nightly frontend build 2017-11-26 00:57:57 +00:00
ArangoDB Release Bot 204e983d22 nightly frontend build 2017-11-25 00:58:01 +00:00
Frank Celler 514deccade release version 3.3.rc3 2017-11-24 13:52:20 +01:00
Frank Celler 657ae57c42 Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-24 12:31:49 +01:00
Heiko dbab414321 UI: added a delay within the graph viewer while changing the colors of the graph (#3758) 2017-11-24 12:30:17 +01:00
Frank Celler a54da92fc7 Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-24 12:29:19 +01:00
Kaveh Vahedipour 2beaef41ff Bug fix/agencycomm validate methods broken (#3784) 2017-11-24 10:31:07 +01:00
ArangoDB Release Bot 42a694d0d7 nightly frontend build 2017-11-24 00:57:57 +00:00
ArangoDB Release Bot 7f9bd1baa2 nightly frontend build 2017-11-23 00:58:01 +00:00
Frank Celler 27e4f51f7b release version 3.3.rc2 2017-11-22 19:31:49 +01:00
Frank Celler 4c14c7a8c9 Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-22 17:33:07 +01:00
Frank Celler 20c8565b25
Feature/encrypted dump (#3777) 2017-11-22 17:25:25 +01:00
Frank Celler 0b609dc65e Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-22 16:11:52 +01:00
Frank Celler 179ae83cbc
Feature/encrypted dump (#3768) 2017-11-22 15:59:02 +01:00
ArangoDB Release Bot 56a2329592 nightly frontend build 2017-11-22 12:06:30 +00:00
m0ppers ce537af092 Broken client API and server default was wrong (#3748) 2017-11-21 17:19:14 +01:00
Frank Celler 62c52c6387 Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-21 16:04:04 +01:00
m0ppers ecb18dfded
Merge pull request #3751 from arangodb/bug-fix/🔧-server-🗑️-due-to-changed-cluster-⛑️
Change removal of servers to work without role
2017-11-21 14:29:12 +01:00
ArangoDB Release Bot 2fa1948de8 nightly frontend build 2017-11-21 11:06:27 +00:00
Andreas Streichardt 5071a77340 Fix jslint 2017-11-21 11:36:25 +01:00
Andreas Streichardt 810ca8a9ef Fix removal of nodes 2017-11-20 17:13:37 +01:00
Frank Celler e963a4c39b Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-20 10:30:42 +01:00
Simon Grätzer 38e9a830a6 Fix occasional Replication Ongoing hiccups (#3743) 2017-11-20 10:30:01 +01:00
Frank Celler b3234bc882 release version 3.3.rc1 2017-11-19 23:15:34 +01:00
Frank Celler cf742d984c Merge branch 'devel' of github.com:arangodb/arangodb into 3.3 2017-11-17 22:57:43 +01:00
jsteemann b60159725a fixed jslint error 2017-11-17 17:28:16 +01:00
m0ppers 278e51e5be Fix stalling inserts...follower was not up-to-date in some cases (#3727) 2017-11-17 17:18:59 +01:00
Simon Grätzer 0e485f7441 Fixing collection name collection handling in Syncer (#3710) 2017-11-17 16:36:57 +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
Kaveh Vahedipour 7b80deb5cc Fixed object assignment operator for agency's key value store (#3701)
* Fixed object assignment operator for agency's key value store
* Node's toJson is now actually toJson. getString should be used for string extractions
* adjust agency's documentation (clarify precondition)
2017-11-17 15:49:40 +01:00
Jan b4f6ee9273 Feature/improved index api for unique constraints and replication (#3715) 2017-11-16 21:02:01 +01:00
Jan 4a199e2fe3 make truncate a bit less obstrusive (#3721) 2017-11-16 20:28:33 +01:00
Jan Christoph Uhde 6f6d19b1b9 Stricter normalization for filter and sort conditions (#3718)
Moves attribute accesses to the LHS when using <,>,<=,>=
2017-11-16 19:17:12 +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
Jan Christoph Uhde 987aea2af3 implement heap merge for cluster blocks (#3617) 2017-11-15 18:05:43 +01:00
jsteemann e3ecf833ce fix test 2017-11-15 13:15:57 +01:00
jsteemann 1c84b7bac1 do not pass string "undefined" as cluster id 2017-11-15 12:18:58 +01:00
Jan 15ad2fbd99 do not complain about missing datafile statistics (#3688) 2017-11-14 16:42:31 +01:00
Jan 14408a46fe flush the WAL after truncate and rotate journals in order to free space (#3685) 2017-11-14 16:39:22 +01:00
Max Neunhöffer 766ab7c8cf
Fix agency shutdown bug. (#3683)
* Fix agency shutdown bug.
* Remove precondition that was not needed in AgencyComm::removeValues.
* Fail fatally if threads do not shut down.
2017-11-14 16:33:46 +01:00
Jan cc1fc716a4 Bug fix/fix server mode test side effects (#3674) 2017-11-14 15:19:00 +01:00
jsteemann caa5145482 fix failing test 2017-11-13 21:18:41 +01:00
Kaveh Vahedipour c9621ff230 Feature/new agency checks for preconditions (#3612) 2017-11-11 22:48:23 +01:00
m0ppers 6cbf7159be Feature/server mode (#3590)
* Switching from ttl to supervision based failover mechanism

* Allowing canceling of ongoing actions

* refactored asyncjobmanager

* refactoring some code

* adding read-only flag

* Fixing some bugs

* Fixing tests

* Canceling ongoing operations

* removing some unused code + some asserts

* catching some exceptions to reduce log pollution, removing unnecessary code, removing tests for _changeMode

* fixing "createsANewDatabaseWithAnInvalidUser"

* Current work

* proper ifs

* Migrate resthandler to c++ and implement mode

* readonly server mode spec test

* Add changelog

* change code so it expects a full object and not just a string

* Fix jslint
2017-11-10 17:56:21 +01:00
jsteemann 571d4587ca Revert "Return offending key for unique constraint violations (#3624)"
This reverts commit 68bd31ac99.
2017-11-10 16:40:56 +01:00
Dan Larkin 68bd31ac99 Return offending key for unique constraint violations (#3624) 2017-11-10 16:03:10 +01:00
Michael Hackstein 5c633f9fae Bug fix/speedup shard distribution (#3645)
* Added a more sophisticated test for shardDistribution format

* Updated shard distribution test to use request instead of download

* Added a cxx reporter for the shard distribuation. WIP

* Added some virtual functions/classes for Mocking

* Added a unittest for the new CXX ShardDistribution Reporter.

* The ShardDsitributionReporter now reports Plan and Current correctly. However it does not dare to find a good total/current value and just returns a default. Hence these tests are still red

* Shard distribution now uses the cxx variant

* The ShardDistribution reporter now tries to execute count on the shards

* Updated changelog

* Added error case tests. If the servers time out the mechanism will stop bothering after two seconds and just report default values.
2017-11-10 15:17:08 +01:00
Michael Hackstein 2b0aa318ec Bug fix/sparse graph register warning (#3569) 2017-11-10 14:33:15 +01:00
Jan 4a06599adf fixed issue #3618 (#3621) 2017-11-10 12:31:10 +01:00
Jan 2f9982895e potential fix for issue #3562: Document WITHIN_RECTANGLE not found (#3649) 2017-11-10 11:31:12 +01:00