aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* prevent recursion with log eventslog-event-recursionRobin Appelman2023-07-131-2/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Migrate federated file sharing to PSR LoggerInterfaceBenjamin Gaussorgues2023-07-071-4/+4
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-0619-42/+42
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38978 from fsamapoor/refactor_lib_private_accountsArthur Schiwon2023-07-055-144/+50
|\ | | | | Refactors lib/private/Accounts classes
| * Renames the property to improve the code readbility/clarity.Faraz Samapoor2023-07-051-2/+2
| | | | | | | | | | | | | | | | Based on: https://github.com/nextcloud/server/pull/38978#pullrequestreview-1514202944 Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Signed-off-by: Faraz Samapoor <fsa@adlas.at>
| * Fixes testcase errors.Faraz Samapoor2023-07-021-8/+9
| | | | | | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
| * Fixes Psalm error.Faraz Samapoor2023-07-011-4/+1
| | | | | | | | Signed-off-by: Faraz Samapoor <fsa@adlas.at>
| * Refactors lib/private/Accounts.Faraz Samapoor2023-07-015-138/+46
| | | | | | | | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | Merge pull request #38955 from nextcloud/bugfix/noid/dont-use-orJoas Schilling2023-07-051-1/+1
|\ \ | | | | | | fix(eventdispatcher): Don't use all evaluating "or"
| * | fix(eventdispatcher): Don't use all evaluating "or"Joas Schilling2023-06-231-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #39086 from ↵Arthur Schiwon2023-07-051-5/+7
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/migrate-admin_audit-to-IEventDispatcher feat(admin_audit): Migrate to non-deprecated IEventDispatcher
| * | | feat(admin_audit): Migrate to non-deprecated IEventDispatcherJoas Schilling2023-07-041-5/+7
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #39012 from fsamapoor/refactor_lib_private_security_part2Arthur Schiwon2023-07-059-180/+107
|\ \ \ \ | | | | | | | | | | [2/3] Refactors lib/private/Security
| * | | | Refactors lib/private/Security.Faraz Samapoor2023-06-269-180/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mainly using PHP8's constructor property promotion. Signed-off-by: Faraz Samapoor <fsa@adlas.at>
* | | | | Merge pull request #38910 from nextcloud/fix/nullish-trim-deprecation-warningJoas Schilling2023-07-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Cast string type for trim()
| * | | | | fixed quotesdartcafe2023-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dartcafe <github@dartcafe.de>
| * | | | | add type #38909dartcafe2023-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: dartcafe <github@dartcafe.de>
| * | | | | 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> Signed-off-by: dartcafe <github@dartcafe.de>
| * | | | | 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> Signed-off-by: dartcafe <github@dartcafe.de>
* | | | | | fix(sse): don't update uncached filesRichard Steinmetz2023-07-041-13/+21
| |_|/ / / |/| | | | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | | | Merge pull request #39089 from nextcloud/bugfix/39087/fix-2fa-event-namesJoas Schilling2023-07-033-3/+13
|\ \ \ \ \ | | | | | | | | | | | | Fix event names of 2FA related typed events
| * | | | | Fix event names of 2FA related typed eventsJoas Schilling2023-07-033-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #39057 from nextcloud/feat/ocp/type-icapabilitiesChristoph Wurst2023-07-031-2/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | feat(ocp): More specific type for ICapabilities::getCapabilities
| * | | | | feat(ocp): More specific type for ICapabilities::getCapabilitiesChristoph Wurst2023-07-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #34443 from nextcloud/feat/add-enabled-user-backendCôme Chilliet2023-07-031-9/+31
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add IProvideEnabledStateBackend interface
| * | | | | Fix since annotations and add boolean return type for setUserEnabledCôme Chilliet2023-06-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | Fix user tests, avoid setting enabled state to the same valueCôme Chilliet2023-05-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | Add user enabled state backend featureCôme Chilliet2023-05-231-9/+30
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | Silent imagecreatefromstring() errorsGit'Fellow2023-06-301-1/+1
| |_|_|_|/ |/| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | Add template types to responsesjld31032023-06-303-1/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | | 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>