aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* chore: Drop \OC_App::getAppVersionChristoph Wurst2023-06-013-21/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38514 from ↵Joas Schilling2023-05-311-2/+1
|\ | | | | | | | | nextcloud/bump/giggsey/libphonenumber-for-php_to_lite-version chore(libphonenumber): Bump giggsey/libphonenumber-for-php to giggsey…
| * fix(CI): Satisfy psalm by removing a now obsolete type checkJoas Schilling2023-05-311-2/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38552 from nextcloud/chore/drop-oc-defaults-getlogoclaimJoas Schilling2023-05-311-9/+0
|\ \ | | | | | | chore!: Drop \OC_Defaults::getLogoClaim
| * | chore!: Drop \OC_Defaults::getLogoClaimChristoph Wurst2023-05-311-9/+0
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabledJoas Schilling2023-05-311-13/+0
|\ \ | | | | | | chore!: Drop \OC_App::isEnabled
| * | chore!: Drop \OC_App::isEnabledChristoph Wurst2023-05-311-13/+0
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #38468 from nextcloud/log-cert-list-errorsRobin Appelman2023-05-311-1/+7
|\ \ | |/ |/| log failures to read certificates during listing
| * log failures to read certificates during listingRobin Appelman2023-05-311-1/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: catch errors in id3parser libraryDaniel Kesselberg2023-05-281-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>
* | fix(dav): Fix avatar size in system address bookJoas Schilling2023-05-261-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #38429 from tanganellilore/fix_delete_user_syslinkSimon L2023-05-261-2/+2
|\ \ | | | | | | Fix deletion of User when system link are used in him user folder
| * | invert elseif on rmdir for local storage Lorenzo Tanganelli2023-05-241-2/+2
| | | | | | | | | Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
* | | fix: better error message on missing user files dirJohn Molakvoæ2023-05-251-1/+1
| |/ |/| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Merge pull request #38415 from nextcloud/object-store-init-rootArthur Schiwon2023-05-241-6/+18
|\ \ | | | | | | don't always check if we need to setup the object store root
| * | don't always check if we need to setup the object store rootRobin Appelman2023-05-231-6/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #37458 from Fenn-CS/fix/37424/better-501-error-loggingF. E Noel Nfebe2023-05-241-1/+7
|\ \ \ | |_|/ |/| | Avoid db connections when logging db connection errors
| * | Avoid db connection when logging db connection errorsfenn-cs2023-05-221-1/+7
| |/ | | | | | | | | | | | | | | `\OC\Log\LogDetails::logDetails` depends on `\OC_App::getAppVersions()` which makes a database connection causing the logger to break when the database service is unavaiable. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | Log to error_log in fatal caseRobin Windey2023-05-231-0/+1
| | | | | | | | Signed-off-by: Robin Windey <ro.windey@gmail.com>
* | Merge pull request #38365 from JanisPlayer/patch-3Louis2023-05-221-1/+2
|\ \ | |/ |/| add imaginary_key
| * Allow to specify an imaginary keyJanisPlayer2023-05-221-1/+2
| | | | | | | | Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
* | Merge pull request #37758 from nextcloud/redis-atomicSimon L2023-05-191-35/+55
|\ \ | |/ |/| redis: use atomic operations everywhere
| * redis: move lua scripts to class and add type hintsVarun Patil2023-05-101-20/+20
| | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
| * redis: use atomic operations everywhereVarun Patil2023-04-161-35/+55
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #36692 from ↵Simon L2023-05-171-0/+4
|\ \ | | | | | | | | | | | | nextcloud/throw-exception-to-avoid-division-by-zero fix(preview-generator): Throw exception before dividing by zero when generating previews
| * | fix(preview-generator): Throw exception before dividing by zero when ↵Thomas Citharel2023-02-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | generating previews If the maximum preview generated gives some kind of invalid IImage, it's dimentions and filename can be set to zero. And then later we do a division by zero to keep the aspect ratio of the previews. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | Merge pull request #38143 from nextcloud/fix/generated-avatars-cacheSimon L2023-05-162-10/+6
|\ \ \ | | | | | | | | Fix generated avatars cache
| * | | Clear generated avatar cachesjld31032023-05-151-3/+4
| | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
| * | | Properly clear cached avatarsjld31032023-05-151-7/+2
| | | | | | | | | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | | | Merge pull request #38065 from nextcloud/fix-result-mimetype-loaderSimon L2023-05-161-16/+10
|\ \ \ \ | | | | | | | | | | fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
| * | | | fix(mimetype): Fix returning value when finding existing mimetype in ↵Thomas Citharel2023-05-041-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MimeType Loader Also, only return the ID from the transaction as the mimetype string is already used from the function argument value Fixes https://github.com/nextcloud/server/pull/35744/files#r1184644610 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | Merge pull request #38274 from ↵Joas Schilling2023-05-161-22/+30
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | nextcloud/bugfix/noid/reach-max-delay-in-afterController fix(middleware): Also abort the request when reaching max delay in af…
| * | | | fix(middleware): Also abort the request when reaching max delay in ↵Joas Schilling2023-05-151-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afterController Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #38196 from nextcloud/fix/fix-32bits-freespace-and-sizesCôme Chilliet2023-05-157-14/+17
|\ \ \ \ \ | |/ / / / |/| | | | Get rid of more int casts in file size manipulations
| * | | | Fix return types in phpdocCôme Chilliet2023-05-155-5/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Get rid of more int casts in file size manipulationsCôme Chilliet2023-05-113-9/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #32961 from nextcloud/more-debug-lazyuserfolderCôme Chilliet2023-05-152-6/+18
|\ \ \ \ \ | | | | | | | | | | | | Make it easier to debug issue #32304
| * | | | | Add back missing slash in LazyUserFolder pathCôme Chilliet2023-05-091-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | | | | Make it easier to debug issue #32304Carl Schwan2023-05-042-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | fix: Do not attempt to use l10n files as sources for combined js filesJulius Härtl2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #37709 from nextcloud/bugfix/deadlockJulius Härtl2023-05-132-2/+11
|\ \ \ \ \ \
| * | | | | | fix: Check for wrapped retriable exceptionsJulius Härtl2023-05-022-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #37621 from nextcloud/enh/lock-readable-pathJulius Härtl2023-05-131-0/+3
|\ \ \ \ \ \ \
| * | | | | | | fix: Wrap filesystem LockedExceptions for holding the readable pathJulius Härtl2023-05-021-0/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #36592 from nextcloud/groupmanager-search-typingRobin Appelman2023-05-122-7/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | fix default values and type hints for GroupManager::search
| * | | | | | | fix: getGroups limit check syntaxJohn Molakvoæ2023-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * | | | | | | revert public interface back to the original types, just cast them before ↵Robin Appelman2023-05-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | passing the nulls to the backends Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | | also update groupinterface and database backendRobin Appelman2023-05-111-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | | fix default values and type hints for GroupManager::searchRobin Appelman2023-05-111-2/+2
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ints really are ints Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | feat(users): Store and load a user's managerChristoph Wurst2023-05-122-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>