Commit graph

533 commits

Author SHA1 Message Date
Julian Sparber
1d8de86b55 verification: Add InfoBar for user verifications 2022-01-13 14:50:16 +01:00
Julian Sparber
1f5cb484eb verification: Add mode for sent requests and state handler fix
This starts the state handler before accepting the request so that the
state of those requests is tracked.
2022-01-13 14:50:16 +01:00
Julian Sparber
7104a1c453 verification: Add support for user verification 2022-01-13 14:50:16 +01:00
Julian Sparber
15f2be9122 verification: Add timeout 2022-01-13 14:50:16 +01:00
Julian Sparber
4c5c424b58 room-history: Display verification requests and unsupported events 2022-01-13 14:50:16 +01:00
Kévin Commaille
a432a76af3
po: Add utils.rs to POTFILES.in
Regression introduced in 9ef75395 after 5f2321a9
2022-01-13 14:40:27 +01:00
Kévin Commaille
9ef753950d content: Use unique names for media files
Avoids conflicts when several files have the same name.

Avoids errors when the filename is not set.
2022-01-13 10:59:45 +00:00
Kévin Commaille
8a541649ed message-media: Fix obsolete docs 2022-01-13 10:59:45 +00:00
Bilal Elmoussaoui
41f63c6bcc sourceview: use a released version 2022-01-13 09:23:01 +00:00
Julian Sparber
8140725603 session: Make sure to close session with invalid token 2022-01-12 21:30:51 +01:00
Julian Sparber
e7a4585ce7 room: Fix setting event actions for None event 2022-01-11 12:28:15 +01:00
Kévin Commaille
f2752b2863 message-image: Improve fallback background color
Works for both light and dark themes.
2022-01-10 13:23:53 +00:00
Kévin Commaille
5f2321a9af
po: Fix POTFILES.in
Only include files with translatable strings.
2021-12-31 17:06:56 +01:00
Kévin Commaille
fbc867e031 explore: Fix crash when removing non-existant item
Fixes #805
2021-12-28 19:50:04 +00:00
Hofer-Julian
01633280e5 login: Clarify variable names
- Fix a typo
- Add "length" prefix to clarify purpose of variable
2021-12-28 19:28:13 +00:00
Julian Sparber
cb8d24d0d2 session-verification: Keep login data when back button is pressed 2021-12-28 18:30:14 +01:00
Julian Sparber
acc3888257 session-verification: Make sure the request is restarted on error
This also makes sure that the request is cancelled when the user goes
back to the login page.
2021-12-28 18:29:36 +01:00
Julian Sparber
584d49c184 room: Make sure to set successor and predecessor only once
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/889
2021-12-27 17:39:21 +01:00
Kévin Commaille
15c2803c70
message-text: Make emoji-only messages bigger 2021-12-25 10:42:05 +01:00
Kai A. Hiller
cd92949d13 content: Improve minimal height 2021-12-25 09:08:31 +00:00
Kévin Commaille
337989da94 message-row: Reuse MessageMedia when possible 2021-12-25 08:36:57 +00:00
Kévin Commaille
e8a44d752e message-row: Reuse MessageFile when possible 2021-12-25 08:36:57 +00:00
Kévin Commaille
45b481d41a message-row: Reuse MessageText when possible
Fixes #887
2021-12-25 08:36:57 +00:00
Kévin Commaille
2cf261f0a5
account-switcher: Close when opening account settings
Fixes #839
2021-12-22 10:48:35 +01:00
Julian Sparber
4d47770a4f verification: Check for Sas verifications started by other device/user 2021-12-17 22:34:26 +01:00
Julian Sparber
99df1188db verification: Allow unused constants 2021-12-17 18:44:28 +01:00
Julian Sparber
9696627bfb verification: Use IdentityVerificationWidget::is_finished() where possible 2021-12-17 18:43:22 +01:00
Julian Sparber
7b608f0c7d verification: Implement decimal fallback for Sas 2021-12-17 18:43:22 +01:00
Julian Sparber
15afbb7022 verification: Move widgets to content and rename some 2021-12-17 18:43:19 +01:00
Julian Sparber
b2c9b70673 verification: Improve the code for identity verifications
This makes sure that we track verifications correctly. And makes the
code more readable.

This also prepares it for user verifcation other then ourselfs
2021-12-17 17:00:55 +01:00
Julian Sparber
dc0a938d7e timeline: Fix comment typo 2021-12-14 12:09:10 +00:00
Kévin Commaille
156660ccf3 Event: Use replacing event for source 2021-12-14 12:09:10 +00:00
Kévin Commaille
3732138a78 event: Fix replacing events
Only store replacing events instead of all related events to avoid useless notifications.

Ignore redacted events, and forward replacing events' changes.
2021-12-14 12:09:10 +00:00
Maximiliano Sandoval R
979ecdbb5a css: Fix SourceView and TextView styling 2021-12-14 12:55:36 +01:00
Maximiliano Sandoval R
8cc45669f9 source-dialog: Fix styling 2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R
872601b13a Support dark mode 2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R
8b8631130d Use AdwApplication
This allows to have a separate css file for dark mode.
2021-12-14 11:39:05 +00:00
Maximiliano Sandoval R
b623a931a7 app: Set resource base path on construct 2021-12-14 11:39:05 +00:00
Kévin Commaille
99abda19b6
message-media: Fallback to file if couldn't get thumbnail 2021-12-13 17:53:57 +01:00
Kévin Commaille
78f0ae1f38
media-message: Handle media loading and errors 2021-12-13 17:49:48 +01:00
Kévin Commaille
ada576b5ac
message-media: Use bigger thumbnails
See #26
2021-12-13 16:46:51 +01:00
Kévin Commaille
33c0c034e4
message-row: Deduplicate code for media messages
Most of the code was shared between image and video.
2021-12-13 16:44:40 +01:00
Julian Sparber
b9f3143540 room-details: Create object for MemberRow 2021-12-13 14:11:31 +01:00
Enterprisey
978e048500 mentions: Add initial support for sending mentions
A Pill in the message field will now result in a ping. There is
currently no way to add a Pill; you'll have to hack one in.
2021-12-13 03:26:38 -08:00
Kévin Commaille
bbb8d05e2b user-facing-error: Fix gettext string 2021-12-09 13:01:42 +00:00
Kévin Commaille
f7016fa310 user-facing-error: Rename file to be more consistent 2021-12-09 13:01:42 +00:00
Kévin Commaille
8193be8e2c room-history: Show video messages in the timeline 2021-12-09 12:49:31 +00:00
Kévin Commaille
14ba155073 image: Fix measure
Avoids critical errors in the logs
2021-12-09 12:35:18 +00:00
Julian Sparber
e25ecb04c8 room-details: Hide users already in the room from invite dialog 2021-12-09 02:26:53 +01:00
Julian Sparber
7325740485 room-history: Replace show to invite members in menu 2021-12-09 02:26:53 +01:00