Kévin Commaille
e0dd94a105
session: Split between view and model
3 years ago
Kévin Commaille
faea2b4532
identity-verification: Use widget to show errors
3 years ago
Kévin Commaille
af92711df0
notifications: Don't use Session as the helper widget
3 years ago
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.
3 years ago
Kévin Commaille
e77fa4fedc
session: Remove unused action
3 years ago
Kévin Commaille
cf27bd22c6
window: Use a new GListModel to manage sessions
...
Allows to use GtkListBox::bind_model and prepares a futures change
where the session is split between view and model.
3 years ago
Kévin Commaille
6b261d7ee8
account-switcher: Remove adw::BinImpl implementation for SessionItemRow
...
It is not a subclass of AdwBin.
3 years ago
Kévin Commaille
2c842bef47
account-switcher: Replace the "user" and "entry" terms
...
Use "session" and "item" instead.
"User" is not exact as we allow the same user to log in several
sessions.
"Entry" is easily associated with GtkEntry and can be confusing.
3 years ago
Julian Sparber
a051ee2f2f
create-dm: Fix search for users without existing direct chat
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1208
3 years ago
Kévin Commaille
0cdd3f69ca
secret: Fix v3 migration
...
If the migration is not needed, the migration would go in a loop.
3 years ago
Kévin Commaille
c8ac0623a7
secret: Fix database profile migration
3 years ago
Kévin Commaille
fb1dba1a00
secret: Implement more methods on StoredSession
3 years ago
Julian Sparber
d6decbebaa
create-dm: Add dialog to create DM room
3 years ago
Julian Sparber
c8236dd0f0
minor: Use Room::active_members_count() directly
3 years ago
Kévin Commaille
5d54239cbd
build: Be consistent in version naming
...
Use a dot between the major version and the pre-release version, where
possible.
Go back to using a dash before the commit hash.
3 years ago
Kévin Commaille
9727991b4a
room-details: Add translator comments
3 years ago
Marco Melorio
36017efffb
history-viewer: Load more items when scrolling
3 years ago
Marco Melorio
93015294ed
audio-history-viewer: Add ability to listen to audio
3 years ago
Marco Melorio
a98d40fc7a
media-history-viewer: Show MediaViewer on item press
3 years ago
Marco Melorio
9cc78a3301
file-history-viewer: Add ability to save files
3 years ago
Marco Melorio
a5ef975ff3
history-viewer: Implement AudioHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Marco Melorio
89ed564822
history-viewer: Implement FileHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Marco Melorio
063b1b318c
history-viewer: Implement MediaHistoryViewer
...
Also add it as a RoomDetails' subpage.
3 years ago
Marco Melorio
5528492801
history-viewer: Add Timeline to load history viewer messages
...
This is the first step towards implementing the history viewers.
3 years ago
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.
3 years ago
Kévin Commaille
675e39c6fb
login: Add SessionVerification as a step of logging in
3 years ago
Kévin Commaille
094cd9244f
login: Use an enum for stack pages names
...
Avoids errors when using static strings
3 years ago
Kévin Commaille
a84d8e9e52
login: Move code to restore session to Window
3 years ago
Kévin Commaille
2e514e0a50
session: Make persisted client creation a part of constructing Session
3 years ago
Kévin Commaille
925af0ec43
login: Use temporary client for logging in
...
Avoids having to clean up when we need to reset it.
3 years ago
Kévin Commaille
1c1a52080e
login: Split logic for each page
...
And move "Next" button to each page instead of in the header bar.
3 years ago
Kévin Commaille
aaef680fb5
account-settings: Subpages don't have a "transient-for" property
3 years ago
Kévin Commaille
beac89dc79
account-settings: Show availability of cross-signing keys
3 years ago
Kévin Commaille
462d2ff99e
session-verification: Don't send verification requests if no devices are available
3 years ago
Kévin Commaille
38f0ba11c9
session: Fix creation of new encryption user identity after login
3 years ago
Kévin Commaille
b5339b2cd6
session: Do not require cross-signing keys to be present after verification
3 years ago
Kévin Commaille
57bb433bde
chore: Update matrix-sdk dependency
3 years ago
Kévin Commaille
019e749e30
room-details: Simplify ExtraLists by using GtkFlattenListModel
...
And fix error where the banned list would appear twice if the invite
list is hidden.
3 years ago
Kévin Commaille
64cffbba77
greeter: Remove development warning banner
3 years ago
Kévin Commaille
bd845d105e
room-list: Make sure list is not borrowed mutably when creating a Room
3 years ago
Kévin Commaille
427cb37755
room: Use other user's avatar as fallback in 1-to-1 rooms
3 years ago
Kévin Commaille
15b9932383
session: Split avatar image data from AvatarData
...
Allows to use the same avatar image for several rooms and users.
3 years ago
Kévin Commaille
840a53b0fb
session: Rename Avatar to AvatarData
...
Avoid confusion with the Avatar in components and avoid to have
to rename it to AvatarItem.
3 years ago
Kévin Commaille
67dfd13714
session: Refactor settings
...
Should be easier to work with.
3 years ago
Kévin Commaille
54bd7aad84
app: Separate data per profile
...
Puts the database in a subdirectory and uses a different path for the
settings.
3 years ago
Kévin Commaille
ec02e35b45
app: Use an enum for the profile
3 years ago
Kévin Commaille
6471cb9675
build: Refactor profile variables
3 years ago
Kévin Commaille
d248af475c
room-history: Allow to join or view the successor in a tombstone event
3 years ago
Kévin Commaille
af90c33a68
room-history: Add banner to join a tombstoned room's successor
3 years ago
Kévin Commaille
b24344e05a
room-list: Add join_or_view method
3 years ago