summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Update doc link version to 13Morris Jobke2018-02-011-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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 #8030 from nextcloud/7986_12Morris Jobke2018-01-241-3/+13
|\ | | | | [stable13] If the preview is size 0 it is invalid
| * If the preview is size 0 it is invalidRoeland Jago Douma2018-01-241-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>
* | 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>
* Correctly drop the ownCloud migrations tableJoas Schilling2018-01-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Backport of format self-mentions, but don't offer them #7914Arthur Schiwon2018-01-183-4/+20
| | | | | | | | | | | | | | | | | | comments should compile mentions also if done by author it is used by clients for formatting reasons, there is no reason not format the author if her handle is included in the comment body. It is unrelated to sending out notifications. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> do not offer the handle of the current user for auto completion Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> add types to php doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7915 from nextcloud/backport/7909/fix-migration-type-hintsRoeland Jago Douma2018-01-172-21/+16
|\ | | | | 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-172-21/+16
| | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7887 from ↵Morris Jobke2018-01-161-2/+2
|\ \ | | | | | | | | | | | | nextcloud/backport/7879/dont-disable-shipped-apps-on-errors [stable13] Keep all shipped apps enabled because they should be okay
| * | Keep all shipped apps enabled because they should be okayJoas Schilling2018-01-161-2/+2
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7883 from nextcloud/search-and-13Roeland Jago Douma2018-01-161-2/+12
|\ \ | | | | | | [13] Support arbitrary number of arguments for d:or and d:and in search queries
| * | Support arbitrary number of arguments for d:or and d:and in search queriesRobin Appelman2018-01-161-2/+12
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / Add OCP\User deprecations to app code checkerMorris Jobke2018-01-161-0/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7635 from Abijeet/bug-7106Roeland Jago Douma2018-01-101-0/+1
|\ | | | | Fixes password input being prompted every time.
| * Fixes password input being prompted every time.Abijeet2018-01-081-0/+1
| | | | | | | | | | | | | | | | | | Fixes #7106 - Echoing the current server time via a JS variable and storing the current time on page load in JS. - Calculating the diff and taking it into account when deciding whether to show the password confirmation. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* | Merge pull request #7763 from nextcloud/pos_fix_7751Morris Jobke2018-01-101-3/+3
|\ \ | | | | | | Do not instantiate node when not needed
| * | Do not instantiate node when not neededRoeland Jago Douma2018-01-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use the lazy functions is possible. This avoids getting the node if not required. Possible fix for #7751 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Log a missing setting as INFO not as WARNINGRoeland Jago Douma2018-01-101-1/+2
|/ / | | | | | | | | | | | | | | It can happen for all kinds of reasons that a setting is not available. (A user removes a folder, a setting got deleted). So don't polute the log on default settings. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7731 from nextcloud/preview_size_incJan-Christoph Borchardt2018-01-091-2/+2
|\ \ | | | | | | Max preview size to 4096x4096
| * | Max preview size to 4096x4096Roeland Jago Douma2018-01-081-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | With HiDPI screens. And even normal HD screens you want more detail from your pictures. Or the ability to somewhat zoom on you previews. For this we need somewhat larger previews. Moving the default to 4096x4096 is a step up. Users that want the old behavior can still set the values in config.php Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Only return 1 typeRoeland Jago Douma2018-01-072-7/+20
| | | | | | | | | | | | | | Throw proper exception if we can't get the mimetype for a preview. Catch it later on so we can just return a not found for the preview. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Don't lie about the preview mimetypeRoeland Jago Douma2018-01-072-7/+47
|/ | | | | | | | | | | | | | For legacy reasons we stored all the previews with a png extention. However we did not put png data in them all the time. This caused the preview endpoints to always report that a preview is a png file. Which was a lie. Since we abstract away from the storage etc in the previewmanager. There is no need anymore to store them as .png files and instead we can use the actual file extention. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7712 from nextcloud/jsconfig_l10nMorris Jobke2018-01-051-1/+1
|\ | | | | Use correct L10N files for jsconfig
| * Use correct L10N files for jsconfigRoeland Jago Douma2018-01-051-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7699 from ↵Morris Jobke2018-01-041-3/+36
|\ \ | |/ |/| | | | | nextcloud/bugfix/7528/drop-owncloud-migrations-table-and-recreate-it Drop the ownCloud migration table instead of reusing it
| * Drop the ownCloud migration table instead of reusing itJoas Schilling2018-01-041-3/+36
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7570 from nextcloud/s3-legacy-authMorris Jobke2018-01-042-1/+220
|\ \ | | | | | | add option to use legacy v2 auth with s3
| * | add option to use legacy v2 auth with s3Robin Appelman2017-12-192-1/+220
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #7611 from nextcloud/fix-7445Morris Jobke2018-01-031-10/+0
|\ \ \ | | | | | | | | Don't attempt to translate login names to uids when uids are provided
| * | | never translate login names when requiring with a user idArthur Schiwon2018-01-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Invert app icons on IE11 as wellJulius Härtl2018-01-031-0/+9
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Move passwordconfirmation to its own midlewareRoeland Jago Douma2018-01-023-31/+96
| | | | | | | | | | | | | | | | | | Add tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | disable password confirmation with SSOBjoern Schiessle2018-01-023-3/+21
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Merge pull request #7660 from nextcloud/fix-7646Morris Jobke2018-01-021-1/+2
|\ \ \ | | | | | | | | Also log exception for failed appstore request
| * | | Also log exception for failed appstore requestMorris Jobke2018-01-021-1/+2
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7631 from nextcloud/fix-scss-webroot-and-url-rewriteMorris Jobke2018-01-022-11/+24
|\ \ \ | |/ / |/| | Fix scss webroot and url rewrite
| * | Fixed testsJohn Molakvoæ (skjnldsv)2017-12-301-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Added tests for various installations typesJohn Molakvoæ (skjnldsv)2017-12-301-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - With root installation - Core css - App inside server root - Secondary apps directory outside server root - With an installation in a sub directory - Core css - App inside server root - Secondary apps directory outside server root Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixup! getWebdir returnJohn Molakvoæ (skjnldsv)2017-12-301-6/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Use OC_Util function for app web pathJohn Molakvoæ (skjnldsv)2017-12-301-11/+14
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | getWebDir functionJohn Molakvoæ (skjnldsv)2017-12-301-15/+19
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed webroot for scss filesJohn Molakvoæ (skjnldsv)2017-12-302-9/+11
| | | | | | | | | | | | | | | | | | Fixed tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed scss url rewritingJohn Molakvoæ (skjnldsv)2017-12-301-8/+14
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Don't spam the log when we could not properly connect to the appstoreRoeland Jago Douma2017-12-291-1/+1
|/ / | | | | | | | | | | | | If we can't connect to the appstore for some reason we don't have to log the exception just an info entry is enough. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fixup codeRoeland Jago Douma2017-12-221-1/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Hide delete button if the avatar is a generated oneJulius Härtl2017-12-192-0/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Remove generated avatar on displayname changeRoeland Jago Douma2017-12-192-1/+32
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7562 from nextcloud/fix-wrongly-cached-resultRoeland Jago Douma2017-12-191-3/+1
|\ | | | | Cache final result of update check
| * Cache final result of update checkMorris Jobke2017-12-181-3/+1
| | | | | | | | | | | | | | | | If the parsed data is not a valid response we should not cache it and only cache the preprocessed result set. Fixes #7442 Signed-off-by: Morris Jobke <hey@morrisjobke.de>