summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Remove long time deprecated functions and deprecate \OCP\AppJulius Härtl2018-01-311-43/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move getAppInfo and getAppVersion to IAppManagerJulius Härtl2018-01-312-1/+23
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-291-40/+12
| | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ::class statement instead of stringMorris Jobke2018-01-291-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Deprecated OCP interface to fetch background job typeMorris Jobke2018-01-262-40/+18
| | | | | | | * was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dispatch event on twofactor failure and successRoeland Jago Douma2018-01-251-0/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-13/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove IAppConfig::getValueRoeland Jago Douma2018-01-171-14/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Simple IAppConfig deprecationsRoeland Jago Douma2018-01-171-33/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7909 from nextcloud/fix-migration-type-hintsMorris Jobke2018-01-174-14/+106
|\ | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-174-14/+106
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7847 from nextcloud/avatarmanager_strictRoeland Jago Douma2018-01-171-3/+4
|\ \ | | | | | | Fixes for avatarmanager
| * | Made AvatarManager string and add return typesRoeland Jago Douma2018-01-141-3/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7836 from nextcloud/image-type-hintingMorris Jobke2018-01-171-2/+2
|\ \ \ | |_|/ |/| | Fix float/integer handling in image API
| * | Fix float/integer handling in image APIMorris Jobke2018-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | * IImage::crop/preciseResize now have type hinting for integers * found while testing strict typing for PHP 7+ Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7899 from nextcloud/strict_discserviceRoeland Jago Douma2018-01-171-1/+2
|\ \ \ | | | | | | | | Strict DiscoveryService
| * | | Strict DiscoveryServiceRoeland Jago Douma2018-01-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made strict * Type hints * Return types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7897 from nextcloud/strict_lockingprovidersMorris Jobke2018-01-172-6/+8
|\ \ \ \ | | | | | | | | | | Made locking providers strict
| * | | | Made locking providers strictRoeland Jago Douma2018-01-162-6/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added typehints * Added return types * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7900 from nextcloud/strict_securityMorris Jobke2018-01-173-5/+8
|\ \ \ \ | | | | | | | | | | Make OCP\Security stricter
| * | | | Make OCP\Security stricterRoeland Jago Douma2018-01-163-5/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add typehints * Add return types * Opcode opts from phpstorm * Made strict * Fixed tests: No need to test bogus values anymore strict typing fixes this Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7901 from nextcloud/strict_cache_factoryRoeland Jago Douma2018-01-171-9/+10
|\ \ \ \ | | | | | | | | | | Made the cache factory strict
| * | | | Made the cache factory strictRoeland Jago Douma2018-01-161-9/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7884 from nextcloud/cleanup-oc_userMorris Jobke2018-01-171-24/+1
|\ \ \ \ | | | | | | | | | | Cleanup OC_User and OCP\User
| * | | | Cleanup OC_User and OCP\UserMorris Jobke2018-01-161-24/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #7894 from nextcloud/strict_http_clientMorris Jobke2018-01-163-11/+14
|\ \ \ \ | | | | | | | | | | Make OCP\Http strict
| * | | | Make OCP\Http strictRoeland Jago Douma2018-01-163-11/+14
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle private files * Add return types * Add scalar typehints * Made strict * Fixed requiring proper guzzle message interface that is passed around Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / / Make OCP\Federation strictRoeland Jago Douma2018-01-162-7/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | * Also internal classes * Added scalar typehints * Added return type * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Deprecated checkLoggedIn and other old ways to access controlMorris Jobke2018-01-161-0/+4
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Remove deprecated core APIJoas Schilling2018-01-151-99/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #7853 from nextcloud/strict_urlgeneratorRoeland Jago Douma2018-01-151-15/+8
|\ \ \ | | | | | | | | Make the URLGenerator strict
| * | | Make the URLGenerator strictRoeland Jago Douma2018-01-141-15/+8
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * Add scalar argument types * Add return types * Make strict * General phpstorm cleanup Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7838 from nextcloud/timefactory_strictRoeland Jago Douma2018-01-151-2/+2
|\ \ \ | | | | | | | | Make the ITimeFactory strict + return types
| * | | Make the ITimeFactory strict + return typesRoeland Jago Douma2018-01-141-2/+2
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7857 from nextcloud/dep_templateMorris Jobke2018-01-151-113/+0
|\ \ \ | | | | | | | | Remove deprecated template functions from OCP directly
| * | | Remove deprecated template functions from OCP directlyRoeland Jago Douma2018-01-141-113/+0
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7840 from nextcloud/dep_configRoeland Jago Douma2018-01-141-164/+0
|\ \ \ | |/ / |/| | Remove deprecated \OCP\Config
| * | Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-131-164/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7849 from nextcloud/strict_securerandomMorris Jobke2018-01-141-2/+3
|\ \ | | | | | | Strict ISecure random
| * | Fix testsRoeland Jago Douma2018-01-141-2/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Strict ISecure randomRoeland Jago Douma2018-01-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Declare strict * Scalar arguments * Return type * Use fully qualified name for strlen Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7839 from nextcloud/dep_dicontainerMorris Jobke2018-01-141-30/+0
|\ \ \ | | | | | | | | Remove deprecated functions from DI Container
| * | | Remove deprecated functions from DI ContainerRoeland Jago Douma2018-01-131-30/+0
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7844 from nextcloud/dep_constantsMorris Jobke2018-01-141-21/+0
|\ \ \ | | | | | | | | Remove deprecated constants
| * | | Remove deprecated constantsRoeland Jago Douma2018-01-131-21/+0
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7843 from nextcloud/dep_utilMorris Jobke2018-01-141-26/+0
|\ \ \ | | | | | | | | Remove deprecated functions for OCP\Util
| * | | Remove deprecated functions for OCP\UtilRoeland Jago Douma2018-01-131-26/+0
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7842 from nextcloud/dep_isearchMorris Jobke2018-01-141-10/+0
|\ \ \ | |_|/ |/| | Removed deprecated search function from ISearch
| * | Removed deprecated search function from ISearchRoeland Jago Douma2018-01-131-10/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>