Skip to content

Bump phpSPO to 2.4, brings 2019 support - #62

Merged
blizzz merged 5 commits into
masterfrom
enh/noid/bump-phpspo
Apr 8, 2022
Merged

blizzz merged 5 commits into
masterfrom
enh/noid/bump-phpspo

Conversation

@blizzz

@blizzz blizzz commented May 7, 2020 •

Copy link
Copy Markdown
Member

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 <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
- 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 <[email protected]>
@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 <[email protected]>
@blizzz
blizzz requested review from a team, come-nc, nickvergessen and vanpertsch and removed request for a team March 2, 2022 14:16
@blizzz

blizzz commented Mar 2, 2022

Copy link
Copy Markdown
Member Author

/backport to stable23

@blizzz

blizzz commented Mar 2, 2022

Copy link
Copy Markdown
Member Author

/backport to stable22

@blizzz

blizzz commented Mar 2, 2022

Copy link
Copy Markdown
Member Author

/backport to stable21

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

Copy link
Copy Markdown
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

Comment thread lib/Client.php Outdated
namespace OCA\SharePoint;

use Exception;
use OCP\ILogger;

Copy link
Copy Markdown
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鈥檛 see it used in the diff?

Copy link
Copy Markdown
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 <[email protected]>
@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

blizzz commented Apr 11, 2022

Copy link
Copy Markdown
Member Author

/backport to stable20

@backportbot-nextcloud

Copy link
Copy Markdown

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.

2 participants