summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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>
* | | | Merge pull request #31244 from nextcloud/backport/31141/stable23Carl Schwan2022-02-281-2/+2
|\ \ \ \ | | | | | | | | | | [stable23] Improve caching policy use immutable when loading versionned assets
| * | | | Improve caching policyCarl Schwan2022-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | [tx-robot] updated from transifexNextcloud bot2022-02-242-0/+36
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-02-23138-2554/+3480
| |_|/ |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | 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-226-5/+60
| | | | | | | | | | | | 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-165-9/+40
|/ | | | 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>
* | Fix psalm warning related to registerEventListenerCarl Schwan2022-01-291-1/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #30814 from nextcloud/backport/30508/stable23John Molakvoæ2022-01-2726-37/+52
|\ \
| * | Fix psalm not runningCarl Schwan2022-01-2726-37/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Update autoload and ClassLoaderChristopher Ng2022-01-193-7/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-183-2/+11
| |/ / |/| | | | | | | | 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
| * | | Fix undefined/unset scope in account propertiesJoas Schilling2022-01-111-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-1/+102
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | | Fix fail when keys/files folder already existsVincent Petry2022-01-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes an issue with transfer ownership in move mode where the folder "files_encryption/keys/files" already exists. Instead of failing, its existence is checked before calling mkdir. Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>