summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-162-8/+8
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #38825 from nextcloud/backport/38292/stable27Simon L2023-06-151-2/+12
|\ | | | | [stable27] Add config variable for curl timeout
| * Fix deprecated method callDominik Fuchß2023-06-141-1/+2
| | | | | | | | Signed-off-by: Dominik Fuchß <develop@fuchss.org>
| * Changes after code review.Dominik Fuchß2023-06-141-2/+7
| | | | | | | | Signed-off-by: Dominik Fuchß <develop@fuchss.org>
| * Add config variable for curl timeoutDominik Fuchß2023-06-141-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(l10n): Update translations from TransifexNextcloud bot2023-06-154-54/+54
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(apache): Serve `mjs` (module javascript) as static filesFerdinand Thiessen2023-06-141-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-06-144-2/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #38751 from nextcloud/backport/38735/stable27Simon L2023-06-131-0/+2
|\ | | | | [stable27] allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
| * 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-134-12/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* 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>
* 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>
* fix(ocp): Mark IMessage::attachInline as @since 27Christoph Wurst2023-06-011-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #38449 from nextcloud/backport/38415/stable27Arthur Schiwon2023-06-011-6/+18
|\ | | | | [stable27] 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-241-6/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #38538 from nextcloud/backport/37758/stable27Andy Scherzinger2023-06-011-35/+55
|\ \ | | | | | | [stable27] redis: use atomic operations everywhere
| * | redis: move lua scripts to class and add type hintsVarun Patil2023-05-311-20/+20
| | | | | | | | | | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
| * | redis: use atomic operations everywhereVarun Patil2023-05-311-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: 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>
* | 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-27138-550/+124
| | | | | | | | 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: execute throws docrine exceptions not our wrapped onesJulius Härtl2023-05-241-2/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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>