aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix: Do not try to set HTTP response code on already closed connectionbackport/47971/stable29Cô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>
* fix(files): Adjust Cache::searchQuery() parameter name to match interfacebackport/47954/stable29provokateurin2024-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 #47486 from nextcloud/backport/46013/stable29Andy Scherzinger2024-09-051-0/+25
|\ | | | | [stable29] fix: write object to the correct urn when moving from another storage to object store
| * fix: write object to the correct urn when moving from another storage to ↵Robin Appelman2024-08-261-0/+25
| | | | | | | | | | | | object store Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #47284 from nextcloud/backport/47038/stable29Arthur Schiwon2024-09-051-1/+2
|\ \ | | | | | | [stable29] fix: check for correct storage class when checking for link parent
| * | fix: check for correct storage class when checking for link parentRobin Appelman2024-09-041-1/+2
| | | | | | | | | | | | | | | | | | fixes #39123 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | 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(files): Create non-existent parents of mountpointsprovokateurin2024-09-041-0/+9
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix: lintGit'Fellow2024-09-041-1/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | fix(jobs): Swicth to executeStatement() while deleting rowsGit'Fellow2024-09-041-37/+16
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | 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(setup): ignore long session login during installationMaxence Lange2024-08-271-3/+5
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #47536 from nextcloud/backport/47509/stable29Richard Steinmetz2024-08-271-9/+15
|\ \ | | | | | | [stable29] fix: gracefully handle unexpected exif orientation types
| * | fix: gracefully handle unexpected exif orientation typesRichard Steinmetz2024-08-271-9/+15
| |/ | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* / fix(Router): Load attribute routes of all apps when not app is specifiedprovokateurin2024-08-271-14/+24
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* 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>
* 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>
* fix: Remove shares only if there are no more common groups between usersCôme Chilliet2024-08-131-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-132-2/+47
| | | | | | group Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #46889 from nextcloud/backport/46476/stable29Andy Scherzinger2024-08-084-0/+252
|\ | | | | [stable29] Migration Attributes
| * fix(migration-preview): display a message if no attributes setMaxence Lange2024-08-061-0/+12
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * feat(upgrade): migration attributesMaxence Lange2024-08-064-0/+240
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #47119 from nextcloud/backport/47044/stable29Andy Scherzinger2024-08-081-1/+1
|\ \ | | | | | | [stable29] fix(encryption): Fix mountpoint check to accept if several are found
| * | 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 #47105 from nextcloud/backport/46106/stable29Andy Scherzinger2024-08-084-16/+29
|\ \ \ | |/ / |/| | [stable29] fix(session): Log when session_* calls are slow
| * | fix(session): Log when session_* calls are slowChristoph Wurst2024-08-074-16/+29
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #47078 from nextcloud/backport/47065/stable29Andy Scherzinger2024-08-071-0/+2
|\ \ \ | |/ / |/| | [stable29] fix: Ensure database connection is setup when getting group details
| * | fix: Ensure database connection is setup when getting group detailsFerdinand Thiessen2024-08-071-0/+2
| |/ | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #47080 from nextcloud/backport/38364/stable29Richard Steinmetz2024-08-071-2/+49
|\ \ | |/ |/| [stable29] 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: fix passing additional db connection parameters in factoryRobin Appelman2024-08-051-25/+20
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: don't persist previews used during blurhash generationRichard Steinmetz2024-08-011-19/+4
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* 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>
* fix: Do not return partial file info if we have a cache entryJulius Härtl2024-07-291-3/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #46521 from nextcloud/backport/46475/stable29John Molakvoæ2024-07-271-1/+1
|\
| * fix(redis): Require version >=4 for unlinkGit'Fellow2024-07-151-1/+1
| | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | Merge pull request #46578 from nextcloud/backport/46555/stable29John Molakvoæ2024-07-271-0/+4
|\ \
| * | chore: add warning in case of failureGit'Fellow2024-07-251-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-251-0/+3
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | Merge pull request #46711 from nextcloud/backport/45353/stable29John Molakvoæ2024-07-271-21/+95
|\ \ \ | |/ / |/| |
| * | feat: support excalidraw fileHoang Pham2024-07-251-6/+4
| | | | | | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
| * | feat: support excalidraw fileHoang Pham2024-07-251-25/+101
| | | | | | | | | | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* | | Merge pull request #46684 from nextcloud/backport/46674/stable29Andy Scherzinger2024-07-251-12/+21
|\ \ \ | | | | | | | | [stable29] 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>
* | | | Merge pull request #46669 from nextcloud/backport/46640/stable29Andy Scherzinger2024-07-253-6/+19
|\ \ \ \ | | | | | | | | | | [stable29] 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>