summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #37776 from nextcloud/backport/37534/stable26Arthur Schiwon2023-06-131-7/+18
|\ \ \ \ | | | | | | | | | | [stable26] Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
| * | | | Update lib/private/Files/ObjectStore/S3.phpRsplwe2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Rsplwe <i@rsplwe.com>
| * | | | s3: get remaining truncation partRsplwe2023-04-171-7/+18
| | | | | | | | | | | | | | | Signed-off-by: Rsplwe <i@rsplwe.com>
| * | | | Adjust the value of 'maxparts' to 1000Rsplwe2023-04-171-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Rsplwe <i@rsplwe.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-134-12/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | allow to specify upgrade.cli-upgrade-link in order to link to the correct ↵Simon L2023-06-121-0/+2
| |/ / / |/| | | | | | | | | | | | | | | | | | | documentation Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-122-18/+20
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-114-8/+10
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-082-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | shorten oauth2 client names before resizing the columnJulien Veyssier2023-06-071-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-071-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | access tokens Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | Merge pull request #38479 from nextcloud/backport/38440/stable26Simon L2023-06-061-2/+2
|\ \ \ \ | | | | | | | | | | [stable26] 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>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-062-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-052-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-06-032-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #38517 from nextcloud/backport/38496/stable26Daniel2023-06-011-2/+13
|\ \ \ \ \ | | | | | | | | | | | | [stable26] fix: catch errors in id3parser library
| * | | | | fix: catch errors in id3parser libraryDaniel Kesselberg2023-05-301-2/+13
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use a forked version of getID3 to read embedded images from mp3 files to use them as previews. If the library is unable to extract a image or fails on something different we should handle it properly. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | redis: move lua scripts to class and add type hintsVarun Patil2023-05-311-29/+23
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | | | | redis: use atomic operations everywhereVarun Patil2023-05-311-26/+52
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes a lot of acrobatics in the code and does each operation atomically using a lua script. This also reduces several round trips to the server, and the scripts are compiled and cached server-side. Notably, since all operations work only on a single key (except clear, which is broken anyway and shouldn't be used), they will continue to function and be atomic for Redis cluster. Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-302-0/+60
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-282-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-27136-540/+8
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-264-0/+28
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-242-2/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-222-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-216-6/+12
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-204-4/+68
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-182-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #38091 from nextcloud/backport/35092/stable26Arthur Schiwon2023-05-171-2/+12
|\ \ | | | | | | [stable26] Check return value and improve error handling on certificate manager
| * | Fix conflictsGit'Fellow2023-05-041-1/+6
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | [BUGFIX] throw exception instead of error if unable to create file handler ↵Jan Messer2023-05-041-0/+4
| | | | | | | | | | | | | | | | | | (only exceptions are catch) Signed-off-by: Jan Messer <jan@mtec-studios.ch>
| * | [BUGFIX] check return value and improve error handlingJan Messer2023-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error. This commit improves the handling in CertificateManager and log unexpected behaviors. Signed-off-by: Jan Messer <jan@mtec-studios.ch>
* | | Merge pull request #38307 from nextcloud/backport/37961/stable26Andy Scherzinger2023-05-176-54/+176
|\ \ \ | | | | | | | | [stable26] SystemTags endpoint to return tags used by a user with meta data
| * | | refactor: remove where specification from SELECT getterArthur Schiwon2023-05-163-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - search constraints are now fully in control of SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids duplication of a WHERE statement Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | refactor: remove SystemTag logic from Folder into QuerySearchHelperArthur Schiwon2023-05-165-52/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is moved to Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | feat: specify media type via url path: systemtags-current/$mediaTypeArthur Schiwon2023-05-162-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - only the media part of the mime type can be search, but not the full mime type. It can be added, should it become necessary. - thus fixes previously hardcoded selector for image/ types - also fixes a return type hint - adds a return type hint Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | PoC: SystemTags endpoint to return tags used by a user with meta dataArthur Schiwon2023-05-163-46/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Target case is photos app: when visiting the tags category, all systemtags of the whole cloud are retrieved. In subequent steps the next tag is requested until the browser view is filled with tag tiles (i.e. previews are requested just as well). With this approach, we incorpoate the dav search and look for user related tags that are used by them, and already returns the statistics (number of files tagged with the respective tag) as well as a file id for the purpose to load the preview. This defaults to the file with the highest id. Call: curl -s -u 'user:password' \ 'https://my.nc.srv/remote.php/dav/systemtags-current' \ -X PROPFIND -H 'Accept: text/plain' \ -H 'Accept-Language: en-US,en;q=0.5' -H 'Depth: 1' \ -H 'Content-Type: text/plain;charset=UTF-8' \ --data @/home/doe/request-systemtag-props.xml With request-systemtag-props.xml: <?xml version="1.0" encoding="UTF-8"?> <d:propfind xmlns:d="DAV:"> <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"> <oc:id/> <oc:display-name/> <oc:user-visible/> <oc:user-assignable/> <oc:can-assign/> <nc:files-assigned/> <nc:reference-fileid/> </d:prop> </d:propfind> Example output: … <d:response> <d:href>/master/remote.php/dav/systemtags/84</d:href> <d:propstat> <d:prop> <oc:id>84</oc:id> <oc:display-name>Computer</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>42</nc:files-assigned> <nc:reference-fileid>924022</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> <d:response> <d:href>/remote.php/dav/systemtags/97</d:href> <d:propstat> <d:prop> <oc:id>97</oc:id> <oc:display-name>Bear</oc:display-name> <oc:user-visible>true</oc:user-visible> <oc:user-assignable>true</oc:user-assignable> <oc:can-assign>true</oc:can-assign> <nc:files-assigned>1</nc:files-assigned> <nc:reference-fileid>923422</nc:reference-fileid> </d:prop> <d:status>HTTP/1.1 200 OK</d:status> </d:propstat> </d:response> … Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #38070 from nextcloud/backport/37480/stable26Arthur Schiwon2023-05-171-1/+1
|\ \ \ \ | | | | | | | | | | [stable26] fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
| * | | | fix(ocp): Add deprecation version to ILogFactory::getCustomLoggerChristoph Wurst2023-05-041-1/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #38255 from nextcloud/backport/37865/stable26Arthur Schiwon2023-05-172-0/+4
|\ \ \ \ | | | | | | | | | | [stable26] add command to summarize space usage
| * | | | add option to list all files instead of limitingRobin Appelman2023-05-152-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #38130 from nextcloud/backport/36895/stable26Arthur Schiwon2023-05-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | [stable26] Fix json_decode expecting a string
| * | | | | Update Checker.phpIlya Apasov2023-05-081-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
* | | | | | Merge pull request #38009 from nextcloud/backport/37925/stable26Arthur Schiwon2023-05-171-7/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | [stable26] fix: change maintenance mode info wording
| * | | | | | fix: change maintenance mode info wordingDaniel Kesselberg2023-05-011-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | Merge pull request #37849 from nextcloud/backport/37834/stable26Arthur Schiwon2023-05-171-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [stable26] Fix TypeError in Profiler
| * | | | | | | Fix TypeError in ProfilerCôme Chilliet2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | adjust patch Simon L2023-05-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de> Signed-off-by: Simon L. <szaimen@e.mail.de>
* | | | | | | | Clear generated avatar cachesjld31032023-05-161-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>