Commit graph

1279 commits

Author SHA1 Message Date
mairandomness
59e6655f57 move menus and 'Keyboard Shortcuts' 2018-10-25 21:13:00 -04:00
mairandomness
af5a129bde move menus to their new positions 2018-10-25 21:12:44 -04:00
mairandomness
b989f72a93 change 'About' to 'About Fractal' 2018-10-23 23:10:25 -04:00
Daniel Garcia Moreno
4d91f1ecfa Merge branch 'wip/exalm/titlebar' into 'master'
Use HdyTitleBar and drop custom devel style

See merge request World/fractal!249
2018-10-23 07:11:59 +00:00
Daniel Garcia Moreno
d5110dde60 Merge branch 'add-name-to-credits' into 'master'
Add Christopher Davis to author credits

See merge request World/fractal!250
2018-10-23 07:10:51 +00:00
Christopher Davis
111ff99e71 Add Christopher Davis to author credits 2018-10-22 19:22:44 -04:00
Alexander Mikhaylenko
af7560c8dd main_window.ui: Add .sidebar style to titlebar separator
This is required to make it look properly with HdyTitleBar.
2018-10-22 15:47:30 +05:00
Alexander Mikhaylenko
48dd9bdb3e main_window.ui: Wrap titlebar into HdyTitleBar 2018-10-22 15:47:20 +05:00
Alexander Mikhaylenko
e3ae08e0cc app.css: Drop custom devel style
Devel style is now available in GTK+ itself, so drop the custom style.
2018-10-22 15:42:20 +05:00
Daniel Garcia Moreno
4f2f61d811 Merge branch 'move-extern-crate' into 'master'
Move 'extern crate' statements to main.rs/lib.rs

Closes #274

See merge request World/fractal!248
2018-10-20 12:34:45 +00:00
Daniel García Moreno
b2a58ca903 Remove not needed use and externs 2018-10-20 13:50:15 +02:00
Daniel Garcia Moreno
d0e9c1fc1e Merge branch 'master' into 'move-extern-crate'
# Conflicts:
#   fractal-gtk/src/appop/message.rs
#   fractal-gtk/src/main.rs
2018-10-20 11:32:28 +00:00
mairandomness
9820d641ca move 'extern crate urlencoding' 2018-10-19 18:30:48 -04:00
mairandomness
054690f8bd move 'extern crate reqwest' 2018-10-19 18:28:43 -04:00
mairandomness
fa9aad776d move 'extern crate md5' 2018-10-19 18:25:43 -04:00
mairandomness
445af260d8 move 'extern crate letter_avatar' 2018-10-19 18:20:08 -04:00
mairandomness
31751432e9 move 'extern crate gettextrs' 2018-10-19 18:16:42 -04:00
mairandomness
9d2e41584d move 'extern crate secret_service' 2018-10-19 18:14:39 -04:00
mairandomness
0d4f3b684c move 'extern crate sourceview' 2018-10-19 18:11:48 -04:00
mairandomness
19302aa995 move 'extern crate cairo' 2018-10-19 18:06:30 -04:00
mairandomness
a14c5ec6a1 move 'extern crate regex' 2018-10-19 17:57:30 -04:00
mairandomness
f39df41943 move 'extern crate pango' 2018-10-19 17:15:31 -04:00
mairandomness
fdd14f0be5 move 'extern crate url' 2018-10-19 17:02:58 -04:00
mairandomness
b0bc22b0c4 move 'extern crate serde_json' 2018-10-19 16:56:51 -04:00
mairandomness
9940c2a16a move 'extern crate tree_magic' 2018-10-19 12:41:19 -04:00
Daniel García Moreno
e855d9ed64 sync: None since in the initial sync
We can read this in the spec [1]:

> To read events, the intended flow of operation is for clients to first
> call the /sync API without a since parameter. This returns the most
> recent message events for each room, as well as the state of the room at
> the start of the returned timeline

[1] https://matrix.org/docs/spec/client_server/latest.html#syncing
2018-10-19 13:33:58 +02:00
Daniel García Moreno
e25f936493 Send info data for image attachment
This patch adds the ability to extend a message event content with
custom json and use that new functionality to attach the image info for
image messages.

I've done this way becase in the future the protocol can support other
fields and we can add that from the client side without the need of the
backend to difference between that.

