Richard Steinmetz
dffcf956eb
fix: don't persist previews used during blurhash generation
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-01 14:18:25 +00:00
Ferdinand Thiessen
264074c161
fix: OCP\Files\Node\Folder::search was not setting the owner
...
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>
2024-07-30 11:06:30 +00:00
Julius Härtl
d76c0d4af6
fix: Do not return partial file info if we have a cache entry
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-29 08:16:30 +02:00
John Molakvoæ
5e9aa2fb17
Merge pull request #46521 from nextcloud/backport/46475/stable29
2024-07-27 17:32:43 +02:00
John Molakvoæ
18076c764b
Merge pull request #46578 from nextcloud/backport/46555/stable29
2024-07-27 17:32:30 +02:00
John Molakvoæ
cea8c4c364
Merge pull request #46711 from nextcloud/backport/45353/stable29
2024-07-27 16:12:10 +02:00
Git'Fellow
5a29cc51c7
chore: add warning in case of failure
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-25 20:16:51 +02:00
Git'Fellow
837e006e7f
fix(appstore): Return an empty array in case of fail
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-25 20:16:51 +02:00
Andy Scherzinger
e827b86b09
Merge pull request #46684 from nextcloud/backport/46674/stable29
...
[stable29] feat: add config flag to toggle persistent redis connections
2024-07-25 20:14:08 +02:00
Andy Scherzinger
a80d72683f
Merge pull request #46669 from nextcloud/backport/46640/stable29
...
[stable29] fix(Token): take over scope in token refresh with login by cookie
2024-07-25 19:42:46 +02:00
Andy Scherzinger
b1eb1c5a0f
Merge pull request #46679 from nextcloud/backport/44294/stable29
...
[stable29] fix: Pass the mountpoint target user to storages without owner
2024-07-25 19:40:10 +02:00
Robin Appelman
c95206ad38
feat: add additional logging for database errors
...
including the stack trace of the current database transaction
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-25 14:47:27 +02:00
Hoang Pham
d06e5d41d9
feat: support excalidraw file
...
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 17:00:34 +07:00
Hoang Pham
e5532362da
feat: support excalidraw file
...
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-25 17:00:34 +07:00
Ferdinand Thiessen
824803dd7b
fix: FileInfo from View should have the correct name of a mountpoint
...
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>
2024-07-24 13:26:40 +00:00
Anupam Kumar
c40244fdab
Merge pull request #46636 from nextcloud/backport/46608/stable29
...
[stable29] fix(TextProcessing): use error instead of info for exception logging
2024-07-24 18:42:49 +05:30
Robin Appelman
692f4fa51c
feat: add config flag to toggle persistent redis connections
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-22 13:10:16 +00:00
Julius Härtl
c60725c813
fix: Pass the mountpoint target user to storages without owner
...
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>
2024-07-22 12:51:50 +00:00
Arthur Schiwon
95f7613581
fix(Token): take over scope in token refresh with login by cookie
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-22 06:54:44 +00:00
Josh
ec016b0a64
Merge pull request #46569 from nextcloud/backport/46342/stable29
...
[stable29] fix(previews): Stop returning true when `getimagesize()` fails
2024-07-19 22:23:02 -04:00
Andy Scherzinger
63a4884bb2
Merge pull request #46626 from nextcloud/backport/46448/stable29
...
[stable29] fix(dashboard): Unify widget icon colors and document it's behaviour
2024-07-19 16:34:29 +02:00
Anupam Kumar
9b0ed06556
fix(TextProcessing): use error instead of info for exception logging
...
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-07-19 12:00:51 +00:00
Joas Schilling
ee6d74eb63
fix(mail): Fix big logos in mail templates for Outlook
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 08:11:54 +00:00
Joas Schilling
66e1d866a2
fix(dashboard): Document expected icon behaviour
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
[skip ci]
2024-07-19 08:06:30 +00:00
Josh Richards
676dca4116
fix(previews): Stop returning true when getimagesize() fails
...
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-16 19:51:50 +00:00
Git'Fellow
6aadb64192
fix(redis): Require version >=4 for unlink
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-15 07:56:57 +00:00
Arthur Schiwon
0ba9f046e7
fix(Session): avoid race conditions on clustered setups
...
- re-stablishes old behaviour with cache to return null instead of throwing
an InvalidTokenException when the token is cached as non-existing
- token invalidation and re-generation are bundled in a DB transaction now
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-11 07:29:09 +00:00
Julius Härtl
ea262a8ca3
perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
...
By default there is a Pragma: no-cache header set due to the default
value `no-cache` of session.cache-limiter, which will cause Chrome and
iOS to not cache even with a different Cache-Control header set on the
response.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-11 08:31:21 +02:00
Andy Scherzinger
db748b4652
Merge pull request #45919 from nextcloud/backport/45582/stable29
...
[stable29] delete background jobs by id when cleaning up
2024-07-10 22:05:38 +02:00
Andy Scherzinger
650aec50bf
Merge pull request #46069 from nextcloud/backport/45877/stable29
...
[stable29] fix: don't use custom certificate bundle if no customer certificates are configured
2024-07-10 20:33:46 +02:00
Andy Scherzinger
0f332839af
Merge pull request #46035 from nextcloud/backport/46017/stable29
...
[stable29] fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
2024-07-10 20:32:36 +02:00
Robin Appelman
7a801f0690
fix: delete background jobs by id when cleaning up
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-10 20:29:36 +02:00
Ferdinand Thiessen
2071f4d713
Merge pull request #46298 from nextcloud/backport/46174/stable29
...
[stable29] fix(IntegrityCheck): Ensure the check is run if no results are available
2024-07-10 19:01:43 +02:00
Git'Fellow
aa24a4ad5d
fix(s3): Don't wait indefinitely for S3 to return
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: use AwsException
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: Throw on connection failure
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: Wrap all in try catch block
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: use RequestTimeout error message
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
log: use OCP Server class
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: Handle connect timeout only
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: Handle errors more generically
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-09 07:51:43 +00:00
Daniel
ad0d58eeba
Merge pull request #46306 from nextcloud/backport/46276/stable29
...
[stable29] chore(mp3info): apply upstream patch for invalid array access
2024-07-06 17:16:14 +02:00
Daniel
d4a1710220
Merge pull request #46163 from nextcloud/backport/45876/stable29
...
[stable29] fix: Avoid throwing errors for teams are unavailable
2024-07-06 14:40:40 +02:00
Daniel Kesselberg
a4bf0f69be
feat: log file id and path when extracting the mp3 cover fails
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
[skip ci]
2024-07-06 14:24:27 +02:00
Ferdinand Thiessen
57c889f773
fix(IntegrityCheck): Ensure the check is run if no results are available
...
If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-05 12:32:39 +02:00
Daniel Kesselberg
4342617dd9
fix(preview): don't create folder structure when previews are disabled
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-02 11:51:31 +02:00
Louis Chemineau
1fb0cc25d2
fix(files_sharing): Store the expiration date relative to the server's timezone
...
This is needed as we want to store the difference between the server's and the user's timezones.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 22:23:26 +02:00
Julius Härtl
a3cec03f3a
fix: Avoid throwing errors for teams are unavailable
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-28 09:51:25 +02:00
Joas Schilling
17434538d4
fix(federation): Fix missing protocol on CloudID remote
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 13:00:43 +00:00
Louis
a0dc778e14
Merge pull request #45995 from nextcloud/backport/45580/stable29
...
[stable29] fix: avoid duplicate tag inserts by checking if the mapping exists already in db
2024-06-25 14:06:45 +02:00
Arthur Schiwon
4ccc5905b7
fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
...
The scope design requires scopes to be either not specified, or
specified explicitely. Therefore, when setting the
skip-password-validation scope for user authentication from mechanisms
like SAML, we also have to set the filesystem scope, otherwise they will
lack access to the filesystem.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-24 16:03:36 +02:00
Robin Appelman
36ba1d8825
fix: don't use custom certificate bundle if no customer certificates are configured
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-24 10:54:05 +00:00
Robin Appelman
bf8a73c539
fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 10:29:52 +00:00
yemkareems
c47432fe49
fix: removed unused variable and check if tag ids are empty before starting the inserts
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 05:31:55 +00:00
yemkareems
42551c558a
fix: filtering tags based on existing tags and doing a transaction around the select and insert
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 05:31:55 +00:00
yemkareems
6305de4d5a
fix: do a select in systemtag_object_mapping to see if tag exists already in db. if it does not exist alone insert the same or else do nothing
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 05:31:55 +00:00
Robin Appelman
523346e1ff
fix: set mimetype_version during upgrade to the old version
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:33:16 +02:00