Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented May 7, 2020

solves #49

  • bring back (fall-back to) NTLM auth

* adjusts to namespace changes
* adjusts to simplified client context and auth mechanism

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
- file content items are provided as Field
- fetch lastResponse via event, since Requests::getHistory() was removed
- getProperties() was removed, provide a list of known properties
- adjust to changed auth mechanism
- migrate NTLM auth mechanism

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz force-pushed the enh/noid/bump-phpspo branch from 3d7abdc to b91194c Compare January 28, 2022 14:19
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz requested review from a team, come-nc, nickvergessen and vanpertsch and removed request for a team March 2, 2022 14:16
@blizzz
Copy link
Member Author

blizzz commented Mar 2, 2022

/backport to stable23

@blizzz
Copy link
Member Author

blizzz commented Mar 2, 2022

/backport to stable22

@blizzz
Copy link
Member Author

blizzz commented Mar 2, 2022

/backport to stable21

@blizzz blizzz requested a review from PVince81 March 2, 2022 14:19
lib/Client.php Outdated
} else {
$lastRequest = $this->getLastRequestData();
if (!isset($lastRequest['response'])) {
if (!isset($this->lastResponse)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant with if (!isset($this->lastResponse['error'])) { on line 132

lib/Client.php Outdated
namespace OCA\SharePoint;

use Exception;
use OCP\ILogger;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems ILogger was not used before and I don’t see it used in the diff?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In ensureConnection(), but let me replace that as well.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz merged commit 9c6f939 into master Apr 8, 2022
@delete-merged-branch delete-merged-branch bot deleted the enh/noid/bump-phpspo branch April 8, 2022 20:55
@blizzz
Copy link
Member Author

blizzz commented Apr 11, 2022

/backport to stable20

@backportbot-nextcloud
Copy link

The backport to stable20 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants