summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix(l10n): Update translations from TransifexNextcloud bot2023-09-282-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-09-272-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Store size in int|float for 32bit supportCôme Chilliet2023-09-252-4/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-09-252-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #40586 from nextcloud/backport/39574/39574-stable27Maxence Lange2023-09-2312-73/+882
|\ | | | | [stable27] ocm services
| * ocm servicesMaxence Lange2023-09-2212-73/+882
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-232-0/+14
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-09-224-2/+36
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #40379 from nextcloud/backport/38808/stable27Arthur Schiwon2023-09-214-4/+6
|\ | | | | [stable27] Fix issues where unencrypted_size was being falsely used for non-encrypted home folders
| * fix: Only read unencrypted_size when file is actually encryptedJulius Härtl2023-09-122-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * fix: Only store unencrypted_size if path should be encryptedJulius Härtl2023-09-122-1/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #40506 from nextcloud/backport/40488/stable27Joas Schilling2023-09-201-0/+16
|\ \ | | | | | | [stable27] fix(comments): Use provided offset in best effort when loading comments
| * | fix(comments): Use provided offset in best effort when loading commentsJoas Schilling2023-09-191-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | When we didn't find the "$lastKnownComment" the whole condition was ignored. Now we still use the ID as an offset. This is required as a fall-back for expired messages in Talk and deleted comments in other apps. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-202-0/+14
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Wrap mimetype insert and getLastInsertId in a transactionLucas Azevedo2023-09-161-7/+9
| | | | | | | | Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* | fix(mimetype): Remove unnecessary transaction when storing a mime typeLucas Azevedo2023-09-161-26/+22
|/ | | | | | | | | | | | Fixes #40064. This could be fixed by adding a rollback and starting a new transaction before the SELECT query, but in this case that would have the same effect as not using one. See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1 Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
* fix(autoloader): no apcu no side effectsArthur Schiwon2023-09-082-6/+4
| | | | | | | | | | | apcu lead to side effects especially with app management and (soft) inter-dependencies, and lead also to 500 server errors. While we could add management to clear apcu cache in many cases (may stil leave edge cases) the performance benefit is marginally as also class maps are already cached in opcache. Hence, the simple and effective way to go is to not use apcu for autoloading. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* only determine quota_include_external_storage once for quota wrapperRobin Appelman2023-09-072-4/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* better caching in storage stats calculationsRobin Appelman2023-09-071-7/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* reuse dependencies from wrapped cacheRobin Appelman2023-09-071-3/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #40286 from nextcloud/backport/40233/stable27Arthur Schiwon2023-09-075-2/+51
|\ | | | | [stable27] Detect aborted connection in OC\Files\View and stop writing data to t…
| * Detect aborted connection in OC\Files\View and stop writing data to the ↵Benjamin Gaussorgues2023-09-065-2/+51
| | | | | | | | | | | | output buffer Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | new name of AppEcosystem is AppAPIAlexander Piskun2023-09-071-6/+6
| | | | | | | | Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-074-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix(ratelimit): Only use memory cache backend for redisJoas Schilling2023-09-061-2/+2
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #40231 from nextcloud/sharing-mask-wrapper-27Arthur Schiwon2023-09-0611-114/+133
|\ \ | |/ |/| [27] move share permission logic to storage wrapper
| * cleanup di for share permissions wrapperRobin Appelman2023-09-047-116/+117
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * more share permission logic to storage wrapperRobin Appelman2023-09-045-10/+28
| | | | | | | | | | | | this way we only have to determine the share permissions once Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #40258 from nextcloud/backport/40234/stable27Arthur Schiwon2023-09-051-0/+4
|\ \ | | | | | | [stable27] enh: skip processing for empty response
| * | enh: skip processing for empty responseDaniel Kesselberg2023-09-041-0/+4
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #40227 from nextcloud/backport/40195/stable27Arthur Schiwon2023-09-051-1/+2
|\ \ | | | | | | [stable27] fix: prevent sharing permissions on user root folder
| * | fix: prevent sharing permissions on user root folderJohn Molakvoæ2023-09-041-1/+2
| |/ | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Merge pull request #40186 from nextcloud/backport/39017/stable27Arthur Schiwon2023-09-051-1/+1
|\ \ | |/ |/| [stable27] fix(s3): fix handling verify_bucket_exists parameter
| * fix(s3): fix handling verify_bucket_exists parameterThomas Citharel2023-08-311-1/+1
| | | | | | | | | | | | | | | | If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid verifying that the bucket exists. However empty(falsy) will always return true, so this condition would not work. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-032-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2023-09-014-0/+4
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-08-314-0/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* feat: add switch to disable dns pinningDaniel Kesselberg2023-08-301-2/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2023-08-3018-0/+18
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #40080 from nextcloud/backport/40077/stable27Joas Schilling2023-08-292-0/+12
|\ | | | | [stable27] fix(cache): Remove displayname cache entry on delete
| * fix(cache): Remove displayname cache entry on deleteJoas Schilling2023-08-282-0/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #40039 from nextcloud/backport/39511/stable27Joas Schilling2023-08-291-2/+0
|\ \ | | | | | | [stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
| * | fix(utility): De- deprecate getDateTime as now() only returns immutable objectsAnna Larch2023-08-281-2/+0
| |/ | | | | | | | | | | | | | | This will mean lots of code like ```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()``` if a regular DateTime object is needed Signed-off-by: Anna Larch <anna@nextcloud.com>
* | fix(CalDAV): check voject exists before attempting any operationAnna Larch2023-08-281-5/+35
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Use nullsafe call syntax instead of additionnal checkCôme Chilliet2023-08-281-1/+1
| | | | | | | | Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from ↵Côme Chilliet2023-08-281-5/+19
|/ | | | | | disabled users Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix user log.condition featureCôme Chilliet2023-08-251-8/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #39997 from nextcloud/backport/39870/stable27Joas Schilling2023-08-2310-159/+511
|\ | | | | [stable27] feat(security): Add a bruteforce protection backend base on memcache
| * fix(middleware): Fix header injection for bruteforce middlewareJoas Schilling2023-08-231-5/+1
| | | | | | | | | | | | | | Calling setHeaders(getHeaders()) breaks the CSP nonce for unknown reasons So shifting back to old standard practise for now Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix: Make bypass function public APIJoas Schilling2023-08-233-7/+18
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>