Now there is no longer a "New group conversation" item shown in the
conversation list dropdown; instead first the desired conversation name
needs to be typed in the search input and then the group conversation
with that name is selected in the dropdown.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
To check that the chat view is shown in the main view the ancestor
locator of the chat view must be the main view; if the chat ancestor set
in other steps is used it just checks that the chat view is shown
somewhere, but it does not guarantee that it is shown in the main view.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
As the scenario should be played by three actors a new one, named "Jim"
for consistency with the acceptance tests of the server, was introduced.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The display name of reshares with one-to-one rooms not invited to was
always set to the display name of the last participant. Now it includes
the name of both participants in the room instead.
Note that this is not needed for deleted shares, as in that case only
shares by the user, not reshares, need to be formatted.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
In the original "fix" (spoiler alert: the fix was wrong) "POSTGRES_DB"
ended being empty due to "$DATABASE_NAME_dummy" being parsed as a full
variable name, instead of "$DATABASE_NAME" followed by the string
"_dummy".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Updating a received share is no longer allowed by the server, so the
integration tests have to be adjusted to the new behaviour.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
As the virtual list removes its child elements that are no longer
visible the index of the messages in the acceptance test is no longer an
absolute index for the whole list, but an index only for the currently
visible messages. However, as all the messages sent in each test fit in
the available space no message is hidden and the previous indexes are
still valid.
The only change needed is in the locator for chat messages; as they are
declared as direct children of their parent now they must be set as
descendants of the wrapper instead of as descendants of the message list
itself.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This prepares the code for future changes in which the password could be
requested for other types of shares.
Note that the notification of a password request is just a regular call
notification; thus, the share is not provided in the notification
parameters and it has to be got from the ID of the object associated to
the room (as in "share:password" rooms the object ID is the share
token).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>