Commit graph

68643 commits

Author SHA1 Message Date
Nextcloud bot
cb307e0098
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 00:28:06 +00:00
Maxence Lange
b06bff7922
Merge pull request #40586 from nextcloud/backport/39574/39574-stable27
[stable27] ocm services
2023-09-23 14:08:05 -01:00
Nextcloud bot
6d8cbd5ede
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:28:10 +00:00
Maxence Lange
0fac750bcd ocm services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-22 17:26:02 -01:00
Nextcloud bot
0acad69840
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:13 +00:00
Arthur Schiwon
f08d781836
Merge pull request #40525 from nextcloud/release/27.1.1
27.1.1
2023-09-21 11:00:49 +02:00
Arthur Schiwon
21f8cc8847
Merge pull request #40379 from nextcloud/backport/38808/stable27
[stable27] Fix issues where unencrypted_size was being falsely used for non-encrypted home folders
2023-09-21 10:55:43 +02:00
Arthur Schiwon
01ddd29a6c
Merge pull request #40535 from nextcloud/manual/backport/stable27/40533
[stable27] Auto set password for new email shares
2023-09-21 10:53:24 +02:00
fenn-cs
236ee6c578 Auto set password for new email shares
Suggest auto generated password for new public share (mail share).

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-21 08:16:48 +01:00
Nextcloud bot
9dd84be4e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 00:29:35 +00:00
Arthur Schiwon
260b41c6b7
Merge pull request #40530 from nextcloud/manual/backport/stable27/40500
[stable27] Consider share type for enforced share expiry dates
2023-09-20 20:48:09 +02:00
fenn-cs
cf2b9e8353 Consider share type for enforced share expiry dates
We have three kind of share expiry date enforcements.

- `isDefaultExpireDateEnforced`
- `isDefaultInternalExpireDateEnforced`
- `isDefaultRemoteExpireDateEnforced`

Before these commit, `isExpiryDateEnforced` that is used to
disable/enable the set expiry date checkbox does not take those into consideration
which is problematic as those have different applications.

In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for
expiry date that shows up before the creation of link shares.

Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is
not used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 15:18:44 +00:00
Richard Steinmetz
c5377c572b
Merge pull request #40520 from nextcloud/fix/guest-pages-contentinfo-stable27 2023-09-20 16:36:26 +02:00
F. E Noel Nfebe
bee84a5733
Merge pull request #40429 from nextcloud/manual/backport/stable27/commit-in/40389
[stable27] Fix alignments for share different share entry types.
2023-09-20 15:14:42 +01:00
fenn-cs
4755a47f84 Properly align all sharing-entry types
SharingEntryLink and regular ShareEntry were not properly visually aligned
before this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 10:19:55 +00:00
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
Richard Steinmetz
664f2aa807
fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-20 09:27:53 +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