summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* only log diagnostic events if a treshhold is setRobin Appelman2022-05-131-1/+1
| | | | | | this prevents log spam and it's rare that you actually want to very short events logged anyway Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #30863 from nextcloud/performance/saving-user-profile-infoCarl Schwan2022-05-131-9/+9
|\ | | | | Minor optimizations for saving user personal information
| * Minor optimizations for saving user personal informationCarl Schwan2022-05-121-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove double hook: the OC_User::changeUser triggers an OC\AccountManager::userUpdated and the app is already listening to this signal in its Application definition * Make createCard not check if an card exists if we already checked previously. We also don't try to get the card if the user is disabled as we don't use the card in this case We this change we go from 100 DB requests to 80 DB requests when saving an user email address. Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
* | Merge pull request #32250 from nextcloud/cleanup/cappedmemorycacheJohn Molakvoæ2022-05-136-51/+25
|\ \ | |/ |/|
| * Add stricter psalm type for CappedMemoryCacheCarl Schwan2022-05-126-51/+25
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #32008 from nextcloud/fix/getSize-boolCarl Schwan2022-05-121-5/+10
|\ \ | | | | | | Fix Call to a member function getSize() on bool
| * | Fix Call to a member function getSize() on boolCarl Schwan2022-05-121-5/+10
| | | | | | | | | | | | | | | | | | getFileInfo might return false, handle this case by ignoring the result Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32335 from nextcloud/storage-info-dont-unjailCarl Schwan2022-05-121-4/+1
|\ \ \ | | | | | | | | Don't unjail the path when getting the storage info
| * | | don't unjail the path when getting the storage infoRobin Appelman2022-05-111-4/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | the original reason for adding it no longer exist. This was added with #30985 since then the share source storage was also used, however this was changed with #32076 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #32185 from nextcloud/fix/default-share-provider-oracleCarl Schwan2022-05-121-7/+18
|\ \ \ | | | | | | | | Fix getting shares in a folder on Oracle
| * | | Fix getting shares in a folder on OracheCarl Schwan2022-05-121-7/+18
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #32077 from nextcloud/cleanup/lockCarl Schwan2022-05-126-228/+134
|\ \ \ \ | | | | | | | | | | Cleanup lock related code
| * | | | Cleanup lock related codeCarl Schwan2022-05-126-228/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Port to QueryBuilder - Improve the doc a bit - Add type hinting Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Validate requested length is random string generatorVincent Petry2022-05-121-1/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | | Merge pull request #32344 from ↵Joas Schilling2022-05-121-9/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/always-free-db-result-qbmapper-find-entities Always free the DB result in QBMapper::findEntities
| * | | | | Always free the DB result in QBMapper::findEntitiesChristoph Wurst2022-05-121-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch it only happened if the code ran through without any errors. Now the result is also freed in the case of an error. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #32339 from nextcloud/appdatafactory-publicCarl Schwan2022-05-125-14/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | Make it possible to get the appdata folder using the public API
| * | | | | | Make it possible to get the appdata folder using the public APICarl Schwan2022-05-115-14/+34
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #32278 from nextcloud/remove-default-phpJohn Molakvoæ2022-05-121-10/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Remove default valuesGit'Fellow2022-05-051-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | These values are already the default on supported PHP versions. I suggest to remove these calls.
* | | | | | Add talk-poll to the ROS definitionsJoas Schilling2022-05-111-0/+19
| |/ / / / |/| | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #32326 from nextcloud/fix/icons-cacherJohn Molakvoæ2022-05-115-299/+1
|\ \ \ \ \
| * | | | | Compile themingJohn Molakvoæ2022-05-112-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | | Remove old legacy SvgController and IconsCacherJohn Molakvoæ2022-05-102-294/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | | Migrate to static icons coloursJohn Molakvoæ2022-05-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | | | | Merge pull request #31900 from nextcloud/feat/server-container-publicCarl Schwan2022-05-105-0/+59
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add a public replacement for OC::$server->get
| * | | | | Add a public replacement for OC::$server->getCarl Schwan2022-05-105-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #32315 from ↵John Molakvoæ2022-05-101-2/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/noid/preview-duplicate-folder-creation
| * | | | | | Fix preview generator trying to recreate an existing folderRichard Steinmetz2022-05-091-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2022-05-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | Set loglevel for IMagick Thumbnail error to infoAlexander F2022-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #32263 Signed-off-by: Alexander Fleischer <Alexander.Fleischer@tu-ilmenau.de>
* | | | | | | Fix JSON error when comment has no reactionsJoas Schilling2022-05-091-11/+17
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | [tx-robot] updated from transifexNextcloud bot2022-05-094-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | [tx-robot] updated from transifexNextcloud bot2022-05-082-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | [tx-robot] updated from transifexNextcloud bot2022-05-062-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #32276 from nextcloud/fix/ldap_error_handlingblizzz2022-05-051-6/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Do not dispatch postSetPassword when setPassword fails
| * | | | | | Do not dispatch postSetPassword when setPassword failsLouis Chemineau2022-05-051-6/+10
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also Improve error message when setPassword fails Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | Merge pull request #32110 from plumbeo/binary-encoding-4Vincent Petry2022-05-051-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Save encrypted files in binary format
| * | | | | | Save encrypted files in binary formatplumbeo2022-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default to the more space-efficient binary encoding for newly encrypted files instead of the traditional base64 encoding, eliminating the 33% overhead. The new option 'encryption.use_legacy_encoding' allows to force the legacy encoding format if needed. Files encoded in the old format remain readable. Based on https://github.com/owncloud/encryption/pull/224 and https://github.com/owncloud/core/pull/38249 by karakayasemi. Signed-off-by: plumbeo <plumbeo@users.noreply.github.com>
* | | | | | | Merge pull request #31964 from nextcloud/feat/ignore_mail_during_contact_lookupLouis2022-05-052-1/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add setting to ignore email during search
| * | | | | | | Add setting to ignore email during searchLouis Chemineau2022-05-032-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | | Merge pull request #32113 from nextcloud/bugfix/noid/fix-csp-merging-boolsVincent Petry2022-05-053-2/+14
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Add CSP policy merge priority for booleans
| * | | | | | | Add CSP policy merge priority for booleansVincent Petry2022-04-013-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When two booleans conflict when merging CSP policies, true will win. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | | | | | Merge pull request #32279 from nextcloud/feat/profiler-cache-hit-infoCarl Schwan2022-05-051-0/+1
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | Add hit information to profiler
| * | | | | | | Add hit information to profilerCarl Schwan2022-05-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This might be helpful later on for the cache ui that is worked on in https://github.com/nextcloud/profiler/pull/21 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | | | Merge pull request #32152 from ↵Vincent Petry2022-05-051-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/32151/allow-compatibility-wrapper-local-ext-storage Allow compatibility wrapper on local external storage
| * | | | | | | | Allow compatibility wrapper on local external storageVincent Petry2022-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check was likely in place to prevent adding the wrapper on the root and home storage, which is not possible anyway since the encoding option cannot be set on that mount. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | | | | | | | [tx-robot] updated from transifexNextcloud bot2022-05-052-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | | | Merge pull request #31963 from nextcloud/feat/use_setting_in_dav_searchLouis2022-05-042-0/+24
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | Use share setting in DAV search
| * | | | | | | | Use email settings in DAV searchLouis Chemineau2022-04-192-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>