Commit graph

127 commits

Author SHA1 Message Date
Kévin Commaille
5d9b9e61b3
sidebar-data: Port to glib::Properties macro 2023-12-12 21:43:25 +01:00
Kévin Commaille
41a8106460
app: Follow system setting for clock format
i.e. 12h or 24h time format.
2023-12-08 21:45:43 +01:00
Kévin Commaille
c6c3c73c3b
members-list: Open user details page on click
Replaces the toggle button with the menu.
2023-12-08 20:29:51 +01:00
Kévin Commaille
0d2a1d25e5
account-settings: Rename UserPage to GeneralPage
This is more consistent with the strings in the interface.
Furthermore, I would like to user that name for a page showing a Matrix
User
2023-12-08 20:01:04 +01:00
Kévin Commaille
c993377ed1
session-list: Handle restoring sessions in SessionList 2023-11-29 14:45:31 +01:00
Kévin Commaille
bed14c3b99
account-switcher: Create AccountSwitcherButton
That is compatible with any SessionInfo
2023-11-28 16:09:13 +01:00
Kévin Commaille
741f1dc5e0
account-switcher: Rename AccountSwitcher to AccountSwitcherPopover 2023-11-28 16:09:13 +01:00
Kévin Commaille
d6d2c43c71
sidebar: Rename Entry to IconItem
Entry is confusing because GtkEntry is where we input text.
2023-11-19 17:58:22 +01:00
Kévin Commaille
5e03a39f41 secret: Handle per-session errors and migrations
Per-session errors should never happen in practice, it should be fine
to just log them.
Migrations already swallow any errors.
2023-11-19 11:46:09 +00:00
Kévin Commaille
71611bc34e
message-row: Show the sending status of messages
Also logs if a sending error is encountered
2023-11-16 12:43:06 +01:00
Kévin Commaille
98a7fc4c42
members-page: Use AdwNavigationView
Allows to use the default back button behavior of AdwHeaderBar
2023-11-15 14:04:43 +01:00
Kévin Commaille
96b870bd3f
room-details: Rename MemberPage to MembersPage 2023-11-15 11:07:27 +01:00
Maximiliano Sandoval R
41e96536ca window: Add title 2023-11-10 08:30:08 +00:00
Kévin Commaille
198b22618f
room-history: Show popover with list of read receipts on right click 2023-11-07 15:21:17 +01:00
Kévin Commaille
4fcaa2da7f
room-history: Show tooltip for read receipts details 2023-11-07 14:09:03 +01:00
Paul van Tilburg
cd1911fce8
room-history: Add popover to show senders of a reaction
The popover will show for a reaction the list of people that have sent
it and when they did.

* Add a `ReactionPopover` object for the popover
* Add a `ReactionSenderRow` object for senders as rows of the popover
* Add a `MemberReactionSender` object to represent a room member that
  sent a reaction
