aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8097 from nextcloud/deprecate-static-appRoeland Jago Douma2018-01-314-121/+60
|\ | | | | Deprecate static methods from \OCP\App
| * Add deprecation checksMorris Jobke2018-01-311-0/+8
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Remove OC_App::removeAppJulius Härtl2018-01-312-13/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Remove OC_App::installApp since it is not used anymoreJulius Härtl2018-01-311-57/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Move getAppInfo and getAppVersion to IAppManagerJulius Härtl2018-01-312-51/+49
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8121 from ↵Morris Jobke2018-01-311-12/+10
|\ \ | |/ |/| | | | | nextcloud/bugfix/8085/migrations-table-has-old-collation Create the migrations table also with the UTF8mb4 collation
| * Create the migrations table also with the UTF8mb4 collationJoas Schilling2018-01-311-12/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8096 from ↵Roeland Jago Douma2018-01-316-625/+173
|\ \ | |/ |/| | | | | nextcloud/feature/6382/do-not-cache-settings-in-db-anymore Do not cache the settings/sections in the database anymore
| * Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-296-625/+173
| | | | | | | | | | | | | | 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>
* | Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-16/+41
|\ \ | |/ |/| SCSS hardening
| * Add typehinting an fix some minor cleanupJulius Härtl2018-01-261-16/+24
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Do not rewrite absolute URLsJulius Härtl2018-01-261-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Clear injectect variables when resetting the cacheJulius Härtl2018-01-261-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Make sure that injected variables do not break the CSS generationJulius Härtl2018-01-261-0/+15
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * SCSS files are only cached if their size is > 0Julius Härtl2018-01-261-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8062 from nextcloud/use-classMorris Jobke2018-01-2917-84/+95
|\ \ | | | | | | Use ::class statement instead of string
| * | Use ::class statement instead of stringMorris Jobke2018-01-2917-84/+95
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Don't perform CSRF check on OCS routes with Bearer authRoeland Jago Douma2018-01-291-2/+8
|/ / | | | | | | | | | | Fixes #5694 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove unneeded semicolon and parenthesesMorris Jobke2018-01-2624-33/+33
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8072 from nextcloud/type-castingMorris Jobke2018-01-261-1/+1
|\ \ | | | | | | Use type casting instead of *val() method
| * | Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8071 from nextcloud/remove-silly-codeMorris Jobke2018-01-261-2/+1
|\ \ | | | | | | Cleanup unused code
| * | Cleanup unused codeMorris Jobke2018-01-261-2/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-269-28/+18
|\ \ | |/ |/| Use index based string access for substr with length of 1
| * Use index based string access for substr with length of 1Morris Jobke2018-01-269-28/+18
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify ternary operator statementsMorris Jobke2018-01-269-17/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use type casting instead of *val() methodMorris Jobke2018-01-267-19/+19
| | | | | | | | | | | | It should be up to 6x faster Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8064 from nextcloud/background-jobsMorris Jobke2018-01-261-0/+3
|\ \ | | | | | | Deprecated OCP interface to fetch background job type
| * | Deprecated OCP interface to fetch background job typeMorris Jobke2018-01-261-0/+3
| |/ | | | | | | | | | | | | * was not used by apps and also is not needed * migrated the documentation to IJobList Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8053 from nextcloud/simplify-substrJoas Schilling2018-01-263-3/+3
|\ \ | | | | | | Use short for of substr to not need strlen()
| * | Use short for of substr to not need strlen()Morris Jobke2018-01-253-3/+3
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-266-18/+8
|\ \ | | | | | | Return value immediately instead of assigning to a one-time variable
| * | Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-266-18/+8
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8057 from nextcloud/unneeded-implementsRoeland Jago Douma2018-01-262-2/+2
|\ \ | | | | | | Implements are not needed because they are already done by base class
| * | Implements are not needed because they are already done by base classMorris Jobke2018-01-252-2/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8055 from nextcloud/improve-loopRoeland Jago Douma2018-01-261-1/+2
|\ \ | | | | | | Improve conditional of loop
| * | Improve conditional of loopMorris Jobke2018-01-251-1/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8058 from nextcloud/useless-returnRoeland Jago Douma2018-01-262-9/+0
|\ \ | | | | | | Remove useless return statements
| * | Remove useless return statementsMorris Jobke2018-01-252-9/+0
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8060 from nextcloud/proper-codeflowRoeland Jago Douma2018-01-262-13/+12
|\ \ | | | | | | Use proper code flow instead of not needed else branch
| * | Use proper code flow instead of not needed else branchMorris Jobke2018-01-252-13/+12
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Use $var[] = $a instead of array_push - 2x fasterMorris Jobke2018-01-255-8/+8
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dispatch event on twofactor failure and successRoeland Jago Douma2018-01-252-14/+32
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8020 from nextcloud/fix-avatar-migrationMorris Jobke2018-01-241-0/+5
|\ | | | | Make sure we always know for sure if an avatar is generated or not
| * Make sure we always know for sure if an avatar is generated or notJulius Härtl2018-01-241-0/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8002 from nextcloud/dont_polutelog_dav_emailloginMorris Jobke2018-01-242-14/+34
|\ \ | | | | | | Dont polute the log on DAV emaillogin
| * | Fix testsRoeland Jago Douma2018-01-231-3/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Don't polute log when loggin into dav with emailRoeland Jago Douma2018-01-232-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * We first try the email as username but this fails * Then we get the uid from the email and try again We should not log the first attempt since it polutes the log with failed login attempts while the login actually is valid. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-2313-58/+136
|\ \ \ | | | | | | | | Properly log the full exception instead of only the message
| * | | Properly log the full exception instead of only the messageMorris Jobke2018-01-2313-58/+136
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>