summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #37536 from nextcloud/backport/35961/stable24Pytal2023-04-052-0/+31
|\ | | | | [stable24] clear encrypted flag when moving away from encrypted storage
| * clear encrypted flag when moving away from encrypted storageRobin Appelman2023-04-012-0/+31
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CIJoas Schilling2023-04-033-12/+31
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | hide shared files located in group folder's trash binArthur Schiwon2023-03-301-0/+6
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix OC_Image: Prevent E_WARNING from getimagesize*Marcel Klehr2023-03-231-2/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: use local variable for remote addressDaniel Kesselberg2023-03-161-6/+20
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #36750 from nextcloud/backport/36689/stable24Arthur Schiwon2023-03-151-1/+1
|\ | | | | [stable24] Change X-Robots-Tag header from "none" to "noindex, nofollow"
| * Change X-Robots-Tag header from "none" to "noindex, nofollow"MichaIng2023-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
* | Merge pull request #36900 from nextcloud/backport/stable24/36837Arthur Schiwon2023-03-151-3/+5
|\ \ | | | | | | [stable24] fix(SystemTagManager): Truncate overlong tag names
| * | fix(SystemTagManager): Truncate overlong tag namesMarcel Klehr2023-02-281-3/+5
| | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | manual backport of #35057Julien Veyssier2023-03-152-2/+22
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | Merge pull request #37004 from nextcloud/backport/36803/stable24Simon L2023-03-141-1/+5
|\ \ \ | | | | | | | | [stable24] [db]: Remove not supported column comments for SQLite
| * | | fix(DB): Remove not supported column comments when using SQLiteFerdinand Thiessen2023-03-021-1/+5
| |/ / | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | | add a check for disk_free_space in Config.phpSimon L2023-03-091-4/+6
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Fix appconfig compatibility with Oracle DBJoas Schilling2023-02-281-1/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(OCC): Don't throw in the repair step for phone validationJoas Schilling2023-02-281-1/+2
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix: Avoid resetting scss cacher when no variables are foundJulius Härtl2023-02-271-0/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #36730 from nextcloud/backport/36691/stable24Simon L2023-02-241-0/+7
|\ \ | | | | | | [stable24] add a disk_free_space check before writing config
| * | fix it for 32-bitSimon L2023-02-201-1/+1
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * | address review by JoasSimon L2023-02-151-2/+3
| | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * | add a disk_free_space check before writing configSimon L2023-02-151-0/+6
| |/ | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* / Avoid extra parenthesis around SQL in IN expressionsCôme Chilliet2023-02-211-1/+1
|/ | | | | | | | The expression builder already suround the SQL with parenthesis when using in(), so we must not add another pair, this confuses at least sqlite. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36441 from nextcloud/backport/36433/stable24blizzz2023-02-091-4/+1
|\ | | | | [stable24] fix(encryption): don't throw on missing file
| * fix(encryption): don't throw on missing fileRichard Steinmetz2023-02-071-4/+1
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | Merge pull request #36376 from nextcloud/backport/35894/stable24blizzz2023-02-091-5/+13
|\ \ | | | | | | [stable24] fix moving files of encrypted local storage to unencrypted local storage
| * | fix moving files of encrypted local storage to unencrypted local storageRobin Appelman2023-02-071-5/+13
| |/ | | | | | | | | | | for example when moving encrypted files to a groupfolder Signed-off-by: Robin Appelman <robin@icewind.nl>
* / Fix double where() usage in resource managerJoas Schilling2023-02-071-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not store generated mysql password if it was not usedJulius Härtl2023-01-271-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* imaginary - add tiff to supported formatsSimon L2023-01-251-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Merge pull request #35824 from nextcloud/backport/35614/stable24Christoph Wurst2023-01-254-9/+12
|\ | | | | [stable24] Fix array to string conversion in errorlog writer
| * fix(logging): Fix array to string conversion in errorlog writerChristoph Wurst2023-01-241-1/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * fix(logging): Fix array to string conversion in errorlog writerChristoph Wurst2022-12-194-8/+10
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #35946 from nextcloud/backport/33813/stable24Vincent Petry2023-01-191-1/+1
|\ \ | | | | | | [stable24] Compare lowercase email when updating from ldap
| * | I dug into it again, and the issue is much simpler than I previously though.Louis Chemineau2023-01-021-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | - LDAP has an email address with capital letters - NC store this address in lower case - When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want. - We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204), they won't match, so the user will receive an email signaling an email change every time he logs in. The fix is to compare the old email with the new lower case email before sending the event. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #36168 from nextcloud/backport/35970/stable24Julius Härtl2023-01-191-3/+3
|\ \ | | | | | | [stable24] Improve exception serializing
| * | fix(ExceptionSerializer): encode arguments before filtering the traceJulius Härtl2023-01-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | This will avoid running into a Nesting level too deep error as the encodeArg calls will limit potential recursive calls on the arguments to a nesting level of 5 Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | escape path prefix when doing cache jail searchRobin Appelman2023-01-113-7/+8
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #35094 from nextcloud/invalidateTokensWhenDeletingOAuthClientJohn Molakvoæ2023-01-062-1/+13
|\ \ | | | | | | fixes https://github.com/nextcloud/server/issues/35068
| * | public interface to invalidate tokens of userArtur Neumann2022-12-202-1/+13
| |/ | | | | | | Signed-off-by: Artur Neumann <artur@jankaritech.com>
* | Remove null from quota typeCôme Chilliet2023-01-021-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Silence a warning from psalm with explanationCôme Chilliet2023-01-021-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Adapt types of subclassesCôme Chilliet2023-01-025-11/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Make it clear that file sizes may be float on 32bitsCôme Chilliet2023-01-022-12/+11
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Remove quota value type for 32-bit systemsVincent Petry2023-01-021-2/+1
|/ | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #35799 from nextcloud/backport/35780/stable24Vincent Petry2022-12-191-1/+1
|\ | | | | [stable24] Fix missing cast of double controller parameters
| * fix(app framework): Fix missing cast of double controller parametersChristoph Wurst2022-12-161-1/+1
| | | | | | | | | | | | ``settype`` allows 'double' as alias of 'float'. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #35524 from nextcloud/backport/35502/stable24Vincent Petry2022-12-161-1/+1
|\ \ | | | | | | [stable24] Fix SQL comparison with int array during external storage deletion
| * | Fix Executing a query: SQLSTATE[42000]Andy Xheli2022-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Fix https://github.com/nextcloud/server/issues/32007#issuecomment-1329405245 Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
* | | Merge pull request #35657 from nextcloud/backport/35649/stable24Vincent Petry2022-12-161-1/+2
|\ \ \ | |_|/ |/| | [stable24] Update the unencrypted file size when closing streams
| * | Also update the unencrypted size of files when creating them with empty contentJulius Härtl2022-12-071-0/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>