summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12406 from owncloud/drop-getApps-getUsersThomas Müller2014-12-094-11/+94
|\ | | | | Config cleanup - OC_Preferences refactoring
| * reduce OC_Preferences, OC_Config and \OCP\Config usageMorris Jobke2014-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | * files_encryption * files_versions * files_trashbin * tests * status.php * core * server container
| * introduce preCondition for setUserValue to provide atomic check-and-updateMorris Jobke2014-12-082-1/+33
| |
| * Refactoring of OC_Preferences to AllConfigMorris Jobke2014-12-081-1/+27
| | | | | | | | | | | | * keep old static methods - mapped to new ones and deprecated * removed deleteApp, getUsers, getApps because they are unused * make AllConfig unit tests more robust against not cleaned up environments
| * introduce deleteAllUserValuesMorris Jobke2014-12-081-0/+7
| |
| * introduce proper interface for deleteAppValueMorris Jobke2014-12-082-0/+8
| |
| * use old methods and redirect in deprecated methodsMorris Jobke2014-12-081-2/+2
| |
| * @deprecated messages for \OCP\Config and \OCP\AppConfigMorris Jobke2014-12-082-2/+8
| |
| * Extract interaction with config.php into SystemConfigMorris Jobke2014-12-081-3/+7
| | | | | | | | | | | | * introduce SystemConfig to avoid DI circle (used by database connection which is itself needed by AllConfig that itself contains the methods to access the config.php which then would need the database connection - did you get it? ;)) * use DI container and use that method in legacy code paths (for easier refactoring later) * create and use getSystemConfig instead of query() in DI container
* | Merge pull request #12577 from owncloud/public-mount-apiLukas Reschke2014-12-085-0/+152
|\ \ | |/ |/| Add a public api for apps to add mounts
| * Add public api for mount configurationsRobin Appelman2014-12-045-0/+152
| |
* | Merge pull request #12452 from owncloud/server2server-ng-ocsMorris Jobke2014-12-081-2/+3
|\ \ | | | | | | OCS API for server-to-server sharing
| * | OCS API for server-to-server sharingBjoern Schiessle2014-12-041-2/+3
| | |
* | | Merge headersLukas Reschke2014-12-041-1/+1
| |/ |/| | | Otherwise the headers from `JSONResponse` are gone and the Content-Type of the response would be `text/html` instead of `application/json; charset=utf-8`. This leads to broken scripts since we set the `nosniff` tag, furthermore this is very bad from a security PoV.
* | add missing public interface for iOS client app idMorris Jobke2014-12-021-0/+8
| |
* | Merge pull request #12427 from ↵Lukas Reschke2014-12-011-3/+88
|\ \ | |/ |/| | | | | owncloud/issue/6101-deprecate-namespaced-functions Depcrate namespaced functions, since they can not be autoloaded
| * Depcrate namespaced functions, since they can not be autoloadedJoas Schilling2014-11-261-3/+88
| |
* | add activity priorities to core so that other apps can reuse itBjoern Schiessle2014-11-281-0/+7
| |
* | Merge pull request #12472 from owncloud/modifyCookiesMorris Jobke2014-11-282-5/+75
|\ \ | | | | | | Add functions to modify cookies to response class
| * | Use server containerLukas Reschke2014-11-271-0/+7
| | |
| * | Add functions to modify cookies to response classLukas Reschke2014-11-271-5/+68
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code. This PR adds some basic functionalities to add and invalidate cookies. Usage: ```php $response = new TemplateResponse(...); $response->addCookie('foo', 'bar'); $response->invalidateCookie('foo'); $response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00')); ``` Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
* | Move iHomeStorage to own fileJoas Schilling2014-11-272-4/+24
| |
* | Move share interfaces to own files so they can be autoloadedJoas Schilling2014-11-274-83/+128
|/
* Merge pull request #12421 from ↵Morris Jobke2014-11-266-20/+42
|\ | | | | | | | | owncloud/issue/6101-remove-namespace-permission-constants Issue/6101 remove namespace permission constants
| * Replace deprecated constant with new class constantJoas Schilling2014-11-255-17/+17
| |
| * Move namespaced constants to namespaced classJoas Schilling2014-11-251-3/+25
| |
* | Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-251-1/+7
|/
* Merge pull request #12142 from owncloud/DeprecateOldIAPICallsMorris Jobke2014-11-242-0/+4
|\ | | | | Deprecate older API wrappers and calls
| * Deprecate older API wrappers and callsLukas Reschke2014-11-122-0/+4
| | | | | | | | Those old classes have now non-static pendants and can be deprecated IMHO.
* | also check for the correct owner if it was submittedBjoern Schiessle2014-11-211-3/+4
| |
* | Add \OC\App\Manager to handle enabling/disabling appsRobin Appelman2014-11-102-0/+58
|/
* Merge pull request #11998 from owncloud/add-get-logger-to-interfaceLukas Reschke2014-11-061-0/+7
|\ | | | | Add getLogger() to IServerContainer
| * Add getLogger() to IServerContainerLukas Reschke2014-11-061-0/+7
| | | | | | | | Makes my IDE complaining less ;-)
* | Add OCP\Security\IHasherLukas Reschke2014-11-062-0/+61
|/ | | | | | | Public interface for hashing which also works with legacy ownCloud hashes and supports updating the legacy hash via a passed reference. Follow-up of https://github.com/owncloud/core/pull/10219#issuecomment-61624662 Requires https://github.com/owncloud/3rdparty/pull/136
* Merge pull request #11965 from owncloud/fix-jsonresponseThomas Müller2014-11-051-1/+1
|\ | | | | fix typo in content type for JSONResponse
| * fix typo in content typeBernhard Posselt2014-11-051-1/+1
| |
* | Support HTML in logo claimLukas Reschke2014-11-031-0/+8
|/
* Merge pull request #11080 from owncloud/addheader-text-2Vincent Petry2014-10-301-2/+4
|\ | | | | Fix the addHeader tag attributes text methods to not ignore the text parameter
| * Fix the "addHeader($tag, $attributes, $text)" methods to not ignore the ↵Lukas Reschke2014-10-281-2/+4
| | | | | | | | | | | | | | | | | | $text parameter Also support closing tags with no text content given Conflicts: lib/private/template.php
* | Merge pull request #11821 from owncloud/generic-responseMorris Jobke2014-10-303-3/+104
|\ \ | | | | | | Add a generic data response
| * | add dataresponseBernhard Posselt2014-10-293-3/+104
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | fix docstrings adjust copyright date another copyright date update another header update implement third headers argument, fix indention, fix docstrings fix docstrings
* / Added OC.L10N namespace with translation functionsVincent Petry2014-10-291-0/+9
|/ | | | | | | | | | | Added addTranslations and fixed de.js file Fixed de.js to use OC.L10N.register() and use to correct expected format. Added JS unit tests for OC.L10N class Include translations JS script for all apps
* Merge pull request #11787 from owncloud/fix-php-docsMorris Jobke2014-10-271-1/+1
|\ | | | | Fix PHPDoc
| * Fix PHPDocLukas Reschke2014-10-271-1/+1
| | | | | | | | Stop my IDE and Scrutinizer from complaining.
* | Merge pull request #11767 from danbartram/add_db_rollbackMorris Jobke2014-10-241-0/+7
|\ \ | | | | | | Add missing DB rollback functionality
| * | Add missing DB rollback functionalityDan Bartram2014-10-241-0/+7
| |/
* / Add \OC\TempManager to handle creating and cleaning temporary filesRobin Appelman2014-10-242-0/+45
|/
* Bit more cleanupRobin Appelman2014-10-221-0/+8
|
* Extend \OCP\IDBConnection to cover more use casesRobin Appelman2014-10-221-3/+61
|
* Allow adding events that hapend before the event logger was loadedRobin Appelman2014-10-201-0/+8
|