summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22844 from nextcloud/enh/richdocumentscode-armMorris Jobke2020-09-174-4/+38
|\ | | | | Support architecture limitations for apps and allow richdocumentscode_arm64 though htaccess
| * Allow to specify supported architectures in appinfo.xmlJulius Härtl2020-09-172-0/+28
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Add htaccess exception for richdocumentscode_arm64Julius Härtl2020-09-171-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Install richdocumentscode depending on the architectureJulius Härtl2020-09-171-3/+9
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #22903 from ↵Morris Jobke2020-09-171-1/+1
|\ \ | | | | | | | | | | | | nextcloud/techdebt/16696/no-need-to-get-full-path-again Do not fetch the normalized full path again if it is already available
| * | Do not fetch the normalized full path again if it is already availableMorris Jobke2020-09-171-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22867 from nextcloud/shared-storage-init-lessRoeland Jago Douma2020-09-172-11/+71
|\ \ \ | |/ / |/| | Shared storage optimizations
| * | optimize View::getPath if we already know the storage idRobin Appelman2020-09-162-14/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | disable update checking for shared storagesRobin Appelman2020-09-151-0/+56
| |/ | | | | | | | | | | update checking is already handled by the share source Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #22890 from ↵Roeland Jago Douma2020-09-171-1/+2
|\ \ | | | | | | | | | | | | nextcloud/techdebt/18680/help-static-code-analysis-understand-code Help static code analysis to understand code
| * | Help static code analysis to understand code.Daniel Kesselberg2020-09-161-1/+2
| | | | | | | | | | | | | | | | | | It adds proper type hints to private namespace to allow private namespace methods. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #22888 from nextcloud/techdebt/18680/remove-unused-codeMorris Jobke2020-09-161-1/+0
|\ \ \ | | | | | | | | Remove not needed semicolon and PHPDoc hint
| * | | Remove not needed semicolon and PHPDoc hintMorris Jobke2020-09-161-1/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22884 from nextcloud/phpdoc/21873/define-deprecated-versionMorris Jobke2020-09-161-91/+92
|\ \ \ | |/ / |/| | Specific version for @deprecated PHPDoc
| * | Specific version for @deprecated PHPDocMorris Jobke2020-09-161-91/+92
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-1614-27/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded isset checkJoas Schilling2020-09-111-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #22234 from nextcloud/bugfix/noid/reshare-mountMorris Jobke2020-09-101-4/+12
|\ | | | | Use user mount with matching shared storage only
| * Use user mount with matching shared storage onlyJulius Härtl2020-08-131-4/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #22774 from nextcloud/bugfix/noid/no-delay-without-ipMorris Jobke2020-09-101-0/+4
|\ \ | | | | | | Don't break when the IP is empty
| * | Don't break when the IP is emptyJoas Schilling2020-09-101-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #22768 from ↵Morris Jobke2020-09-101-1/+1
|\ \ \ | |/ / |/| | | | | | | | nextcloud/fix/22288/change-0-to-null-for-bmp-encoding Change 0 to null to properly encode image to BMP if the first pixel is black
| * | Change 0 to null to properly encode image to BMP if the first pixel is blackMorris Jobke2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | Ref #22288 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22552 from nextcloud/bugfix/noid/opendocument-templatesMorris Jobke2020-09-101-0/+15
|\ \ \ | | | | | | | | Add opendocument templates to mimetype mappings
| * | | Update repair step apply new opendocument template mimesJulius Härtl2020-09-041-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Don't create a deprecation log in base.phpJoas Schilling2020-09-101-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #22520 from nextcloud/normalize-path-invalid-utf8Roeland Jago Douma2020-09-091-1/+1
|\ \ \ \ | | | | | | | | | | dont use `false` as cache key for non utf8 path in normalizePath
| * | | | dont use `false` as cache key for non utf8 path in normalizePathRobin Appelman2020-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since `json_encode` returns `false` if it's input isn't utf8, all non utf8 paths passed to normalizePath will currently return the same cached result. Fixing this makes working with non utf8 storages a *little* bit more possible for apps Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Fix reading empty files from objectstorageRoeland Jago Douma2020-09-091-0/+5
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Since we try to do range requests this will fail hard. However since empty files are not that interesting to read anyways we just read from an emptry memory stream. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #22657 from nextcloud/bugfix/noid/quota-trash-creationMorris Jobke2020-09-091-2/+9
|\ \ \ \ | | | | | | | | | | Check if quota should be applied to path when creating directories
| * | | | Check if quota should be applied to path when creating directoriesJulius Härtl2020-09-081-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where the files_trashbin hierarchy of a user could not been created as the mkdir operations were blocked by the quota storage wrapper. Even with 0 quota, users should be able to have a trashbin for external storages. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #22636 from nextcloud/bugfix/noid/initial-stte-cspv3Joas Schilling2020-09-091-14/+15
|\ \ \ \ \ | | | | | | | | | | | | Make sure that getConfig is still called for browsers that do not support CSPv3
| * | | | | Make sure that getConfig is still called for browsers that do not support CSPv3Julius Härtl2020-09-071-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #22729 from nextcloud/fix/object_storage_permissions_shortcutMorris Jobke2020-09-091-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Run stat less often for objectstorages
| * | | | | | Run stat less often for objectstoragesRoeland Jago Douma2020-09-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we want to get the permissions we now do stat at least 5 times for each entry. Which is a bit much. Especially since the permssions are all just in the database already. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | | Merge pull request #22646 from nextcloud/bugfix/mimetype-mappingRoeland Jago Douma2020-09-081-1/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix detecting text/x-php mimetype and secure mimetype mapping
| * | | | | | | Properly add both mimetypes to secure mimetype mappingJulius Härtl2020-09-071-1/+7
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #22641 from ↵Roeland Jago Douma2020-09-081-2/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | nextcloud/fix/credentials-store-upgrade-property-undefined Fix undefined class property access after upgrade from 19 to 20
| * | | | | | Fix undefined class property access after upgrade from 19 to 20Christoph Wurst2020-09-071-2/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The serialized data in 19 has one property less and this was not considered in the code. Hence adding a fallback. Moreover I'm changing the deserialization into an array instead of object, as that is the safer option. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #22643 from nextcloud/bugfix/noid/fix-installing-on-oracleMorris Jobke2020-09-071-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix installing on Oracle
| * | | | | | Warn about adding NotNull columns with nullable defaultJoas Schilling2020-09-071-0/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-077-1/+8
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #22589 from ↵blizzz2020-09-071-1/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/bugfix/noid/allow-additional-personal-settings-via-normal-registration Allow additional personal settings via normal registration
| * | | | Allow additional personal settings via normal registrationJoas Schilling2020-09-041-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #22597 from ↵Roeland Jago Douma2020-09-041-10/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/allow-to-di-the-settings-manager Add missing alias for OCP\Settings\IManager and deprecate the old one
| * | | | | Add missing alias for OCP\Settings\IManager and deprecate the old oneJoas Schilling2020-09-041-10/+3
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #17456 from ↵John Molakvoæ2020-09-041-10/+30
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | brad2014/feature/brad2014/12391-improve-imip-mail-message-take-2
| * | | | Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein2020-09-021-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMipPlugin.php Removed blank lines to make php-cs-fixer happy. Minor cleanup: bugs found by Psalm static checker IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter. IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places. The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
| * | | | iMIP email improvements (take 2)brad20142020-08-201-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR is a replacement for PR #17195. It is intended to be simpler to review and approve, with fewer changes, some disabled by default. It addresses issues #12391 and #13555, with the following changes: - The plainText of iMIP emails has been upgraded as described in issue #12391. The HTML design style has not been changed. - Some of the HTML and plainText content has been rearranged (simplified header language, moving the event title to from text body to the first item in the bullet list, spelling corrections, moving the description to the end of the list), per issue #12391. - The interface for EMailTemplate has been extended: addBodyListItem now takes an optional `plainIndent` parameter. Existing callers see no change. Where new calls set the new parameter >0, the list item label (metaInfo) is put in column 1, and the value is indented into column 2 (properly accounting for multiple lines, if any). - An optional dav config setting has been added, `invitation_list_attendees`. It defaults to 'no', leaving emails unchanged. If set by the site admin to 'yes', then iMIP emails include, for the organizer and each attendee, their name, email, and a ✔︎ if they have accepted the invitation. - Minor refactoring. Notes: - The labels for organizers and attendees list items are new, and require translation/localization. - Dav config settings are documented in the code, but not in the Administrator's Guide. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
* | | | | Merge pull request #22550 from ↵Joas Schilling2020-09-041-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/13556/use-correct-root-when-compiling-scss Use the correct root to determinate the webroot for the resource