When swiping away a message it is only removed from the local message
lists and a snackbar appears. When the snackbar is dismissed or the user
deletes another message the delete request is sent to the server. If the
user presses "undo" on the snackbar the message is reinserted into the
local lists at its previous position.
- Add information (link to documentation) when no messages are present
- Add example URL in LoginActivity to indicate the expected format
- Fix capitalization in UI
The problem is that HttpUrl.parse parses URLs with trailing whitespace without problems, but during the URL parsing in ClientFactory an exception is thrown in that case.
Other errors when instantiating the API client are now handled as well.
- Added fields to login page to a) disable ssl validation or b) select
a custom Certificate Authority certificate to use with the server.
- Changed visibility of widgets on login page from INVISIBLE to GONE so
they don't take up space while hidden (since this was causing weird
spacing issues with the new fields).
- Added state to settings to store ssl validation choice or certificate
data.
- Added fields to various HTTP methods to disable ssl validation or set
valid certificate authority if either setting is enabled.