aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Update lib/private/Profile/Actions/FediverseAction.phpFaraz Samapoor2023-07-131-1/+1
| | | | Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors lib/private/Profile.Faraz Samapoor2023-06-296-156/+58
| | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* Merge pull request #35915 from nextcloud/enh/noid/display-name-federated-sharesArthur Schiwon2023-06-291-4/+5
|\ | | | | display displayname on federated shares
| * displayname on federated sharesMaxence Lange2023-06-281-4/+5
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | feat: replace id3parser with mp3infoDaniel Kesselberg2023-06-281-11/+6
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #38613 from nextcloud/feat/35959/async-guzzle-requestsJoas Schilling2023-06-283-8/+365
|\ \ | | | | | | feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
| * | feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()Joas Schilling2023-06-273-8/+365
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpointJulius Härtl2023-06-286-34/+67
|\ \
| * | fix: cominbation of small fixesArthur Schiwon2023-06-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - possible null return - parameter name mismatch in implementation - incomplete unit test Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: include invisible tags for adminsArthur Schiwon2023-06-213-43/+43
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | feat: add searchBySystemTag as PHP APIArthur Schiwon2023-06-211-0/+4
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: favorites view and universal search against tagsArthur Schiwon2023-06-211-17/+30
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | fix: change if with conditionless else to switch; and a parameter valueArthur Schiwon2023-06-212-20/+25
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | use efficient tag retrieval on DAV report requestArthur Schiwon2023-06-213-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - uses DAV search approach against valid files joined by systemtag selector - reduced table join for tag/systemtag search - supports pagination - no changes to the output formats or similar Example request body: <?xml version="1.0"?> <oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns"> <d:prop> <d:getcontentlength/> <d:getcontenttype/> <d:getetag/> <d:getlastmodified/> <d:resourcetype/> <nc:face-detections/> <nc:file-metadata-size/> <nc:has-preview/> <nc:realpath/> <oc:favorite/> <oc:fileid/> <oc:permissions/> <nc:nbItems/> </d:prop> <oc:filter-rules> <oc:systemtag>32</oc:systemtag> </oc:filter-rules> <d:limit> <d:nresults>50</d:nresults> <nc:firstresult>0</nc:firstresult> </d:limit> </oc:filter-files> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | 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