Commit graph

941 commits

Author SHA1 Message Date
Mario Blättermann
2adf7876e5 Add German translation 2018-07-27 14:43:23 +00: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 Garcia Moreno
4be459aae3 Merge branch 'multiline-input-fix' into 'master'
Multiline input scrolling fix

Closes #288

See merge request World/fractal!168
2018-07-24 08:32:33 +00:00
Eisha Chen-yen-su
d54b92466b UI: Remove useless attributes for msg_entry
Closes https://gitlab.gnome.org/World/fractal/issues/288
2018-07-24 10:16:23 +02:00
Eisha Chen-yen-su
198bb0c64d send.rs: Reset the scrolling position
This resets the scrolling position while the `msg_entry` widget isn't
at its maximum height, so that the cursor never gets at the top when
inserting new lines.

Closes https://gitlab.gnome.org/World/fractal/issues/288
2018-07-24 10:15:37 +02:00
Daniel Mustieles
baf99637ad Update Spanish translation 2018-07-24 07:35:08 +00: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
Daniel García Moreno
0020e7e164 Merge branch 'remember_markdown_state'
Remember markdown toggle state

See merge request World/fractal!167
2018-07-23 18:33:20 +02:00
Daniel García Moreno
7674f26558 Use and_then instead nested if-else for gschema 2018-07-23 18:26:31 +02:00
Daniel García Moreno
bbc123a48f msg-entry: Scrollbar for input 2018-07-23 17:25:24 +02:00
Daniel García Moreno
0998413058 build: check glib-compile-resources command output 2018-07-23 17:25:24 +02:00
Daniel García Moreno
290ba20703 fractal-gtk: Use word-char wrap mode for input 2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
09dded9b32 fractal-gtk: Remove some dead code
This removes some dead code in order to reduce the amount of warnings
given by cargo.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
1ebd17c235 spellcheck.rs: Change to what it could be like
This changes `connect_spellcheck` to what it could be like if there was
the required bindings. Leave commented what is not already working.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
612b7ae1fb autocomplete.rs: Change the arrow keys inhibition
This changes the arrow keys signal inhibition as it was not possible
to navigate in the message input with the up and down keys.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
05543b60c3 fractal-gtk: Fix highlighting conflicts
This fixes the conflict between the Markdown syntax highlight and
the alias highlight.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
06a4355648 fractal-gtk: Add Markdown syntax highlight support
Closes https://gitlab.gnome.org/World/fractal/issues/216
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
1207d0af8e Fix merge conflicts issues 2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
6a53e35a7f UI: Fix some visual issues
See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
60154ccd1b Flatpak: Add gtksourceview sources
This adds the sources of gtksourceview so that flatpaks of Fractal can
be built.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
f97b225930 CI: Add gtksourceview3-devel package
This tells GitLab CI to install the package `gtksourceview3-devel` in
order to successfully build Fractal.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Eisha Chen-yen-su
a691590195 App: Reimplement completion for GtkSourceView
See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +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
Eisha Chen-yen-su
9c7015daa5 UI: Change message entry type to GtkSourceView
This changes the message entry from GtkEntry to GtkSourceView in order
to support multiline message input. GtkSourceView will also allow an
easy reimplementation of the nickname completion and add the support
for Markdown syntax highlighting.

See https://gitlab.gnome.org/World/fractal/issues/154
2018-07-23 17:25:24 +02:00
Christopher Davis
fc3593f14a Remember markdown toggle state
Adds a gschema (org.gnome.Fractal.markdown-active) to remember the state
of the markdown toggle. Every time the app starts up it checks the
value of the schema. Every time the switch is toggled the schema's
value changes.

Related to #229
2018-07-23 01:00:44 -04:00
Piotr Drąg
81b7fd4e93 Update Polish translation 2018-07-22 17:33:51 +00:00
Daniel Garcia Moreno
54a2fdb2dd Merge branch 'update-potfiles-180719' into 'master'
Update POTFILES.in

See merge request World/fractal!166
2018-07-20 07:18:46 +00:00
Piotr Drąg
5dadf25df7 Update POTFILES.in 2018-07-19 16:34:22 +02:00
Daniel Garcia Moreno
e07873b999 Merge branch 'room' into 'master'
Add the new room settings

See merge request World/fractal!149
2018-07-19 09:56:08 +00:00
Julian Sparber
6897ad01f4 roomsettings: update .po file and add i18n
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-19 10:03:59 +02:00
Julian Sparber
f96eeeffc9 roomsettings: fix member list disappearing when closing
don't remove the members list before closing the room settings panel,
fixes room members list disappearing a split secound before the panel
closes.

https://gitlab.gnome.org/World/fractal/issues/19
2018-07-19 10:03:59 +02:00
Julian Sparber
c772d9f5dc roomsettings: hide confirm button when the topic/name didn't change
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-19 10:03:59 +02:00
Julian Sparber
cf7dffd808 roomsettings: clean up code from old memberslist 2018-07-19 10:03:59 +02:00
Julian Sparber
44b2d28337 roomsettings: reload room settings when members are avaible
code clean up
2018-07-17 22:14:23 +02:00
Julian Sparber
089b001ebe headerbar: remove avatar form the headerbar
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
20c9ebd404 roomsettings: move room settings panel to a custom widget 2018-07-17 21:51:55 +02:00
Julian Sparber
692045fe53 roomsettings: make room description label a dim-label
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
78c5be1ab6 roomsettings: set max with for centerd column
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
0c99e0e26d roomheaderbar: move room menu to new settings button
make the room title and description open the room settings and remove
the old members button, to replace it with the new room settings menu
button
2018-07-17 21:51:55 +02:00
Julian Sparber
a2de6ac533 roomsettings: hide not implemented widgets
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
5097931456 roomsettings: request avatar when entering the room settings
* make a request to get the avatar and username before entering the room
settings, so that the content for each row is avabile once the user
scrolls to the members list.

* run rustfmt

https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
0244a23de8 roomsettings: hide settings not needed for a room type
Display only settings available for the specific type of conversation
room, group or direct chat and hide all others

https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
dc83201d53 roomsettings: add invite button
https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
544fc52ff3 roomsettings: show members in the room settings
This implements a new members list widget without the use of the backend
and with the use of the cached avatar, also it implements the new UI for
the members list.

https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Julian Sparber
4e6b802aca room: add room settings panel
move all functionality of the old room config dialog to the new panel
and start the implementation of the new UI for the room settings panel

https://gitlab.gnome.org/World/fractal/issues/19
2018-07-17 21:51:55 +02:00
Daniel Garcia Moreno
ce59272e76 Merge branch 'remove_strn' into 'master'
Remove the custom strn! macro.

See merge request World/fractal!164
2018-07-16 06:07:45 +00: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
8b2c5cba83 Stickers max size to 200px width
Close #283
2018-07-13 09:33:00 +02:00
Daniel García Moreno
3fe43f5054 Merge branch 'merge-requests/163'
Fix Improper Decoration Layout For HeaderBar

See merge request World/fractal!163
2018-07-13 08:41:42 +02:00