Browse Source

Add _many_ newlines at the end of files

tags/v6.0.0alpha2
kondou 10 years ago
parent
commit
9e8a6b704d
75 changed files with 75 additions and 75 deletions
  1. 1
    1
      AUTHORS
  2. 1
    1
      COPYING-README
  3. 1
    1
      apps/files/ajax/rename.php
  4. 1
    1
      apps/files/appinfo/routes.php
  5. 1
    1
      apps/files/js/keyboardshortcuts.js
  6. 1
    1
      apps/files/lib/app.php
  7. 1
    1
      apps/files/lib/capabilities.php
  8. 1
    1
      apps/files/tests/ajax_rename.php
  9. 1
    1
      apps/files_encryption/ajax/changeRecoveryPassword.php
  10. 1
    1
      apps/files_encryption/ajax/updatePrivateKeyPassword.php
  11. 1
    1
      apps/files_encryption/ajax/userrecovery.php
  12. 1
    1
      apps/files_encryption/appinfo/routes.php
  13. 1
    1
      apps/files_encryption/css/settings-personal.css
  14. 1
    1
      apps/files_encryption/js/settings-admin.js
  15. 1
    1
      apps/files_encryption/js/settings-personal.js
  16. 1
    1
      apps/files_encryption/lib/capabilities.php
  17. 1
    1
      apps/files_encryption/lib/keymanager.php
  18. 1
    1
      apps/files_encryption/tests/stream.php
  19. 1
    1
      apps/files_encryption/tests/trashbin.php
  20. 1
    1
      apps/files_encryption/tests/webdav.php
  21. 1
    1
      apps/files_external/ajax/addMountPoint.php
  22. 1
    1
      apps/files_external/ajax/google.php
  23. 1
    1
      apps/files_external/js/google.js
  24. 1
    1
      apps/files_external/lib/google.php
  25. 1
    1
      apps/files_external/tests/google.php
  26. 1
    1
      apps/files_sharing/appinfo/app.php
  27. 1
    1
      apps/files_sharing/js/share.js
  28. 1
    1
      apps/files_sharing/lib/cache.php
  29. 1
    1
      apps/files_sharing/lib/permissions.php
  30. 1
    1
      apps/files_sharing/lib/watcher.php
  31. 1
    1
      apps/files_sharing/templates/part.404.php
  32. 1
    1
      apps/files_trashbin/appinfo/app.php
  33. 1
    1
      apps/files_trashbin/appinfo/update.php
  34. 1
    1
      apps/files_trashbin/js/disableDefaultActions.js
  35. 1
    1
      apps/files_versions/appinfo/routes.php
  36. 1
    1
      apps/files_versions/lib/capabilities.php
  37. 1
    1
      apps/user_ldap/ajax/clearMappings.php
  38. 1
    1
      apps/user_ldap/ajax/getConfiguration.php
  39. 1
    1
      apps/user_ldap/ajax/getNewServerConfigPrefix.php
  40. 1
    1
      apps/user_ldap/ajax/setConfiguration.php
  41. 1
    1
      apps/user_ldap/css/settings.css
  42. 1
    1
      apps/user_ldap/group_proxy.php
  43. 1
    1
      apps/user_ldap/js/settings.js
  44. 1
    1
      apps/user_ldap/lib/proxy.php
  45. 1
    1
      apps/user_ldap/user_proxy.php
  46. 1
    1
      core/css/auth.css
  47. 1
    1
      core/js/jquery.infieldlabel.js
  48. 1
    1
      core/js/jquery.inview.js
  49. 1
    1
      core/js/oc-requesttoken.js
  50. 1
    1
      core/js/visitortimezone.js
  51. 1
    1
      core/lostpassword/templates/email.php
  52. 1
    1
      core/routes.php
  53. 1
    1
      cron.php
  54. 1
    1
      lib/files/storage/commontest.php
  55. 1
    1
      lib/geo.php
  56. 1
    1
      lib/ocs/result.php
  57. 1
    1
      lib/public/groupinterface.php
  58. 1
    1
      lib/public/userinterface.php
  59. 1
    1
      lib/user/http.php
  60. 1
    1
      lib/user/interface.php
  61. 1
    1
      lib/vobject/compoundproperty.php
  62. 1
    1
      lib/vobject/stringproperty.php
  63. 1
    1
      ocs/routes.php
  64. 1
    1
      public.php
  65. 1
    1
      remote.php
  66. 1
    1
      search/css/results.css
  67. 1
    1
      settings/ajax/setsecurity.php
  68. 1
    1
      settings/ajax/updateapp.php
  69. 1
    1
      settings/js/apps-custom.php
  70. 1
    1
      settings/js/isadmin.php
  71. 1
    1
      status.php
  72. 1
    1
      tests/lib/app.php
  73. 1
    1
      tests/lib/archive/zip.php
  74. 1
    1
      tests/lib/geo.php
  75. 1
    1
      tests/lib/vobject.php

