Commit graph

1527 commits

Author SHA1 Message Date
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
Daniel Garcia Moreno
0bcf2a9efc Merge branch 'scrollbutton' into 'master'
roomhistory: fix scroll down button

See merge request World/fractal!264
2018-11-09 10:17:27 +00: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
Daniel Garcia Moreno
fe61b43d40 Merge branch 'fixscroll' into 'master'
roomhistory: keep scroll position when adding messeges

See merge request World/fractal!263
2018-11-09 07:48:21 +00: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
Daniel Garcia Moreno
1f1de7ab82 Merge branch 'log-crate' into 'master'
Log crate

This MR aims to solve (at least part of) issue #354 


See merge request World/fractal!259
2018-11-07 07:45:11 +00: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
Jordan Petridis
b5cf7d5656 Merge branch 'center_header' into 'master'
center room name on room history, fix  #329

Closes #329

See merge request World/fractal!258
2018-11-06 11:17:30 +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
Daniel Garcia Moreno
371965b797 Merge branch 'revert-69140334' into 'master'
Revert "Merge branch 'fix/error-format' into 'master'"

See merge request World/fractal!257
2018-10-31 19:33:26 +00:00
Daniel Garcia Moreno
eb9c49b957 Revert "Merge branch 'fix/error-format' into 'master'"
This reverts merge request !256
2018-10-31 19:30:13 +00:00
Daniel Garcia Moreno
6914033446 Merge branch 'fix/error-format' into 'master'
Remap rustc output to show errors in GNOME Builder sidebar

See merge request World/fractal!256
2018-10-31 10:34:23 +00:00
Daniel Garcia Moreno
4f7e9b3b63 Merge branch 'show-device-id' into 'master'
Save device_id and show in Account Settings

See merge request World/fractal!255
2018-10-31 10:33:15 +00:00
Ricardo Silva Veloso
03772da2f9 Remap rustc output to show errors in GNOME Builder sidebar 2018-10-31 00:44:07 -03: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
Jordan Petridis
c6fe83a6c5
Flatpak: Remove enchant2
This is in the runtime now, since 3.30
2018-10-31 00:38:47 +02:00
Daniel Garcia Moreno
79939303cb Merge branch 'master' into 'master'
Updates section about E2EE with current module effort

See merge request World/fractal!254
2018-10-30 08:36:47 +00:00
Johannes Hayeß
09b1019cf5 Updates section about E2EE with current module effort 2018-10-30 09:22:48 +01: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
Daniel García Moreno
d8b8796393 Revert "Remove invalid meson keyword argument "console""
This reverts commit 5af0bf1405.

The "console" keyword is introduced in the future meson version 0.48,
I've viewed the warning compiling and I thought that was an old keyword
so I removed it, but Jordan told me that's correct so I'm reverting.
2018-10-28 19:31:14 +01:00
Daniel García Moreno
5af0bf1405 Remove invalid meson keyword argument "console" 2018-10-28 19:13:40 +01:00
Piotr Drąg
eb6f8c7fc2 Update Polish translation 2018-10-28 16:36:10 +00:00
Jordan Petridis
eafc570a98 Merge branch 'icon-redesign' into 'master'
New icon design by Tobias Bernard

See merge request World/fractal!253
2018-10-28 15:41:27 +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
210623d55d Gettting unsigned field in the initial sync
This is needed to know if a message is redacted
2018-10-27 21:00:52 +02:00
Daniel García Moreno
0815914741 Percentage encode username for urls
Some usernames were causing problems something like
"@username|:matrix.org" is a problem so we need to percentage encode
this to make it work.
2018-10-27 20:52:28 +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
Daniel Garcia Moreno
eba8fd35a3 Merge branch 'update-reqwest-0.9.3' into 'master'
dependencies: Update reqwest to 0.9.3

See merge request World/fractal!252
2018-10-26 17:58:54 +00:00
Christopher Davis
01e489fd59 dependencies: Update reqwest to 0.9.3 2018-10-26 13:27:22 -04:00
Daniel Garcia Moreno
501427d473 Merge branch 'app-menu-migration' into 'master'
App menu migration

See merge request World/fractal!251
2018-10-26 07:41:27 +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