Vincent Petry
1d0b210d00
Merge pull request #26039 from nextcloud/backport/25916/stable21
...
[stable21] Remove trash items from other trash backends when deleting all
2021-03-11 10:31:30 +01:00
Roeland Jago Douma
0e8ada1a8a
Merge pull request #26056 from nextcloud/backport/26031/stable21
...
[stable21] Allow autocomplete based on phone sync
2021-03-11 09:31:44 +01:00
Joas Schilling
62ef45028e
Clean up the logic of the contacts store a bit
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:42:19 +01:00
Joas Schilling
5fa52d492a
Rename some parameters and methods to make the API more clear
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:42:09 +01:00
Joas Schilling
99c1eda9c5
Bump version to run migration
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:41:43 +01:00
Joas Schilling
490bfa7330
Also clear the knownUser when changing via the settings endpoint
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:59 +01:00
Joas Schilling
49f7d08b38
Also execute the new tests on drone
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:49 +01:00
Joas Schilling
72fb176ec9
Change label also in the acceptance tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:38 +01:00
Joas Schilling
5afaf3d06c
Fix CS hopefully
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:32 +01:00
Joas Schilling
77f6d768bc
Add a setting to restrict returning a full match unless in phonebook or same group
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:26 +01:00
Joas Schilling
8069c52a85
Add a hint that the settings are OR based
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:20 +01:00
Joas Schilling
30610aa615
Add integration tests for autocomplete/get (similar to sharees API)
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:10 +01:00
Joas Schilling
c7560ab3a9
Restrict autocompletion also based on the phonebook known users
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:40:03 +01:00
Joas Schilling
52d43bf3cc
Add a config setting to restrict autocompletion to phonebook matches
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:55 +01:00
Joas Schilling
88855d8827
Add a service to find out if a user knows another user
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:46 +01:00
Joas Schilling
5af22f84b3
Delete matches when the user is being deleted
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:39 +01:00
Joas Schilling
19ccc992d5
Delete matches when a user changes their phone number
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:29 +01:00
Joas Schilling
3feca65399
Store when a user knows another user based on phone number
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:39:20 +01:00
Joas Schilling
ebb9f1d16a
Add a KnownUsers database with model
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-11 08:38:55 +01:00
Julius Härtl
1a25b2e402
Merge pull request #26051 from nextcloud/backport/26048/stable21
...
[stable21] cache baseurl in url generator
2021-03-11 08:30:58 +01:00
Nextcloud bot
e28dbef7a1
[tx-robot] updated from transifex
2021-03-11 02:23:18 +00:00
Robin Appelman
ac29f27b17
cache baseurl in url generator
...
Servers don't tend to change their url in the middle of a request
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-10 19:38:30 +00:00
Roeland Jago Douma
cc48b81411
Merge pull request #26026 from nextcloud/backport/25933/stable21
...
[stable21] Hide expiration date field for remote shares
2021-03-10 15:46:57 +01:00
Roeland Jago Douma
f94c69123a
Merge pull request #26044 from nextcloud/backport/26029/stable21
...
[stable21] Provisioning API to IBootstrap
2021-03-10 15:46:06 +01:00
Joas Schilling
a659ee1c2d
Fix some psalm warnings
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 13:38:00 +00:00
Roeland Jago Douma
fa2dc9abc5
Provisioning API to IBootstrap
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 13:37:59 +00:00
kesselb
c74cccd12c
Merge pull request #26042 from nextcloud/backport/26030/stable21
...
[stable21] Fix SCSS compiler deprecated function usages
2021-03-10 11:04:52 +01:00
Vincent Petry
ff95956e5d
Hide expiration date field for remote shares
...
Remote shares currently do not support expiration date.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 09:42:41 +00:00
Roeland Jago Douma
4c68aee72b
Merge pull request #25877 from nextcloud/backport/25568/stable21
...
[stable21] disable trasbin during the moveFromStorage fallback
2021-03-10 09:33:51 +01:00
Roeland Jago Douma
4cf3a9f81e
Fix SCSS compiler deprecated function usages
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 08:24:30 +00:00
Julius Härtl
deb01f04da
Remove trash items from other trash backends when deleting all
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-10 08:00:11 +00:00
Nextcloud bot
3c07ae86ea
[tx-robot] updated from transifex
2021-03-10 02:23:09 +00:00
Roeland Jago Douma
1ac8630a51
Merge pull request #25937 from nextcloud/backport/25927/stable21
...
[stable21] Sharebymail: set expiration on creation
2021-03-09 20:21:04 +01:00
Nextcloud bot
45cc358d79
[tx-robot] updated from transifex
2021-03-09 02:24:04 +00:00
Julius Härtl
ecb64381fb
Merge pull request #25993 from nextcloud/backport/25975/stable21
...
[stable21] Add missing waits and asserts in acceptance tests
2021-03-08 10:57:33 +01:00
Daniel Calviño Sánchez
8185c46bd8
Find directly the label instead of falling back to it
...
The input element is always hidden, so the check always ended falling
back to the label. Moreover, the label is the element that the user
interacts with, so it must be the one used.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:45 +00:00
Daniel Calviño Sánchez
3a470c2ebe
Assert also element visibility instead of just finding it
...
Although if the element could not be found an exception would be thrown
and the test aborted if an element is in the DOM but hidden it would be
found and the test would pass.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:44 +00:00
Daniel Calviño Sánchez
b086a0f007
Add explicit locator for "Enable all" bundle button
...
Instead of looking for the bundle button and then checking its value now
the expected value is included in the locator and the button is checked
similarly to other elements.
No "Disable all" locator was added as it was not currently needed
anywhere.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:44 +00:00
Daniel Calviño Sánchez
1058abc97c
Find elements through the actor rather than the driver
...
"Actor::find" is a more robust way to look for elements, as it handles
some exceptions that may be thrown. Therefore, even if the elements are
not actually used and it is only checked whether they exist or not using
the actor is the preferred way when possible (and it also makes it
consistent with the rest of the acceptance tests).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:43 +00:00
Daniel Calviño Sánchez
270db2f523
Add locator for apps list
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:43 +00:00
Daniel Calviño Sánchez
4c98d2949f
Fix identation
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:42 +00:00
Daniel Calviño Sánchez
34814adb36
Fix delete user acceptance test
...
Adding some missing asserts showed that the "delete user" acceptance
test was silently failing, as the deletion was not being confirmed in
the dialog and thus the user was not being deleted.
The dialog button contains a single quote ("user0's"), so the XPath
expression had to be adjusted (it seems that it is not possible to
escape a single quote in a string enclosed in single quotes in XPath
1.0).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:42 +00:00
Daniel Calviño Sánchez
d03bc3e535
Verify WaitFor::element... results with an assertion
...
WaitFor::element... calls only perform the waiting and return whether
the condition succeeded or not, but that result needs to be explicitly
checked to prevent further steps from being executed if the wait failed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:41 +00:00
Daniel Calviño Sánchez
f3a4ec723a
Add missing waits when finding elements in the acceptance tests
...
As no timeout was specified the elements were tried to be found just
once. This caused the steps to fail if the elements did not appear yet
in the page when they were tried to be found.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-08 07:55:40 +00:00
Roeland Jago Douma
6842530d7f
Merge pull request #25962 from nextcloud/backport/25712/stable21
...
[stable21] Fix admin password strengthify tooltip
2021-03-08 08:53:47 +01:00
Nextcloud bot
48df1bef17
[tx-robot] updated from transifex
2021-03-08 02:23:21 +00:00
Nextcloud bot
0dc05f51ef
[tx-robot] updated from transifex
2021-03-07 02:22:17 +00:00
Roeland Jago Douma
e645482089
Merge pull request #25955 from nextcloud/backport/25932/stable21
...
[stable21] Skip empty obsolete owner when adding to own NC
2021-03-06 10:54:22 +01:00
Nextcloud bot
5e6a891fce
[tx-robot] updated from transifex
2021-03-06 02:22:32 +00:00
Richard Steinmetz
4c2159a622
Fix admin password strengthify tooltip
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-03-05 18:15:30 +01:00