Commit graph

1455 commits

Author SHA1 Message Date
provokateurin
80204297d3
fix(settings): Handle email change restriction separately from display name change restriction
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 08:49:40 +02:00
Joas Schilling
150ab15a83
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-04-02 13:48:18 +02:00
Max
b4f57d2fe6
chore(psalm): update baseline
Signed-off-by: Max <max@nextcloud.com>
2025-03-24 14:34:25 +01:00
Max
2e4bb5661f chore(psalm): update baseline
Signed-off-by: Max <max@nextcloud.com>
2025-03-24 10:45:21 +01:00
Ferdinand Thiessen
92c48d0394
fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:58:09 +01:00
Stephan Orbaugh
d8040d7d7f
Merge pull request #51201 from nextcloud/backport/51194/stable29
[stable29] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:18 +01:00
Stephan Orbaugh
04ae493e0f
Merge pull request #51204 from nextcloud/backport/51000/stable29
[stable29] fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
2025-03-04 10:19:45 +01:00
John Molakvoæ
ed720978bc fix: psalm and OCP @since declarations
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-04 09:30:42 +01:00
provokateurin
3ca39e3d94
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:00:59 +01:00
provokateurin
7e8ffd332b
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:50:44 +01:00
nextcloud-command
03bdf82ae3 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:06 +00:00
Joas Schilling
cc8487cd03
ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 14:10:44 +01:00
Daniel Kesselberg
17948296c6 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 16:51:00 +01:00
Louis Chemineau
ab6d1982c5
test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2025-02-11 11:56:30 +01:00
Ferdinand Thiessen
44742d617f
fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen
34bb825f21
fix(provisioning_api): Correct limit for editUser
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen
c4cc3f2888
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-09 13:46:27 +01:00
Robin Appelman
804a0ec567 fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:39:28 +01:00
Ferdinand Thiessen
b94da13f6c
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 18:20:38 +01:00
Ferdinand Thiessen
3d5085343a
test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:46:07 +01:00
Ferdinand Thiessen
ea37f03f7d
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:46:07 +01:00
Richard Steinmetz
a3664877ab
fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:30:06 +01:00
Robin Appelman
1eb7f1e9a4
chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:49:23 +01:00
Robin Appelman
0dc754bb00 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-09 09:22:29 +01:00
provokateurin
f379188b21 fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:40:50 +00:00
nextcloud-command
5204363cd4 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:13 +00:00
nextcloud-command
c3b317aa48 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:37 +00:00
Daniel Kesselberg
8469e1a499
chore: update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:54:17 +01:00
Daniel Kesselberg
79c6cd9e01
ci: fail psalm when baseline update required
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 15:35:31 +01:00
Ferdinand Thiessen
9500984446
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 10:29:13 +01:00
Benjamin Gaussorgues
db1d71e322
Merge pull request #48473 from nextcloud/backport/47846/stable29 2024-10-30 10:07:37 +01:00
Joas Schilling
ff2f346579 build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 11:44:48 +00:00
provokateurin
21eb62c155 build: Print RTL limited characters in translation-checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 11:44:48 +00:00
Ferdinand Thiessen
eae69cb8bc
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 18:17:19 +02:00
Hamza Mahjoubi
6534e52ce3 fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-10-09 13:49:21 +02:00
nextcloud-command
41873e6fe5 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:57 +00:00
Joas Schilling
bf829042e0
ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-24 11:39:56 +02:00
Daniel Kesselberg
ec95891b9f chore: add .git-blame-ignore-revs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 11:56:00 +00:00
nextcloud-command
6ae8514b88 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-23 02:34:20 +00:00
nextcloud-command
12bb12df84 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:36:14 +00:00
John Molakvoæ
16abf05bfd
Merge pull request #47895 from nextcloud/backport/47339/stable29
[stable29] fix: Display 'Leave share' instead of 'Delete'
2024-09-15 22:14:34 +02:00
nextcloud-command
4fe6c26dda chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:36:17 +00:00
skjnldsv
b9ef97260d fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 13:55:06 +02:00
Louis Chemineau
987840592e fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:15:51 +00:00
Daniel Calviño Sánchez
5ed377e003 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 23:19:37 +02:00
Daniel Calviño Sánchez
f34daedd4c 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 23:19:37 +02:00
nextcloud-command
ff67662d42 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-07-19 02:25:35 +00:00
Arthur Schiwon
b983818cc1 ci(psalm): update baseline
prefer to keep this check as PublicEmitter should be dropped sooner or
later

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-11 07:29:09 +00:00
nextcloud-command
e3fae22a2a fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-07-03 02:19:46 +00:00
Ferdinand Thiessen
f38c416183
ci: Migrate CalDAV and CardDAV tests from drone to GitHub Actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:43:08 +02:00