Commit graph

1615 commits

Author SHA1 Message Date
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
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
Daniel Garcia Moreno
0765c36277 Merge branch 'alatiera/remove-plain-passwd' into 'master'
Remove plain password storage

See merge request World/fractal!287
2018-12-05 08:00:04 +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
Daniel Garcia Moreno
c72a36d032 Merge branch 'alatiera/allow_dri' into 'master'
Flatpak: allow access to dri

See merge request World/fractal!288
2018-12-03 07:57:43 +00:00
Daniel Garcia Moreno
8e79cb69e8 Merge branch 'kinetic' into 'master'
roomhistory: fix strange scroll movement when using a touchpad

See merge request World/fractal!285
2018-12-03 07:57:07 +00: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
Jordan Petridis
4eaf6ddb61
Flatpak: allow access to dri
Gtk can really benefit from opengl and access to a gpu
2018-12-02 14:55:39 +02:00
Daniel Garcia Moreno
e7679104a0 Merge branch 'fix_filter' into 'master'
api: fix filter for loading old messages

See merge request World/fractal!284
2018-12-02 11:25:57 +00:00
Daniel Garcia Moreno
515392d16b Merge branch 'alatiera/declare-deps' into 'master'
meson: declare the needed dependencies

Closes #214

See merge request World/fractal!286
2018-12-02 11:25:06 +00:00
Jordan Petridis
4abfa58282
meson: declare the needed dependencies
close #214
2018-12-02 02:08:31 +02:00
Julian Sparber
12a0ec180c api: fix filter for loading old messages 2018-11-30 13:01:36 +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
Daniel Garcia Moreno
8ee172ef2f Merge branch 'fmt' into 'master'
Fix Rust code formatting and check formatting as part of CI

Closes #369

See merge request World/fractal!282
2018-11-28 08:53:17 +00:00
Zeeshan Ali
2790339bbf gitlab-ci: Check Rust formatting before building anything
It's mainly just `cargo +nightly fmt`.

Just a slightly modified version of script from Jordan Petridis.

Fixes #369.
2018-11-27 21:15:50 +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
Daniel Garcia Moreno
86460d02d4 Merge branch 'divider_revealer' into 'master'
roomhistory: use revealer to hide NewMessageDivider

See merge request World/fractal!280
2018-11-26 17:08:07 +00: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
Daniel Garcia Moreno
1109251356 Merge branch 'dont-chop-avatars' into 'master'
avatar: Scale the avatars by the min dimension

Closes #163

See merge request World/fractal!279
2018-11-26 07:58:43 +00:00