Commit graph

26308 commits

Author SHA1 Message Date
Carl Schwan
40ac4e8197
Update cache when display name change
This improve the correctness of the data

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 15:22:16 +02:00
Carl Schwan
3d49fe473a
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>
2022-04-22 15:22:16 +02:00
blizzz
efde83e07f
Merge pull request #32046 from nextcloud/backport/32042/stable24
[stable24] improve optimization for SharedStorage::instanceOfStorage(Common)
2022-04-22 14:34:13 +02:00
Robin Appelman
8fc44d24eb also apply the fix for the other storage types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 14:29:30 +00:00
Robin Appelman
553812d6b6 improve optimization for SharedStorage::instanceOfStorage(Common)
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-21 14:29:30 +00:00
Christopher Ng
7476e118aa Fix warning
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 16:23:27 +00:00
Christopher Ng
7be2f5bcdb Update naming of address book exports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 16:23:27 +00:00
Christopher Ng
add66bc918 Fix export of shared calendars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-20 16:23:27 +00:00
Vincent Petry
bccb69f806
Merge pull request #30860 from nextcloud/smb-getdirectory-content-catch
handle notfound and notpermitted error in Smb::getDirectoryContent
2022-04-14 20:26:17 +02:00
Vincent Petry
396db12e8e
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
2022-04-14 17:51:13 +02:00
Vincent Petry
0824f440f0
Merge pull request #31886 from nextcloud/bugfix/noid/principal-search-case-insensitive-dn
Principal search by display name case insensitive
2022-04-14 15:07:25 +02:00
Vincent Petry
82f1344d33
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>
2022-04-14 14:13:47 +02:00
Vincent Petry
3ca797129c
Merge pull request #31839 from nextcloud/feat/metadata-server
Add a metadata service to store file metadata
2022-04-14 13:39:31 +02:00
Carl Schwan
1c7ecfc544 Fix an issue with the search backend update
And update autoloader

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +02:00
Valdnet
167efe9796
l10n: Change to lowercase
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-14 10:15:39 +02:00
Valdnet
2117e72c29
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>
2022-04-14 09:55:47 +02:00
Nextcloud bot
45a156edd4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-14 02:28:46 +00:00
Pytal
3ebf7d045a
Merge pull request #31969 from nextcloud/fix/user_migration-use-exceptions
Catch avatar export separately for better failure tracing
2022-04-13 10:58:41 -07:00
Christopher Ng
0924271abe Catch avatar export separately for better failure tracing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-13 17:02:25 +00:00
Vincent Petry
58f5de08df
Merge pull request #31945 from nextcloud/fix/user_migration-use-exceptions
Adapt user_migration APIs to have information about failures
2022-04-13 18:55:37 +02:00
Vincent Petry
78c8e57896
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>
2022-04-13 16:52:40 +02:00
Côme Chilliet
0fd72f4355
Adapt existing migrators to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:40 +02:00
Vincent Petry
2c2b238008
Default to permanent link passwords
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:11:15 +02:00
Vincent Petry
f5c8fa4f11
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>
2022-04-13 15:46:30 +02:00
Carl Schwan
7817845538 Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +02:00
Vincent Petry
cd95fce105
Merge pull request #31932 from nextcloud/feat/ignore_second_dn
Add settings to ignore second display name in search
2022-04-13 09:52:38 +02:00
Joas Schilling
c233acce14
Merge pull request #31942 from nextcloud/fix/dav-deprecated-warning
Fix warning about optional parameter before required one
2022-04-13 07:31:16 +02:00
Nextcloud bot
1ddb7aa457
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-13 02:28:25 +00:00
MSe1969
8a6bfcb9b8 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>
2022-04-12 19:38:39 +02:00
Louis Chemineau
37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +02:00
Côme Chilliet
2049a21348
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>
2022-04-12 14:26:24 +02:00
Valdnet
13b5118c76
l10n: Remove comma
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-04-12 10:15:10 +02:00
Vincent Petry
483741ff36
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).
2022-04-12 09:46:31 +02:00
Vincent Petry
4626bfbc83
Merge pull request #31927 from nextcloud/feat/dont_match_userid_tests
Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
2022-04-12 09:43:02 +02:00
Nextcloud bot
2c267524fc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-12 02:27:48 +00:00
Cyrille Bollu
c6a5c07041 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>
2022-04-11 21:58:24 +02:00
Simon L
25384196f1
Merge pull request #31916 from nextcloud/enh/noid/template-picker-size
fix size of template picker
2022-04-11 21:10:04 +02:00
Pytal
209a2a6a4b
Merge pull request #31866 from nextcloud/test-avatar-migration 2022-04-11 10:45:40 -07:00
Côme Chilliet
eed6330b92 Adapt AccountMigratorTest to id change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +00:00
Côme Chilliet
dda51d49d7 Use Migrators id instead of class names
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>
2022-04-11 13:59:27 +00:00
Louis Chemineau
a1ff0f368d Tweak tests to include shareapi_restrict_user_enumeration_full_match_userid
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-11 12:51:19 +02:00
Vincent Petry
cde260577e
Merge pull request #31857 from nextcloud/feat/dont_match_userid
Add settings to not match userID during full match
2022-04-11 10:27:59 +02:00
Vincent Petry
e36233dbab
Merge pull request #31911 from nextcloud/enh/extend-migrators
Extend migrators needed for implementation of the API
2022-04-11 10:24:20 +02:00
Joas Schilling
3566589757
Merge pull request #31903 from nextcloud/bugfix/noid/fix-missing-else
Fix case also when the table existed already
2022-04-11 08:45:40 +02:00
Nextcloud bot
036ef0da91
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-11 02:27:57 +00:00
Nextcloud bot
f90030ea43
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-10 02:33:44 +00:00
szaimen
1202ef1a70 fix size of template picker
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-09 11:12:55 +00:00
Nextcloud bot
6f9d726ccf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-09 02:27:45 +00:00
Andy Xheli
64f75edd99 Fix LDAP Dark Theme Issue
Signed-off-by: Andy Xheli axheli@axtsolutions.com
2022-04-08 22:57:33 +02:00
Christopher Ng
e08b8c47a2 Extend calendar migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +00:00