Commit graph

1276 commits

Author SHA1 Message Date
Rasmus Rendal
8b1adf98ac Merge branch 'origin_server_ts' of https://gitlab.gnome.org/RasmusRendal/fractal into origin_server_ts 2018-09-23 20:39:09 +02:00
Rasmus Rendal
45e46b5b9a Made the code use origin_server_ts instead of age to calculate messages 2018-09-23 20:37:21 +02:00
Rasmus Rendal
b3d7d8906f Made the code use origin_server_ts instead of age to calculate messages 2018-09-23 20:16:50 +02:00
Alexandre Franke
483fd7968a Fix indentation 2018-09-23 13:00:50 +00:00
Rasmus Rendal
03ea93287b Fixed incorrect string slicing that would screw up UTF-8 strings 2018-09-23 14:01:52 +02:00
Rasmus Rendal
e0a91b06ce Changed the name to small-font, to make it a bit more general 2018-09-23 10:57:01 +02:00
Rasmus Rendal
4772e6f001 Made the text small again 2018-09-23 10:52:22 +02:00
Rasmus Rendal
a6109e7f58 Use dim-label instead of another CSS class 2018-09-23 10:43:17 +02:00
Rasmus Rendal
aab69fe4b1 Merge branch 'uid_label' of https://gitlab.gnome.org/RasmusRendal/fractal into uid_label 2018-09-23 10:36:54 +02:00
Julian Sparber
6ee0a66c8e backend: minor refactor use Option for since
This uses Option for the since value of a sync request
2018-09-22 22:49:02 +02:00
Rasmus Rendal
7d9685d61b Update members_list.rs 2018-09-22 19:46:18 +00:00
Rasmus Rendal
03e4da2e3f Added a label to the members list which shows MXID's 2018-09-22 21:42:44 +02:00
Rasmus Rendal
0f6e34412a Added a label to the members list which shows MXID's 2018-09-22 21:38:32 +02:00
Daniel Garcia Moreno
1e3b64737e Merge branch 'alatiera/build-stuff' into 'master'
Globals: Avoid duplication

See merge request World/fractal!231
2018-09-22 18:51:53 +00:00
Julian Sparber
9319222e83 backend: restart sync from where fractal was closed
this speeds up the first sync when opening fractal, it stores the
next_batch value from the last sync fractal made before closing, this
way the sync can start from this point.
2018-09-22 18:23:27 +02:00
Jordan Petridis
9d713ac701
Globals: Avoid duplication
Remove a bunch of stuff from build.rs and cleanup
the globals.rs module.
2018-09-22 17:25:58 +03:00
Daniel Garcia Moreno
f1fcb00dc4 Merge branch 'alatiera/macros' into 'master'
Macro-pocalypse

See merge request World/fractal!230
2018-09-22 09:11:11 +00:00
Daniel Garcia Moreno
7ffc87fb04 Merge branch 'header_message' into 'master'
messages: add update methode to message widget

See merge request World/fractal!229
2018-09-22 08:59:58 +00:00
Julian Sparber
80a3551da9 messages: store if a message row has a header 2018-09-22 02:31:08 +02:00
Julian Sparber
509355b433 messages: pass values to MessageBox instead of references 2018-09-22 01:47:57 +02:00
Julian Sparber
e70c671235 messages: add update methode to message widget
- Add the functionality to update a row, for it allowes only to update
  the header
- clean up some duplicated code
2018-09-22 01:47:54 +02:00
Julian Sparber
fff5f5ea4c backend: use derive to implement Clone
This replaces the Clone implementation for some backend types with
dervie Clone
2018-09-22 01:46:25 +02:00
Jordan Petridis
0e3248e329
Remove unused imports 2018-09-21 23:41:16 +03:00
Jordan Petridis
fdccd0ab18
matrix-api/util.rs: Convert thumb! to a function 2018-09-21 23:38:25 +03:00
Jordan Petridis
7e4c47fdef
matrix-api/util.rs: Convert media! to a function 2018-09-21 23:34:37 +03:00
Jordan Petridis
d867041a21
matrix-api/util.rs: Make semaphore a function 2018-09-21 23:19:14 +03:00
Jordan Petridis
e79bf6b8c0
matrix-api/util.rs: Replace build_url macros with functions 2018-09-21 22:59:53 +03:00
Jordan Petridis
0d7526b8c7 Merge branch 'derive' into 'master'
backend: use derive to implement Clone

