Commit graph

85 commits

Author SHA1 Message Date
Daniel García Moreno
5c0f17a42c Release 4.0.0 2018-12-22 11:19:34 +01:00
Daniel García Moreno
9a13a32f46 Beta release 3.99.1
See #396
2018-12-20 15:51:59 +01:00
Daniel García Moreno
b4dc4d2b6f Beta release 3.99.0
See #396
2018-12-14 19:46:41 +01:00
Daniel García Moreno
420e64931a Use letter-avatar from crates.io 2018-12-12 11:34:29 +01:00
Zeeshan Ali
8b39ce1f2e fractal-gtk: Bump regex requirement to 1.1.0
We'll need the latest regex in a following patch for emoji matching.
2018-12-09 22:53:21 +01:00
Julian Sparber
1ce73a7881 Notification: use GNotification 2018-12-07 12:44:23 +01:00
Daniel García Moreno
0403f14d83 Update all dependencies 2018-10-27 19:18:09 +02:00
Daniel García Moreno
ada758a33a cache: First steps to use lmdb cache 2018-10-05 09:14:49 +02:00
Julian Sparber
158f4c24a5
column: add libhandy column to message view 2018-10-01 08:32:41 +03:00
Daniel García Moreno
25f4cb948a reqwests update to 0.9.0 2018-09-20 09:24:37 +02:00
Daniel García Moreno
45977c3533 Update all dependencies 2018-09-18 10:53:15 +02:00
Jordan Petridis
c41484a86c
Remove gspell
Gspell hasn't been used since we switched to a source view for the
message entry. We should not keep it in the tree if its not used
and nobody is currenty working on wiring it up again.

Close #333
2018-09-13 22:11:53 +03:00
Daniel García Moreno
ed632140d3 Release 3.30.0 2018-09-04 09:43:06 +02:00
Daniel García Moreno
6170d0e0d5 New release 3.29.92
New features:

 * Use markup for room details
 * Direct chat and invite to user id
 * Redesign file messages
 * Improve notification title format
 * Room Topic: Remove the button, use only labels
 * MessageMenu: Copy selected text action to menu
 * Native file chooser for attachments

Fixes:
 * Don't override m.direct on direct room creation

New and improved translations and a lot of code fixes
2018-08-30 09:03:39 +02:00
Daniel García Moreno
ced28384f2 Remove unicode segmentation, not needed 2018-08-07 14:17:29 +02:00
Daniel García Moreno
8d2ed11379 New release 3.29.6
Changelog:

 * Add German translation
 * Message right click menu with: view source, reply, copy text and
   delete
 * Styles for quotes in messages
 * Initial sync speed up
2018-08-03 10:57:02 +02:00
Daniel García Moreno
d093f03bfc message.rs: Use itertools to group quotes lines
I've tried to simplify the code that group lines by quote/no-quote, it's
a lot simpler using the itertools crate.

This patch also adds a new enum for the message part, instead of use a
simple bool, so we can manage other kind of rendering in a message. I
was thinking about the Markdown code block for example.
2018-07-29 19:57:40 +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
Eisha Chen-yen-su
f49f6be6cc fractal-gtk: Use msg_entry as a GtkSourceView
This modifies `msg_entry` to be a GtkSourceView in order to support
multiline message input. Messages are still sent by simply pressing the
enter key but there is also the possibility to insert line returns
within the message with Shift-Enter.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Daniel García Moreno
a5d354ad31 Improve avatar async loading
The avatar was not redrawing after image download, I've moved the avatar
loading retry from the drawing method to a separated one to call just
after the backend respond so we don't retry if it's not needed and we
can redraw when the image is ready.

I've also changed the letter-avatar git dependency to use the crates.io
one.

We should improve this async user data loading, this will change in the
near future when we change to the new data model and we can have a good
cache system. Meantime this solution works.
2018-07-10 09:19:01 +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
Jordan Petridis
d1cfc8b633 Update gst crates and add pulseaudio to the flatpak manifest. 2018-06-26 15:24:53 +00:00
Jordan Petridis
efb685ac6a AudioPlayer: Wire the labels and slider to the gst_player. 2018-06-26 15:24:50 +00:00
Jordan Petridis
aba59f6197 AudioPlayer: Initial yak shaving, not wired up yet. 2018-06-26 15:24:50 +00:00
Jordan Petridis
b581ae4d01
fractal-gtk: Remove pining of some deps.
This was due to a bug. It has since been fixed and
it's no longer needed.
2018-06-22 16:50:40 +03: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
ae80f56720 i18n: New module to use gettext with params
We can't use format with dynamic strings so we can't use gettext
response with format. To format translatable strings easily I've created
a new module so we can use like this:

