summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(CI): Satisfy psalm by removing a now obsolete type checkJoas Schilling2023-05-311-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(docs): Fix language and copy-paste class name in docs of CSPJoas Schilling2023-05-303-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38496 from nextcloud/preview-mp3-catch-errorsSimon L2023-05-301-2/+13
|\ | | | | fix: catch errors in id3parser library
| * 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(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(dav): Fix avatar size in system address bookJoas Schilling2023-05-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-05-264-0/+28
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-242-2/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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>
* | | 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>
* | 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>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-182-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | 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 #31001 from takahiro-blab/masterSimon L2023-05-161-0/+3
|\ \ \ | | | | | | | | Fixed 'overwritewebroot' not work with 'overwritecondaddr'.
| * | | Fixed bug which 'overwritewebroot' does not work with 'overwritecondaddr'.Simon L2023-05-161-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Takahiro Nagai <78393959+takahiro-blab@users.noreply.github.com> Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | Merge pull request #38030 from nextcloud/enh/retry-transactionSimon L2023-05-161-0/+37
|\ \ \ \ | | | | | | | | | | Wrapper method to easily retry deadlock exceptions
| * | | | enh: Provide atomicRetry method to retry transactions if possibleJulius Härtl2023-05-161-0/+37
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | 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>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-162-0/+48
| |_|/ / / |/| | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.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>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-152-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Fix(l10n): Update translations from TransifexNextcloud bot2023-05-142-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>