Commit Graph

1493 Commits (6964531134bcaea659bb4455d094fdfddefb70c7)

Author SHA1 Message Date
Andy Scherzinger 6964531134
Merge pull request #50704 from nextcloud/backport/50660/stable30
[stable30] fix: make sure we process mime extensions as string
2025-02-13 16:42:50 +07:00
Ferdinand Thiessen 422655bf1e
fix(provisioning_api): Correct limit for `editUser`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:42:23 +07:00
Ferdinand Thiessen 96384cd950
fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +07:00
skjnldsv 80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +07:00
Robin Appelman 5d094feee0
fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:04 +07:00
Ferdinand Thiessen f9bd0ed462
fix(sharing): Ensure download restrictions are not dropped
When a user receives a share with share-permissions but also with
download restrictions (hide download or the modern download permission attribute),
then re-shares of that share must always also include those restrictions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 16:22:11 +07:00
Ferdinand Thiessen 922b12452c
test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +07:00
Ferdinand Thiessen ee5f5bc159
fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +07:00
Ferdinand Thiessen 87b1f41e0d
chore(deps): Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-30 00:53:59 +07:00
Andy Scherzinger 6a4f14bb29
Merge pull request #50316 from nextcloud/chore/stable30-doctrine
[stable30] chore(3rdParty): Bump doctrine/dbal from 3.9.1 to 3.9.4
2025-01-26 18:52:41 +07:00
Richard Steinmetz 8fb04cd4d5
fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:29:07 +07:00
Ferdinand Thiessen 598589e617
chore: Update psalm baseline
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 16:16:48 +07:00
Robin Appelman 910d25ed5e
chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:49:37 +07:00
Robin Appelman c6e68988d2 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-07 09:26:05 +07:00
provokateurin 8b322ff12c fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:41:45 +07:00
Joas Schilling b9493cc12d fix(logger): Prevent infinite recursion with log.condition => matches
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-03 11:12:48 +07:00
nextcloud-command 821c4bfe1a fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:11 +07:00
Louis Chemineau d3274bc6d2
test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2024-11-28 13:03:52 +07:00
nextcloud-command dbd6456c1f fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:26 +07:00
skjnldsv bf728f9d51 fix(dav): file request guest nickname encoding
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-13 09:05:17 +07:00
Benjamin Gaussorgues 8af1e9f82d
Merge pull request #48474 from nextcloud/backport/47846/stable30 2024-10-30 09:29:20 +07:00
Ferdinand Thiessen b0ddaaddc0
fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 00:02:45 +07:00
Joas Schilling 99eb553a33 build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 11:43:37 +07:00
provokateurin 18397178db build: Print RTL limited characters in translation-checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 11:43:37 +07:00
Joas Schilling d1d30e0be7
ci: Update psalm-baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-21 11:28:52 +07:00
Ferdinand Thiessen b79d2b7041
fix(dav): Public WebDAV endpoint should allow `GET` requests
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 17:40:50 +07:00
Hamza Mahjoubi ba9787088a fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:04 +07:00
nextcloud-command 5fe0688f0b fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:58 +07:00
Joas Schilling bff5d572af ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 09:29:46 +07:00
Daniel Kesselberg 1237c1cfe0
chore: add .git-blame-ignore-revs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 11:44:22 +07:00
nextcloud-command 9c7eda4dc3 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-20 02:33:32 +07:00
nextcloud-command 2d633fc014 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:36:54 +07:00
Andy Scherzinger d598598420
Merge pull request #47894 from nextcloud/backport/47339/stable30
[stable30] fix: Display 'Leave share' instead of 'Delete'
2024-09-15 21:29:34 +07:00
nextcloud-command b6becb3d69 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:36:57 +07:00
skjnldsv 338e045141 fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 11:48:25 +07:00
Louis Chemineau 23b77dc7ec fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:17:10 +07:00
Daniel Calviño Sánchez 61b64b109c fix: Fix unmodified placeholder replacing the actual value when updating
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +07:00
Daniel Calviño Sánchez 9a8beb417e test: Add integration tests for saving external userglobal storages
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +07:00
provokateurin 863679f499
fix(test): Fix provisioning enabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 09:43:37 +07:00
Joas Schilling 08eb488e69 fix(CI): Add a check that all server apps are translated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 20:54:35 +07:00
Joas Schilling 5a55410083
chore(branchoff): Test against stable30 branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 13:53:22 +07:00
Ferdinand Thiessen 4bbcbc5206
feat: Make `ISharedStorage` public API and reuse where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-12 11:42:10 +07:00
Ferdinand Thiessen cb1b366baf
fix(dav): Ensure share properties are also set on public remote endpoint
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-12 11:28:03 +07:00
nextcloud-command d2338abe8a chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-07 02:29:23 +07:00
nextcloud-command 1cc0e753fa chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-03 02:31:40 +07:00
Julius Härtl a6d421e767
chore: Remove deprecated legacy search backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-01 12:33:18 +07:00
nextcloud-command 2d8f0b0559 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-01 02:31:50 +07:00
Andy Scherzinger 13d2b67674
Merge pull request #46834 from withbest/master
chore: fix some comments
2024-07-29 11:37:57 +07:00
withbest dd08f93202 chore: fix some comments
Signed-off-by: withbest <seekseat@outlook.com>
2024-07-29 14:43:27 +07:00
provokateurin a94249d1d5
build(psalm): Enforce named attribute arguments
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:36:18 +07:00