summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Make the DB query simpler (as we just deleted all other entries)Joas Schilling2022-03-101-3/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31331 from nextcloud/backport/31328/stable23blizzz2022-03-101-0/+4
|\ | | | | [stable23] Mark split database configs as sensitive
| * Mark split database configs as sensitiveJoas Schilling2022-02-231-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31102 from nextcloud/backport/30926/stable23Vincent Petry2022-03-091-14/+11
|\ \ | | | | | | [stable23] Allow sub-admins to access delegated settings.
| * | Allow sub-admins to access delegated settings.Claus-Justus Heine2022-02-231-14/+11
| |/ | | | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | use persistent connections when connecting to redisRobin Appelman2022-03-041-4/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31401 from nextcloud/backport/31360/stable23Vincent Petry2022-03-031-0/+3
|\ \ | | | | | | [stable23] Don't set up full filesystem to check for certificates
| * | Don't set up full filesystem to check for certificatesJoas Schilling2022-03-021-0/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #31399 from nextcloud/backport/31390/stable23blizzz2022-03-022-0/+24
|\ \ \ | | | | | | | | [stable23] Censor more configs
| * | | Censor more configsJoas Schilling2022-03-022-0/+24
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / Also use hashed/indexed column on deleteJoas Schilling2022-03-021-2/+2
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31098 from nextcloud/backport/30942/stable23Vincent Petry2022-03-014-56/+77
|\ \ | |/ |/| [stable23] only setup part of the filesystem for appdata requests
| * handle setupFS with null userRobin Appelman2022-02-161-4/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * dont mark fs as setup when no user is activeRobin Appelman2022-02-161-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix fs cache test user setupRobin Appelman2022-02-161-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * pass user object during fs initRobin Appelman2022-02-162-8/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * only setup part of the filesystem for appdata requestsRobin Appelman2022-02-164-49/+61
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use the new option to signaling insensitivityJoas Schilling2022-02-221-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-221-3/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31297 from nextcloud/backport/31217/stable23Joas Schilling2022-02-221-0/+5
|\ \ | | | | | | [stable23] Also cache non-existing to reuse it
| * | Also cache non-existing to reuse itJoas Schilling2022-02-211-0/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-211-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-211-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Use the unjailed-path in OC_Helper::getStorageInfo() for files located in ↵Claus-Justus Heine2022-02-181-1/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | SharedStorage. The current implementation already switches the storage-backend to $storage->getSourceStorage(). However, it then calls $rootInfo->getInternalPath() which returns the internal path relative to the storage where the share is mounted. This is wrong, we need also to unjail the path. Compare, e.g., with OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the "logic". Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* / Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-02-164-7/+36
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31059 from nextcloud/backport/30973/stable23Vincent Petry2022-02-161-6/+7
|\ | | | | [stable23] Allow specify a config prefix for another database connection
| * Allow specify a config prefix for another database connectionJoas Schilling2022-02-071-6/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #30949 from ↵Vincent Petry2022-02-163-1/+104
|\ \ | |/ |/| | | | | nextcloud/bugfix/noid/allow-to-disable-v1-authtokens [stable23] Allow to disable AuthToken v1
| * Allow to disable AuthToken v1Joas Schilling2022-01-313-1/+104
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #30814 from nextcloud/backport/30508/stable23John Molakvoæ2022-01-2723-28/+30
|\ \
| * | Fix psalm not runningCarl Schwan2022-01-2723-28/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that we were using psalm/phar instead of vimeo/psalm. This caused issue with the custom psalm plugin in buildd/psalm. This is using the opportunity to also update the psalm version from 3.8 to 3.17 and the php-cs-fixer too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30740 from nextcloud/backport23John Molakvoæ2022-01-221-2/+2
|\ \ \ | |/ / |/| |
| * | [stable23] Increase email main buttons width for non-english languagesacsfer2022-01-181-2/+2
| | | | | | | | | Manual backport of https://github.com/nextcloud/server/pull/30653
* | | Always call flush() as getAllKeys() is brokenCôme Chilliet2022-01-201-21/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #30728 from nextcloud/backport/30614/stable23John Molakvoæ2022-01-201-1/+1
|\ \ \
| * | | Update Session.phpMarek-Wojtowicz2022-01-171-1/+1
| |/ / | | | | | | | | | | | | | | | The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header. Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
* | | Merge pull request #29798 from nextcloud/stable23-diskJohn Molakvoæ2022-01-201-1/+1
|\ \ \
| * | | [stable23] Check for disk_free_spaceacsfer2021-11-191-1/+1
| | | | | | | | | | | | Backport of https://github.com/nextcloud/server/pull/29758
* | | | Log bruteforce throttle and blockingJoas Schilling2022-01-191-0/+11
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-181-2/+3
| |/ / |/| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #30684 from nextcloud/backport/30531/stable23Carl Schwan2022-01-171-1/+20
|\ \ \ | | | | | | | | [stable23] Optimize FileSystemTags workflow for groupfolder
| * | | Fix psalm issuesCarl Schwan2022-01-141-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Add helper method in WrapperCarl Schwan2022-01-141-1/+20
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | updateEncryptedVersion: cleanup on target if cache already got renamedJonas Meurer2022-01-141-1/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When moving a file to trash with encryption enabled, the cache gets moved before the actual file. According to @icewind1991 this is in order to not break object storage. When moving a file from an unencrypted storage (e.g. a collectives storage) to the encrypted trashbin storage, this causes errors, see This commit fixes it by doing `updateEncryptedVersion()` on the target cache entry *if* the source cache entry doesn't exist anymore, but the corresponding target cache entry does exist already. Fixes: #26544 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | Merge pull request #30659 from nextcloud/backport/29622/stable23Julius Härtl2022-01-142-3/+16
|\ \ \
| * | | Implement multibucket shift for ObjectStoreJohn Molakvoæ2022-01-142-3/+16
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | Fix idn emails not working in sharesCarl Schwan2022-01-131-3/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | And add check before sending email that email address is valid Fix #30595 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30621 from nextcloud/backport/30358/stable23MichaIng2022-01-121-13/+19
|\ \ \ | | | | | | | | [stable23] Reset job disabling timer on adding the job again
| * | | Reset job disabling timer on adding the job againJulius Härtl2022-01-121-13/+19
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #30611 from nextcloud/backport/30588/stable23Joas Schilling2022-01-121-0/+1
|\ \ \ \ | |/ / / |/| | | [stable23] Fix undefined/unset scope in account properties