Age | Commit message (Collapse) | Author |
|
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
only need to setup root for groupfolders
|
|
Cleanup AllConfig
|
|
Fix scanning app data with metadata
|
|
tell mysql to ignore the sort index for search queries
|
|
use a lazy user for the file owner when listing a directory
|
|
optimize adding submount info to directory content
|
|
Add missing index for oc_mounts queries
|
|
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
Before the change webcron used to select
**only** time-sensitive tasks.
Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
use and cache root storage info if a share can't be resolved
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
only register mounts that are new from providers that are new during a full setup
|
|
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>
|
|
- Port to QueryBuilder
- More typing when possible
- Import classes with 'use'
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|
no need to loop when we can do a hashtable lookup
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
as is a broken share will never be cached
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
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>
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
|
|
cache fullSetupRequired locally
|
|
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
This improve the correctness of the data
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|
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>
|
|
cache storage info in memcache for 5m
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
no need to hit redis every time
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
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>
|
|
Additional index on oc_preferences to make queries without a user filter faster
|
|
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
Add unified search options
|
|
ignore forbidden files while scanning local storage
|
|
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
|
|
a user filter is fast
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Log why the login token can't be used for credentials
|
|
nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
|
|
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>
|
|
Add a metadata service to store file metadata
|
|
And update autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|
Adapt user_migration APIs to have information about failures
|
|
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>
|