+ 1
- 1
AUTHORS View File



"Lock” symbol from thenounproject.com collection "Lock” symbol from thenounproject.com collection
"Clock” symbol by Brandon Hopkins, from thenounproject.com collection
"Clock” symbol by Brandon Hopkins, from thenounproject.com collection

+ 1
- 1
COPYING-README View File

All unmodified files from these and other sources retain their original copyright All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files. and license notices: see the relevant individual files.


Attribution information for ownCloud is contained in the AUTHORS file.
Attribution information for ownCloud is contained in the AUTHORS file.

+ 1
- 1
apps/files/ajax/rename.php View File

OCP\JSON::success(array('data' => $result['data'])); OCP\JSON::success(array('data' => $result['data']));
} else { } else {
OCP\JSON::error(array('data' => $result['data'])); OCP\JSON::error(array('data' => $result['data']));
}
}

+ 1
- 1
apps/files/appinfo/routes.php View File

->actionInclude('files/download.php'); ->actionInclude('files/download.php');
// Register with the capabilities API // Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', OC_API::USER_AUTH);
OC_API::register('get', '/cloud/capabilities', array('OCA\Files\Capabilities', 'getCapabilities'), 'files', OC_API::USER_AUTH);

+ 1
- 1
apps/files/js/keyboardshortcuts.js View File

removeA(keys, event.keyCode); removeA(keys, event.keyCode);
}); });
}; };
})(Files);
})(Files);

+ 1
- 1
apps/files/lib/app.php View File

return $result; return $result;
} }


}
}

+ 1
- 1
apps/files/lib/capabilities.php View File

)); ));
} }
}
}

+ 1
- 1
apps/files/tests/ajax_rename.php View File



$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);
} }
}
}

+ 1
- 1
apps/files_encryption/ajax/changeRecoveryPassword.php View File

\OCP\JSON::success(array('data' => array('message' => $l->t('Password successfully changed.')))); \OCP\JSON::success(array('data' => array('message' => $l->t('Password successfully changed.'))));
} else { } else {
\OCP\JSON::error(array('data' => array('message' => $l->t('Could not change the password. Maybe the old password was not correct.')))); \OCP\JSON::error(array('data' => array('message' => $l->t('Could not change the password. Maybe the old password was not correct.'))));
}
}

+ 1
- 1
apps/files_encryption/ajax/updatePrivateKeyPassword.php View File

\OCP\JSON::success(array('data' => array('message' => $l->t('Private key password successfully updated.')))); \OCP\JSON::success(array('data' => array('message' => $l->t('Private key password successfully updated.'))));
} else { } else {
\OCP\JSON::error(array('data' => array('message' => $l->t('Could not update the private key password. Maybe the old password was not correct.')))); \OCP\JSON::error(array('data' => array('message' => $l->t('Could not update the private key password. Maybe the old password was not correct.'))));
}
}

+ 1
- 1
apps/files_encryption/ajax/userrecovery.php View File

} }


// Return success or failure // Return success or failure
($return) ? \OCP\JSON::success() : \OCP\JSON::error();
($return) ? \OCP\JSON::success() : \OCP\JSON::error();

+ 1
- 1
apps/files_encryption/appinfo/routes.php View File

*/ */


// Register with the capabilities API // Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);
OC_API::register('get', '/cloud/capabilities', array('OCA\Encryption\Capabilities', 'getCapabilities'), 'files_encryption', OC_API::USER_AUTH);

+ 1
- 1
apps/files_encryption/css/settings-personal.css View File

, #recoveryEnabledError , #recoveryEnabledError
, #recoveryEnabledSuccess { , #recoveryEnabledSuccess {
display: none; display: none;
}
}

+ 1
- 1
apps/files_encryption/js/settings-admin.js View File

); );
}); });
});
});

+ 1
- 1
apps/files_encryption/js/settings-personal.js View File

updatePrivateKeyPasswd(); updatePrivateKeyPasswd();
}); });


});
});

+ 1
- 1
apps/files_encryption/lib/capabilities.php View File

)); ));
} }
}
}

+ 1
- 1
apps/files_encryption/lib/keymanager.php View File

