Commit graph

14379 commits

Author SHA1 Message Date
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
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
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
Robin Appelman
d3d2488fbb feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:22:49 +02:00
Robin Appelman
0a5983ba9a fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 11:20:42 +02:00
Robin Appelman
3e56c3d681 feat: add option to disable scanner transactions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 12:02:53 +00:00
Robin Appelman
d1aac3292a fix: get child ids for folder in a separate query during move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-13 09:46:42 +00:00
Josh
fcdf453b58 fix(ObjectStore): handle empty S3 hostname
Fixes #45637

The support for s3-accelerate added in #44496 introduced a regression in AWS S3 environments when `hostname` is blank (which is a valid configuration w/ AWS since the hostname gets auto-generated).

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-13 09:37:03 +02:00
Arthur Schiwon
3a17ec6db7
Merge pull request #45809 from nextcloud/fix/noid/fix-new-token-scope-name
[stable29] fix(Token): make new scope future compatible
2024-06-12 19:01:49 +02:00
Arthur Schiwon
fc584b7874
fix(Token): make new scope future compatible
- "password-unconfirmable" is the effective name for 30, but a draft
  name was backported.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-12 11:05:43 +02:00
Louis Chemineau
b7cd197315 fix(files): Use isRetryable to catch retryable exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-12 08:15:08 +00:00
Arthur Schiwon
f0494ec17a fix(Session): avoid password confirmation on SSO
SSO backends like SAML and OIDC tried a trick to suppress password
confirmations as they are not possible by design. At least for SAML it was
not reliable when existing user backends where used as user repositories.

Now we are setting a special scope with the token, and also make sure that
the scope is taken over when tokens are regenerated.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-11 20:19:18 +02:00
Ferdinand Thiessen
29ab5d2f52 fix(Mailer): Allow to enforce strict email format
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-07 17:16:21 +02:00
John Molakvoæ
3c392c0913
Merge pull request #45379 from nextcloud/backport/45374/stable29 2024-06-07 12:06:44 +02:00
John Molakvoæ
a0ede5744b
Merge pull request #45476 from nextcloud/backport/45459/stable29 2024-06-07 12:02:30 +02:00
John Molakvoæ
620669d571
Merge pull request #45590 from nextcloud/backport/45413/stable29 2024-06-07 11:59:55 +02:00
Sam Bull
ccfdc97093 fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
2024-06-07 11:03:47 +02:00
John Molakvoæ
8ed2df80c2
Merge pull request #44988 from nextcloud/backport/44973/stable29 2024-06-07 11:03:00 +02:00
John Molakvoæ
6c27d57e0d
Merge pull request #44894 from nextcloud/backport/44644/stable29 2024-06-07 11:01:38 +02:00
Christoph Wurst
ce339b327f fix(auth): Update authtoken activity selectively
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-06 14:39:46 +02:00
Julius Härtl
c647f89296 fix: Always set last activity if we update the row of an authtoken anyways
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-06 14:39:46 +02:00
Kate
f530773f24
Merge pull request #45645 from nextcloud/backport/45455/stable29 2024-06-06 12:52:03 +02:00
Joas Schilling
6ea06e1b11
Merge pull request #45602 from nextcloud/backport/44670/stable29
[stable29] fix(session): Do not update authtoken last_check for passwordless
2024-06-06 12:34:47 +02:00
Christoph Wurst
8f9a0f8fdc fix(session): Do not update authtoken last_check for passwordless
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-03 22:54:50 +02:00
provokateurin
3d2b63c057 fix(NavigationManager): Make entry order always an integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-06-03 15:12:32 +00:00
Anna Larch
ec94f5499c fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 11:10:03 +00:00
F. E Noel Nfebe
806e390d14
Merge pull request #45483 from nextcloud/backport/44485/stable29
[stable29] Respect empty `expiryDate` value in server
2024-05-31 13:12:09 +01:00
Git'Fellow
eec6816d49 Try create folder first and check if it exists after
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-30 18:29:20 +00:00
Git'Fellow
75883cb4d9 fix(files): Try to create dir only if it not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-05-30 18:29:20 +00:00
fenn-cs
054722361e refactor(shareManager): Use constructor property promotion
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:58:37 +01:00
fenn-cs
5dbb96fc8a fix(shareManager): Respect empty expireDate in server
If `expireDate` is an empty string and not `null` then the server should not set a default.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-29 12:58:37 +01:00
Ferdinand Thiessen
1d269ad89d
Merge pull request #44959 from nextcloud/backport/44884/stable29
[stable29] feat: add request id as comment to all queries
2024-05-29 12:57:36 +02:00
Ferdinand Thiessen
b3341a17dc
Merge pull request #45158 from nextcloud/backport/45140/stable29
[stable29] fix: fix FileAccess::getByFileId(InStorage)
2024-05-29 10:27:19 +02:00
Git'Fellow
340db5c3d7
Merge pull request #45529 from nextcloud/backport/45014/stable29
[stable29] fix: forbid moving a folder into a subfolder of itself
2024-05-29 10:26:00 +02:00
Josh
ba654a6abd
Merge pull request #45522 from nextcloud/backport/45506/stable29
[stable29] fix(db): Log long transaction times at debug level
2024-05-28 17:41:53 -04:00
Josh
895c2cf6a3
Merge pull request #45443 from nextcloud/backport/45390/stable29
[stable29] fix: Mark more configs as sensitive
2024-05-28 17:39:35 -04:00
Josh
b7f4e20ffc fix(db): Log loong transaction times at debug level
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-28 17:09:19 -04:00
Josh
413526a688
Merge pull request #45215 from nextcloud/backport/45058/stable29
[stable29] perf(db): Sort data for IN before chunking
2024-05-28 17:04:56 -04:00
Christoph Wurst
e37dbaa9a7 fix(db): Prevent two connections for single node databases
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-05-28 09:45:18 +00:00
Côme Chilliet
a89c94f87f
Merge pull request #45477 from nextcloud/backport/45370/stable29
[stable29] feat: Add back searching in disabled user list
2024-05-27 18:31:31 +02:00
Maxence Lange
3f86f4e1ff feat(metadata): migrate to lazy appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-05-27 10:27:49 -04:00
Côme Chilliet
27e6f27b7c
fix: Also search in email field for disabled users
To match what is done for Database backend for enabled users

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 14:58:49 +02:00
Côme Chilliet
29e7294d9b
feat: Add back searching in disabled user list
When disabled users where moved to their own endpoint we overlooked
 search, so adding it back.
The search is done case-insensitive in uid and display name.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-27 14:58:43 +02:00
Robin Appelman
4a8eaaf21b fix: forbid moving a folder into a subfolder of itself
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-27 12:33:00 +00:00