summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #32241 from ↵Joas Schilling2022-05-051-0/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/revert-32239-revert-32214-backport/32212/stable24 Revert "Revert "[stable24] Make the order of reactions reliable""
| * | | Revert "Revert "[stable24] Make the order of reactions reliable""blizzz2022-05-021-0/+1
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2022-05-052-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #32236 from nextcloud/backport/31758/stable24blizzz2022-05-041-11/+1
|\ \ \ \ | | | | | | | | | | [stable24] Use sabre function directly rather than duplicating it
| * | | | Trying without the useCôme Chilliet2022-05-021-2/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | Use sabre function directly rather than duplicating itCôme Chilliet2022-05-021-11/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2022-05-044-0/+4
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-05-032-0/+2
| |/ / |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #32239 from nextcloud/revert-32214-backport/32212/stable24blizzz2022-05-021-1/+0
|\ \ \ | | | | | | | | Revert "[stable24] Make the order of reactions reliable"
| * | | Revert "[stable24] Make the order of reactions reliable"blizzz2022-05-021-1/+0
| |/ /
* / / [tx-robot] updated from transifexNextcloud bot2022-05-02194-1104/+1530
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* / Make the order of reactions reliableJoas Schilling2022-04-281-0/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only need to setup root for groupfoldersRobin Appelman2022-04-251-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #32138 from ↵Vincent Petry2022-04-251-4/+2
|\ | | | | | | | | nextcloud/stable24-directory-listing-optimize-add-submount [stable24] optimize adding submount info to directory content
| * optimize adding submount info to directory contentRobin Appelman2022-04-251-4/+2
| | | | | | | | | | | | no need to loop when we can do a hashtable lookup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #32134 from nextcloud/backport/32033/stable24Carl Schwan2022-04-251-1/+22
|\ \ | |/ |/| [stable24] Fix scanning app data with metadata
| * Fix scanning app data with metadataCarl Schwan2022-04-251-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were listening to change in the appdata folder but an appdata scan didn't setup the file system, so the view was unavailable. **Test plan:** 1. rm -rf data/appdata_...../preview data/<user>/Media 2. occ files:scan-app-data 3. occ files:scan <user> No errors and the files and metadata are correctly removed from the database too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #32118 from nextcloud/backport/32082/stable24Vincent Petry2022-04-254-8/+159
|\ \ | | | | | | [stable24] use a lazy user for the file owner when listing a directory
| * | Use a lazy user for the file owner when listing a directoryRobin Appelman2022-04-254-8/+159
| | | | | | | | | | | | | | | | | | | | | Only getUID and getDisplayName are called on the file owner objects anyway and we can get this information often without DB request Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #32087 from nextcloud/backport/32076/stable24Vincent Petry2022-04-251-2/+14
|\ \ \ | | | | | | | | [stable24] use and cache root storage info if a share can't be resolved
| * | | use and cache root storage info if a share can't be resolvedRobin Appelman2022-04-221-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | as is a broken share will never be cached Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #32119 from nextcloud/backport/32112/stable24Vincent Petry2022-04-253-5/+7
|\ \ \ \ | |_|_|/ |/| | | [stable24] Add missing index for oc_mounts queries
| * | | Fix older migrations to the version patternJoas Schilling2022-04-253-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add missing indexJoas Schilling2022-04-252-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #32116 from nextcloud/backport/32109/stable24Vincent Petry2022-04-251-1/+1
|\ \ \ \ | |_|_|/ |/| | | [stable24] Get not only time-sensitive next job from list but any when not in cron-mode
| * | | Get not only time-sensitive next job from list but anyKirill Popov2022-04-251-1/+1
| |/ / | | | | | | | | | | | | | | | | | | Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
* | | Merge pull request #32065 from nextcloud/backport/32047/stable24Vincent Petry2022-04-253-0/+87
|\ \ \ | |/ / |/| | [stable24] Cache display name
| * | cache display names in local memory before external memcacheRobin Appelman2022-04-221-6/+14
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Update cache when display name changeCarl Schwan2022-04-221-1/+12
| | | | | | | | | | | | | | | | | | This improve the correctness of the data Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Cache display nameCarl Schwan2022-04-223-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | This should saves some query in the share backend when displaying the owner and it's not important if the display name is 10 minutes outdated as it is very rare that this gets changed. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | only register mounts that are new from providers that are new during a full ↵Robin Appelman2022-04-222-3/+16
| |/ |/| | | | | | | | | | | | | setup this fixes cases where during the (partial) setup of a shared mount a full setup is triggered Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #32062 from nextcloud/backport/32048/stable24blizzz2022-04-221-1/+18
|\ \ | | | | | | [stable24] cache storage info in memcache for 5m
| * | cache storage info in memcache for 5mRobin Appelman2022-04-221-1/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #32066 from nextcloud/backport/32045/stable24blizzz2022-04-221-1/+7
|\ \ \ | |_|/ |/| | [stable24] cache fullSetupRequired locally
| * | cache fullSetupRequired locallyRobin Appelman2022-04-221-1/+7
| | | | | | | | | | | | | | | | | | no need to hit redis every time Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #32027 from nextcloud/backport/32024/stable24blizzz2022-04-221-1/+5
|\ \ \ | |/ / |/| | [stable24] ignore forbidden files while scanning local storage
| * | ignore forbidden files while scanning local storageRobin Appelman2022-04-201-1/+5
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / log stacktrace for 'Backends provided no user object'Arthur Schiwon2022-04-201-1/+3
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #31826 from nextcloud/fix/log-why-credential-token-invalidVincent Petry2022-04-141-3/+3
|\ | | | | Log why the login token can't be used for credentials
| * Log why the login token can't be used for credentialsChristoph Wurst2022-04-041-3/+3
| | | | | | | | | | | | And always pass the exception object to the logger. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #31975 from ↵Vincent Petry2022-04-141-17/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings Adjust settings for mail link password
| * | Adjust settings for mail link passwordVincent Petry2022-04-141-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the settings and invert the meaning. Increase default interval to one hour. Changed the interval to be a number of seconds, to align with other setting styles. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Merge pull request #31839 from nextcloud/feat/metadata-serverVincent Petry2022-04-1420-10/+570
|\ \ \ | |/ / |/| | Add a metadata service to store file metadata
| * | Fix an issue with the search backend updateCarl Schwan2022-04-148-26/+27
| | | | | | | | | | | | | | | | | | And update autoloader Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Add a metadata service to store file metadataCarl Schwan2022-04-1322-17/+576
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #31945 from nextcloud/fix/user_migration-use-exceptionsVincent Petry2022-04-132-9/+24
|\ \ \ | | | | | | | | Adapt user_migration APIs to have information about failures
| * | | Fix migrators according to exceptionsVincent Petry2022-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed syntax errors. Removed if condition for copyToFolder since it's void now. Change signature of setMigratorVersions to also be void. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | | Adapt user_migration APIs to have information about failuresCôme Chilliet2022-04-132-8/+23
| |/ / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Default to permanent link passwordsVincent Petry2022-04-131-1/+1
| | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Properly reset pw expirationVincent Petry2022-04-131-0/+37
|/ / | | | | | | | | | | | | When requesting a new password for share by mail link, now we correctly reset the expiration date. Signed-off-by: Vincent Petry <vincent@nextcloud.com>