Commit graph

2561 commits

Author SHA1 Message Date
Anna Larch
7e3082cb46 fix(caldav): don't return cancelled events for upcoming events API
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-07-28 11:20:11 +02:00
Kate
aca5361e86
Merge pull request #53944 from nextcloud/chore/too-many-arguments 2025-07-28 10:49:52 +02:00
provokateurin
5bd626bd40
chore: Fix all method calls with too many arguments
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-22 12:34:49 +02:00
Daniel Kesselberg
68b9493a51 fix(federation): respect sharing.federation.allowSelfSignedCertificates for address book sync
The configuration option, to accept self-signed certificates, is now also used when syncing address books.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-16 12:36:45 +02:00
John Molakvoæ
2b50d9b2c5
Revert "perf(base): Stop setting up the FS for every basic auth request" 2025-07-11 17:07:44 +02:00
John Molakvoæ
6f0255d82a
Merge pull request #53141 from nextcloud/perf/files/setup-fs-basic-auth-request 2025-07-11 15:25:10 +02:00
Kate
034246a1a9
Merge pull request #53893 from nextcloud/fix/cleanup-loadapp-calls 2025-07-10 15:06:05 +02:00
Côme Chilliet
7127ac4b43
fix: Replace OC_App::loadApp calls by IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-10 11:40:27 +02:00
Daniel Kesselberg
0f4b5e6656
Revert "fix(dav): only consider user's principal for unsharing entries"
This reverts commit 023b98c44b.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-09 16:06:12 +02:00
provokateurin
689a853dc6
fix(dav): Initialize the FS for the user right after authenticating
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-08 11:38:58 +02:00
Daniel Kesselberg
209ad4e780
fix(imip): set charset for imip attachment
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-06 20:06:44 +02:00
Joas Schilling
d67396f1b3
Merge pull request #53418 from nextcloud/fix/timedjob-execution-time
Fix TimedJob execution time to allow job execution exactly when scheduled
2025-07-03 14:16:56 +02:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

# Conflicts:
#	apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +02:00
Salvatore Martire
125696bfbc fix: delete UserStatusAutomation when user is deleted
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-07-01 15:15:53 +02:00
Salvatore Martire
e4183236ed fix: adjust setTimeout value for ClearOldStatusesBackgroundJob
These jobs that were setting their interval to 0 were not really running
at every run of cron.php if the run was in the same second. To keep the
same behaior, I am updating those intervals to 1 second.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-07-01 15:15:53 +02:00
John Molakvoæ
bd00b75b29
Merge pull request #53671 from nextcloud/fix/read-only-share-download 2025-07-01 15:11:06 +02:00
Kate
768e99eb36
Merge pull request #52976 from nextcloud/perf/realpath-custom-prop 2025-07-01 13:54:51 +02:00
Julius Knorr
82e299401e perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-06-27 20:42:07 +02:00
Salvatore Martire
8167b07118 feat(files): automatically create directories on upload
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-26 15:08:11 +02:00
skjnldsv
9806a9830c feat(files_sharing): allow viewing files with download disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-26 11:47:53 +02:00
Maxence Lange
58c089e6f4 fix(dav): catch exception on non local account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-25 14:35:02 +02:00
Joas Schilling
5f784d8695
fix(caldav): Use parameter for query to neutralize it in query diffs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-20 16:24:24 +02:00
Richard Steinmetz
960b3ec0eb refactor(dav): move shared logic to a dedicated example contact service
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-19 23:46:00 +02:00
Daniel Kesselberg
8b66f3518e
fix: hide guests group when searching for principals
Follow-up for https://github.com/nextcloud/server/pull/52914

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 11:19:23 +02:00
Richard Steinmetz
84c2e2a5ce
fix: enable example contact feature by default
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-16 11:59:34 +02:00
Richard Steinmetz
b640c161ae
fix: harmonize design of default content settings section
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-16 11:59:34 +02:00
Richard Steinmetz
4a6909ffef
feat: create example event when a user logs in for the first time
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-16 11:49:20 +02:00
Daniel Kesselberg
1ac85a3298 fix: use correct format for getlastmodified webdav property
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-10 13:15:31 +02:00
Hamza Mahjoubi
ed1bfe709e fix(imip): dont compare events for the reply message
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-06-05 12:31:13 +02:00
skjnldsv
e41e8de0e2 fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 09:09:17 +02:00
Richard Steinmetz
3b1947086c
docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-04 15:08:45 +02:00
Maksim Sukharev
e2265ff245 feat: link upcoming event to calendar app modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-03 09:25:11 +02:00
Thomas Citharel
9252e2689b refactor(dav): remove unused CalDAVBackend method
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-06-01 22:41:33 +02:00
Daniel
daa9852722
Merge pull request #52215 from nextcloud/perf/carddav/dont-query-circles
perf(carddav): don't query circle memberships
2025-06-01 19:57:13 +02:00
Richard Steinmetz
696d76f976 fix(caldav): use direct.edit route in event activities
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-01 14:05:36 +02:00
Robin Appelman
35930a4331
Merge pull request #53145 from nextcloud/dav-file-write-log
fix: log error when writing stream to dav file
2025-05-30 14:46:16 +02:00
Robin Appelman
b9b8db6176 fix: log error when writing stream to dav file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-30 13:16:46 +02:00
Daniel Kesselberg
27d042a1bb
docs(caldav): update documentation for calendar search
Remove the documentation from the implementaitons.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-28 15:23:52 +02:00
Joas Schilling
9978dcfd61
fix(DAV): Check if the header is actually the expected format
Not sure how the test ever passed as it can only
throw with strict types which are not yet enabled

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-28 09:25:47 +02:00
Daniel Kesselberg
5876653677 fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 15:24:32 +02:00
Louis
a48bc55e2a
Merge pull request #52810 from nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php 2025-05-22 10:30:16 +02:00
Louis Chemineau
009d0c550c
fix: Move CSRF check from base to PublicAuth for public.php
This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment.

Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF.  So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin.

We also add a redirect to be helpful to the user.

**Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view.

Fix #52482

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-21 16:01:36 +02:00
Richard Steinmetz
9a74d9a1a5
fix(caldav): don't send invitations to circles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-05-21 13:28:57 +02:00
Julius Knorr
24f3b15acc
perf: Skip photos app related property in custom properties
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-05-20 11:56:26 +02:00
Christoph Wurst
80b21cdc6e
Merge pull request #52879 from nextcloud/bug/noid/clear-dav-photo-cache
Add command to clear dav's photo cache
2025-05-19 18:10:07 +02:00
Ferdinand Thiessen
e2a331f53d
Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementation
chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
2025-05-17 12:01:44 +02:00
Ferdinand Thiessen
e693a5d4a5
fix(dav): correctly handle uploading folders with same name as a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 14:38:41 +02:00
Ferdinand Thiessen
3d113ab6cc
refactor(dav): use Node API instead of private files view for filedrop plugin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 14:37:30 +02:00
Ferdinand Thiessen
01db539d0a
chore: move streamCopy implementation from OC_Helper to OCP\Files
The function was already there but called the legacy version.
So moved the implementation and migrated all usages of it.
Sadly the interface was slightly different so adjusted it to be
compatible with both legacy and the OCP one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 13:03:05 +02:00
Richard Steinmetz
3699eed678
Merge pull request #52708 from nextcloud/fix/dav/update-rooms-resources-background-job
fix(dav): add repair step to queue job to update rooms and resources
2025-05-16 12:39:51 +02:00