aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactors lib/private/Log.Faraz Samapoor2023-06-2810-149/+77
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* 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>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-274-12/+34
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | 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-262-6/+47
|\ \ \ \ | | | | | | | | | | feat: add width, height, crop and mode to BeforePreviewFetchedEvent
| * | | | feat: add width, height, crop and mode to BeforePreviewFetchedEventDaniel Kesselberg2023-06-232-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-266-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | 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>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-246-314/+324
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-typeArthur Schiwon2023-06-247-41/+53
|\ \ \ | | | | | | | | 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-215-23/+24
| | | | | | | | | | | | | | | | 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>
* | Improve typing in ICommentsManagerCarl Schwan2023-06-201-4/+2
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Cleanup comments codeCarl Schwan2023-06-203-164/+83
| | | | | | | | | | | | | | - 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>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-182-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-176-12/+14
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #38843 from nextcloud/message-log-event-typeRobin Appelman2023-06-161-3/+6
|\ \ | |/ |/| fix type in BeforeMessageLoggedEvent
| * fix type in BeforeMessageLoggedEventRobin Appelman2023-06-151-3/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-162-8/+8
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-154-54/+54
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #38490 from nextcloud/log-dispatch-eventRobin Appelman2023-06-146-1/+114
|\ | | | | emit an event when a message is logged
| * emit an event when a message is loggedRobin Appelman2023-06-136-1/+114
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-144-2/+4
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* 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(l10n): Update translations from TransifexNextcloud bot2023-06-134-12/+14
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #38642 from ↵Simon L2023-06-121-18/+1
|\ | | | | | | | | nextcloud/chore/appframework/drop-emptycontentsecuritypolicy-allowinlinescript chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
| * chore(appframework)!: Drop ↵Christoph Wurst2023-06-121-18/+1
| | | | | | | | | | | | \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>