aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #39020 from fsamapoor/refactor_lib_private_mailPytal2023-06-272-0/+24
|\
| * Adds same object return annotations.Faraz Samapoor2023-06-272-0/+24
| | | | | | | | | | | | | | Based on: https://github.com/nextcloud/server/pull/38987#discussion_r1241866676 Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Merge pull request #38990 from fsamapoor/refactor_lib_private_calendarChristoph Wurst2023-06-274-99/+69
|\ \ | |/ |/| Refactor lib/private/Calendar
| * Refactors lib/private/Calendar.Faraz Samapoor2023-06-254-99/+69
| | | | | | | | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Merge pull request #38881 from nextcloud/fix/logcondition-userCôme Chilliet2023-06-261-8/+12
|\ \ | | | | | | Fix user log.condition feature
| * | Fix user log.condition featureCôme Chilliet2023-06-261-8/+12
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #38858 from nextcloud/scanner-performance3Robin Appelman2023-06-262-14/+10
|\ \ \ | | | | | | | | file scanner performance improvements
| * | | file scanner performance improvementsRobin Appelman2023-06-162-14/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #38679 from nextcloud/feat/add-spec-to-preview-fetched-eventDaniel2023-06-261-2/+6
|\ \ \ \ | | | | | | | | | | feat: add width, height, crop and mode to BeforePreviewFetchedEvent
| * | | | feat: add width, height, crop and mode to BeforePreviewFetchedEventDaniel Kesselberg2023-06-231-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user_usage_report keeps a counter for files read. The app uses - OC_Filesystem::read hook - Event listener (the legacy one) for IPreview::EVENT Request for previews do not trigger the hook, hence the additional event listener. The thumbnails for a list or grid view should not count, so we need the width and height. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #38958 from nextcloud/enh/noid/use-getsystemvalue-mailerSimon L2023-06-261-4/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | use getsystemvalue-functions in Mailer.php
| * | | | use getsystemvalue-functions in Mailer.phpSimon L2023-06-231-4/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | Merge pull request #38987 from fsamapoor/refactor_lib_private_mailF. E Noel Nfebe2023-06-254-168/+89
|\ \ \ \ | | | | | | | | | | Refactors lib/private/Mail.
| * | | | Refactors lib/private/Mail.Faraz Samapoor2023-06-254-168/+89
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* / | | Refactors lib/private/Contacts.Faraz Samapoor2023-06-258-121/+45
|/ / / | | | | | | | | | | | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | | Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-typeArthur Schiwon2023-06-246-41/+40
|\ \ \ | | | | | | | | fix: expect interface, not a specific implementation
| * | | ci: pro forma check of existence of internal methodArthur Schiwon2023-06-211-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | createNode() is protected and used by Folder, but being an internal-only method it shall not be exposed in the Folder or IRootFolder interface. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | refactor: declare getMount() and getMountsIn() at IRootFolderArthur Schiwon2023-06-214-23/+11
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | chore: ugly type jugglingArthur Schiwon2023-06-215-20/+32
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | fix: add typehine for IRootFolderArthur Schiwon2023-06-211-7/+5
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | fix: expect interface, not a specific implementationArthur Schiwon2023-06-211-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - fixes a regression when deleting folders while music app was enabled, for a LazyRoot was passed to this method. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | dav: clean path before putting it in the statcacheRobin Appelman2023-06-231-0/+1
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #38945 from nextcloud/dav-meta-directory-contentRobin Appelman2023-06-221-96/+125
|\ \ \ | | | | | | | | implement optimized getDirectoryContent for DAV
| * | | implement optimized getDirectoryContent for DAVRobin Appelman2023-06-221-96/+125
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / fix(l10n): Fix plural issue with different locale and languageJoas Schilling2023-06-211-1/+6
|/ / | | | | | | | | | | | | | | | | | | We need to use the language code here instead of the locale, because Symfony does not distinguish between the two and would otherwise e.g. with locale "Czech" and language "German" try to pick a non-existing plural rule, because Czech has 4 plural forms and German only 2. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Throw if creation date is read before inserting into databaseCôme Chilliet2023-06-202-2/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Cleanup comments codeCarl Schwan2023-06-202-159/+76
| | | | | | | | | | | | | | - Fix various psalm issues - Add as much typing as possible while preserving stable API Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | use source cache when listing folder during recursive copyRobin Appelman2023-06-191-5/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* emit an event when a message is loggedRobin Appelman2023-06-133-1/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #38745 from nextcloud/feature/ocs-xml-stdclassKate2023-06-131-0/+4
|\ | | | | Allow stdClass in XML responses
| * Allow stdClass in XML responsesjld31032023-06-131-0/+4
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | Fix deprecated method callDominik Fuchß2023-06-131-1/+2
| | | | | | | | Signed-off-by: Dominik Fuchß <develop@fuchss.org>
* | Changes after code review.Dominik Fuchß2023-06-131-2/+7
| | | | | | | | Signed-off-by: Dominik Fuchß <develop@fuchss.org>
* | Add config variable for curl timeoutDominik Fuchß2023-06-131-2/+6
|/ | | | | | Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation. Signed-off-by: Dominik Fuchß <develop@fuchss.org>
* fix(caching): Avoid checking existence before fetchingChristoph Wurst2023-06-121-2/+3
| | | | | | | | The cache might expire between checking for key existence and fetching the value. In this rare case the code continues with a null value when it doesn't expect one. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38226 from nextcloud/file-object-utilsRobin Appelman2023-06-091-1/+5
|\ | | | | add utility command for object store objects
| * add utility command for object store objectsRobin Appelman2023-06-091-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | avoid requests to opengraph image if no host detectedJulien Veyssier2023-06-091-16/+21
|/ | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(apache): Serve `mjs` (module javascript) as static filesFerdinand Thiessen2023-06-071-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* shorten oauth2 client names before resizing the columnJulien Veyssier2023-06-061-0/+21
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* drop the oauth2_clients trusted column, delete unsupported clients and their ↵Julien Veyssier2023-06-061-0/+34
| | | | | | access tokens Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* chore: Drop dead private methods in /libChristoph Wurst2023-06-064-43/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38322 from nextcloud/bugfix/noid/throw-early-app-containerJulius Härtl2023-06-061-2/+4
|\
| * fix: Throw early when a service cannot be found in the app containerJulius Härtl2023-05-161-2/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #38478 from nextcloud/backport/38440/masterSimon L2023-06-051-2/+2
|\ \ | | | | | | [master] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones
| * | fix: execute throws docrine exceptions not our wrapped onesJulius Härtl2023-05-261-2/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-keyArthur Schiwon2023-06-051-2/+0
|\ \ \ | | | | | | | | chore(app): Do not clear unused cache key
| * | | chore(app): Do not clear unused cache keyChristoph Wurst2023-05-301-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | refactor: migrate OC_EventSource to dependency injectionDaniel Kesselberg2023-06-033-12/+60
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #38545 from ↵Joas Schilling2023-06-021-2/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/symfony/event-dispatcher-upgrade-preparation fix(dispatcher): Migrate to OCP event dispatcher before symfony/event…