Fix #348
2018-10-19 13:16:22 +02:00
mairandomness
3e36e702e0 move 'extern crate gdk' 2018-10-18 19:10:03 -04:00
mairandomness
ee9cdbbee8 move 'extern crate glib' 2018-10-18 18:55:30 -04:00
mairandomness
7199081f8f move 'extern crate notify_rust' 2018-10-18 18:38:25 -04:00
mairandomness
62a08dfa04 move 'extern crate comrak' 2018-10-18 17:25:59 -04:00
mairandomness
6aa327aa24 move 'extern crate gdk_pixbuf' 2018-10-18 17:09:27 -04:00
mairandomness
b567e2e081 move 'extern crate chrono' 2018-10-18 16:36:02 -04:00
mairandomness
0c904e5e97 move 'extern crate gtk' 2018-10-18 16:14:39 -04:00
Daniel Garcia Moreno
39009aa149 Merge branch 'nota/raw-string' into 'master'
use raw string for json

See merge request World/fractal!247
2018-10-15 06:32:13 +00:00
NotAFile
5d8dc428b7 use raw strings for json 2018-10-15 00:45:57 +02:00
Jiri Grönroos
eab4169550 Update Finnish translation 2018-10-14 09:30:10 +00:00
Daniel Garcia Moreno
b0a1a1c285 Merge branch 'fix-invite-tabs' into 'master'
UI: Prevent invite search entries to add tabs

See merge request World/fractal!246
2018-10-13 09:31:07 +00:00
Eisha Chen-yen-su
9349f028a4 UI: Prevent invite search entries to add tabs
The new search entries used in the invite dialogs were preventing from
use the tabbing feature as it were literally inserting tabulations
instead.

See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-13 11:02:02 +02:00
Daniel Garcia Moreno
6e7b7f645c Merge branch 'filechoosernative' into 'master'
fractal-gtk: Use FileChooserNative and set default location

See merge request World/fractal!245
2018-10-13 07:47:06 +00:00
Christopher Davis
bf4957a174 fractal-gtk: Use FileChooserNative and set default location
In order for saving files to work without poking holes in the
flatpak sandbox, FileChooserNative needs to be used for portal
support. As a separate UX issue, the filechooser defaulted to
home for downloads, when ~/Downloads would have been more
appropriate. This was fixed alongside the FileChooserNative
changes.

Related to https://gitlab.gnome.org/World/fractal/issues/343
2018-10-12 12:52:43 -04:00
Daniel Garcia Moreno
7fe232a5f0 Merge branch 'fix-media-overflow' into 'master'
media_viewer: Fix potential overflow when loading media viewer

See merge request World/fractal!244
2018-10-11 07:40:57 +00:00
Christopher Davis
84b0ec82df media_viewer: Fix potential overflow when loading media viewer
The media viewer could panic if you loaded it quickly after
starting up the app when media_list.len() could return zero.
Now the length of media_viewer is insured to be greater than
zero before subtraction.
2018-10-10 14:47:51 -04:00
Daniel Garcia Moreno
2c9557f5e0 Merge branch 'invite-dialog' into 'master'
Redesign of the invite dialog

See merge request World/fractal!242
2018-10-08 09:54:57 +00:00
Daniel Garcia Moreno
4e1107161b Merge branch 'wip/exalm/dialogs' into 'master'
UI: Don't attach dialogs

See merge request World/fractal!243
2018-10-08 08:51:52 +00:00
Alexander Mikhaylenko
037dcfe39b UI: Don't attach dialogs
This fixes weird behavior with hover states and headerbar style.
2018-10-08 02:48:20 +05:00
Eisha Chen-yen-su
ec9ea6ee34 Invite: Rename new entries with better names
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 18:22:20 +02:00
Eisha Chen-yen-su
6541451509 Invite: Cleanup the code to remove the old GtkEntry
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 10:11:51 +02:00
Eisha Chen-yen-su
5d8ce756ce Invite: Give the GtkTextView the appearance of a GtkEntry
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 10:10:46 +02:00
Eisha Chen-yen-su
e603c33a7b UI: Enclose GtkTextViews in GtkBoxes
This is done in order to give the `GtkTextView` the appearance of a
`GtkEntry`.

See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-07 10:06:19 +02:00