aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Trying without the useCôme Chilliet2022-04-261-2/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use sabre function directly rather than duplicating itCôme Chilliet2022-04-261-11/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #32147 from nextcloud/fix/css-default-load-setup-guestJohn Molakvoæ2022-04-261-1/+2
|\ | | | | Fix default fallback theme on setup any guests pages
| * Fix default fallback theme on setup ang guests pagesJohn Molakvoæ2022-04-261-1/+2
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Fix mexitek/phpcolorsJohn Molakvoæ2022-04-2626-1727/+8
|/ | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #32084 from nextcloud/root-setup-groupfoldersVincent Petry2022-04-251-1/+3
|\ | | | | only need to setup root for groupfolders
| * Only need to setup root for groupfoldersRobin Appelman2022-04-221-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #32069 from nextcloud/cleanup/allconfig-sqlCarl Schwan2022-04-251-69/+64
|\ \ | | | | | | Cleanup AllConfig
| * | Cleanup AllConfigCarl Schwan2022-04-221-69/+64
| | | | | | | | | | | | | | | | | | | | | | | | - Port to QueryBuilder - More typing when possible - Import classes with 'use' Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32033 from nextcloud/fix/metadata-scan-app-dataVincent Petry2022-04-251-1/+22
|\ \ \ | | | | | | | | Fix scanning app data with metadata
| * | | Fix scanning app data with metadataCarl Schwan2022-04-221-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 #32074 from nextcloud/mysql-search-ignore-index-2Robin Appelman2022-04-253-2/+13
|\ \ \ \ | | | | | | | | | | tell mysql to ignore the sort index for search queries
| * | | | tell mysql to ignore the sort index for search queriesRobin Appelman2022-04-223-2/+13
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #32082 from nextcloud/directory-content-lazy-ownerVincent Petry2022-04-254-8/+159
|\ \ \ \ | | | | | | | | | | 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-224-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 #32079 from nextcloud/directory-listing-optimize-add-submountVincent Petry2022-04-251-4/+2
|\ \ \ \ | | | | | | | | | | optimize adding submount info to directory content
| * | | | optimize adding submount info to directory contentRobin Appelman2022-04-221-4/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | no need to loop when we can do a hashtable lookup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #32112 from nextcloud/bugfix/noid/add-missing-indexVincent Petry2022-04-254-6/+8
|\ \ \ \ | | | | | | | | | | 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-253-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Get not only time-sensitive next job from list but anyKirill Popov2022-04-241-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-04-24146-8/+1292
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-04-232-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #32076 from nextcloud/cache-storage-info-failed-shareCarl Schwan2022-04-221-2/+14
|\ \ \ \ | | | | | | | | | | 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 #32040 from nextcloud/full-setup-only-newJulius Härtl2022-04-222-3/+16
|\ \ \ \ | | | | | | | | | | only register mounts that are new from providers that are new during a full setup
| * | | | only register mounts that are new from providers that are new during a full ↵Robin Appelman2022-04-212-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>
* | | | | cache display names in local memory before external memcacheRobin Appelman2022-04-221-6/+14
| |/ / / |/| | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #31751 from nextcloud/theming-providersJohn Molakvoæ2022-04-2229-23/+1746
|\ \ \ \
| * | | | Add default theming disabled fallbackJohn Molakvoæ2022-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | Ship mexitek/phpcolorsJohn Molakvoæ2022-04-2127-11/+1732
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | Write body theme selector straight in the templateJohn Molakvoæ2022-04-211-0/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
| * | | | Start theming providersJoas Schilling2022-04-212-12/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #32045 from nextcloud/cache-fullSetupRequiredblizzz2022-04-221-1/+7
|\ \ \ \ | | | | | | | | | | cache fullSetupRequired locally
| * | | | cache fullSetupRequired locallyRobin Appelman2022-04-211-1/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | no need to hit redis every time 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>
* | | Merge pull request #32048 from nextcloud/cache-storage-infoJohn Molakvoæ2022-04-221-1/+18
|\ \ \ | | | | | | | | cache storage info in memcache for 5m
| * | | cache storage info in memcache for 5mRobin Appelman2022-04-211-1/+18
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2022-04-222-0/+18
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #31047 from nextcloud/enh/preferences-indexJulius Härtl2022-04-211-0/+4
|\ \ \ | |_|/ |/| | Additional index on oc_preferences to make queries without a user filter faster
| * | Additional index on oc_preferences to make sure that gettingh values without ↵Julius Härtl2022-04-191-0/+4
| | | | | | | | | | | | | | | | | | a user filter is fast Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #30311 from nextcloud/enh/search-loadJulius Härtl2022-04-201-1/+3
|\ \ \ | |_|/ |/| | Add unified search options
| * | Make typeahead and search limit/length configurableJulius Härtl2022-04-131-1/+3
| |/ | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #32024 from nextcloud/local-metadata-forbiddenRobin Appelman2022-04-201-1/+5
|\ \ | | | | | | 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>
* | | [tx-robot] updated from transifexNextcloud bot2022-04-182-0/+38
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | 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>