return $targetPath; return $targetPath;


} }
}
}

+ 1
- 1
apps/files_encryption/tests/stream.php View File

// tear down // tear down
$view->unlink($filename); $view->unlink($filename);
} }
}
}

+ 1
- 1
apps/files_encryption/tests/trashbin.php View File

. '.' . \Test_Encryption_Trashbin::TEST_ENCRYPTION_TRASHBIN_USER1 . '.shareKey.' . $trashFileSuffix)); . '.' . \Test_Encryption_Trashbin::TEST_ENCRYPTION_TRASHBIN_USER1 . '.shareKey.' . $trashFileSuffix));
} }


}
}

+ 1
- 1
apps/files_encryption/tests/webdav.php View File

// return captured content // return captured content
return $content; return $content;
} }
}
}

+ 1
- 1
apps/files_external/ajax/addMountPoint.php View File

$_POST['mountType'], $_POST['mountType'],
$_POST['applicable'], $_POST['applicable'],
$isPersonal); $isPersonal);
OCP\JSON::success(array('data' => array('message' => $status)));
OCP\JSON::success(array('data' => array('message' => $status)));

+ 1
- 1
apps/files_external/ajax/google.php View File

} }
} }
} }
}
}

+ 1
- 1
apps/files_external/js/google.js View File

} }
}); });


});
});

+ 1
- 1
apps/files_external/lib/google.php View File

return false; return false;
} }


}
}

+ 1
- 1
apps/files_external/tests/google.php View File

$this->instance->rmdir('/'); $this->instance->rmdir('/');
} }
} }
}
}

+ 1
- 1
apps/files_sharing/appinfo/app.php View File

\OC_Hook::connect('OC_Filesystem', 'delete', '\OC\Files\Cache\Shared_Updater', 'deleteHook'); \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('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', 'post_shared', '\OC\Files\Cache\Shared_Updater', 'shareHook');
\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook');
\OC_Hook::connect('OCP\Share', 'pre_unshare', '\OC\Files\Cache\Shared_Updater', 'shareHook');

+ 1
- 1
apps/files_sharing/js/share.js View File

} }
}); });
} }
});
});

+ 1
- 1
apps/files_sharing/lib/cache.php View File

return false; return false;
} }


}
}

+ 1
- 1
apps/files_sharing/lib/permissions.php View File

// Not a valid action for Shared Permissions // Not a valid action for Shared Permissions
} }


}
}

+ 1
- 1
apps/files_sharing/lib/watcher.php View File

} }
} }


}
}

+ 1
- 1
apps/files_sharing/templates/part.404.php View File

</ul> </ul>
<p><?php p($l->t('For more info, please ask the person who sent this link.')); ?></p> <p><?php p($l->t('For more info, please ask the person who sent this link.')); ?></p>
</li> </li>
</ul>
</ul>

+ 1
- 1
apps/files_trashbin/appinfo/app.php View File

OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php'; OC::$CLASSPATH['OCA\Files_Trashbin\Trashbin'] = 'files_trashbin/lib/trash.php';


// register hooks // register hooks
\OCA\Files_Trashbin\Trashbin::registerHooks();
\OCA\Files_Trashbin\Trashbin::registerHooks();

+ 1
- 1
apps/files_trashbin/appinfo/update.php View File

//enforce a recalculation during next usage. //enforce a recalculation during next usage.
$query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trashsize`'); $query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trashsize`');
$result = $query->execute(); $result = $query->execute();
}
}

+ 1
- 1
apps/files_trashbin/js/disableDefaultActions.js View File

/* disable download and sharing actions */ /* disable download and sharing actions */
var disableDownloadActions = true; var disableDownloadActions = true;
var disableSharing = true; var disableSharing = true;
var trashBinApp = true;
var trashBinApp = true;

+ 1
- 1
apps/files_versions/appinfo/routes.php View File

*/ */


// Register with the capabilities API // Register with the capabilities API
OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);
OC_API::register('get', '/cloud/capabilities', array('OCA\Files_Versions\Capabilities', 'getCapabilities'), 'files_versions', OC_API::USER_AUTH);

+ 1
- 1
apps/files_versions/lib/capabilities.php View File

)); ));
} }
}
}

+ 1
- 1
apps/user_ldap/ajax/clearMappings.php View File

} else { } else {
$l=OC_L10N::get('user_ldap'); $l=OC_L10N::get('user_ldap');
OCP\JSON::error(array('message' => $l->t('Failed to clear the mappings.'))); OCP\JSON::error(array('message' => $l->t('Failed to clear the mappings.')));
}
}

