]>
source.dussan.org Git - nextcloud-server.git/log
Joas Schilling [Tue, 26 Apr 2022 09:06:00 +0000 (11:06 +0200)]
Fix translations with trailing colons
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Tue, 26 Apr 2022 09:05:02 +0000 (11:05 +0200)]
Add a unit test for translation with trailing colon
Signed-off-by: Joas Schilling <coding@schilljs.com>
blizzz [Tue, 26 Apr 2022 09:11:00 +0000 (11:11 +0200)]
Merge pull request #32141 from nextcloud/backport/32084/stable24
[stable24] only need to setup root for groupfolders
Robin Appelman [Fri, 22 Apr 2022 15:40:50 +0000 (17:40 +0200)]
Only need to setup root for groupfolders
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Mon, 25 Apr 2022 17:33:58 +0000 (19:33 +0200)]
Merge pull request #32138 from nextcloud/stable24-directory-listing-optimize-add-submount
[stable24] optimize adding submount info to directory content
Carl Schwan [Mon, 25 Apr 2022 16:56:52 +0000 (18:56 +0200)]
Merge pull request #32134 from nextcloud/backport/32033/stable24
[stable24] Fix scanning app data with metadata
Robin Appelman [Fri, 22 Apr 2022 13:50:14 +0000 (15:50 +0200)]
optimize adding submount info to directory content
no need to loop when we can do a hashtable lookup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Mon, 25 Apr 2022 14:27:28 +0000 (16:27 +0200)]
Merge pull request #32118 from nextcloud/backport/32082/stable24
[stable24] use a lazy user for the file owner when listing a directory
Vincent Petry [Mon, 25 Apr 2022 14:26:11 +0000 (16:26 +0200)]
Merge pull request #32087 from nextcloud/backport/32076/stable24
[stable24] use and cache root storage info if a share can't be resolved
Vincent Petry [Mon, 25 Apr 2022 14:25:51 +0000 (16:25 +0200)]
Merge pull request #32119 from nextcloud/backport/32112/stable24
[stable24] Add missing index for oc_mounts queries
Carl Schwan [Thu, 21 Apr 2022 07:57:30 +0000 (09:57 +0200)]
Fix scanning app data with metadata
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>
Vincent Petry [Mon, 25 Apr 2022 13:16:28 +0000 (15:16 +0200)]
Merge pull request #32116 from nextcloud/backport/32109/stable24
[stable24] Get not only time-sensitive next job from list but any when not in cron-mode
Robin Appelman [Fri, 22 Apr 2022 14:29:52 +0000 (16:29 +0200)]
Use a lazy user for the file owner when listing a directory
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>
Vincent Petry [Mon, 25 Apr 2022 12:57:11 +0000 (14:57 +0200)]
Merge pull request #32065 from nextcloud/backport/32047/stable24
[stable24] Cache display name
Joas Schilling [Mon, 25 Apr 2022 10:44:37 +0000 (12:44 +0200)]
Bump version
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Mon, 25 Apr 2022 07:39:56 +0000 (09:39 +0200)]
Fix older migrations to the version pattern
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Mon, 25 Apr 2022 07:38:31 +0000 (09:38 +0200)]
Add missing index
Signed-off-by: Joas Schilling <coding@schilljs.com>
Kirill Popov [Sat, 23 Apr 2022 13:42:37 +0000 (16:42 +0300)]
Get not only time-sensitive next job from list but any
Before the change webcron used to select
**only** time-sensitive tasks.
Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
blizzz [Fri, 22 Apr 2022 21:13:20 +0000 (23:13 +0200)]
Merge pull request #32083 from nextcloud/backport/32040/stable24
[stable24] only register mounts that are new from providers that are new during a full setup
Robin Appelman [Fri, 22 Apr 2022 13:18:07 +0000 (15:18 +0200)]
add logging of failed quota info
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 22 Apr 2022 12:59:15 +0000 (14:59 +0200)]
use and cache root storage info if a share can't be resolved
as is a broken share will never be cached
Signed-off-by: Robin Appelman <robin@icewind.nl>
blizzz [Fri, 22 Apr 2022 15:09:02 +0000 (17:09 +0200)]
Merge pull request #32075 from nextcloud/backport/32053/stable24
[stable24] cache the verification of the share mountpoint
Robin Appelman [Thu, 21 Apr 2022 10:33:43 +0000 (12:33 +0200)]
only register mounts that are new from providers that are new during a full 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>
blizzz [Fri, 22 Apr 2022 14:51:27 +0000 (16:51 +0200)]
Merge pull request #32062 from nextcloud/backport/32048/stable24
[stable24] cache storage info in memcache for 5m
blizzz [Fri, 22 Apr 2022 14:42:23 +0000 (16:42 +0200)]
Merge pull request #32051 from nextcloud/fix-talk-branch-used-by-integration-tests-in-stable24
[stable24] Fix Talk branch used by integration tests
blizzz [Fri, 22 Apr 2022 13:49:19 +0000 (15:49 +0200)]
Merge pull request #32063 from nextcloud/backport/32049/stable24
[stable24] Add known dav properties to ignore list
blizzz [Fri, 22 Apr 2022 13:46:09 +0000 (15:46 +0200)]
Merge pull request #32066 from nextcloud/backport/32045/stable24
[stable24] cache fullSetupRequired locally
Robin Appelman [Fri, 22 Apr 2022 10:50:42 +0000 (12:50 +0200)]
cache display names in local memory before external memcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
Carl Schwan [Fri, 22 Apr 2022 08:01:35 +0000 (10:01 +0200)]
Update cache when display name change
This improve the correctness of the data
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Carl Schwan [Thu, 21 Apr 2022 14:31:19 +0000 (16:31 +0200)]
Cache display name
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>
Robin Appelman [Thu, 21 Apr 2022 15:43:51 +0000 (17:43 +0200)]
cache the verification of the share mountpoint
after the initial verification this can only really be invalidated by a system mount (external/group/etc) being created at the share target since any normal file/folder creation will already conflict with the share
Signed-off-by: Robin Appelman <robin@icewind.nl>
blizzz [Fri, 22 Apr 2022 12:34:13 +0000 (14:34 +0200)]
Merge pull request #32046 from nextcloud/backport/32042/stable24
[stable24] improve optimization for SharedStorage::instanceOfStorage(Common)
blizzz [Fri, 22 Apr 2022 09:38:04 +0000 (11:38 +0200)]
Merge pull request #32027 from nextcloud/backport/32024/stable24
[stable24] ignore forbidden files while scanning local storage
Robin Appelman [Thu, 21 Apr 2022 13:23:09 +0000 (15:23 +0200)]
cache fullSetupRequired locally
no need to hit redis every time
Signed-off-by: Robin Appelman <robin@icewind.nl>
John Molakvoæ [Fri, 22 Apr 2022 09:29:44 +0000 (11:29 +0200)]
Merge pull request #32029 from nextcloud/backport/32021/stable24
John Molakvoæ [Fri, 22 Apr 2022 09:29:28 +0000 (11:29 +0200)]
Merge pull request #32026 from nextcloud/backport/32022/stable24
Julius Härtl [Thu, 21 Apr 2022 15:01:42 +0000 (17:01 +0200)]
Add known dav properties to ignore list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Robin Appelman [Thu, 21 Apr 2022 14:48:01 +0000 (16:48 +0200)]
cache storage info in memcache for 5m
Signed-off-by: Robin Appelman <robin@icewind.nl>
Daniel Calviño Sánchez [Thu, 21 Apr 2022 15:25:58 +0000 (17:25 +0200)]
Fix Talk branch used by integration tests in stable24
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Robin Appelman [Thu, 21 Apr 2022 13:00:42 +0000 (15:00 +0200)]
also apply the fix for the other storage types
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 21 Apr 2022 12:51:09 +0000 (14:51 +0200)]
improve optimization for SharedStorage::instanceOfStorage(Common)
Signed-off-by: Robin Appelman <robin@icewind.nl>
Christopher Ng [Wed, 20 Apr 2022 04:47:58 +0000 (04:47 +0000)]
Fix warning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Wed, 20 Apr 2022 04:46:28 +0000 (04:46 +0000)]
Update naming of address book exports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Christopher Ng [Wed, 20 Apr 2022 04:43:30 +0000 (04:43 +0000)]
Fix export of shared calendars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Robin Appelman [Wed, 20 Apr 2022 11:01:16 +0000 (13:01 +0200)]
ignore forbidden files while scanning local storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Joas Schilling [Wed, 20 Apr 2022 11:08:31 +0000 (13:08 +0200)]
Fix test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Arthur Schiwon [Wed, 20 Apr 2022 10:15:39 +0000 (12:15 +0200)]
log stacktrace for 'Backends provided no user object'
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
blizzz [Thu, 14 Apr 2022 19:18:36 +0000 (21:18 +0200)]
Merge pull request #31962 from nextcloud/release/rc1/24.0.0
24.0.0 RC1
Vincent Petry [Thu, 14 Apr 2022 18:29:44 +0000 (20:29 +0200)]
Merge pull request #31826 from nextcloud/fix/log-why-credential-token-invalid
Log why the login token can't be used for credentials
Vincent Petry [Thu, 14 Apr 2022 18:26:17 +0000 (20:26 +0200)]
Merge pull request #30860 from nextcloud/smb-getdirectory-content-catch
handle notfound and notpermitted error in Smb::getDirectoryContent
Vincent Petry [Thu, 14 Apr 2022 18:21:00 +0000 (20:21 +0200)]
Merge pull request #31972 from nextcloud/enh/noid/file-picker-extra-filter-function
Add extra filter for file picker
Vincent Petry [Thu, 14 Apr 2022 15:51:13 +0000 (17:51 +0200)]
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
Vincent Petry [Thu, 14 Apr 2022 09:04:46 +0000 (11:04 +0200)]
Add extra filter for file picker
Makes it possible to be more flexible when filtering entries to be
displayed.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Vincent Petry [Thu, 14 Apr 2022 13:07:25 +0000 (15:07 +0200)]
Merge pull request #31886 from nextcloud/bugfix/noid/principal-search-case-insensitive-dn
Principal search by display name case insensitive
Vincent Petry [Thu, 14 Apr 2022 12:06:25 +0000 (14:06 +0200)]
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>
Vincent Petry [Thu, 14 Apr 2022 11:39:31 +0000 (13:39 +0200)]
Merge pull request #31839 from nextcloud/feat/metadata-server
Add a metadata service to store file metadata
John Molakvoæ [Thu, 14 Apr 2022 10:17:19 +0000 (12:17 +0200)]
Merge pull request #17087 from nextcloud/move-to-stale-actions
Carl Schwan [Wed, 13 Apr 2022 08:52:26 +0000 (10:52 +0200)]
Fix an issue with the search backend update
And update autoloader
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Louis [Thu, 14 Apr 2022 09:01:22 +0000 (11:01 +0200)]
Merge pull request #31971 from nextcloud/Valdnet-patch-1
l10n: Remove dot and add a parenthesis
Valdnet [Thu, 14 Apr 2022 08:15:39 +0000 (10:15 +0200)]
l10n: Change to lowercase
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Valdnet [Thu, 14 Apr 2022 07:55:47 +0000 (09:55 +0200)]
l10n: Remove dot and add a parenthesis
Adaptation of the text string to the others. Removing the dot and adding a parenthesis.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Nextcloud bot [Thu, 14 Apr 2022 02:28:46 +0000 (02:28 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Pytal [Wed, 13 Apr 2022 17:58:41 +0000 (10:58 -0700)]
Merge pull request #31969 from nextcloud/fix/user_migration-use-exceptions
Catch avatar export separately for better failure tracing
Christopher Ng [Wed, 13 Apr 2022 17:02:25 +0000 (17:02 +0000)]
Catch avatar export separately for better failure tracing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Vincent Petry [Wed, 13 Apr 2022 16:55:37 +0000 (18:55 +0200)]
Merge pull request #31945 from nextcloud/fix/user_migration-use-exceptions
Adapt user_migration APIs to have information about failures
Vincent Petry [Wed, 13 Apr 2022 16:20:58 +0000 (18:20 +0200)]
Merge pull request #31965 from nextcloud/bugfix/31951/fix-share-by-mail-expiration-reset
Properly reset pw expiration
Vincent Petry [Wed, 13 Apr 2022 07:56:07 +0000 (09:56 +0200)]
Fix migrators according to exceptions
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>
Côme Chilliet [Tue, 12 Apr 2022 14:25:13 +0000 (16:25 +0200)]
Adapt existing migrators to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 12 Apr 2022 14:02:29 +0000 (16:02 +0200)]
Adapt user_migration APIs to have information about failures
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Vincent Petry [Wed, 13 Apr 2022 14:11:15 +0000 (16:11 +0200)]
Default to permanent link passwords
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 13 Apr 2022 13:46:30 +0000 (15:46 +0200)]
Properly reset pw expiration
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>
Carl Schwan [Mon, 4 Apr 2022 21:15:00 +0000 (23:15 +0200)]
Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Arthur Schiwon [Wed, 13 Apr 2022 11:15:53 +0000 (13:15 +0200)]
24.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Vincent Petry [Wed, 13 Apr 2022 07:52:38 +0000 (09:52 +0200)]
Merge pull request #31932 from nextcloud/feat/ignore_second_dn
Add settings to ignore second display name in search
blizzz [Wed, 13 Apr 2022 07:28:15 +0000 (09:28 +0200)]
Merge pull request #31933 from nextcloud/updateCrl
update CRL after revocation of socialsharing_telegram.csr
John Molakvoæ [Tue, 10 Sep 2019 11:06:39 +0000 (13:06 +0200)]
Add stale action
Joas Schilling [Wed, 13 Apr 2022 06:02:45 +0000 (08:02 +0200)]
Merge pull request #31889 from nextcloud/feature/noid/allow-to-autocomplete-user-and-group-commands
Allow to autocomplete user and group ids in commands
Joas Schilling [Wed, 13 Apr 2022 05:31:16 +0000 (07:31 +0200)]
Merge pull request #31942 from nextcloud/fix/dav-deprecated-warning
Fix warning about optional parameter before required one
Nextcloud bot [Wed, 13 Apr 2022 02:28:25 +0000 (02:28 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Simon L [Tue, 12 Apr 2022 18:29:49 +0000 (20:29 +0200)]
Merge pull request #31910 from MSe1969/master
Fix accept/reject remote share action #31301
MSe1969 [Fri, 8 Apr 2022 18:35:57 +0000 (20:35 +0200)]
Fix accept/reject remote share action
This is the fix for the described problem in
https://github.com/nextcloud/server/issues/31301
Signed-off-by: MSe1969 <mse1969@posteo.de>
Pytal [Tue, 12 Apr 2022 17:15:16 +0000 (10:15 -0700)]
Merge pull request #31937 from nextcloud/Valdnet-patch-1
Louis Chemineau [Tue, 12 Apr 2022 10:54:39 +0000 (12:54 +0200)]
Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
Côme Chilliet [Tue, 12 Apr 2022 12:26:24 +0000 (14:26 +0200)]
Fix warning about optional parameter before required one
Fixes this warning:
PHP Deprecated: Required parameter $logger follows optional parameter $principalPrefix in /var/www/html/apps/dav/lib/CalDAV/CalendarRoot.php on line 37
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 12 Apr 2022 12:17:13 +0000 (14:17 +0200)]
Merge pull request #31929 from nextcloud/enh/noid/zip-expose-stat
Expose ZIP stat information
Maxence Lange [Tue, 12 Apr 2022 12:10:36 +0000 (11:10 -0100)]
Merge pull request #31907 from nextcloud/enh/noid/tag-remote-as-globalscale
confirm user is internal to globalscale
Maxence Lange [Tue, 12 Apr 2022 10:10:41 +0000 (09:10 -0100)]
confirm user is internal to globalscale
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Côme Chilliet [Tue, 12 Apr 2022 09:18:04 +0000 (11:18 +0200)]
Fix ZipArchive::addEmptyDir stub
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet [Tue, 12 Apr 2022 09:10:04 +0000 (11:10 +0200)]
Add stubs for ZipArchive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Julius Härtl [Tue, 12 Apr 2022 08:31:22 +0000 (10:31 +0200)]
Merge pull request #31934 from nextcloud/getbyid-setup-fallback
perform a setup if we can't find any mounts containing a file
Valdnet [Tue, 12 Apr 2022 08:15:10 +0000 (10:15 +0200)]
l10n: Remove comma
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Vincent Petry [Tue, 12 Apr 2022 07:46:31 +0000 (09:46 +0200)]
Merge pull request #31220 from nextcloud/enhancement/31005/temporary-passwords
Temporary passwords for public non-anonymous protected shares (ie: files shared with an email recipient).
Vincent Petry [Tue, 12 Apr 2022 07:43:02 +0000 (09:43 +0200)]
Merge pull request #31927 from nextcloud/feat/dont_match_userid_tests
Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
Nextcloud bot [Tue, 12 Apr 2022 02:27:48 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
Cyrille Bollu [Sat, 5 Feb 2022 19:49:17 +0000 (20:49 +0100)]
Adds a "Request password" button to the public share authentication page for 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>
Simon L [Mon, 11 Apr 2022 19:10:04 +0000 (21:10 +0200)]
Merge pull request #31916 from nextcloud/enh/noid/template-picker-size
fix size of template picker
Pytal [Mon, 11 Apr 2022 17:45:40 +0000 (10:45 -0700)]
Merge pull request #31866 from nextcloud/test-avatar-migration
Pytal [Mon, 11 Apr 2022 17:43:01 +0000 (10:43 -0700)]
Merge pull request #31931 from nextcloud/contact-popover-hyperlink-issue-2
Robin Appelman [Mon, 11 Apr 2022 17:15:58 +0000 (19:15 +0200)]
perform a setup if we can't find any mounts containing a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Mon, 11 Apr 2022 13:13:39 +0000 (15:13 +0200)]
Expose ZIP stat information
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>