Commit graph

68625 commits

Author SHA1 Message Date
Arthur Schiwon
29ff8a5cfc
27.1.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-20 11:52:54 +02:00
Joas Schilling
fe4d002d1f
Merge pull request #40506 from nextcloud/backport/40488/stable27
[stable27] fix(comments): Use provided offset in best effort when loading comments
2023-09-20 10:23:47 +02:00
Robin Appelman
2be08904ed
Merge pull request #40487 from nextcloud/backport/40183/stable27
[stable27] SFTP improvements
2023-09-20 10:08:02 +02:00
Nextcloud bot
1fe62e1862
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:42 +00:00
Robin Appelman
e15d999911 use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 16:21:42 +02:00
Robin Appelman
bd1dadd690 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 16:20:59 +02:00
Robin Appelman
0a5ebef425 improve s3 error handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 15:52:14 +02:00
Joas Schilling
9cf4e38c4b fix(comments): Use provided offset in best effort when loading comments
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-19 13:47:51 +00:00
Nextcloud bot
13c5dde076
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:24:07 +00:00
Robin Appelman
656fd512b5 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:44 +00:00
Robin Appelman
b48f118b65 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
e9227c29a9 add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
373bd09fbf implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
02a50bd99c more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
6ab32b00ee sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman
0a219b1dc0 fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Robin Appelman
70658918d9 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Daniel
42ed302c01
Merge pull request #40433 from nextcloud/backport/40416/stable27 2023-09-18 17:59:06 +02:00
Daniel Kesselberg
efb01db387 fix: use faster method to fetch user count
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-18 14:09:01 +02:00
Daniel
e2cfe1deb2
Merge pull request #40444 from nextcloud/backport/40418/stable27 2023-09-18 14:08:30 +02:00
Robin Appelman
2fad5233a2
Merge pull request #40473 from nextcloud/backport/39860/stable27
[stable27] don't preload metadata for the sub-childen
2023-09-18 13:53:18 +02:00
Louis
5a22eb7016
Merge pull request #40448 from nextcloud/manual/backport/stable27/40440
[stable27] Backport consider link shares in removeShare method in SharingTab #40440
2023-09-18 12:37:47 +02:00
Robin Appelman
e14858007d only triger metadata preload logic when at least one metadata is requested
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:06 +00:00
Robin Appelman
9b3d8f334b don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:05 +00:00
fenn-cs
65ff60a69b Consider link shares in removeShare method in SharingTab
Currently, the `removeShare` method in the `SharingTab` view,
does not take into account `linkShares`.

Since link shares now shares thesame detail view with other share types,
it should therefore be considered hence this commit.

Resolves : https://github.com/nextcloud/server/issues/40396

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 08:35:30 +00:00
Nextcloud bot
eaaa3521e5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:57 +00:00
Simon L
91a7538bec
Merge pull request #40461 from nextcloud/backport/40203/stable27
[stable27] fix(mimetype): Fix aborted transaction on PostgreSQL when storing mimetype
2023-09-17 17:18:45 +02:00
Nextcloud bot
8045a6dd22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 00:27:11 +00:00
Lucas Azevedo
cfae699d6e Wrap mimetype insert and getLastInsertId in a transaction
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:27 +00:00
Lucas Azevedo
f0a1716bb5 fix(mimetype): Remove unnecessary transaction when storing a mime type
Fixes #40064.

This could be fixed by adding a rollback and starting a new transaction
before the SELECT query, but in this case that would have the same
effect as not using one.
See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:26 +00:00
Nextcloud bot
5139643a63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 00:27:38 +00:00
Daniel Kesselberg
562c47223a fix: don't use davtags for tag search
1. https://github.com/nextcloud/server/pull/26813 Initial implementation with support for systemtags and davtags (vcategory)
2. https://github.com/nextcloud/server/pull/39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags

Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-15 17:36:38 +00:00
Arthur Schiwon
4ff639eb51
Merge pull request #40432 from nextcloud/release/27.1.0
27.1.0
2023-09-15 16:26:54 +02:00
Arthur Schiwon
ed20a907a4
Merge pull request #40437 from nextcloud/backport/40434/stable27
[stable27] Correctly switch/revert from custom to bundled perms
2023-09-15 16:26:10 +02:00
fenn-cs
481f5bba81 Correctly switch/revert from custom to bundled perms
We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

Resolves : https://github.com/nextcloud/server/issues/40431

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 13:48:54 +00:00
Arthur Schiwon
d5185f0d30
27.1.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-15 11:54:52 +02:00
Nextcloud bot
5a9df6c168
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:46 +00:00
Arthur Schiwon
0155f05987
Merge pull request #40399 from nextcloud/release/27.1.0_rc4
27.1.0 RC4
2023-09-14 19:04:37 +02:00
Arthur Schiwon
df42e781df
Merge pull request #40417 from nextcloud/artonge/bump/nextcloud_dialogs_4_2_0
[stable27] Bump @nc/dialogs to 4.2.0
2023-09-14 14:30:46 +02:00
Andy Scherzinger
1ac6c923b4
Merge pull request #40415 from nextcloud/artonge/backport/stable27/40389
[stable27] Fix invite guest for new sharing flow
2023-09-14 14:23:08 +02:00
Andy Scherzinger
87b7c91108
Merge pull request #40414 from nextcloud/artonge/backport/stable27/40365
[stable27] Hide additional content when share details is open
2023-09-14 14:14:52 +02:00
Arthur Schiwon
6c232c511c
Merge pull request #40402 from nextcloud/backport/40301/stable27
[stable27] fix(caldav): add webroot to objectid for activities
2023-09-14 12:24:55 +02:00
Louis Chemineau
53bc5c9594 Bump @nc/dialogs to 4.2.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 12:14:21 +02:00
fenn-cs
15dd2e85e1 Fix invite guest for new sharing flow
Call external handlers such as the one in the guess app
https://github.com/nextcloud/guests/blob/master/src/main.js#L30
if present.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:04:16 +02:00
Louis Chemineau
fb76e03345 Hide additional content when share details is open
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:01:18 +02:00
Andy Scherzinger
4bbf010aeb
Merge pull request #40412 from nextcloud/manual/backport/stable27/40404
[stable27] Ellipsize user status in sharing entry
2023-09-14 11:57:39 +02:00
fenn-cs
cd795e6422 Ellipsize user status in sharing entry
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 11:37:18 +02:00
Andy Scherzinger
80dbe54eaf
Merge pull request #40405 from nextcloud/manual/backport/stable27/40393
[stable27] Display user status by the side in sharing flow
2023-09-14 11:25:06 +02:00
fenn-cs
eb9ba2e8ce Display user status by the side in sharing flow
The quick share drop down now takes the place where the user status
would show in the past, so we have the option of removing it (as it's available
in the profile dropdown) or putting it at the side as such.

It's put on the side without the icon, as the status icon appears on the avatar
when set.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-14 08:47:46 +02:00
Nextcloud bot
582c34e605
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:27:03 +00:00