summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-271-32/+1
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-261-32/+1
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Merge pull request #14300 from owncloud/commandbusMorris Jobke2015-02-261-0/+12
|\ \ | |/ |/| Add async command system to handle asynchronous operations
| * Rename getAsyncCommandBus to getCommandBusRobin Appelman2015-02-251-1/+1
| |
| * Add async command system to handle asynchronous operationsRobin Appelman2015-02-251-0/+12
| |
* | remove IDb interface from core class usageBernhard Posselt2015-02-251-1/+1
| |
* | deprecate getters for deprecated classBernhard Posselt2015-02-251-1/+1
|/
* Updating license headersJenkins for ownCloud2015-02-231-1/+32
|
* Revert "add debug log for memcache instantiation"Lukas Reschke2015-02-181-2/+1
|
* Incorporate review changesLukas Reschke2015-02-161-1/+13
|
* Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-40/+46
| | | | | | | | | | 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
* add debug log for memcache instantiationJörn Friedrich Dreyer2015-02-161-1/+2
|
* Respect `mod_unique_id` and refactor `OC_Request::getRequestId`Lukas Reschke2015-02-091-3/+4
| | | | | | | | | | | | | | When `mod_unique_id` is enabled the ID generated by it will be used for logging. This allows for correlation of the Apache logs and the ownCloud logs. Testplan: - [ ] When `mod_unique_id` is enabled the request ID equals the one generated by `mod_unique_id`. - [ ] When `mod_unique_id` is not available the request ID is a 20 character long random string - [ ] The generated Id is stable over the lifespan of one request Changeset looks a little bit larger since I had to adjust every unit test using the HTTP\Request class for proper DI. Fixes https://github.com/owncloud/core/issues/13366
* certificate manager should always use a \OC\Files\View otherwise we will get ↵Bjoern Schiessle2015-01-261-2/+2
| | | | problems for different primary storages
* certificate manager only needs the user-id, no need to pass on the complete ↵Bjoern Schiessle2015-01-261-5/+8
| | | | user object
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-1/+1
| | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* Move timezone logic out of server.phpJoas Schilling2014-12-161-23/+20
|
* Merge pull request #12778 from owncloud/searchbytags2Vincent Petry2014-12-121-2/+1
|\ | | | | Added searchByTags to view, storage and cache
| * Add user parameter to tag managerVincent Petry2014-12-111-2/+1
| |
* | Merge pull request #12786 from owncloud/userfolder-setupMorris Jobke2014-12-111-0/+1
|\ \ | | | | | | Ensure user mountpoints are setup when using getUserFolder
| * | Ensure user mountpoints are setup when using getUserFolderRobin Appelman2014-12-111-0/+1
| |/
* | Check if open_basedir is setLukas Reschke2014-12-111-3/+3
| | | | | | | | | | | | The file:// protocol does not work with curl when an open_basedir is set. This fixes https://github.com/owncloud/core/issues/12016
* | Add IniGetWrapper to public interfaceLukas Reschke2014-12-111-1/+13
|/
* Deprecate Util::formatDate()Joas Schilling2014-12-101-0/+31
| | | | Make DateTimeFormatter a service and adjust tests that have been inaccurate
* Merge pull request #12406 from owncloud/drop-getApps-getUsersThomas Müller2014-12-091-4/+19
|\ | | | | Config cleanup - OC_Preferences refactoring
| * Workaround to fix the too early init dilemmaMorris Jobke2014-12-081-2/+1
| | | | | | | | | | | | | | * this needs to be properly fixed by a proper organisation of the base.php * introduced fixDIInit() in AllConfig that moves the injection of DatabaseConnection to a later point in time * problems mostly because of the autoconfig setup
| * Refactoring of OC_Preferences to AllConfigMorris Jobke2014-12-081-1/+2
| | | | | | | | | | | | * 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
| * Extract interaction with config.php into SystemConfigMorris Jobke2014-12-081-4/+19
| | | | | | | | | | | | * 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-081-0/+12
|\ \ | |/ |/| Add a public api for apps to add mounts
| * Add public api for mount configurationsRobin Appelman2014-12-041-0/+12
| |
* | Add REST route for user & group managementLukas Reschke2014-12-081-2/+20
|/ | | | First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
* Merge pull request #12472 from owncloud/modifyCookiesMorris Jobke2014-11-281-6/+22
|\ | | | | Add functions to modify cookies to response class
| * Pass \OC::$WEBROOT to the ctrLukas Reschke2014-11-271-4/+11
| |
| * Remove redundant codeLukas Reschke2014-11-271-3/+3
| |
| * Use server containerLukas Reschke2014-11-271-0/+9
| |
* | Correctly namespace and autoload DatabaseExceptionJoas Schilling2014-11-271-1/+1
|/
* Add \OC\App\Manager to handle enabling/disabling appsRobin Appelman2014-11-101-0/+15
|
* Add OCP\Security\IHasherLukas Reschke2014-11-061-0/+13
| | | | | | | 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 #11760 from owncloud/add-type-hints-where-sensibleLukas Reschke2014-10-251-48/+21
|\ | | | | Add type hinting to functions
| * drop unneeded hintMorris Jobke2014-10-251-1/+0
| |
| * Add type hinting to functionsLukas Reschke2014-10-241-47/+21
| | | | | | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs.
* | Add \OC\TempManager to handle creating and cleaning temporary filesRobin Appelman2014-10-241-0/+13
|/
* Move creating the database connection to the server containerRobin Appelman2014-10-221-2/+19
|
* Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement ↵Robin Appelman2014-10-221-1/+1
| | | | \OCP\IDBConnection directly instead
* Rename to NullQueryLoggerRobin Appelman2014-10-201-4/+4
|
* Log some basic eventsRobin Appelman2014-10-201-0/+1
|
* Rename namespace to DiagnosticsRobin Appelman2014-10-201-7/+7
|
* Add QueryLogger interface to allow apps to get a list of used queriesRobin Appelman2014-10-201-0/+20
|
* Add an EventLogger interface to allow apps to get a log of the request timelineRobin Appelman2014-10-201-6/+26
|
* make skeleton compatible with objectstoreJörn Friedrich Dreyer2014-10-201-0/+15
| | | | suspend encryption proxy when copying skeleton