See merge request World/fractal!228
2018-09-20 14:06:39 +00:00
Julian Sparber
3c3dc3b8fe backend: use derive to implement Clone
This replaces the Clone implementation for some backend types with
dervie Clone
2018-09-20 15:16:38 +02:00
Julian Sparber
e23713b9f2 Merge branch 'cleanup-hide-delete-button-code' into 'master'
fractal-gtk: Cleanup code for hiding Delete button

See merge request World/fractal!227
2018-09-20 10:22:42 +00:00
Eisha Chen-yen-su
786cd981b7 fractal-gtk: Cleanup code for hiding Delete button
This simplifies the code for hiding the messages "Delete" button as
there were a lot of things added to pass the power level as an argument
to show_menu_popover().
2018-09-20 11:25:21 +02:00
Daniel García Moreno
25f4cb948a reqwests update to 0.9.0 2018-09-20 09:24:37 +02:00
Daniel García Moreno
5e02dd1fe1 Merge branch 'merge-requests/219' 2018-09-20 08:55:15 +02:00
Daniel García Moreno
45977c3533 Update all dependencies 2018-09-18 10:53:15 +02:00
Mario Blättermann
2a4cd3b3eb Update German translation 2018-09-16 18:39:37 +00:00
Daniel Garcia Moreno
cd599780e2 Merge branch 'wip/piotrdrag/update-potfiles-180914' into 'master'
Update POTFILES.in

See merge request World/fractal!226
2018-09-16 07:02:53 +00:00
Piotr Drąg
9497d947e3 Update POTFILES.in 2018-09-14 18:46:48 +02:00
Daniel Garcia Moreno
65f938be33 Merge branch 'wip/exalm/headerbar-css' into 'master'
app.css: Apply devel headerbar colors more selectively

See merge request World/fractal!224
2018-09-14 06:49:11 +00:00
Daniel Garcia Moreno
52553220d2 Merge branch 'alatiera/remove-gspell' into 'master'
Remove gspell

Closes #333

See merge request World/fractal!225
2018-09-14 06:48:23 +00:00
Marek Černocký
d35f885317 Update Czech translation 2018-09-14 00:51:36 +00:00
Jordan Petridis
c41484a86c
Remove gspell
Gspell hasn't been used since we switched to a source view for the
message entry. We should not keep it in the tree if its not used
and nobody is currenty working on wiring it up again.

Close #333
2018-09-13 22:11:53 +03:00
Alexander Mikhaylenko
230a2bc267 app.css: Apply devel headerbar colors more selectively
Prevents label color leaking onto buttons.
2018-09-13 21:21:23 +05:00
Daniel Garcia Moreno
c5a90d9a23 Merge branch 'patch-1' into 'master'
cargo.sh: use single brackets for shell compatibility

See merge request World/fractal!222
2018-09-12 18:55:45 +00:00
myfreeweb
d5e451f4b1 cargo.sh: use single brackets for shell compatibility
/bin/sh on FreeBSD does not support [[
2018-09-12 13:38:20 +00:00
Rafael Fontenelle
1ee2e8acea Update Brazilian Portuguese translation 2018-09-11 00:06:31 +00:00
Eisha Chen-yen-su
123abac9e9 MessageMenu: Hide delete button when useless
This hides the delete button when the user doesn't have the right to
do so.
2018-09-10 11:11:56 +02:00
Eisha Chen-yen-su
5baaf0b5e2 UI: Add an ID to the message menu separator
We need it to be able to hide it from the source code.
2018-09-09 20:58:35 +02:00
Anders Jonsson
be475ccb6b Update Swedish translation 2018-09-09 18:21:25 +00:00
Daniel Garcia Moreno
76d9a604c7 Merge branch 'small-MR-history' into 'master'
Message widget refactor and adds uitype for messages

See merge request World/fractal!220
2018-09-09 16:54:51 +00:00
Piotr Drąg
f3adc927d4 Update Polish translation 2018-09-09 16:53:50 +00:00