Bilal Elmoussaoui
ff411a5763
Appdata: add kudos tags
...
Documentation: https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
2019-01-15 07:43:37 +00:00
Bilal Elmoussaoui
d8707df903
Appdata: improve the appdata file
...
specs: https://freedesktop.org/software/appstream/docs/chap-Quickstart.html
2019-01-15 07:43:37 +00:00
Bilal Elmoussaoui
ba288dcaf4
meson: add tests to validate appdata/desktop file
2019-01-14 07:57:42 +00:00
Piotr Drąg
9017488331
Update Polish translation
2019-01-12 12:42:51 +01:00
Piotr Drąg
f8ed2088f4
Update POTFILES.in
2019-01-09 19:50:12 +01:00
Julian Sparber
8afbc5cd15
attach: use common filechooser widget to attach file
2019-01-08 17:58:04 +01:00
Julian Sparber
985782b3b3
file dialog: add a common filepicker dialog
2019-01-08 17:57:10 +01:00
Daniel Garcia
bd0afef09d
Updated Spanish translation
2019-01-08 09:54:43 +01:00
Anders Jonsson
ec53fe1ab9
Update Swedish translation
2019-01-07 22:03:05 +00:00
Alejandro Domínguez
ff7744efc0
Use .unwrap_or_default() instead of .unwrap_or() where possible
2019-01-06 17:48:37 +01:00
Alejandro Domínguez
043e7f5d44
Call String::new() instead of String::from("") or "".to_string()
2019-01-06 17:26:12 +01:00
Alejandro Domínguez
09894a81b6
Fix warning: unused mut
2019-01-06 04:13:33 +00:00
Alejandro Domínguez
280d585a25
Reformat Cargo.toml
2019-01-06 04:13:32 +00:00
Alejandro Domínguez
84b7026b2f
Upgrade to Rust 2018
2019-01-06 04:13:32 +00:00
Julian Sparber
4205a6a980
rooms: cache rooms only when the roomlist is cleared
2019-01-05 15:29:15 +00:00
Julian Sparber
78dfdc1e97
room: open default room when avaible
2019-01-02 22:54:18 +01:00
Julian Sparber
0ea988a0f3
refactor: simplify how rooms are added to the roomlist
...
This removes many clones and loops which where not needed.
2019-01-02 22:54:18 +01:00
Julian Sparber
f32f9cee64
refactor: pass rooms to set_rooms by value
2019-01-02 22:54:18 +01:00
Alexandre Franke
30809bccd1
Update French translation
2018-12-29 18:56:38 +00:00
Jordi Mas
4a8de6a5bb
Update Catalan translation
2018-12-29 18:52:25 +01:00
Alexandre Franke
4df848370c
Fix mentions of World since we moved
2018-12-28 12:44:30 +01:00
Rafael Fontenelle
4003f6d515
Update Brazilian Portuguese translation
2018-12-25 18:33:55 +00:00
Piotr Drąg
3cbbad2ec5
Update Polish translation
2018-12-24 14:39:43 +01:00
Tobias Bernard
aa9b48cad3
Invite Dialogs: minor visual fixes
...
- Fix the search results not expanding
- Fix the spacing around the searchbar
The two UI files are identical except for some labels and IDs and should
be merged
2018-12-24 09:53:34 +00:00
Julian Sparber
13ccd74276
roomhistory: fix date format in day divider
2018-12-23 15:43:38 +00:00
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
Alexandre Franke
899583c34c
release: mention header bar in notes
2018-12-19 12:17:31 +00:00
Daniel García Moreno
4af4ff4073
media-viewer: disconnect the keypress signal on unmap
...
We were storing the signal_id, but we never disconnect that handler so
it worked the first time and then we were getting all key events and
future widgets creation doesn't work.
This patch disconnect the signal just when the widget gets unmapped, as
we create a new widget when we open the media-viewer again.
Fix #402
2018-12-18 19:12:37 +00:00
Piotr Drąg
f6d0b79fa3
Update Polish translation
2018-12-18 18:45:21 +01:00
Alexandre Franke
a8dec5f8bd
release: write release notes
2018-12-18 07:41:05 +00:00
Daniel García Moreno
211a15a780
Remove code inside debug_assert macro
...
Code inside debug_assert! is not called in release mode. In release mode
all the debug_assert! is omitted so the code inside never runs.
https://doc.rust-lang.org/std/macro.debug_assert.html
I've moved all the code inside the debug_assert! call to outside and
assign to a variable so the assert is done in development version but
doesn't affects to the release version at all.
2018-12-17 18:14:08 +00:00
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
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
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
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
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
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
Julian Sparber
1ce73a7881
Notification: use GNotification
2018-12-07 12:44:23 +01: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
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
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
Julian Sparber
2e651b1536
refactor: add a common ErrorDialog widget
2018-12-05 20:12:13 +01:00
Julian Sparber
a7e0f0f28e
macro: fix upgrade_weak!()
2018-12-05 20:12:13 +01:00
Julian Sparber
855fea00bb
message.rs: use actions to open file and save file
2018-12-05 20:12:13 +01:00
Daniel Garcia Moreno
34784313f1
Merge branch 'actions' into 'master'
...
Use GActions
See merge request World/fractal!290
2018-12-05 08:31:00 +00:00
Daniel Garcia Moreno
8aef502d57
Merge branch 'internal' into 'master'
...
appop loop: remove AddRoomMessage
See merge request World/fractal!289
2018-12-05 08:01:33 +00:00
Julian Sparber
73ea3c7678
roomhistory: use action to open media viewer
2018-12-05 00:15:11 +01:00
Julian Sparber
0a0203bf72
POFILES: add files for actions modules
2018-12-05 00:15:11 +01:00
Julian Sparber
59977e8fb1
refactor: use GAction
...
This adds a new module actions, which contains submodules containing
actions a widget can preform. This is the first step of removing the
AppOp Loop. Also this allows us to define actions in a more general way
without passing all data to each widget.
2018-12-05 00:15:09 +01:00
Julian Sparber
2b24c3b7a5
source viewer: refactor source viewer
2018-12-05 00:13:52 +01:00
Julian Sparber
c5c270b1a2
appop loop: remove AddRoomMessage
2018-12-04 21:58:52 +01:00
Julian Sparber
fe4faa05d5
message.rs: cleanup code
2018-12-03 16:06:20 +01:00
Julian Sparber
ad26afb36e
message.rs: cleanup code
2018-12-03 16:04:25 +01:00
Julian Sparber
f1e5ef9e4d
message.rs: cleanup code
2018-12-03 16:02:09 +01:00
Jordan Petridis
591403ef5c
Remove plain password storage
2018-12-03 14:51:15 +02:00
Julian Sparber
a08dd93fc8
roomhistory: fix strange scroll movement when using a touchpad
...
This is a workaround for bug #1494 in gtk https://gitlab.gnome.org/GNOME/gtk/issues/1494
2018-12-02 17:59:35 +01:00
Alexandre Franke
c5cb8d7f84
rust: Test booleans properly
...
Pattern matching is an anti-pattern here
`if` is the way to go
2018-11-28 14:21:49 +01:00
Zeeshan Ali
6c1ec03e6b
Fix formatting of all Rust code
...
Rust of `cargo +nightly fmt`.
Fixes #369 .
2018-11-27 21:15:34 +01:00
Julian Sparber
ae1373b72c
roomhistory: use revealer to hide NewMessageDivider
2018-11-26 15:57:49 +01:00
Daniel Garcia Moreno
2af3a3932d
Merge branch 'positioning' into 'master'
...
roomhistory: use new message divider as entry point for a room (based on !276 )
See merge request World/fractal!278
2018-11-26 08:16:14 +00:00
Daniel Garcia Moreno
a423f8c1b7
Merge branch 'appop_cleanup' into 'master'
...
cleanup: remove unused properties in appop
See merge request World/fractal!277
2018-11-26 08:14:38 +00:00
Daniel Garcia Moreno
f3275eefe8
Merge branch 'old_queue' into 'master'
...
roomhistory: load old messages to history in batch
See merge request World/fractal!276
2018-11-26 08:13:24 +00:00
Zeeshan Ali
a547ac45ea
avatar: Scale the avatars by the min dimension
...
If we scale the avatars by the dimension that's the minimum (width vs
height), we don't end up chopping the avatar if it's not rectangular.
Fixes #163 .
2018-11-25 23:31:47 +01:00
Julian Sparber
203e319b46
roomhistory: use new message divider as entry point for a room
...
the room history is scrolled to the new message divider so that the user
doesn't need to search for the last read message.
This works for now only if the last seen message is in the first 40
messages fractal downloads.
2018-11-23 15:08:32 +01:00
Julian Sparber
6ae15cd2cc
cleanup: remove unused properties in appop
2018-11-23 12:18:07 +01:00
Julian Sparber
3d7182c531
roomhistory: load old messages to history in batch
...
This improves the performence of old message loading. This passes all
messages from a batch directly to the room history. Also this way the
Internal AppOp loop isn't used and it makes sure that the lazy loading
queue runs only once.
2018-11-23 11:28:56 +01:00
Rafael Fontenelle
fc539a2ce8
Update Brazilian Portuguese translation
2018-11-22 08:48:13 +00:00
Daniel Garcia Moreno
a0fcda1d41
Merge branch 'add_new_divider' into 'master'
...
Add "new message divider"
See merge request World/fractal!273
2018-11-20 13:23:08 +00:00
Tony Skuse
eafdaf7636
adds spacing above emotes #235
2018-11-19 09:33:52 -08:00
Piotr Drąg
3ff143451b
Update Polish translation
2018-11-18 11:50:14 +00:00
Julian Sparber
6c7186d2c0
roomhistory: append new message divider
2018-11-16 17:45:53 +02:00
Julian Sparber
8dc7ec1beb
roomhistory: make new message divider disappear
2018-11-16 16:49:46 +02:00
Julian Sparber
0ca0a8d882
roomhistory: update last viewed mark
2018-11-16 16:49:46 +02:00
Julian Sparber
88e87dcff0
roomhistory: remove old code for new message divider
2018-11-16 16:49:46 +02:00
Julian Sparber
618506b476
roomhistory: add new message divider
...
The message divider is only showen but never removed, one of there
reason is that the receipt field of a Message is not updated correctly.
2018-11-16 16:49:46 +02:00
Julian Sparber
218bd7e0d6
roomhistory: fix day divider not showing for new messages
2018-11-15 18:10:14 +02:00
Julian Sparber
0b8ef5dadf
messagebox: remove day from timestamp
2018-11-15 17:40:55 +02:00
Julian Sparber
b6cc2f6c1e
roomhistory: localize day divider
2018-11-15 17:19:33 +02:00
Julian Sparber
bbaa3ce6fe
roomhistory: remove lines from day divider
2018-11-15 16:57:09 +02:00
Julian Sparber
3ca758a100
roomhistory: add new day divider
2018-11-15 16:40:14 +02:00
Julian Sparber
dba32fee7c
roomhistory: use enum as Common instead of struct
2018-11-15 15:35:11 +02:00
Julian Sparber
f1d33666f2
roomhistory: cleanup references to MessageBox
...
This removes clones and refactores how room_history keeps track of
messages.
2018-11-15 15:14:07 +02:00
Julian Sparber
02ec8440e4
add debug trait
2018-11-15 13:15:01 +02:00
Julian Sparber
28f7bffa15
messagebox: remove MessageContent from MessageBox
...
The MessageConetent is removed from the MessageBox, because it is not
really needed there and we should try to not make copies of a Message.
This also makes always use of &MessageConetent instead of some times
cloneing it.
2018-11-15 12:43:20 +02:00
Daniel Garcia Moreno
03fae4c636
Revert "Merge branch 'mobile-ui' into 'master'"
...
This reverts merge request !268
2018-11-14 18:05:36 +00:00
Daniel Garcia Moreno
6eff3180ea
Revert "Merge branch 'fix-message-column-panic' into 'master'"
...
This reverts merge request !269
2018-11-14 18:04:33 +00:00
Christopher Davis
438e55cb03
uibuilder.rs: Add scroll_widget to uibuilder
...
A component previously used in main_window.ui was moved into
scroll_widget.ui and called from App.ui.builder. However with
the move scroll_widget wasn't added to the rest of the files
in the GtkBuilder used for that call, causing a panic on
startup.
Now uibuilder adds the resource for scroll_widget.ui
2018-11-14 04:33:22 -05:00
Daniel Garcia Moreno
78dc759399
Merge branch 'master' into 'mobile-ui'
...
# Conflicts:
# fractal-gtk/src/app/connect/mod.rs
2018-11-14 08:34:25 +00:00
Daniel Garcia Moreno
0dfb8efa52
Merge branch 'scroll-refactor' into 'master'
...
roomhistory: create custom widget for scroll view
See merge request World/fractal!265
2018-11-14 08:30:11 +00:00
Christopher Davis
c576598a86
leaflet: Shrink padding to message list when app is folded
...
Applies a style class, folded-history, whenever the leaflet is
folded. folded-history shrinks the padding around the message
list to 6px from the default 18px.
2018-11-13 12:25:44 -05:00
Christopher Davis
179a7bd830
main_window.ui: Set transition animation for leaflets
...
Sets the slide animation for the HdyLeaflets for a nice
animation when switching between primary and secondary views.
2018-11-13 03:21:52 -05:00
Christopher Davis
216a79d082
fractal-gtk: Use HdyLeaflet for mobile UI
...
HdyLeaflet is a widget that can be used in split-header apps
like Fractal to split the panes into views, one primary and one
secondary.
This commit splits the main view of Fractal with HdyLeaflet so
at small sizes the room list is the primary view, and the room
history is the secondary view.
2018-11-13 03:10:24 -05:00
Daniel Garcia Moreno
e501ff0cdd
Merge branch 'cleanup' into 'master'
...
roomhistory: remove shown message count
See merge request World/fractal!267
2018-11-11 19:05:35 +00:00
Daniel Garcia Moreno
9c26d1432c
Merge branch 'ellpsize-display-names' into 'master'
...
widgets/message.rs: Ellipsize display names
See merge request World/fractal!266
2018-11-11 19:04:17 +00:00
Jordi Mas i Hernandez
bfa7c78f56
Update Catalan translation
2018-11-11 12:50:38 +00:00
Julian Sparber
6453152201
roomhistory: remove shown message count
...
We don't need to keep track any more how many messages are shown in the
room history, since we are displaying all locally stored messages
2018-11-10 18:11:47 +01:00
Julian Sparber
6bf4244bb1
update POTFILES.in
2018-11-10 17:30:40 +01:00
Julian Sparber
ffa63f8c53
roomhistory: create custom widget for scroll view
...
This moves the ScrolledWindow to a custom widget, to clean up code
inside AppOP and decrease its size.
2018-11-10 17:23:24 +01:00
Christopher Davis
eda25fcd38
widgets/message.rs: Ellipsize display names
...
Long display names could resize the window and prevent
the user from shrinking it. Now display names are ellipsized
at the end if there is not enough space to display them.
Related to https://gitlab.gnome.org/World/fractal/issues/351
2018-11-09 16:30:00 -05:00
Julian Sparber
967cb458d3
roomhistory: fix scroll down button
...
Since the last changes we have to updated the destination value for the
scrolled animation, else it wouldn't scroll to the end when pressed
while new messages are added.
2018-11-09 10:11:10 +01:00
Julian Sparber
51a75d5a96
roomhistory: keep scroll position when adding messeges
...
This adjusts the scroll position when more messages are loaded. Also
messages are fetched once the user reaches the edge -2*pageSize.
2018-11-08 21:23:18 +01:00
mairandomness
dbab137679
Log crate
2018-11-07 07:45:11 +00:00
Daniel Garcia Moreno
ebf4af104c
Merge branch 'upsidedown' into 'master'
...
roomhistory: draw messages from the buttom up
See merge request World/fractal!261
2018-11-07 07:41:01 +00:00
Jordan Petridis
5b716e66cc
Merge branch 'speedup' into 'master'
...
roomhistory: make rendering a message much faster
See merge request World/fractal!260
2018-11-06 11:23:12 +00:00
Julian Sparber
dcfa039b42
roomhistory: draw messages from the buttom up
...
This attaches the room history to the input field and makes loading of
messages a little bit smoother.
2018-11-06 11:50:42 +01:00
Julian Sparber
139811b5ca
roomhistory: make rendering a message much faster
...
Rendering of a room message was really slow (> 10ms), mostly
because we create some RegExp inside loops, which is really slow.
This replaces the RegExp with contains()/start_with(), which makes
rendering much faster (<< 1ms), it also cleans up some code.
2018-11-06 11:05:54 +01:00
Julian Sparber
81c149b5c2
center room name on room history
2018-11-01 23:02:51 +01:00
Christopher Davis
e8985ef648
Save device_id and show in Account Settings
...
In Account Settings within "Advanced Information" there was a
label for device_id, but the value always showed as "None".
Now device_id is saved during login and registration, and
show in the Account Settings properly.
2018-10-30 18:41:05 -04:00
Daniel García Moreno
0cdda08a08
Avoid lock AppOp during the call to wait_is_image_available
...
Fix #284
2018-10-29 19:27:39 +01:00
Piotr Drąg
eb6f8c7fc2
Update Polish translation
2018-10-28 16:36:10 +00:00
Daniel García Moreno
9f1563aeee
New icon design by Tobias Bernard
...
More information about the icon redesign initiative here:
https://gitlab.gnome.org/GNOME/Initiatives/issues/2
See #353
2018-10-28 16:04:06 +01:00
Daniel García Moreno
d1737fb8c9
Ignore redacted message on load more
2018-10-27 21:19:04 +02:00
Daniel García Moreno
0403f14d83
Update all dependencies
2018-10-27 19:18:09 +02:00
Marek Černocký
dc477af1e3
Update Czech translation
2018-10-27 05:48:57 +00:00
mairandomness
0821556842
remove 'Quit' from main_menu
2018-10-25 23:01:12 -04:00
mairandomness
efd6fe2780
remove empty menus.ui (content was moved to main_menu.ui)
2018-10-25 22:41:03 -04:00
mairandomness
e75c185357
remove empty user_menu.ui (previously moved to main_menu.ui)
2018-10-25 22:35:21 -04:00
mairandomness
3442c8f38f
rename user_menu to main_menu
2018-10-25 21:13:00 -04:00
mairandomness
96ed486d28
change user_menu_button display to open-menu-symbolic icon
2018-10-25 21:13:00 -04:00
mairandomness
a624f894c6
revert changes to '.po' files
2018-10-25 21:13:00 -04:00
mairandomness
2e51b57b7a
remove instances and content of menus.ui
2018-10-25 21:13:00 -04:00
mairandomness
f05b599d9c
move rest of menus to user_menu.ui'
2018-10-25 21:13:00 -04:00
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
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 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
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
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
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
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
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 GtkTextView
s in GtkBox
es
...
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
Eisha Chen-yen-su
3cb6e8eefa
Invite: Use the new GtkTextView for searching users
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 18:50:03 +02:00
Eisha Chen-yen-su
2d8cbef063
Invite: Cleanup the code for invite list boxes
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 17:19:17 +02:00
Eisha Chen-yen-su
126eba9e2e
UI: Remove useless GtkListBox
s
...
This removes `GtkListBox`s that were used to list the users we were
going to send invites to. But since we keep inline the search input now,
they are not useful anymore.
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 17:17:55 +02:00
Eisha Chen-yen-su
f4da6bb4b4
Invite: Remove member from list when their pill is deleted
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 13:26:41 +02:00
Eisha Chen-yen-su
e869de0778
Invite: Add member pill when added to the invite list
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 13:24:49 +02:00
Eisha Chen-yen-su
0a4a465684
Member: Add a widget for member pills
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 13:24:49 +02:00
Eisha Chen-yen-su
a1fa6acf3f
UI: Add GtkTextView for listing invites
...
See https://gitlab.gnome.org/World/fractal/issues/78
2018-10-06 13:24:49 +02:00