aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #47935 from nextcloud/backport/47854/stable28John Molakvoæ2024-09-151-1/+2
|\ | | | | [stable28] fix(appstore): Ensure returned apps from AppStore are valid
| * fix: check if key is setbackport/47854/stable28Git'Fellow2024-09-131-1/+1
| | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * fix(appstore): Ensure returned apps from AppStore are validGit'Fellow2024-09-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: lint chore: remove space Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: check if response array is null Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> chore: Add log
* | Merge pull request #47979 from nextcloud/backport/47971/stable28John Molakvoæ2024-09-151-1/+2
|\ \ | | | | | | [stable28] fix: Do not try to set HTTP response code on already closed connection
| * | fix: Do not try to set HTTP response code on already closed connectionbackport/47971/stable28Côme Chilliet2024-09-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a PHP warning in the logs about trying to set the response code while the output already started. It’s useless to try to print an error page anyway in this situation because the connection was closed already. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #48032 from nextcloud/backport/48013/stable28John Molakvoæ2024-09-151-1/+3
|\ \ \ | | | | | | | | [stable28] fix(BaseResponse): Cast XML element values to string
| * | | fix(BaseResponse): Cast XML element values to stringbackport/48013/stable28provokateurin2024-09-151-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #47861 from nextcloud/backport/47860/stable28John Molakvoæ2024-09-151-3/+1
|\ \ \ \
| * | | | fix: Only write once to template instead of create/copybackport/47860/stable28Julius Knorr2024-09-101-3/+1
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | | Merge pull request #48019 from nextcloud/backport/48015/stable28John Molakvoæ2024-09-151-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | fix(Storage\Local): Do not call getSourcePath() on SplFileInfobackport/48015/stable28provokateurin2024-09-151-1/+1
| | |/ | |/| | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48022 from nextcloud/backport/48017/stable28Kate2024-09-151-1/+1
|\ \ \
| * | | fix(Comment): Initialize childrenCount as integerbackport/48017/stable28provokateurin2024-09-151-1/+1
| |/ / | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* / / fix(Tags): Return boolean for userHasTags()backport/48014/stable28provokateurin2024-09-151-2/+1
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* / fix(files): Adjust Cache::searchQuery() parameter name to match interfacebackport/47954/stable28provokateurin2024-09-132-4/+4
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Use sha256 to hash arguments of background jobsLouis Chemineau2024-09-051-5/+4
| | | | | | This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #47749 from nextcloud/backport/47417/stable28Arthur Schiwon2024-09-051-0/+9
|\ | | | | [stable28] fix(files): Create non-existent parents of mountpoints
| * fix(files): Create non-existent parents of mountpointsprovokateurin2024-09-041-0/+9
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(appstore): Cache apps.json also on dev instancesMarcel Müller2024-09-051-8/+9
|/ | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix: Pass the mountpoint target user to storages without ownerJulius Härtl2024-09-032-0/+17
| | | | | | | | | | | | | Storages that do not have a dedicated owner (e.g. groupfolders, external storages) currently always assume the current session user as the owner. This leads to several issues when there is no user session but a node is obtained through a user folder. In order to have the correct user available we need to pass the user that is used to setup a mountpoint along to the storage layer as we generally assume that an owner is available for those. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(linkReferenceProvider): better size checkJulien Veyssier2024-09-031-4/+14
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(config): Avoid error messages for restricted opcache APIJosh2024-08-301-1/+1
| | | | | | | Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments. Fixes #47562 Signed-off-by: Josh <josh.t.richards@gmail.com>
* fix: gracefully handle unexpected exif orientation typesRichard Steinmetz2024-08-271-9/+15
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix call to custom mail_template_classChristoph Klaffl2024-08-261-12/+14
| | | | Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
* fix(theming): Make getImage() call save against missing non-SVG versionJoas Schilling2024-08-211-3/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(setupcheck): Fix mimetype server version check in backportJoas Schilling2024-08-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #47353 from nextcloud/backport/47346/stable28John Molakvoæ2024-08-202-5/+6
|\
| * fix: use mountpoint from storage to find the encryption keysRobin Appelman2024-08-201-3/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * feat: store the mountpoint of storages in the mount optionsRobin Appelman2024-08-201-2/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Revert "Revert "[stable28] Apply group limit on remove from group""Arthur Schiwon2024-08-192-2/+44
|/
* Revert "[stable28] Apply group limit on remove from group"Arthur Schiwon2024-08-192-44/+2
|
* fix: Remove call to non-existing method in 28 and add missing use in testCôme Chilliet2024-08-191-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Remove shares only if there are no more common groups between usersCôme Chilliet2024-08-191-38/+36
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(files_sharing): Delete user shares if needed when user is removed from a ↵Louis Chemineau2024-08-192-2/+47
| | | | | | group Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #47081 from nextcloud/backport/47038/stable28Robin Appelman2024-08-081-1/+2
|\ | | | | [stable28] fix: check for correct storage class when checking for link parent
| * fix: check for correct storage class when checking for link parentRobin Appelman2024-08-071-1/+2
| | | | | | | | | | | | fixes #39123 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(encryption): Fix mountpoint check to accept if several are foundCôme Chilliet2024-08-071-1/+1
|/ | | | | | | There is no strong requirement to have only one mount for a given storage id. Also the error in this case would be misleading. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #47079 from nextcloud/backport/38364/stable28Andy Scherzinger2024-08-071-2/+49
|\ | | | | [stable28] fix(previews): Don't crash on animated WEBP images
| * fix(previews): Don't crash on animated WEBP imagesJosh Richards2024-08-061-2/+49
| | | | | | | | | | | | | | | | | | Fixes #30029 and #37263 libgd handles animated WEBP images poorly and generates a meaningless error message as a result. We were returning a 500 error for these preview requests (web) and a fatal error at the command-line (occ). Now we bypass libgd if the we detect an animated WEBP image (and simply don't generate the preview). No more 500 error. Should fix occ too. Signed-off-by: Josh Richards <josh.t.richards@gmail.com> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | fix: Ensure database connection is setup when getting group detailsFerdinand Thiessen2024-08-061-0/+2
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: `OCP\Files\Node\Folder::search` was not setting the ownerFerdinand Thiessen2024-07-301-1/+24
| | | | | | The owner was not set on the file info causing e.g. webdav searches to never return the known owner. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #46763 from nextcloud/backport/46672/stable28Andy Scherzinger2024-07-281-3/+4
|\ | | | | [stable28] Avoid using partial file info as valid one
| * fix: Do not return partial file info if we have a cache entryJulius Härtl2024-07-251-3/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #46712 from nextcloud/backport/45353/stable28John Molakvoæ2024-07-271-19/+87
|\ \
| * | feat: support excalidraw fileHoang Pham2024-07-251-36/+4
| | | | | | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
| * | feat: support excalidraw fileHoang Pham2024-07-251-23/+123
| | | | | | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* | | Merge pull request #46668 from nextcloud/backport/46640/stable28Andy Scherzinger2024-07-253-6/+19
|\ \ \ | | | | | | | | [stable28] fix(Token): take over scope in token refresh with login by cookie
| * | | fix(Token): take over scope in token refresh with login by cookieArthur Schiwon2024-07-223-6/+19
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #46678 from nextcloud/backport/44295/stable28Andy Scherzinger2024-07-253-3/+11
|\ \ \ \ | |_|_|/ |/| | | [stable28] Allow injecting the user temporarily for direct editing
| * | | fix(logging): Restore the option to log with debug levelJoas Schilling2024-07-221-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>