]>
source.dussan.org Git - nextcloud-server.git/log
Roeland Jago Douma [Thu, 9 Jul 2020 19:08:09 +0000 (21:08 +0200)]
Merge pull request #21701 from nextcloud/version/17.0.8/rc1
17.0.8 RC1
Roeland Jago Douma [Thu, 9 Jul 2020 19:02:27 +0000 (21:02 +0200)]
Merge pull request #21774 from nextcloud/backport/21489/stable17
[stable17] Use the correct mountpoint to calculate
Robin Appelman [Wed, 8 Jul 2020 13:32:11 +0000 (15:32 +0200)]
better cleanup in share tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Wed, 8 Jul 2020 11:58:27 +0000 (13:58 +0200)]
ensure home storage is initialized on first setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Wed, 8 Jul 2020 11:58:04 +0000 (13:58 +0200)]
ensure mounts are scanned during tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
Daniel Calviño Sánchez [Mon, 22 Jun 2020 17:40:11 +0000 (19:40 +0200)]
Add more integration tests for resharing permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Roeland Jago Douma [Fri, 19 Jun 2020 14:25:49 +0000 (16:25 +0200)]
Use the correct mountpoint to calculate
If we use the owners mount point this results in null. And then the rest
of the checks get called with null. Which doesn't work.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Thu, 9 Jul 2020 02:18:03 +0000 (02:18 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Wed, 8 Jul 2020 18:12:29 +0000 (20:12 +0200)]
Merge pull request #21753 from nextcloud/backport/21706/stable17
[stable17] Add a clear message why you could end up there
Joas Schilling [Mon, 6 Jul 2020 11:44:12 +0000 (13:44 +0200)]
Add a clear message why you could end up there
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Wed, 8 Jul 2020 02:17:24 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 7 Jul 2020 13:27:21 +0000 (15:27 +0200)]
Merge pull request #21498 from lmamane/stable17-21285-oneliner
fix #21285 as oneliner
Nextcloud bot [Tue, 7 Jul 2020 02:16:59 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 6 Jul 2020 11:18:52 +0000 (13:18 +0200)]
17.0.8 RC1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Roeland Jago Douma [Mon, 6 Jul 2020 08:38:36 +0000 (10:38 +0200)]
Merge pull request #21669 from nextcloud/revert-21097-backport/21090/stable17
Revert "[stable17] Do not read certificate bundle from data dir by de…
Nextcloud bot [Mon, 6 Jul 2020 02:16:35 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Sat, 4 Jul 2020 06:54:57 +0000 (08:54 +0200)]
Merge pull request #21389 from nextcloud/backport/21380/stable17
[stable17] Increase timeout of the appstore requests
Roeland Jago Douma [Sat, 4 Jul 2020 06:54:21 +0000 (08:54 +0200)]
Merge pull request #21587 from nextcloud/backport/20726/stable17-fix-federated-link-sharing-permissions
[stable17] Fix federated link sharing permissions
Nextcloud bot [Sat, 4 Jul 2020 02:16:43 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Fri, 3 Jul 2020 12:20:55 +0000 (14:20 +0200)]
Revert "[stable17] Do not read certificate bundle from data dir by default"
Joas Schilling [Fri, 12 Jun 2020 07:28:41 +0000 (09:28 +0200)]
Increase timeout of the appstore requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Fri, 3 Jul 2020 02:17:38 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 2 Jul 2020 19:00:25 +0000 (21:00 +0200)]
Merge pull request #21552 from nextcloud/backport/21535/stable17
[stable17] Fix language in share notes email for users
Roeland Jago Douma [Thu, 2 Jul 2020 18:49:36 +0000 (20:49 +0200)]
Merge pull request #21656 from nextcloud/backport/21653/stable17
[stable17] Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
Joas Schilling [Thu, 2 Jul 2020 09:05:02 +0000 (11:05 +0200)]
Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validating
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Wed, 1 Jul 2020 02:16:40 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 30 Jun 2020 02:16:37 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 29 Jun 2020 02:17:02 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Jun 2020 02:16:36 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Jun 2020 02:17:09 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Thu, 25 Jun 2020 18:49:08 +0000 (20:49 +0200)]
Fix federated link sharing permissions
If a link share has read permissions it may have too share permissions
(depending on whether federated shares are allowed or not). Therefore
the share permission needs to be ignored when checking the permissions
to determine the public upload status.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Nextcloud bot [Thu, 25 Jun 2020 02:17:10 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
blizzz [Wed, 24 Jun 2020 20:43:30 +0000 (22:43 +0200)]
Merge pull request #21570 from nextcloud/backport/21564/stable17
[stable17] fix obsolete usage of OCdialogs
Arthur Schiwon [Wed, 24 Jun 2020 15:34:00 +0000 (17:34 +0200)]
fix obsolete usage of OCdialogs
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Joas Schilling [Tue, 23 Jun 2020 06:14:27 +0000 (08:14 +0200)]
Fix language in share notes email for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Wed, 24 Jun 2020 02:17:13 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 23 Jun 2020 02:17:37 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Mon, 22 Jun 2020 09:04:02 +0000 (11:04 +0200)]
Merge pull request #21523 from nextcloud/backport/21478/stable17
[stable17] Clarify that the email is always shared within the instance
Joas Schilling [Fri, 19 Jun 2020 07:12:23 +0000 (09:12 +0200)]
Clarify that the email is always shared within the instance
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Sun, 21 Jun 2020 02:16:33 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Lionel Elie Mamane [Sun, 7 Jun 2020 13:41:09 +0000 (15:41 +0200)]
adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid != loginname
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
Lionel Elie Mamane [Sun, 7 Jun 2020 12:15:10 +0000 (14:15 +0200)]
Return correct loginname in credentials,
even when token is invalid or has no password.
Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
Nextcloud bot [Sat, 20 Jun 2020 02:17:04 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
blizzz [Fri, 19 Jun 2020 18:05:53 +0000 (20:05 +0200)]
Merge pull request #21487 from nextcloud/backport/21482/stable17
[stable17] Don't log Keys
Joas Schilling [Fri, 19 Jun 2020 11:44:27 +0000 (13:44 +0200)]
Don't log Keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
Nextcloud bot [Fri, 19 Jun 2020 02:16:53 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 18 Jun 2020 02:17:02 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 17 Jun 2020 02:16:10 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Tue, 16 Jun 2020 02:16:32 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Mon, 15 Jun 2020 02:16:24 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 14 Jun 2020 02:16:17 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Thu, 11 Jun 2020 02:16:16 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Wed, 10 Jun 2020 02:16:34 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Tue, 9 Jun 2020 17:29:46 +0000 (19:29 +0200)]
Merge pull request #21335 from nextcloud/backport/21318/stable17
[stable17] clear LDAP cache after user deletion
Arthur Schiwon [Mon, 8 Jun 2020 15:52:43 +0000 (17:52 +0200)]
clear LDAP cache after user deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Nextcloud bot [Tue, 9 Jun 2020 02:16:22 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Joas Schilling [Mon, 8 Jun 2020 17:23:56 +0000 (19:23 +0200)]
Merge pull request #21158 from nextcloud/backport/21143/stable17-fix-password-changes-in-link-and-mail-shares
[stable17] Fix password changes in link and mail shares
Nextcloud bot [Mon, 8 Jun 2020 02:16:23 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 7 Jun 2020 02:16:16 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Sat, 6 Jun 2020 08:41:57 +0000 (10:41 +0200)]
Merge pull request #20803 from nextcloud/backport/19124/stable17
[stable17] Exclude groups from sharing: Skip delete groups
Roeland Jago Douma [Sat, 6 Jun 2020 07:46:10 +0000 (09:46 +0200)]
Merge pull request #21130 from nextcloud/backport/21123/stable17
[stable17] simplify getGroups, fixing wrong chunking logic
Nextcloud bot [Sat, 6 Jun 2020 02:16:26 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Fri, 5 Jun 2020 11:39:14 +0000 (13:39 +0200)]
Merge pull request #21249 from nextcloud/backport/21229/stable17
[stable17] Fix empty event UUID reminder notifications
Thomas Citharel [Thu, 4 Jun 2020 09:08:20 +0000 (11:08 +0200)]
Fix empty event UUID reminder notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Nextcloud bot [Fri, 5 Jun 2020 02:17:04 +0000 (02:17 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 4 Jun 2020 17:02:52 +0000 (19:02 +0200)]
Merge pull request #21231 from nextcloud/backport/20427/stable17
[stable17] Fix password reset saying Admin changed my password when reset from login page
Roeland Jago Douma [Thu, 4 Jun 2020 17:02:22 +0000 (19:02 +0200)]
Merge pull request #21228 from nextcloud/backport/21199/stable17
[stable17] Prevent harder to share your root
Thomas Citharel [Thu, 4 Jun 2020 09:31:09 +0000 (11:31 +0200)]
Use \OC::$CLI instead of PHP_SAPI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Thomas Citharel [Fri, 10 Apr 2020 16:05:43 +0000 (18:05 +0200)]
Fix password reset saying Admin changed my password when reset from
login page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Joas Schilling [Wed, 3 Jun 2020 07:29:19 +0000 (09:29 +0200)]
Prevent harder to share your root
Signed-off-by: Joas Schilling <coding@schilljs.com>
Roeland Jago Douma [Thu, 4 Jun 2020 08:59:16 +0000 (10:59 +0200)]
Merge pull request #21202 from nextcloud/backport/21181/stable17
[stable17] Do not only catch Exceptions but any Throwable during rmt share delete
Roeland Jago Douma [Thu, 4 Jun 2020 06:26:00 +0000 (08:26 +0200)]
Merge pull request #21183 from nextcloud/version/17.0.7/final
17.0.7
Nextcloud bot [Thu, 4 Jun 2020 02:16:44 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Christoph Wurst [Tue, 2 Jun 2020 07:21:09 +0000 (09:21 +0200)]
Do not only catch Exceptions but any Throwable during rmt share delete
When a remote share is deleted, we notify the remove instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Nextcloud bot [Wed, 3 Jun 2020 02:16:37 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Tue, 2 Jun 2020 07:27:22 +0000 (09:27 +0200)]
17.0.7
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Nextcloud bot [Tue, 2 Jun 2020 02:16:19 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Mon, 1 Jun 2020 18:13:28 +0000 (20:13 +0200)]
Do not disable send password by Talk without setting new password in UI
Before it was possible to disable "send password by Talk" without
setting a new password, so the UI allowed that. Now that the server
prevents it the UI had to be adjusted to not update the share until a
new password is set when "send password by Talk" is disabled.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:53:36 +0000 (20:53 +0200)]
Add integration tests for video verification
Enabling the "send password by Talk" property of shares require that
Talk is installed and enabled, so the Drone step that runs them has to
first clone the Talk repository.
When the integration tests are run on a local development instance,
however, it is not guaranteed that Talk is installed. Due to this the
"@Talk" tag was added, which ensures that any feature or scenario marked
with it will first check if Talk is installed and, if not, skip the
scenario (instead of failing).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:52:11 +0000 (20:52 +0200)]
Add integration tests for creating and updating a mail share
In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.
To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.
In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.
For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:50:02 +0000 (20:50 +0200)]
Generalize integration test steps to download last share
Note that the "last link share can be downloaded" step was kept as it
tests the "url" property specific of link shares.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:46:33 +0000 (20:46 +0200)]
Remove unused variables
The step names were adjusted accordingly.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:40:33 +0000 (20:40 +0200)]
Fix disabling send password by Talk without new password in mail shares
When "send password by Talk" was disabled in a mail share it was
possible to keep the same password as before, as it does not pose any
security issue (unlike keeping it when "send password by Talk" is
enabled, as in that case the password was already disclosed by mail).
However, if a mail share is updated but the password is not set again
only the hashed password will be available. In that case it would not
make sense to send the password by mail, so now the password must be
changed when disabling "send password by Talk".
Note that, even if explicitly setting the same password again along with
the "send password by Talk" property would work, this was also prevented
for simplicity.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:37:18 +0000 (20:37 +0200)]
Fix enabling send password by Talk with same password in mail shares
When "send password by Talk" is enabled in a mail share a new password
must be also set. However, when the passwords of the original and the
new share were compared it was not taken into account that the original
password is now hashed, while the new one is not (unless no new password
was sent, in which case the password of the original share was set in
the new share by the controller, but that was already prevented due to
both passwords being literally the same), so it was possible to set the
same password again.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:29:28 +0000 (20:29 +0200)]
Fix enabling send password by Talk with empty password in link shares
When "send password by Talk" is enabled in a link share now a non empty
password is enforced.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Thu, 28 May 2020 18:27:33 +0000 (20:27 +0200)]
Fix creating a mail share with a password
When a mail share was created with a password the given password was
ignored. Now the given password is properly set and, if passwords are
enforced, it is not overriden with the autogenerated password.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Nextcloud bot [Mon, 1 Jun 2020 02:16:19 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 31 May 2020 02:16:36 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 30 May 2020 02:16:23 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Thu, 28 May 2020 18:26:00 +0000 (20:26 +0200)]
Extend mail shares unit tests to check the password and mail template
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Nextcloud bot [Fri, 29 May 2020 02:16:48 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Arthur Schiwon [Wed, 27 May 2020 12:41:10 +0000 (14:41 +0200)]
simplify getGroups, fixing wrong chunking logic
pagination is taken care of properly in the search logic in Access class
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Roeland Jago Douma [Thu, 28 May 2020 14:20:44 +0000 (16:20 +0200)]
Merge pull request #21062 from nextcloud/version/17.0.7/RC1
17.0.7 RC1
Roeland Jago Douma [Thu, 28 May 2020 14:19:50 +0000 (16:19 +0200)]
Merge pull request #21110 from nextcloud/backport/19793/stable17
[stable17] Fix resharing of federated shares that were created out of links
Nextcloud bot [Thu, 28 May 2020 02:16:57 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Wed, 27 May 2020 19:58:49 +0000 (21:58 +0200)]
Merge pull request #21104 from nextcloud/backport/20676/stable17
[stable17] Don't remove last user in ldap group when limit is -1
blizzz [Wed, 27 May 2020 08:18:27 +0000 (10:18 +0200)]
Merge pull request #21116 from nextcloud/backport/21106/stable17
[stable17] use the loginname to verify the old password in user password changes
Nextcloud bot [Wed, 27 May 2020 02:16:29 +0000 (02:16 +0000)]
[tx-robot] updated from transifex
Clement Wong [Mon, 27 Apr 2020 00:28:47 +0000 (02:28 +0200)]
Don't remove last user in ldap group when limit is -1
Signed-off-by: Clement Wong <git@clement.hk>
Arthur Schiwon [Mon, 25 May 2020 21:00:00 +0000 (23:00 +0200)]
use the loginname to verify the old password in user password changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>