+ 1
- 1
apps/user_ldap/ajax/getConfiguration.php View File



$prefix = $_POST['ldap_serverconfig_chooser']; $prefix = $_POST['ldap_serverconfig_chooser'];
$connection = new \OCA\user_ldap\lib\Connection($prefix); $connection = new \OCA\user_ldap\lib\Connection($prefix);
OCP\JSON::success(array('configuration' => $connection->getConfiguration()));
OCP\JSON::success(array('configuration' => $connection->getConfiguration()));

+ 1
- 1
apps/user_ldap/ajax/getNewServerConfigPrefix.php View File

$lk = array_pop($serverConnections); $lk = array_pop($serverConnections);
$ln = intval(str_replace('s', '', $lk)); $ln = intval(str_replace('s', '', $lk));
$nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT); $nk = 's'.str_pad($ln+1, 2, '0', STR_PAD_LEFT);
OCP\JSON::success(array('configPrefix' => $nk));
OCP\JSON::success(array('configPrefix' => $nk));

+ 1
- 1
apps/user_ldap/ajax/setConfiguration.php View File

$connection = new \OCA\user_ldap\lib\Connection($prefix); $connection = new \OCA\user_ldap\lib\Connection($prefix);
$connection->setConfiguration($_POST); $connection->setConfiguration($_POST);
$connection->saveConfiguration(); $connection->saveConfiguration();
OCP\JSON::success();
OCP\JSON::success();

+ 1
- 1
apps/user_ldap/css/settings.css View File

.ldapwarning { .ldapwarning {
margin-left: 1.4em; margin-left: 1.4em;
color: #FF3B3B; color: #FF3B3B;
}
}

+ 1
- 1
apps/user_ldap/group_proxy.php View File

//it's the same across all our user backends obviously //it's the same across all our user backends obviously
return $this->refBackend->implementsActions($actions); return $this->refBackend->implementsActions($actions);
} }
}
}

+ 1
- 1
apps/user_ldap/js/settings.js View File

LdapConfiguration.refreshConfig(); LdapConfiguration.refreshConfig();
} }
}); });
});
});

+ 1
- 1
apps/user_ldap/lib/proxy.php View File

public function clearCache() { public function clearCache() {
$this->cache->clear($this->getCacheKey(null)); $this->cache->clear($this->getCacheKey(null));
} }
}
}

+ 1
- 1
apps/user_ldap/user_proxy.php View File

return $this->refBackend->hasUserListings(); return $this->refBackend->hasUserListings();
} }


}
}

+ 1
- 1
core/css/auth.css View File

font-size:1.2em; font-size:1.2em;
margin:.7em; margin:.7em;
padding:0; padding:0;
}
}

+ 1
- 1
core/js/jquery.infieldlabel.js View File

}); });
}; };


}(jQuery));
}(jQuery));

+ 1
- 1
core/js/jquery.inview.js View File

// By the way, iOS (iPad, iPhone, ...) seems to not execute, or at least delays // 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 // intervals while the user scrolls. Therefore the inview event might fire a bit late there
setInterval(checkInView, 250); setInterval(checkInView, 250);
})(jQuery);
})(jQuery);

+ 1
- 1
core/js/oc-requesttoken.js View File

$(document).bind('ajaxSend', function(elm, xhr, s) { $(document).bind('ajaxSend', function(elm, xhr, s) {
xhr.setRequestHeader('requesttoken', oc_requesttoken); xhr.setRequestHeader('requesttoken', oc_requesttoken);
});
});

+ 1
- 1
core/js/visitortimezone.js View File

$(document).ready(function () { $(document).ready(function () {
var visitortimezone = (-new Date().getTimezoneOffset() / 60); var visitortimezone = (-new Date().getTimezoneOffset() / 60);
$('#timezone-offset').val(visitortimezone); $('#timezone-offset').val(visitortimezone);
});
});

+ 1
- 1
core/lostpassword/templates/email.php View File

<?php <?php
echo str_replace('{link}', $_['link'], $l->t('Use the following link to reset your password: {link}'));
echo str_replace('{link}', $_['link'], $l->t('Use the following link to reset your password: {link}'));

+ 1
- 1
core/routes.php View File

// used for heartbeat // used for heartbeat
$this->create('heartbeat', '/heartbeat')->action(function(){ $this->create('heartbeat', '/heartbeat')->action(function(){
// do nothing // do nothing
});
});

+ 1
- 1
cron.php View File



} catch (Exception $ex) { } catch (Exception $ex) {
\OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL); \OCP\Util::writeLog('cron', $ex->getMessage(), \OCP\Util::FATAL);
}
}

+ 1
- 1
lib/files/storage/commontest.php View File

public function touch($path, $mtime=null) { public function touch($path, $mtime=null) {
return $this->storage->touch($path, $mtime); return $this->storage->touch($path, $mtime);
} }
}
}

+ 1
- 1
lib/geo.php View File

reset($variances); reset($variances);
return current($variances); return current($variances);
} }
}
}

+ 1
- 1
lib/ocs/result.php View File

} }




}
}

+ 1
- 1
lib/public/groupinterface.php View File



namespace OCP; namespace OCP;


interface GroupInterface extends \OC_Group_Interface {}
interface GroupInterface extends \OC_Group_Interface {}

+ 1
- 1
lib/public/userinterface.php View File



namespace OCP; namespace OCP;


interface UserInterface extends \OC_User_Interface {}
interface UserInterface extends \OC_User_Interface {}

+ 1
- 1
lib/user/http.php View File

return false; return false;
} }
} }
}
}

+ 1
- 1
lib/user/interface.php View File

* @return boolean if users can be listed or not * @return boolean if users can be listed or not
*/ */
public function hasUserListings(); public function hasUserListings();
}
}

+ 1
- 1
lib/vobject/compoundproperty.php View File



} }


}
}

+ 1
- 1
lib/vobject/stringproperty.php View File



} }


}
}

+ 1
- 1
ocs/routes.php View File

array('OC_OCS_Cloud', 'getCapabilities'), array('OC_OCS_Cloud', 'getCapabilities'),
'core', 'core',
OC_API::USER_AUTH OC_API::USER_AUTH
);
);

+ 1
- 1
public.php View File

OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL); \OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex); OC_Template::printExceptionErrorPage($ex);
}
}

+ 1
- 1
remote.php View File

OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL); \OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
OC_Template::printExceptionErrorPage($ex); OC_Template::printExceptionErrorPage($ex);
}
}

+ 1
- 1
search/css/results.css View File



#searchresults tr.current { #searchresults tr.current {
background-color:#ddd; background-color:#ddd;
}
}

+ 1
- 1
settings/ajax/setsecurity.php View File



OC_Config::setValue( 'forcessl', filter_var($_POST['enforceHTTPS'], FILTER_VALIDATE_BOOLEAN)); OC_Config::setValue( 'forcessl', filter_var($_POST['enforceHTTPS'], FILTER_VALIDATE_BOOLEAN));


echo 'true';
echo 'true';

+ 1
- 1
settings/ajax/updateapp.php View File

} else { } else {
$l = OC_L10N::get('settings'); $l = OC_L10N::get('settings');
OC_JSON::error(array("data" => array( "message" => $l->t("Couldn't update app.") ))); OC_JSON::error(array("data" => array( "message" => $l->t("Couldn't update app.") )));
}
}

+ 1
- 1
settings/js/apps-custom.php View File

echo("\n"); echo("\n");
} }


echo ("var appid =".json_encode($_GET['appid']).";");
echo ("var appid =".json_encode($_GET['appid']).";");

+ 1
- 1
settings/js/isadmin.php View File

echo("var isadmin = true;"); echo("var isadmin = true;");
} else { } else {
echo("var isadmin = false;"); echo("var isadmin = false;");
}
}

+ 1
- 1
status.php View File

} catch (Exception $ex) { } catch (Exception $ex) {
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
\OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL); \OCP\Util::writeLog('remote', $ex->getMessage(), \OCP\Util::FATAL);
}
}

+ 1
- 1
tests/lib/app.php View File

$this->assertFalse(OC_App::isAppVersionCompatible($oc, $app)); $this->assertFalse(OC_App::isAppVersionCompatible($oc, $app));
} }


}
}

+ 1
- 1
tests/lib/archive/zip.php View File

return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip')); return new OC_Archive_ZIP(OCP\Files::tmpFile('.zip'));
} }
} }
}
}

+ 1
- 1
tests/lib/geo.php View File

$expected = 'Pacific/Enderbury'; $expected = 'Pacific/Enderbury';
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);
} }
}
}

+ 1
- 1
tests/lib/vobject.php View File

$parts = $property->getParts(); $parts = $property->getParts();
$this->assertEquals('Marketing;Sales', $parts[2]); $this->assertEquals('Marketing;Sales', $parts[2]);
} }
}
}

Loading…
Cancel
Save