summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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>
* | Merge pull request #31932 from nextcloud/feat/ignore_second_dnVincent Petry2022-04-131-0/+4
|\ \ | | | | | | Add settings to ignore second display name in search
| * | Add settings to ignore second display name in searchLouis Chemineau2022-04-121-0/+4
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #31929 from nextcloud/enh/noid/zip-expose-statCôme Chilliet2022-04-121-0/+29
|\ \ \ | | | | | | | | Expose ZIP stat information
| * | | Expose ZIP stat informationVincent Petry2022-04-111-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add getStat to OC\Archive\Zip Required to be able to read the mtime and other metadata. To give direct access to mtime Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #31907 from nextcloud/enh/noid/tag-remote-as-globalscaleMaxence Lange2022-04-121-0/+1
|\ \ \ \ | |_|/ / |/| | | confirm user is internal to globalscale
| * | | confirm user is internal to globalscaleMaxence Lange2022-04-121-0/+1
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | Merge pull request #31934 from nextcloud/getbyid-setup-fallbackJulius Härtl2022-04-121-0/+6
|\ \ \ \ | | | | | | | | | | perform a setup if we can't find any mounts containing a file
| * | | | perform a setup if we can't find any mounts containing a fileRobin Appelman2022-04-111-0/+6
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #31220 from nextcloud/enhancement/31005/temporary-passwordsVincent Petry2022-04-125-3/+80
|\ \ \ \ | |/ / / |/| | | Temporary passwords for public non-anonymous protected shares (ie: files shared with an email recipient).
| * | | Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-115-3/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* | | | Use Migrators id instead of class namesCôme Chilliet2022-04-113-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help with UI and means migrators can move in namespaces without changing export format. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #31848 from ↵Carl Schwan2022-04-116-3/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/performance/trottling-capability-frontent Don't inject Bruteforce capability info in the webui
| * | | | Don't inject Bruteforce capability info in the webuiCarl Schwan2022-04-076-3/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This capability do DB access and as far I know is not used by the webui. This remove one DB query for each page load. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Merge pull request #31610 from nextcloud/shares-in-folder-mountsVincent Petry2022-04-111-1/+14
|\ \ \ \ \ | | | | | | | | | | | | fix shared mount roots not being returned from `getSharesInFolder`
| * | | | | fix shared mount roots not being returned from `getSharesInFolder`Robin Appelman2022-03-311-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Merge pull request #31857 from nextcloud/feat/dont_match_useridVincent Petry2022-04-111-1/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add settings to not match userID during full match
| * | | | | | Add settings to not match userID during full matchLouis Chemineau2022-04-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | | Extend migrator interfaceChristopher Ng2022-04-081-0/+21
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | | Merge pull request #31901 from nextcloud/fs-setup-tweaksVincent Petry2022-04-083-2/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | Filesystem setup tweaks
| * | | | | | more preset metadata for LazyUserFolderRobin Appelman2022-04-082-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | always do full setup for home folder with submountsRobin Appelman2022-04-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | add missing returnRobin Appelman2022-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #31676 from nextcloud/enh/ocp-owner-lockVincent Petry2022-04-0811-0/+575
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add public API for owner based file locking
| * | | | | | | Adapt LockScope to LockContext renameJulius Härtl2022-04-076-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>