Commit graph

19 commits

Author SHA1 Message Date
Eisha Chen-yen-su
065e231023 Backend: Add a command to redact messages
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-28 10:34:32 +02:00
Eisha Chen-yen-su
a9a017bfc1 Message: Add message's source
See https://gitlab.gnome.org/World/fractal/issues/195
2018-07-28 10:34:32 +02:00
Daniel García Moreno
54933a903a New release 3.29.5
* Fix multiline behaviour
 * Update spanish translations
2018-07-27 12:46:51 +02:00
Daniel García Moreno
c68fa2d651 New release 3.29.4
New features:
 * New audio player widget for audio files
 * MediaViewer now loads more images from the server
 * MediaViewer with headerbar in full screen
 * New avatar async loading and defaults
 * New room settings view
 * Multiline entry with markdown syntax highlighting
2018-07-23 19:10:23 +02:00
Daniel García Moreno
0bc7474eda Update rust deps 2018-07-23 18:53:42 +02:00
Jordan Petridis
0cb3197055
Remove the custom strn! macro.
This custom macro adds extra complexity since the user can't
know what it does and has to be familiar with it. It's behavior is
trivial and it does not justify a custom macro for a one-liner.

This also has the benefit of reducting the compile time, since its
now replace by a funtion call and the compiler no longer needs
to expand each occurence of the macro.
2018-07-15 16:18:54 +03:00
Daniel García Moreno
c775dc8f1b Underscore unused variable in get_username_async 2018-07-13 08:10:19 +02:00
Eisha CHEN-YEN-SU
58ad2375b4 Backend: Update messages receipts when syncing
See https://gitlab.gnome.org/World/fractal/issues/115
2018-07-09 19:16:02 +02:00
Eisha CHEN-YEN-SU
c8b888c77c Message: Add receipt to messages
This adds a new field that contains the receipts of the message.

See https://gitlab.gnome.org/World/fractal/issues/115
2018-07-09 19:16:02 +02:00
Daniel Garcia Moreno
d52c2d9bcc Fix double http prefix in repo url 2018-07-07 15:15:08 +00:00
Daniel García Moreno
54d383d719 Merge branch refactor-avatar
See merge request World/fractal!155

I've also added one commit to reload the username in the message history
2018-07-06 11:06:26 +02:00
Daniel García Moreno
0516782a87 Reload the username in the message history 2018-07-06 11:05:50 +02:00
Julian Sparber
8993f5fdfd avatar: refactor avatar loading and caching
* use the same method everywhere to display an avatar
* move code to generate letter avatars to a separate crate
* use the generated avatar as a fallback till the real avatar is
avaibile
* remove gtk dependecies from fractal-matrix-api

Note: The avatar in room details dialog is borken but the dialog will be
replaced soon. Also updating the username in the room history doesn't
work, the room history needs a refactor to resolve some issues.
2018-07-05 18:54:59 +02:00
Eisha CHEN-YEN-SU
d2999f85de Backend: Add a command to fetch media list
This adds a command in the backend that asynchronously fetches
a list of media before a given message.

See https://gitlab.gnome.org/World/fractal/issues/265
2018-07-05 08:36:15 +02:00
Jordan Petridis
16a062c105 build: do not append params if they don't exist. 2018-06-26 15:24:52 +00:00
Jordan Petridis
c4f69d6f6c backend: Add command to retrieve a media url. 2018-06-26 15:24:52 +00:00
Daniel García Moreno
7250f95206 New release 3.29.1
New features:

 * Media viewer for images
2018-06-22 09:15:40 +02:00
Daniel García Moreno
36a8e47cd2 Fix attach file with the current message queue flow
I've moved the image/attach message creation from the backend to the
frontend so now we need to create the message with the file path in the
url field to attach a file. This simplifies the backend and allow us
more control over the temp message that we're showing because we can
render the temp message with the image
2018-06-08 18:16:01 +02:00
Daniel García Moreno
5c0316cbbd fractal-api renamed to fractal-matrix-api 2018-06-08 15:51:37 +02:00