Sometimes the login fails, and we've the credentials from the libsecret
store so when the login fails we're showing the login panel empty, this
patch fill the login panel for this case
If we've the token we use it and don't try to login again, if there's no
token we try the login with credentials.
I'm storing the token with other key in libsecret, then the token isn't
stored in clear text.
Fix#138
New features:
* New style for emotes
* Spinner to initial sync notification
* A line for the last viewed message
* Split user menu in two menus and remove the title in the left headerbar
* Show user info in popover
* Make room avatar in header 24px if no description
Bug fixes:
* Centered titlebar
* Remove tooltip when there's not topic
This adds new fields to `AppOp` (`last_viewed_messages` and
`tmp_last_viewed_message`).
`last_viewed_messages` maps the last viewed message for each room.
`tmp_last_viewed_message` stores the last viewed message for a given
room when the styles are being applied to the messages, otherwise
the value in `last_viewed_messages` is updated before it is done.
Closes https://gitlab.gnome.org/danigm/fractal/issues/75
This adds a new CSS class for the last viewed message:
that is to say, the message that is stored into the field
`tmp_last_viewed_message`.
Closes https://gitlab.gnome.org/danigm/fractal/issues/75
Replaces boxes with headerbars in the titlebar.
For correctly centering the Room name and topic we need to use
headerbars in the normal view.
Also the title in other views would be always slightly of center.
For handling left side close btn placement we also need headerbar.
New features:
* Style improvements in messages history
* Make the date label more human friendly
* InApp notification for initial sync
Bug fixes:
* fix minor visual issue with notify bubbles
New features:
* Invite dialog redesign
* Feedback for the initial sync
* Autocomplete with popover
Bug fixes:
* Logout cleanups to avoid information leak
* Fix /me message mangling
* Better room name calculation
On messages like "/me foo /me" it would replace all occurencies of
"/me" with an empty string.
Instead this trims only the "Left" parts of the message. Left as
defined in the `.trim_left_matches()` method of `str`in the rustdocs.
To get feedback to the user when the initial sync is running, I've added
a blink animation to the Fractal label. I've also added a tooltip.
Maybe we should show a better message somewhere to let the user know
that the first sync can take a lot of time.
New features:
* Ctrl-K to toggle room sidebar search
* m.emote support
* OARS in appdata
* shortcuts window
Bug fixes:
* Improve a11y
* Use css class instead of pango for msg colors