summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | | Merge pull request #7858 from nextcloud/fix-local-storageMorris Jobke2018-01-233-7/+15
|\ \ \ \ | | | | | | | | | | Use fallback path if data dir is not available for Storage/Local.php
| * | | | Use fallback path if data dir is not available for Storage/Local.phpMorris Jobke2018-01-183-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found while testing strict types for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #7989 from nextcloud/cleanup-unused-share-methodsMorris Jobke2018-01-231-107/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | Remove not used methods of legacy share.php
| * | | | Remove not used methods of legacy share.phpMorris Jobke2018-01-221-107/+0
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #7988 from nextcloud/cleanup-old-repair-stepsRoeland Jago Douma2018-01-229-729/+0
|\ \ \ \ | |_|_|/ |/| | | Remove old repair steps that aren't executed anymore
| * | | Remove old repair steps that aren't executed anymoreMorris Jobke2018-01-229-729/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / If the preview is size 0 it is invalidRoeland Jago Douma2018-01-221-3/+13
|/ / | | | | | | | | | | | | | | | | * delete it * throw a NotFound Exception - This should a proper 404 to the user - Next time it is then regenerated Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Disable vendor detection when upgrading from 11.0.xMorris Jobke2018-01-201-10/+2
| | | | | | | | | | | | Upgrade from 11 to 14 is not supported anyways. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-191-29/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Do not show "Not installed warning" during occ installMorris Jobke2018-01-181-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7911 from nextcloud/improve-oc_imageJulius Härtl2018-01-184-40/+38
|\ \ | | | | | | Improve OC_Image code to not guess the type of input
| * | Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-184-40/+38
| | | | | | | | | | | | | | | | | | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Remove IAppConfig::setValueRoeland Jago Douma2018-01-173-5/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Remove IAppConfig::getValueRoeland Jago Douma2018-01-178-20/+18
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Simple IAppConfig deprecationsRoeland Jago Douma2018-01-172-6/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7914 from nextcloud/fix-7254Roeland Jago Douma2018-01-173-4/+20
|\ \ \ | | | | | | | | format self-mentions, but don't offer them
| * | | add types to php docArthur Schiwon2018-01-171-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | do not offer the handle of the current user for auto completionArthur Schiwon2018-01-172-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>