Commit Graph

1175 Commits

Author SHA1 Message Date
Kévin Commaille d13b03a85e
misc: Put UI files next to the corresponding Rust files 2023-05-21 23:38:58 +02:00
Yuri Chornoivan ed1ed2bead Update Ukrainian translation 2023-05-21 18:44:41 +00: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 aca5adab8b session-view: Move under session::view module 2023-05-21 14:56:36 +00:00
Piotr Drąg bdbe1bd1d7 Update Polish translation 2023-05-21 15:33:11 +02:00
Kévin Commaille e0dd94a105
session: Split between view and model 2023-05-21 13:46:02 +02:00
Kévin Commaille faea2b4532
identity-verification: Use widget to show errors 2023-05-21 11:20:34 +02:00
Kévin Commaille af92711df0
notifications: Don't use Session as the helper widget 2023-05-21 11:16:04 +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
Kévin Commaille e77fa4fedc
session: Remove unused action 2023-05-20 23:43:28 +02:00
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.
2023-05-20 14:20:06 +02:00
Kévin Commaille 6b261d7ee8
account-switcher: Remove adw::BinImpl implementation for SessionItemRow
It is not a subclass of AdwBin.
2023-05-20 14:20:06 +02:00
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.
2023-05-20 14:20:06 +02:00
Anders Jonsson 928b5085b6 Update Swedish translation 2023-05-20 09:48:13 +00:00
Kévin Commaille 624f179f9b
readme: Fix beta remote installation command 2023-05-19 20:40:08 +02:00
Julian Sparber a051ee2f2f create-dm: Fix search for users without existing direct chat
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/1208
2023-05-19 11:10:36 +02:00
Jiri Grönroos f390615211 Update Finnish translation 2023-05-18 18:12:13 +00:00
Kukuh Syafaat 5816bdbbb9 Update Indonesian translation 2023-05-18 06:04:34 +00:00
Kévin Commaille 0cdd3f69ca
secret: Fix v3 migration
If the migration is not needed, the migration would go in a loop.
2023-05-17 19:12:31 +02:00
Kévin Commaille c8ac0623a7
secret: Fix database profile migration 2023-05-17 16:55:48 +02:00
Kévin Commaille fb1dba1a00
secret: Implement more methods on StoredSession 2023-05-17 16:45:10 +02:00
Kévin Commaille 5cfcdf81e9 readme: Update for beta release 2023-05-16 18:26:19 +00:00
Yuri Chornoivan 80b5df937e Update Ukrainian translation 2023-05-16 17:05:23 +00:00
Kévin Commaille b4bb04c448
chore: Release version 5.beta1 2023-05-16 15:42:48 +02:00
Kévin Commaille f714c4d87b build: Use libshumate tarball instead of git 2023-05-16 13:14:14 +00:00
Julian Sparber d6decbebaa create-dm: Add dialog to create DM room 2023-05-16 12:18:28 +00:00
Julian Sparber c8236dd0f0 minor: Use Room::active_members_count() directly 2023-05-16 12:18:28 +00:00
Kévin Commaille a40eebb8ab
contributing: Update LLVM flatpak dependency 2023-05-16 13:51:18 +02:00
Kévin Commaille ab4f74d9a0
contributing: Add flatpak-builder requirement 2023-05-16 13:51:18 +02:00
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.
2023-05-16 13:28:32 +02:00
Kévin Commaille 9727991b4a room-details: Add translator comments 2023-05-16 09:09:31 +00:00
Marco Melorio 36017efffb history-viewer: Load more items when scrolling 2023-05-16 09:09:31 +00:00
Marco Melorio 93015294ed audio-history-viewer: Add ability to listen to audio 2023-05-16 09:09:31 +00:00
Marco Melorio a98d40fc7a media-history-viewer: Show MediaViewer on item press 2023-05-16 09:09:31 +00:00
Marco Melorio 9cc78a3301 file-history-viewer: Add ability to save files 2023-05-16 09:09:31 +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
Marco Melorio 5528492801 history-viewer: Add Timeline to load history viewer messages
This is the first step towards implementing the history viewers.
2023-05-16 09:09:31 +00:00
Yuri Chornoivan 6f5fa1d40c Update Ukrainian translation 2023-05-15 18:51:51 +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 8a5c5f6934
chore: Update libshumate bundled in flatpak 2023-05-14 17:14:37 +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 094cd9244f login: Use an enum for stack pages names
Avoids errors when using static strings
2023-05-14 13:59:12 +00:00
Kévin Commaille a84d8e9e52 login: Move code to restore session to Window 2023-05-14 13:59:12 +00:00
Kévin Commaille 2e514e0a50 session: Make persisted client creation a part of constructing Session 2023-05-14 13:59:12 +00:00
Kévin Commaille 925af0ec43 login: Use temporary client for logging in
Avoids having to clean up when we need to reset it.
2023-05-14 13:59:12 +00:00
Piotr Drąg 65d73ddcbc Update Polish translation 2023-05-14 15:38:23 +02:00
Yuri Chornoivan 8151b6218b Update Ukrainian translation 2023-05-14 11:20:01 +00:00