…
"Lock” symbol from thenounproject.com collection
-"Clock” symbol by Brandon Hopkins, from thenounproject.com collection
\ No newline at end of file
+"Clock” symbol by Brandon Hopkins, from thenounproject.com collection
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.
-Attribution information for ownCloud is contained in the AUTHORS file.
\ No newline at end of file
+Attribution information for ownCloud is contained in the AUTHORS file.
OCP\JSON::success(array('data' => $result['data']));
} else {
OCP\JSON::error(array('data' => $result['data']));
-}
\ No newline at end of file
+}
->actionInclude('files/download.php');
// Register with the capabilities API
-OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', OC_API::USER_AUTH);
\ No newline at end of file
+OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', OC_API::USER_AUTH);
removeA(keys, event.keyCode);
});
};
-})(Files);
\ No newline at end of file
+})(Files);
return $result;
}
-}
\ No newline at end of file
+}
));
}
-}
\ No newline at end of file
+}
$this->assertEquals($expected, $result);
}
-}
\ No newline at end of file
+}
\OCP\JSON::success(array('data' => array('message' => $l->t('Password successfully changed.'))));
} else {
\OCP\JSON::error(array('data' => array('message' => $l->t('Could not change the password. Maybe the old password was not correct.'))));
-}
\ No newline at end of file
+}
\OCP\JSON::success(array('data' => array('message' => $l->t('Private key password successfully updated.'))));
} else {
\OCP\JSON::error(array('data' => array('message' => $l->t('Could not update the private key password. Maybe the old password was not correct.'))));
-}
\ No newline at end of file
+}
}
// Return success or failure
-($return) ? \OCP\JSON::success() : \OCP\JSON::error();
\ No newline at end of file
+($return) ? \OCP\JSON::success() : \OCP\JSON::error();
*/
// Register with the capabilities API
-OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);
\ No newline at end of file
+OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);
, #recoveryEnabledError
, #recoveryEnabledSuccess {
display: none;
-}
\ No newline at end of file
+}
);
});
-});
\ No newline at end of file
+});
updatePrivateKeyPasswd();
});
-});
\ No newline at end of file
+});
));
}
-}
\ No newline at end of file
+}
return $targetPath;
}
-}
\ No newline at end of file
+}
// tear down
$view->unlink($filename);
}
-}
\ No newline at end of file
+}
. '.' . \Test_Encryption_Trashbin::TEST_ENCRYPTION_TRASHBIN_USER1 . '.shareKey.' . $trashFileSuffix));
}
-}
\ No newline at end of file
+}
// return captured content
return $content;
}
-}
\ No newline at end of file
+}
$_POST['mountType'],
$_POST['applicable'],
$isPersonal);
-OCP\JSON::success(array('data' => array('message' => $status)));
\ No newline at end of file
+OCP\JSON::success(array('data' => array('message' => $status)));
}
}
}
-}
\ No newline at end of file
+}
}
});
-});
\ No newline at end of file
+});
return false;
}
-}
\ No newline at end of file
+}
$this->instance->rmdir('/');
}
}
-}
\ No newline at end of file
+}
\OC_Hook::connect('OC_Filesystem', 'delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook');
\OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Shared_Updater', 'renameHook');
\OC_Hook::connect('OCP\Share', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'shareHook');
-\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook');
\ No newline at end of file
+\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook');
}
});
}
-});
\ No newline at end of file
+});
return false;
}
-}
\ No newline at end of file
+}
// Not a valid action for Shared Permissions
}
-}
\ No newline at end of file
+}
}
}
-}
\ No newline at end of file
+}
</ul>
<p><?php p($l->t('For more info, please ask the person who sent this link.')); ?></p>
</li>
-</ul>
\ No newline at end of file
+</ul>
OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php';
// register hooks
-\OCA\Files_Trashbin\Trashbin::registerHooks();
\ No newline at end of file
+\OCA\Files_Trashbin\Trashbin::registerHooks();
//enforce a recalculation during next usage.
$query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trashsize`');
$result = $query->execute();
-}
\ No newline at end of file
+}
/* disable download and sharing actions */
var disableDownloadActions = true;
var disableSharing = true;
-var trashBinApp = true;
\ No newline at end of file
+var trashBinApp = true;
*/
// Register with the capabilities API
-OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);
\ No newline at end of file
+OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);
));
}
-}
\ No newline at end of file
+}
} else {
$l=OC_L10N::get('user_ldap');
OCP\JSON::error(array('message' => $l->t('Failed to clear the mappings.')));
-}
\ No newline at end of file
+}
$prefix = $_POST['ldap_serverconfig_chooser'];
$connection = new \OCA\user_ldap\lib\Connection($prefix);
-OCP\JSON::success(array('configuration' => $connection->getConfiguration()));
\ No newline at end of file
+OCP\JSON::success(array('configuration' => $connection->getConfiguration()));
$lk = array_pop($serverConnections);
$ln = intval(str_replace('s', '', $lk));
$nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT);
-OCP\JSON::success(array('configPrefix' => $nk));
\ No newline at end of file
+OCP\JSON::success(array('configPrefix' => $nk));
$connection = new \OCA\user_ldap\lib\Connection($prefix);
$connection->setConfiguration($_POST);
$connection->saveConfiguration();
-OCP\JSON::success();
\ No newline at end of file
+OCP\JSON::success();
.ldapwarning {
margin-left: 1.4em;
color: #FF3B3B;
-}
\ No newline at end of file
+}
//it's the same across all our user backends obviously
return $this->refBackend->implementsActions($actions);
}
-}
\ No newline at end of file
+}
LdapConfiguration.refreshConfig();
}
});
-});
\ No newline at end of file
+});
public function clearCache() {
$this->cache->clear($this->getCacheKey(null));
}
-}
\ No newline at end of file
+}
return $this->refBackend->hasUserListings();
}
-}
\ No newline at end of file
+}
font-size:1.2em;
margin:.7em;
padding:0;
-}
\ No newline at end of file
+}
});
};
-}(jQuery));
\ No newline at end of file
+}(jQuery));
// By the way, iOS (iPad, iPhone, ...) seems to not execute, or at least delays
// intervals while the user scrolls. Therefore the inview event might fire a bit late there
setInterval(checkInView, 250);
-})(jQuery);
\ No newline at end of file
+})(jQuery);
$(document).bind('ajaxSend', function(elm, xhr, s) {
xhr.setRequestHeader('requesttoken', oc_requesttoken);
-});
\ No newline at end of file
+});
$(document).ready(function () {
var visitortimezone = (-new Date().getTimezoneOffset() / 60);
$('#timezone-offset').val(visitortimezone);
-});
\ No newline at end of file
+});
<?php
-echo str_replace('{link}', $_['link'], $l->t('Use the following link to reset your password: {link}'));
\ No newline at end of file
+echo str_replace('{link}', $_['link'], $l->t('Use the following link to reset your password: {link}'));
// used for heartbeat
$this->create('heartbeat', '/heartbeat')->action(function(){
// do nothing
-});
\ No newline at end of file
+});
} catch (Exception $ex) {
\OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
-}
\ No newline at end of file
+}
public function touch($path, $mtime=null) {
return $this->storage->touch($path, $mtime);
}
-}
\ No newline at end of file
+}
reset($variances);
return current($variances);
}
-}
\ No newline at end of file
+}
}
-}
\ No newline at end of file
+}
namespace OCP;
-interface GroupInterface extends \OC_Group_Interface {}
\ No newline at end of file
+interface GroupInterface extends \OC_Group_Interface {}
namespace OCP;
-interface UserInterface extends \OC_User_Interface {}
\ No newline at end of file
+interface UserInterface extends \OC_User_Interface {}
return false;
}
}
-}
\ No newline at end of file
+}
* @return boolean if users can be listed or not
*/
public function hasUserListings();
-}
\ No newline at end of file
+}
}
-}
\ No newline at end of file
+}
}
-}
\ No newline at end of file
+}
array('OC_OCS_Cloud', 'getCapabilities'),
'core',
OC_API::USER_AUTH
- );
\ No newline at end of file
+ );
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex);
-}
\ No newline at end of file
+}
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex);
-}
\ No newline at end of file
+}
#searchresults tr.current {
background-color:#ddd;
-}
\ No newline at end of file
+}
OC_Config::setValue( 'forcessl', filter_var($_POST['enforceHTTPS'], FILTER_VALIDATE_BOOLEAN));
-echo 'true';
\ No newline at end of file
+echo 'true';
} else {
$l = OC_L10N::get('settings');
OC_JSON::error(array("data" => array( "message" => $l->t("Couldn't update app.") )));
-}
\ No newline at end of file
+}
echo("\n");
}
-echo ("var appid =".json_encode($_GET['appid']).";");
\ No newline at end of file
+echo ("var appid =".json_encode($_GET['appid']).";");
echo("var isadmin = true;");
} else {
echo("var isadmin = false;");
-}
\ No newline at end of file
+}
} catch (Exception $ex) {
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
-}
\ No newline at end of file
+}
$this->assertFalse(OC_App::isAppVersionCompatible($oc, $app));
}
-}
\ No newline at end of file
+}
return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip'));
}
}
-}
\ No newline at end of file
+}
$expected = 'Pacific/Enderbury';
$this->assertEquals($expected, $result);
}
-}
\ No newline at end of file
+}
$parts = $property->getParts();
$this->assertEquals('Marketing;Sales', $parts[2]);
}
-}
\ No newline at end of file
+}