1
0
Fork 0
Commit Graph

5187 Commits

Author SHA1 Message Date
Lars Maier 2c37f60674 Reset retry counter only when previously connected in order to not disable the retry check. (#6758)
Abort the doRequest loop when in shutdown.
2018-10-08 16:34:00 +02:00
Jan f9bb934f23 even more LDAP debugging (#6670)
* even more LDAP debugging

* honor option `--log.request-parameters` for VST as well

* added missing parameters to LDAP documentation
2018-10-04 12:05:29 +02:00
Simon 8ae00c388d Debug logs for ActiveFailover, allow recovery tests on MacOS (#6686) 2018-10-03 18:34:39 +02:00
jsteemann f391771a18 Merge branch 'feature-3.3/copy-installation-files' of https://github.com/arangodb/arangodb into 3.3 2018-09-28 11:53:57 +02:00
Jan aa137f18eb fix race on Logger shutdown (#6638) 2018-09-27 19:29:44 +02:00
Simon Grätzer eb0fb254a1
Copy installation files on startup 2018-09-26 14:09:33 +02:00
jsteemann 84095911ef fix compiler warning 2018-09-24 14:07:51 +02:00
Dan Larkin-York 069b456217 [3.3] Backport #6539. (#6569) 2018-09-24 13:00:08 +02:00
Jan df61da5007
always remove LOCK file (#6316) 2018-09-03 15:33:16 +02:00
Jan 71c42bec9f
added option `--rocksdb.use-file-logging` (#6307) 2018-08-31 17:24:34 +02:00
Matthew Von-Maszewski ef4a6b84fa backport PR 6150: unique function to block network retries during shutdown. (#6188) 2018-08-20 12:58:25 +02:00
Matthew Von-Maszewski 5bff8bed45 Bugfix 3.3: port devel PR 5114 to 3.3 branch (#6124) 2018-08-17 14:19:42 +02:00
Matthew Von-Maszewski 87ec4ec61f back port PR 5238 from devel to 3.3: Add pacing logic to arangoimp. (#6126) 2018-08-17 09:18:08 +02:00
Matthew Von-Maszewski ec5a2f62b8 3.3: Bring two key Agency bug fixes, plus some secondary stuff back to 3.3 (#6009) 2018-08-08 10:33:17 +02:00
Dan Larkin-York fc7976b92d Register version and storage engine info in agency to facilitate rolling upgrades (#6062) 2018-08-03 09:46:42 +02:00
Dan Larkin-York 1897fd029f Add load balancing support to cursor API in 3.3 (#5797) 2018-07-24 09:56:40 +02:00
Wilfried Goesgens 315d23d03d Feature 3.3/backport openssl windows (#5892) 2018-07-20 17:23:27 +02:00
Jan c21d2d46cd
Bug fix 3.3/fix hangs (#5805) 2018-07-10 13:52:58 +02:00
Jan d1e596b54a always use -DNDEBUG when compiling all components (#5770)
* always use -DNDEBUG when compiling all components

* fiddle -DNDEBUG info into result of --version
2018-07-09 16:26:41 +02:00
Frank Celler cb0aaa435f backport Scheduler from devel (#5533) 2018-06-28 13:26:04 +02:00
Tobias Gödderz a391088dbf [3.3] Fix inconsistent distributeShardsLike job (#5300) 2018-05-17 12:07:20 +02:00
jsteemann 54bb75ac48 release version 3.3.9 2018-05-16 17:03:44 +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
Michael Hackstein a9e446a83d
Added cleanup functions class that allows to execute functions on unexpected shutdown (like FATAL_EXIT). First use: delete the LOCK file. (#5218) 2018-04-27 15:30:00 +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
Simon c954841a4f Backport supervision for active failover job + testsuite (#5181) 2018-04-23 16:38:11 +02:00
Jan 3e0fe7f143
added `--dump-option` startup option to print all available options in JSON format (#5173) 2018-04-23 11:38:30 +02:00
Simon f2ef1c45fb Replication cleanup (#5106) 2018-04-23 11:04:46 +02:00
Jan 2fe7e82af2
improve startup resilience in case there are datafile errors (#4974) 2018-04-13 12:08:41 +02:00
Jan e7f969c1bf
make file locking a bit more sensible (#5011) 2018-04-13 10:06:15 +02:00
Frank Celler cdcf917413
added --server.ask-jwt-secret to arangosh (#5004)
* added --server.ask-jwt-secret to arangosh
2018-04-02 19:20:31 +02:00
jsteemann 5954eb6bcd make build id appear in startup log message alongside with other version info 2018-03-24 20:52:33 +01:00
Kaveh Vahedipour d4e5d8f9e2 Architecture specific compile flags were ignored (#4625) 2018-03-08 23:18:07 +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
Max Neunhöffer fc64817386 Fixes for the ldaps:// protocol. (#4709) 2018-03-01 16:42:09 +01:00
Frank Celler 59f655faf0 fixed compiler warnings and added missing call to arangosh 2018-03-01 12:17:47 +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 52a27b82ef
properly convert the JS object to VPack for transactions (#4641)
previously this did not work when the "action" attribute was a JavaScript function
2018-02-21 11:57:14 +01:00
Kaveh Vahedipour 8e0dca87a0 issue #4393 part one (#4460) 2018-02-20 10:47:53 +01:00
Jan Christoph Uhde 636c35672f try to fix permission issues of "/var/tmp/arangod" (#4498) 2018-02-20 10:12:26 +01:00
Jan aba64939e2
fix HTTP response code for HTTP 503 (#4610) 2018-02-19 08:35:02 +01:00
Simon e96e899fd3 Active Failover for Foxx Services (3.3) (#4593) 2018-02-15 09:36:25 +01:00
Jan 399d2e67f7
it's dangerous to read from TryCatch if it has not been properly populated before (#4567) 2018-02-12 11:59:23 +01:00
Max Neunhöffer 3352be3166
Stack size at least 8MB on libmusl. (#4528) 2018-02-09 15:02:58 +01:00
Jan f4634e72e2
periodically recheck socket validity/connectivity for sockets that loop around poll() every 20s (#4536) 2018-02-08 08:40:43 +01:00
Max Neunhöffer 1ca1b89deb
Port static-build fixes to the 3.3 branch (libmusl). (#4481)
* Changes for libmusl compilation. (#4294)
* Further fixes for libmusl completely static build. (#4474)
* Make crc assembler code position independent.
* Fix PIE compilation for libmusl in alpine linux.
* Use backtrace library if found.
2018-02-07 10:49:32 +01:00
jsteemann 0254579741 fix compilation on MacOS 2018-01-25 16:30:04 +01:00
Jan 4c6337611b
properly unlock after restore-indexes (#4369) 2018-01-25 15:56:13 +01:00
Jan e3f136f11d
potential fix for issue #4272 (#4310) 2018-01-23 17:44:31 +01:00