2023-11-06 20:57:20 +01:00
Kévin Commaille
58a5057b98
misc: Ensure most icons have a tooltip/accessibility label 2023-11-05 15:34:50 +01:00
Kévin Commaille
d2def499e0
member: Do not implement Display for Membership
Otherwise we are asking translators to translate strings that will
probable never be used.
Instead just mark for translation the variants we need.
2023-11-05 13:53:47 +01:00
Kévin Commaille
52c5f51280
room-history: Move message toolbar to a separate module 2023-11-04 12:56:05 +01:00
Kévin Commaille
7faaff93f3
Revert "room: Expose the language of a room"
This reverts commit c4c74c8aba.
2023-11-04 11:22:55 +01:00
Kévin Commaille
c4c74c8aba
room: Expose the language of a room 2023-10-30 12:44:12 +01:00
Kévin Commaille
1e8f1fe769
utils: Add message dialog to confirm leaving a room 2023-10-27 13:46:16 +02:00
Kévin Commaille
2e62541bef
room-details: Display the members list loading state 2023-10-26 13:37:16 +02:00
Kévin Commaille
85c874ed04
components: Rename LoadingListBoxRow to LoadingRow 2023-10-26 13:37:16 +02:00
Kévin Commaille
f40692f975
room-list: Persist Room metainfo between restarts
Allows to restore the RoomList in the exact same state, even without
waiting for the rooms timelines to be loaded
2023-10-22 11:52:14 +02:00
Kévin Commaille
251dd38aa5
item-row: Merge with event_actions
Since it's the only file to use it, it does not make sense to implement
event actions as a trait anymore.
2023-10-20 10:17:12 +02:00
Kévin Commaille
f93b794f5f
room-details: Use the new libadawaita 1.4 APIs
Now that it handles navigation with push and pop, we can reuse
AdwPreferencesWindow. Use also AdwNavigationPage and AdwToolbarView.
2023-09-17 18:11:35 +02:00
Kévin Commaille
d13b03a85e
misc: Put UI files next to the corresponding Rust files 2023-05-21 23:38:58 +02:00
Kévin Commaille
b15c5f0c8b
session: Reorganize submodules between model and view 2023-05-21 17:09:17 +02:00
Kévin Commaille
14ff518929 session: Move under session::model module 2023-05-21 14:56:36 +00:00
Kévin Commaille
faea2b4532
identity-verification: Use widget to show errors 2023-05-21 11:20:34 +02:00
Kévin Commaille
4afba6e736
session: Do not use Session to show toasts
This usually means we are trying to show a toast from a model Object,
which is not right.
2023-05-20 23:43:28 +02:00
Julian Sparber
d6decbebaa create-dm: Add dialog to create DM room 2023-05-16 12:18:28 +00:00
Marco Melorio
a5ef975ff3 history-viewer: Implement AudioHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Marco Melorio
89ed564822 history-viewer: Implement FileHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Marco Melorio
063b1b318c history-viewer: Implement MediaHistoryViewer
Also add it as a RoomDetails' subpage.
2023-05-16 09:09:31 +00:00
Kévin Commaille
4606d2e4eb
media-viewer: Don't use Event
We can only construct Event from timeline items, which we don't have
if we request events manually.
2023-05-14 20:06:11 +02:00
Kévin Commaille
675e39c6fb login: Add SessionVerification as a step of logging in 2023-05-14 13:59:12 +00:00
Kévin Commaille
1c1a52080e login: Split logic for each page
And move "Next" button to each page instead of in the header bar.
2023-05-13 08:54:15 +00:00
Kévin Commaille
beac89dc79
account-settings: Show availability of cross-signing keys 2023-05-11 12:54:42 +02:00
Kévin Commaille
d248af475c room-history: Allow to join or view the successor in a tombstone event 2023-05-05 10:44:33 +00:00
Kévin Commaille
2a07a1b67c
timeline: Group virtual items in a single type
Now that the SDK timeline API handles most of the logic, there is just a
lot of boilerplate code for little to no gain.
2023-04-24 11:46:19 +02:00
Kévin Commaille
3541be94eb
session: Create JoinRoomDialog instead of building it in Session 2023-04-10 10:54:57 +02:00
Kévin Commaille
b41d953e1b
sidebar: Move category types into a subfolder 2023-04-05 14:52:16 +02:00
Kévin Commaille
a48b8ea5f4 room-history: Display an icon when a message has been edited 2023-03-12 16:18:17 +00:00
Julian Sparber
11b80862d1 account-settings: Add entry and subpage to confirm log out
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/823
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1083
2023-02-14 08:56:43 +00:00
Kévin Commaille
2e1a685e8f room: Move event actions to the event module
Part-of: <https://gitlab.gnome.org/GNOME/fractal/-/merge_requests/1221>
2023-02-13 16:57:42 +00:00
Harshil Patel
99669d258f room-history: Reorganize buttons of message composer
Fixes GNOME/fractal#1033
2023-02-13 16:07:17 +00:00
Kévin Commaille
dffcc460cc
account-settings: Add basic notifications settings page 2022-11-05 10:31:52 +01:00
Kévin Commaille
1492956a88
session: Add support for notifications 2022-11-05 10:06:59 +01:00