☁️ Nextcloud server, a safe home for all your data
 
 
 
 
 
 
Go to file
Lukas Reschke 886bda5f81 Refactor OC_Request into TrustedDomainHelper and IRequest
This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed.

This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions.

Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though.

Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
2015-02-16 22:13:00 +07:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +07:00
3rdparty@5142d69c5c Update 3rdparty commit to master 2015-02-16 14:53:16 +07:00
apps Merge pull request #10673 from owncloud/smb-new 2015-02-16 17:37:20 +07:00
build cleaning up the build directory 2014-12-10 10:07:22 +07:00
config Removed anchor in config.sample.php 2015-02-12 22:00:24 +07:00
core Merge pull request #13750 from owncloud/enhanced-code-checker 2015-02-16 16:55:57 +07:00
l10n ignore minified js, owncloud/news#719 2015-02-05 15:48:58 +07:00
lib Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
ocs Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
settings Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
tests Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
themes
.bowerrc
.gitignore Add provisioning_api app 2014-12-24 22:15:20 +07:00
.gitmodules
.htaccess Setting default charset to UTF-8 in .htaccess and .user.ini 2015-02-10 09:39:06 +07:00
.jshintrc
.scrutinizer.yml bower jquery-ui - exported changes to a separate css file 2014-12-13 09:47:34 +07:00
.tag
.user.ini Setting default charset to UTF-8 in .htaccess and .user.ini 2015-02-10 09:39:06 +07:00
AUTHORS
CONTRIBUTING.md Unit tests are a must have for any changed code 2015-01-21 11:15:32 +07:00
COPYING-AGPL
COPYING-README
README.md version up 2015-01-11 16:17:57 +07:00
autotest-external.sh Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +07:00
autotest-hhvm.sh Adding autotest-hhvm.sh 2014-12-18 10:21:15 +07:00
autotest-js.sh
autotest.cmd
autotest.sh Correctly run all tests again when no file is specified 2014-12-09 16:36:41 +07:00
bower.json bump jquery.strengthify to 0.4.1 2015-01-06 13:48:58 +07:00
buildjsdocs.sh
console.php console commands shall not be limited with respect to execution time - fixes #14156 2015-02-16 09:16:32 +07:00
cron.php
db_structure.xml Revert "Improve: Index for file_map" 2015-02-13 15:15:28 +07:00
index.html
index.php Show warning for PHP versions older than 5.4.0 2015-02-05 11:41:00 +07:00
indie.json
issue_template.md Also add secret 2014-12-19 10:57:46 +07:00
occ
public.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
remote.php Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +07:00
robots.txt
status.php reduce OC_Preferences, OC_Config and \OCP\Config usage 2014-12-08 22:42:37 +07:00
version.php Update version to a higher one then before 2015-02-13 15:24:53 +07:00

README.md

ownCloud

ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.

Build Status on Jenkins CI

Git master: Build Status

Quality:

  • Scrutinizer: Scrutinizer Quality Score
  • CodeClimate: Code Climate

Installation instructions

http://doc.owncloud.org/server/8.0/developer_manual/app/index.html

Contribution Guidelines

http://owncloud.org/contribute/

Get in touch

Important notice on translations

Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/

Transifex

For more detailed information about translations: http://doc.owncloud.org/server/8.0/developer_manual/core/translation.html