```
    let literal = i18n("TESTINGx gettext");
    let nonamed_params = i18n_f("TESTING! gettext {} and {}", &["one", "two"]);
    let named_params =i18n_k("TESTING2 gettext {one} and {two}",
                             &[("one", "1"),
                               ("two", "two")]);
```
2018-06-18 13:41:09 +02:00
Daniel García Moreno
5c0316cbbd fractal-api renamed to fractal-matrix-api 2018-06-08 15:51:37 +02:00
Alexandre Franke
16e6e80517 passwd: Improve handling of uninstalled schemas 2018-06-07 23:59:08 +02:00
Daniel García Moreno
d060f47312 Adapt version number to follow gnome release cycle
We want to make Fractal a *real* GNOME app so we need to follow the
gnome version number for releases.

See #253
2018-06-01 00:19:09 +02:00
Daniel García Moreno
4b45f1c8c2 stickers: Render correctly gif and stickers button hide 2018-05-25 10:16:57 +02:00
Daniel García Moreno
eafbfef28a Custom gettext-rs without gettext tarball inside 2018-05-22 16:46:05 +02:00
Daniel García Moreno
7a26544df0 New release 0.1.30
New features:
 * Translations support
 * Number of members in the room in the members button
 * File storage configuration support
 * Gold and Silver tags for admins and moderatos
2018-05-21 21:06:36 +02:00
Eisha CHEN-YEN-SU
60367530ba Cargo: Add gettext-rs as a dependency
This adds the crate gettext-rs among the dependencies of Fractal
in order to use gettext for i18n.

Closes https://gitlab.gnome.org/World/fractal/issues/89
2018-05-18 12:28:41 +02:00
Julian Sparber
206035ca1a gspell: add basic spell check
* add gspell as spell checker to fractal, currently only accessible form
the context menu
2018-05-15 14:13:33 +00:00
Daniel García Moreno
84761d4d37 New release 0.1.29
New Features:
 * New default avatars for users
 * Initial sync speed up
 * Highlight own username in mentions using pango attributes
2018-05-14 11:51:56 +02:00
Daniel García Moreno
eed332822a New release 0.1.28
New features:
 * Make "Start chat" buttons insensitive
 * Notify for direct messages

Fixes:
 * Update initial_sync notification message
 * Use Pango for room with no avatars
 * Revert "Don't send markdown in the body when parsed"
 * api: Use md5 as unique message id instead of i32
 * markdown: Remove P tag that wraps the html
2018-04-30 11:39:16 +02:00
Daniel García Moreno
861599adc8 remove not needed ammonia dep 2018-04-29 20:06:11 +02:00
Daniel García Moreno
7373582cee New release 0.1.27
New features:
 * show mxid in member tooltip
 * Focus on message entry after clicking on a username
 * Basic markdown sending
 * Change Load more GtkButton to GtkSpinner
 * mention: blue highlight for messages with mentions and cleanup css file
 * Redesigned new room creation (fixes #98)

Fixes:
 * Unlock collections and items in secret storage before use.
 * fix: add joining members to the there own room instate to the active room
 * Fix autocomplete crash with unicode usernames
 * Fix url parsing
2018-04-27 10:09:51 +02:00
Daniel García Moreno
aa5c979f80 Update deps and html2pango
This update will fix #185. The fix is in the html2pango lib, that now
parses links correctly.
2018-04-27 10:04:09 +02:00
Daniel García Moreno
7bfe63ac9c Don't send markdown in the body when parsed
If we parse the markdown syntax and sent that as formatted_body we
shouldn't sent the markdown text in the body, the correct way is to send
a simple text message in the body as a fallback.
2018-04-27 09:14:58 +02:00
Daniel García Moreno
0c8ffc76e9 autocomplete: Code cleanup, remove all unwraps
I've removed all unwraps that can be removed, managing the result of all
of that with the ?  operator and using the std::option::Option type.

This way we'll avoid crashes, because an unmanaged unwrap can cause a
crash so we need to check this always.

I've also removed the unicode-segmentation depencency. We can use the
.chars iterators and it seems to work correctly.
2018-04-27 08:46:19 +02:00
Daniel García Moreno
42a41b0893 update dependencies
* serde: 1.0.42
2018-04-22 11:02:12 +02:00
BrainBlasted
e89fa42951 Basic markdown sending with no UI changes 2018-04-19 19:45:55 +00:00
Daniel García Moreno
2b779a41ff Update deps
Fix #185
2018-04-16 08:27:24 +02:00
Daniel García Moreno
cb7f911c8e New release 0.1.26
New features:
 * Add new description to README, and some other small README improvements
 * new autoscroll with animation
 * Ability to launch multiple Fractal instances using FRACTAL_ID env

Fixes:
 * Escape text in body using the last html2pango
 * center inapp notification
 * Fix request with no timeout
 * Show user id when the displayname isn't present
 * Fix macos compilation problem with notify_rust
 * autocomplete: fix change usernames font color to white when selection ends at the same position as the username
 * Avoid destroy dialog on Esc
2018-04-14 14:06:19 +02:00
Daniel García Moreno
a8ed58d0f5 Escape text in body using the last html2pango 2018-04-14 14:02:11 +02:00
Daniel García Moreno
8534edd27e Update rust dependencies 2018-04-09 21:19:13 +02:00