]>
source.dussan.org Git - nextcloud-server.git/log
Daniel Calviño Sánchez [Mon, 1 Feb 2021 03:32:28 +0000 (04:32 +0100)]
Handle corrupted scope values
Due to a bug (fixed some commits ago) in the UsersController of the
settings app the scope of the properties can be null (for example, if
lookup server upload was disabled and the user then changed the display
name in the profile information). In that case now the scope menu icon
shows an error to inform the user.
The scope value will not change when other properties are modified until
the user chooses an explicit value from the menu. Note that until a
scope is explicitly set the property will behave as if it is private.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Mon, 1 Feb 2021 02:34:36 +0000 (03:34 +0100)]
Fix settings scope menu hidden when lookup server upload is disabled
When upload to the lookup server is disabled the scope menu was hidden
in the personal information settings. However, even if the lookup server
upload is disabled the personal information is still accesible from the
local server as well as trusted servers. Users should be able to still
set if their information is available to other users or if it is
private, so now the scope menu is always show (although the "Public"
option is hidden if the lookup server upload is disabled).
If the user set the information as public before the upload to the
lookup server was disabled the menu will also show the "Public" option
as active, although disabled. Setting the visibility to any of the other
options will hide the "Public" option from the menu (until the lookup
server upload is enabled again).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Sun, 31 Jan 2021 22:10:55 +0000 (23:10 +0100)]
Add integration tests for searching users in contacts menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 3 Dec 2020 12:11:19 +0000 (13:11 +0100)]
Make possible to set body in requesttoken requests in integration tests
"sendingAToWithRequesttoken" needs to be used to test some non OCS
endpoints which require the request token to be sent in the request. Now
it is possible to specify the body (or, rather, additional contents
beside the cookies and the request token) for those requests, as it will
be needed for example to update the user profile.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Sun, 31 Jan 2021 21:53:48 +0000 (22:53 +0100)]
Fix deleting properties of user settings when not given explicitly
The controller can receive an optional subset of the properties of the
user settings; values not given are set to "null" by default. However,
those null values overwrote the previously existing values, so in
practice any value not given was deleted from the user settings. Now
only non null values overwrite the previous values.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Sun, 31 Jan 2021 13:08:24 +0000 (14:08 +0100)]
Fix TypeError when "email" is not given in the controller request
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 29 Jan 2021 21:11:16 +0000 (22:11 +0100)]
Respect additional user settings not covered by the controller
"AccountManager::updateUser()" wipes previous user data with whichever
user data is given (except for some adjustments, like resetting the
verified status when needed). As the controller overrode the properties
those properties would lose some of their attributes even if they are
not affected by the changes made by the controller. Now the controller
only modifies the attributes set ("value" and "scope") to prevent that.
Note that with this change the controller no longer removes the
"verified" status, but this is not a problem because, as mentioned,
"AccountManager::updateUser()" resets them when needed (for example,
when the value of the website property changes).
This change is a previous step to fix overwritting properties with null
values, and it will prevent the controller from making unexpected
changes if more attributes are added in the future.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 29 Jan 2021 20:21:54 +0000 (21:21 +0100)]
Add more unit tests for setting user settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 29 Jan 2021 19:37:14 +0000 (20:37 +0100)]
Change default test data to values less similar to empty values
Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 29 Jan 2021 19:34:10 +0000 (20:34 +0100)]
Extract default test data to a helper getter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 29 Jan 2021 19:32:41 +0000 (20:32 +0100)]
Use constants from interface rather than class
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Nextcloud bot [Fri, 23 Apr 2021 02:26:35 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 22 Apr 2021 18:54:46 +0000 (20:54 +0200)]
Merge pull request #26693 from nextcloud/backport/25714/stable20
[stable20] Explicitly check hex2bin input
Roeland Jago Douma [Thu, 18 Feb 2021 19:12:20 +0000 (20:12 +0100)]
Explicitly check hex2bin input
For #23197
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Thu, 22 Apr 2021 07:47:45 +0000 (09:47 +0200)]
Merge pull request #26684 from nextcloud/backport/26474/stable20
[stable20] Mention MariaDB in MySQL support warning
Nextcloud bot [Thu, 22 Apr 2021 02:26:44 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Claas Augner [Fri, 9 Apr 2021 10:31:16 +0000 (12:31 +0200)]
Mention MariaDB in MySQL support warning
Christoph Wurst [Wed, 21 Apr 2021 13:43:30 +0000 (15:43 +0200)]
Merge pull request #26640 from nextcloud/backport/26625/stable20
[stable20] Fix empty password check for mail shares
Morris Jobke [Wed, 21 Apr 2021 12:21:11 +0000 (14:21 +0200)]
Merge pull request #26678 from nextcloud/backport/26658/stable20
[stable20] Do not stop directory listing when ACL is blocking access
Julius Härtl [Tue, 20 Apr 2021 15:03:20 +0000 (17:03 +0200)]
Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Vincent Petry [Mon, 19 Apr 2021 13:25:26 +0000 (15:25 +0200)]
Fix empty password check for mail shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Nextcloud bot [Wed, 21 Apr 2021 02:26:25 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 20 Apr 2021 15:50:48 +0000 (17:50 +0200)]
Merge pull request #26656 from nextcloud/psalm/noid/update-psalm-baseline/stable20
[stable20] Update psalm baseline
Vincent Petry [Tue, 20 Apr 2021 15:07:16 +0000 (17:07 +0200)]
Update psalm baseline
And backport error suppression from stable21 in SFTP class.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Roeland Jago Douma [Tue, 20 Apr 2021 14:25:32 +0000 (16:25 +0200)]
Merge pull request #26642 from nextcloud/backport/26639/stable20
[stable20] ensure redis returns bool for hasKey
Roeland Jago Douma [Tue, 20 Apr 2021 13:09:54 +0000 (15:09 +0200)]
Merge pull request #26620 from nextcloud/backport/26614/stable20
[stable20] Update root.crl due to revoked news.crt
Morris Jobke [Tue, 20 Apr 2021 12:28:24 +0000 (14:28 +0200)]
Merge pull request #26643 from nextcloud/backport/26633/stable20
[stable20] Make lookup search explicit
Roeland Jago Douma [Mon, 19 Apr 2021 18:05:21 +0000 (20:05 +0200)]
Make lookup search explicit
Speedsup sharee lookup quite a bit.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Arthur Schiwon [Tue, 13 Apr 2021 21:07:54 +0000 (23:07 +0200)]
ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Morris Jobke [Tue, 20 Apr 2021 07:06:40 +0000 (09:06 +0200)]
Merge pull request #26637 from nextcloud/backport/26615/stable20
[stable20] Require read permissions for federated shares
Nextcloud bot [Tue, 20 Apr 2021 02:26:21 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 19 Apr 2021 10:53:49 +0000 (12:53 +0200)]
Require read permissions for federated shares
Else they end up as weird shares that can't be properly utilized by
other parties anyway.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Mon, 19 Apr 2021 19:48:52 +0000 (21:48 +0200)]
Merge pull request #26622 from nextcloud/backport/26613/stable20
[stable20] Do not allow adding file drop shares to your own cloud
Roeland Jago Douma [Mon, 19 Apr 2021 07:08:32 +0000 (09:08 +0200)]
Do not allow adding file drop shares to your own cloud
There is no reason for this and you can't create such shares normally
anyway.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Morris Jobke [Mon, 19 Apr 2021 09:56:35 +0000 (11:56 +0200)]
Update root.crl due to revoked news.crt
See https://github.com/nextcloud/app-certificate-requests/pull/382
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Roeland Jago Douma [Mon, 19 Apr 2021 10:46:12 +0000 (12:46 +0200)]
Merge pull request #26602 from nextcloud/dependabot/npm_and_yarn/stable20/ssri-6.0.2
[Security] Bump ssri from 6.0.1 to 6.0.2
Nextcloud bot [Mon, 19 Apr 2021 02:26:26 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 18 Apr 2021 02:24:30 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 17 Apr 2021 02:24:25 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
dependabot-preview[bot] [Fri, 16 Apr 2021 22:06:01 +0000 (22:06 +0000)]
[Security] Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Nextcloud bot [Fri, 16 Apr 2021 02:26:13 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 15 Apr 2021 02:25:32 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 14 Apr 2021 02:27:12 +0000 (02:27 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 13 Apr 2021 02:25:18 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 12 Apr 2021 11:32:14 +0000 (13:32 +0200)]
Merge pull request #26515 from nextcloud/backport/26439/stable20
[stable20] Increase subnet matcher
Lukas Reschke [Wed, 7 Apr 2021 12:07:08 +0000 (12:07 +0000)]
Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Roeland Jago Douma [Mon, 12 Apr 2021 08:17:57 +0000 (10:17 +0200)]
Merge pull request #26509 from nextcloud/backport/26230/stable20
[stable20] l10n: Add word user in FederatedShareProvider.php
Valdnet [Sat, 20 Mar 2021 14:33:29 +0000 (15:33 +0100)]
l10n: Add word user in FederatedShareProvider.php
Standardizing text strings with other Nextcloud applications.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Mon, 12 Apr 2021 02:25:16 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 11 Apr 2021 02:25:03 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 10 Apr 2021 02:31:32 +0000 (02:31 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 9 Apr 2021 02:25:30 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 8 Apr 2021 12:39:29 +0000 (14:39 +0200)]
Merge pull request #26454 from nextcloud/version/20.0.9/final
20.0.9 final
Roeland Jago Douma [Thu, 8 Apr 2021 12:37:17 +0000 (14:37 +0200)]
Merge pull request #26449 from nextcloud/3rdparty/stable20/phpseclib-2.0.31
[3rdparty][stable20] phpseclib-2.0.31
Roeland Jago Douma [Thu, 8 Apr 2021 08:02:08 +0000 (10:02 +0200)]
[3rdparty][stable20] phpseclib-2.0.31
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Thu, 8 Apr 2021 08:20:43 +0000 (10:20 +0200)]
20.0.9 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Thu, 8 Apr 2021 02:24:23 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 7 Apr 2021 02:24:36 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Lukas Reschke [Tue, 6 Apr 2021 11:43:55 +0000 (13:43 +0200)]
Merge pull request #26399 from nextcloud/backport/26061/stable20
[stable20] Log and continue when failing to update encryption keys during for individual files
Nextcloud bot [Tue, 6 Apr 2021 02:25:51 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 5 Apr 2021 02:25:05 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 4 Apr 2021 02:25:07 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 3 Apr 2021 02:43:54 +0000 (02:43 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Fri, 2 Apr 2021 02:26:26 +0000 (02:26 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 1 Apr 2021 18:01:30 +0000 (20:01 +0200)]
Merge pull request #26312 from nextcloud/version/20.0.9/RC1
20.0.9 RC1
Morris Jobke [Thu, 1 Apr 2021 16:17:08 +0000 (18:17 +0200)]
Merge pull request #26405 from nextcloud/backport/26403/stable20
[stable20] remove leftover debug @NoCSRFRequired introduced with #26198
Robin Appelman [Thu, 1 Apr 2021 11:51:53 +0000 (13:51 +0200)]
remove leftover debug @NoCSRFRequired introduced with #26198
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Mon, 15 Mar 2021 17:05:27 +0000 (18:05 +0100)]
Fix phpcs issues in encryption update
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Julius Härtl [Thu, 11 Mar 2021 10:32:29 +0000 (11:32 +0100)]
Log and continue when failing to update encryption keys during for individual files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Nextcloud bot [Thu, 1 Apr 2021 02:24:59 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
kesselb [Wed, 31 Mar 2021 08:08:34 +0000 (10:08 +0200)]
Merge pull request #26378 from nextcloud/backport/25500/stable20
[stable20] fix(translation): replace static error message
Christoph Wurst [Wed, 31 Mar 2021 05:43:11 +0000 (07:43 +0200)]
Merge pull request #26381 from nextcloud/backport/26372/stable20
[stable20] gracefully handle deleteFromSelf when share is already gone
Nextcloud bot [Wed, 31 Mar 2021 02:25:11 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Arthur Schiwon [Tue, 30 Mar 2021 10:59:40 +0000 (12:59 +0200)]
gracefully handle deleteFromSelf when share is already gone
- handling race conditions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Samuel [Fri, 5 Feb 2021 12:27:37 +0000 (13:27 +0100)]
revert(comment)
Signed-off-by: Samuel <faust64@gmail.com>
Samuel [Fri, 5 Feb 2021 11:52:59 +0000 (12:52 +0100)]
revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
Samuel [Fri, 5 Feb 2021 11:06:35 +0000 (12:06 +0100)]
fix(translation): replace static error message
as suggested by @kesselb in nextcloud/server#25490
Signed-off-by: Samuel <faust64@gmail.com>
Roeland Jago Douma [Tue, 30 Mar 2021 18:53:11 +0000 (20:53 +0200)]
Merge pull request #26258 from nextcloud/backport/26198/stable20
[stable20] Handle limit offset and sorting in files search
Christoph Wurst [Tue, 30 Mar 2021 09:30:52 +0000 (11:30 +0200)]
Merge pull request #26364 from nextcloud/backport/26325/stable20
[stable20] Update cipher defaults
Nextcloud bot [Tue, 30 Mar 2021 02:24:39 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 29 Mar 2021 19:14:39 +0000 (21:14 +0200)]
Merge pull request #26262 from nextcloud/backport/26046/stable20
[stable20] update icewind/smb to 3.4.0
Roeland Jago Douma [Mon, 29 Mar 2021 19:03:36 +0000 (21:03 +0200)]
Merge pull request #26356 from nextcloud/backport/26342/stable20
[stable20] Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
J0WI [Fri, 26 Mar 2021 18:38:38 +0000 (19:38 +0100)]
Update cipher defaults
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
dependabot-preview[bot] [Mon, 29 Mar 2021 17:29:01 +0000 (17:29 +0000)]
Merge pull request #26360 from nextcloud/dependabot/npm_and_yarn/stable20/y18n-4.0.1
dependabot-preview[bot] [Mon, 29 Mar 2021 16:55:44 +0000 (16:55 +0000)]
[Security] Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Nick Sweeting [Sat, 27 Mar 2021 03:43:42 +0000 (23:43 -0400)]
change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
Nextcloud bot [Mon, 29 Mar 2021 02:24:18 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Mar 2021 02:24:24 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Mar 2021 02:24:47 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Fri, 26 Mar 2021 12:51:02 +0000 (13:51 +0100)]
Merge pull request #26290 from nextcloud/backport/21484/stable20
[stable20] show better error messages when a file with a forbidden path is encountered
Roeland Jago Douma [Fri, 26 Mar 2021 09:32:48 +0000 (10:32 +0100)]
20.0.9 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
John Molakvoæ [Fri, 26 Mar 2021 07:57:48 +0000 (08:57 +0100)]
Merge pull request #26305 from nextcloud/backport/22201/stable20
[stable20] Delete old birthday calendar object when moving contact to another ad…
John Molakvoæ [Fri, 26 Mar 2021 07:08:53 +0000 (08:08 +0100)]
Merge pull request #26297 from nextcloud/backport/26287/stable20
[stable20] Fix l10n
Christian Weiske [Tue, 11 Aug 2020 20:13:55 +0000 (22:13 +0200)]
Delete old birthday calendar object when moving contact to another address book
When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.
To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.
Resolves: https://github.com/nextcloud/server/issues/20492
Signed-off-by: Christian Weiske <cweiske@cweiske.de>
Nextcloud bot [Fri, 26 Mar 2021 02:25:53 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 25 Mar 2021 19:37:06 +0000 (20:37 +0100)]
Merge pull request #26176 from nextcloud/backport/26076/stable20
[stable20] adds ldap user:reset command
Morris Jobke [Thu, 25 Mar 2021 19:33:05 +0000 (20:33 +0100)]
Merge pull request #26302 from nextcloud/backport/26299/stable20
[stable20] Log when a storage is marked as unavailable
Morris Jobke [Thu, 25 Mar 2021 15:14:20 +0000 (16:14 +0100)]
Log when a storage is marked as unavailable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Valdnet [Thu, 25 Mar 2021 09:26:50 +0000 (10:26 +0100)]
Fix l10n
Issue: #26286
Arthur Schiwon [Thu, 11 Mar 2021 22:23:55 +0000 (23:23 +0100)]
adds ldap user:reset command
- allows to delete data of existing LDAP users, which otherwise is safe
guarded
- ensures that the user is not being deleted on LDAP through a plugin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>