Commit graph

1448 commits

Author SHA1 Message Date
Giovanni Grieco
62f076a1b8 Add Shift+Enter shortcut in shortcuts window
This fixes issue #401
2018-12-15 16:43:18 +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
c0971cdc90 Check if active_room is some to avoid early return
The room order wasn't updated and the room name wasn't bold when you
receive a message without a room selected because if active_room is
None, the `?` operator will return the function and the moveup and
set_bold functions never get called.

Fix #394
2018-12-14 11:25:16 +00:00
Julian Sparber
ab013749e2 sidebar: clenup code for room selection 2018-12-13 18:02:47 +01:00
Julian Sparber
0a686c5eaa sidebar: select room when open it via the notification 2018-12-13 17:41:27 +01:00
Julian Sparber
5ff067eb2e sidebar: unselect row when changing rooms, fix #385 2018-12-13 17:06:38 +01:00
Tobias Bernard
4413d22e3d big emoji: change font size to 3em 2018-12-13 12:45:55 +01:00
Alexandre Franke
a4f09bdd41 rust: stop depending on nightly for fmt 2018-12-13 10:14:59 +00:00
Alexandre Franke
93472c1a4a message: catch more emoji combinations 2018-12-13 09:39:56 +00:00
Julian Sparber
61916e3868 App: reenable devel style 2018-12-12 18:53:25 +01:00
Alejandro Domínguez
764d399335 Get avatar thumbnails cropped from server 2018-12-12 16:12:36 +01:00
Julian Sparber
0ce3e63e33 App: don't allow App::new() to fail 2018-12-12 15:20:43 +01:00
Julian Sparber
4f6d546830 sticker: remove code for sticker #239 2018-12-12 15:20:43 +01:00
Julian Sparber
1d89fdf85d app: show ErrorDialog (if possible) when app fails to start 2018-12-12 15:20:43 +01:00
Julian Sparber
4818ca1e03 ErrorDialog: show dialog on top of current active window 2018-12-12 15:20:43 +01:00
Julian Sparber
6b43f61394 App: store weak pointer to AppOp 2018-12-12 15:20:43 +01:00
Julian Sparber
c910aad9d7 app: add workarond for GTK::Application::present() 2018-12-12 15:20:43 +01:00
Julian Sparber
383d8865f8 autocomplete: close autocomplete popover on esc 2018-12-12 15:20:43 +01:00
Julian Sparber
29a77d6ec6 refactor: Add back action to go to previous view
This uses a store to keep track of the AppStates, so the user can go
back to the previous state by clicking the back button or press Escape.
2018-12-12 15:20:43 +01:00
Julian Sparber
253ed04e90 message: connect image row directly to action
This connects the image row directly to the action to open the media
viewer, this way the action doesn't need to be passed to message.rs.
FIX: button press on images don't close the left click menu
2018-12-12 15:20:43 +01:00
Julian Sparber
0d42618161 refactor App and add WeakApp
This cleans up App and addes the possibility to have a weak reference to
the App. It's heavily inspired by the example application written by
Slomo: https://github.com/sdroege/rustfest-rome18-gtk-gst-workshop
2018-12-12 15:20:43 +01:00
Daniel García Moreno
1a91866e17 Update Cargo.lock with cargo update 2018-12-12 11:53:14 +01:00
Daniel García Moreno
420e64931a Use letter-avatar from crates.io 2018-12-12 11:34:29 +01:00
Alexandre Franke
35d4beeba9 Merge branch 'wip/big-emojis' into 'master'
message: Make emoji-only messages, big

Closes #367

See merge request World/fractal!291
2018-12-11 17:03:04 +00:00
Daniel Garcia Moreno
9a178de8e4 Merge branch 'master' into 'master'
Trim spaces on Matrix ID/Alias on Join Room window

See merge request World/fractal!302
2018-12-11 11:22:49 +00:00
Alejandro Domínguez
111e81a48c Trim spaces on Matrix ID/Alias on Join Room window 2018-12-11 11:40:26 +01:00
Rafael Fontenelle
93648eb8d3 Update Brazilian Portuguese translation 2018-12-11 00:50:27 +00:00
Zeeshan Ali
6c599708f0 message: Make emoji-only messages, big
Just like most chat apps do these days.

Fixes #367.
2018-12-09 22:53:21 +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
Piotr Drąg
94b084f4ec Update Polish translation 2018-12-09 11:15:15 +00:00
Daniel Garcia Moreno
e610fb6078 Merge branch 'patch-1' into 'master'
Don't translate the default text of in-app notification

See merge request World/fractal!300
2018-12-09 08:45:48 +00:00
Daniel Garcia Moreno
9c29829813 Merge branch 'appop' into 'master'
refactor: remove AppOp Loop fix #374

Closes #374

See merge request World/fractal!299
2018-12-09 08:44:23 +00:00
Julian Sparber
b7e57a32e7 refactor: remove AppOp Loop fix #374 2018-12-08 00:33:52 +01:00
Bilal Elmoussaoui
802ca6ac25 Remove the label property. 2018-12-07 20:24:50 +00:00
Bilal Elmoussaoui
c6f6ea3404 Don't translate the default text of in-app notification 2018-12-07 19:37:21 +00:00
Daniel García Moreno
eee62d7b62 Update POTFILES with current dir listing 2018-12-07 13:44:07 +01:00
Daniel Garcia Moreno
06a504c671 Merge branch 'globals' into 'master'
Notification: use GNotification

See merge request World/fractal!298
2018-12-07 12:03:31 +00:00
Julian Sparber
1ce73a7881 Notification: use GNotification 2018-12-07 12:44:23 +01:00
Daniel Garcia Moreno
080cc493ac Merge branch 'move_load_more' into 'master'
roomhistory: move load more messages to actions

See merge request World/fractal!296
2018-12-07 11:38:35 +00:00
Julian Sparber
8bbad46cff roomhistory: move load more messages to actions 2018-12-07 12:20:00 +01:00
Daniel Garcia Moreno
376df188d2 Merge branch 'globals' into 'master'
Move App Actions to new Location

See merge request World/fractal!297
2018-12-07 10:54:52 +00:00
Daniel Garcia Moreno
57a2c094b4 Merge branch 'setup-fmt' into 'master'
Setup pre-commit hook to check style

See merge request World/fractal!292
2018-12-07 10:52:30 +00:00
Daniel Garcia Moreno
f953f89286 Merge branch 'dialog' into 'master'
Move Save As Dialog to Actions

See merge request World/fractal!293
2018-12-07 10:42:27 +00:00
Zeeshan Ali
f857e72e26 Setup pre-commit hook to check style
The hook also checks for rustup and nightly rustfmt and installs them if
they are not available.
2018-12-07 11:33:14 +01:00
Daniel Garcia Moreno
7779a2cfe5 Merge branch 'source_dialog' into 'master'
POTFILES: replace source_viewer.rs with source_dialog.rs

See merge request World/fractal!295
2018-12-07 08:57:47 +00:00
Julian Sparber
5e4c91233e room: refactor set_active_room_by_id()
This removes clones of Rooms, and removes some old code.
2018-12-06 16:32:07 +01:00
Julian Sparber
4641fa460d roomlist: create a Action for opening a room 2018-12-06 14:35:11 +01:00
Julian Sparber
5863e89c82 actions: move global app actions to new location 2018-12-06 14:30:16 +01:00
Julian Sparber
d8eee69fec POTFILES: replace source_viewer.rs with source_dialog.rs 2018-12-05 23:38:03 +01:00
Julian Sparber
5f271a4e01 refactor: move save as dialog to actions 2018-12-05 20:12:13 +01:00