Détails
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(caldav): only call getTimestamp() on actual DateTime data #42696
Open
tcitworld
wants to merge
1
commit into
master
Choose a base branch
from
fix-issue-42464
Détails
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1
−2
Détails
Changes from all commits
Commits
Détails
File filter
Filter by extension
Détails
Conversations
Failed to load comments.
Détails
Jump to
Jump to file
Failed to load files.
Détails
Diff view
Détails
Diff view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unchanged files with check annotations Beta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->logger->critical( | ||
sprintf( | ||
'$params["'.$element.'"] was missing. Transferred value: %s', | ||
print_r($params, true) | ||
), | ||
['app' => 'admin_audit'] | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!is_subclass_of($objectClass, '\OCP\Files\ObjectStore\IObjectStore')) { | ||
throw new \InvalidArgumentException('Invalid object store'); | ||
} | ||
$storage->setBackendOption('objectstore', new $objectClass($objectStore)); | ||
} | ||
$storage->getAuthMechanism()->manipulateStorageConfig($storage, $user); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | ||
$keyPath = $this->hostKeysPath(); | ||
if ($keyPath && file_exists($keyPath)) { | ||
$fp = fopen($keyPath, 'w'); | ||
foreach ($keys as $host => $key) { | ||
fwrite($fp, $host . '::' . $key . "\n"); | ||
} | ||
if (file_exists($keyPath)) { | ||
$hosts = []; | ||
$keys = []; | ||
$lines = file($keyPath, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); | ||
if ($lines) { | ||
foreach ($lines as $line) { | ||
$hostKeyArray = explode("::", $line, 2); | ||
case 'c': | ||
case 'c+': | ||
$context = stream_context_create(['sftp' => ['session' => $connection]]); | ||
$handle = fopen($this->constructUrl($path), $mode, false, $context); | ||
return RetryWrapper::wrap($handle); | ||
} | ||
} catch (\Exception $e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&& !isset($downloadStartSecret[32]) | ||
&& preg_match('!^[a-zA-Z0-9]+$!', $downloadStartSecret) === 1) { | ||
// FIXME: set on the response once we use an actual app framework response | ||
setcookie('ocDownloadStarted', $downloadStartSecret, time() + 20, '/'); | ||
} | ||
$this->emitAccessShareHook($share); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$appIconContent = $appIcon->getContent(); | ||
$mime = $appIcon->getMimeType(); | ||
} else { | ||
$appIconContent = file_get_contents($appIcon); | ||
$mime = mime_content_type($appIcon); | ||
} | ||
if ($imageFile === false || $imageFile === "") { | ||
return false; | ||
} | ||
$svg = file_get_contents($imageFile); | ||
if ($svg !== false && $svg !== "") { | ||
$color = $this->util->elementColor($this->themingDefaults->getColorPrimary()); | ||
$svg = $this->util->colorizeSvg($svg, $color); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// slash which is required by URL generation. | ||
if (isset($_SERVER['REQUEST_URI']) && $_SERVER['REQUEST_URI'] === \OC::$WEBROOT && | ||
substr($_SERVER['REQUEST_URI'], -1) !== '/') { | ||
header('Location: '.\OC::$WEBROOT.'/'); | ||
exit(); | ||
} | ||
} | ||
throw new Exception('Not installed'); | ||
} else { | ||
$url = OC::$WEBROOT . '/index.php'; | ||
header('Location: ' . $url); | ||
} | ||
exit(); | ||
} |
Détails