aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
| * | | fix: Implement option to temporarily set the user sessionJulius Härtl2024-07-222-1/+11
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | fix: Do not use incognito mode for direct editingJulius Härtl2024-07-221-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #46683 from nextcloud/backport/46674/stable28Andy Scherzinger2024-07-251-12/+21
|\ \ \ \ | | | | | | | | | | [stable28] feat: add config flag to toggle persistent redis connections
| * | | | feat: add config flag to toggle persistent redis connectionsRobin Appelman2024-07-221-12/+21
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | / feat: add additional logging for database errorsRobin Appelman2024-07-252-4/+71
| |_|/ |/| | | | | | | | | | | | | | including the stack trace of the current database transaction Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: FileInfo from `View` should have the correct name of a mountpointFerdinand Thiessen2024-07-241-0/+4
|/ / | | | | | | | | | | | | | | | | | | If a mountpoint is returned from a `View` the name must match the view scoped name and not the global name. For example group folders have a name like `1` or `2` (the ID), but the name of the FileInfo returned fro mthe View should be the mount point name, like `First groupfolder` or similar. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #46628 from nextcloud/backport/46419/stable28Joas Schilling2024-07-224-2/+116
|\ \ | |/ |/| [stable28] fix(mail): Fix big logos in mail templates for Outlook
| * fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-194-2/+116
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #46577 from nextcloud/backport/46555/stable28Git'Fellow2024-07-191-0/+4
|\ \ | | | | | | [stable28] fix(appstore): Return an empty array in case of fail
| * | chore: add warning in case of failureGit'Fellow2024-07-171-0/+1
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | fix(appstore): Return an empty array in case of failGit'Fellow2024-07-171-0/+3
| |/ | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #46520 from nextcloud/backport/46475/stable28Git'Fellow2024-07-191-1/+1
|\ \ | | | | | | [stable28] fix(redis): Require version >=4 for unlink
| * | fix(redis): Require version >=4 for unlinkGit'Fellow2024-07-151-1/+1
| |/ | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* / fix(TextProcessing): use error instead of info for exception loggingAnupam Kumar2024-07-191-1/+1
|/ | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>