Commit graph

102 commits

Author SHA1 Message Date
Julian Sparber
9204479fae explore: fix spacing around listview 2021-11-29 14:22:00 +01:00
Kai A. Hiller
35478155f4 room_menu: Add members item 2021-11-29 12:17:41 +01:00
Kai A. Hiller
0a6a820080 room_details: Add members page 2021-11-29 12:17:41 +01:00
Kévin Commaille
aee59b5371
text: Improve quote styling 2021-11-28 15:08:30 +01:00
Kévin Commaille
68c146d6fb
content: Show image messages in the timeline 2021-11-25 19:48:44 +01:00
Julian Sparber
735bda23f7 verification: Add widget to display incoming verification request 2021-11-19 12:05:22 +01:00
Julian Sparber
ff2a3ca741 verification: Add qr-code scanning for verification
This also moves the error handling to the `IdentityVerification`
2021-11-19 12:04:49 +01:00
Julian Sparber
3514fcdbca Add login requests to the sidebar and remove ContentType
The `ContentType` could be removed because the needed information is
already contained in the `selected-item`. This also addes `EntryType` to
differentiat between different `Entry`s even tought we currently have
only "Explore". This also cleans up how the selected-item is passed
between `Content` and `Sidebar`

This also replaces the `ToDeviceHandler` with `VerificationList` that's
used to track verifications.
2021-11-18 13:02:08 +01:00
Julian Sparber
599e8333ea session-verification: Make sure that all labels are wrap
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/862
2021-11-18 13:01:14 +01:00
Kévin Commaille
b3e3a7c5f7
content: Add MessageFile widget
Display m.file messages so the user can open or save them.
2021-11-16 16:19:15 +01:00
Julian Sparber
05d7b9c356 content: Fix crash when loading room history
This is a workaround https://gitlab.gnome.org/GNOME/gtk/-/issues/4305
Since we don't allow selection right now this has no implication for us.
2021-10-27 15:39:18 +02:00
Julian Sparber
3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00
Marco Melorio
e91b876bfe style: Remove deprecated .sidebar class 2021-10-24 18:06:07 +02:00
Marco Melorio
afc4998327 style: Rename .sidebar class to .sidebar-list
Needed to avoid using the deprecated .sidebar class.
2021-10-24 18:04:15 +02:00
Julian Sparber
f46d15e187 login: Show errors as in-app-notification
This also improves how the error message is created and passed from the
`Session` to the `Login` widget.
2021-10-13 12:28:36 +02:00
Maximiliano Sandoval R
6ac746bcfb login: Add translator note
The application name set via g_set_application_name is not translatable,
any appearance of the name should have a note indicating this.
2021-10-09 09:46:39 +00:00
Marco Melorio
d60992f816 session: Add a separator between the Sidebar and Content
This is needed because libadwaita recently dropped the separator in the .sidebar class.
2021-10-09 09:35:42 +00:00
Julian Sparber
5878b1abff Fix Session dispose
We kept many references to Session, therefore we leaked it when the
application is closed.

This also removes the loading page from the `Window` and cleans up how
a Session is restored.
2021-10-09 11:25:27 +02:00
Julian Sparber
f01d402dd6 room: Add dialog to create new rooms 2021-09-29 12:48:22 +02:00
Julian Sparber
f3f570fc7e content: Update message sending toolbar for libadwaita changes 2021-09-27 10:53:12 +02:00
Julian Sparber
3346669c37 error: Use only a single in-app-notifcation
This simplifies the code and allows easier emittion of errors
2021-09-25 12:41:25 +02:00
Julian Sparber
9bf216a854 account-settings: Add device list
This allows also the remove devices
2021-09-24 13:15:29 +02:00
Julian Sparber
e25cb64d90 auth-data: Add dialog to ask for authentication
This is the base for
https://gitlab.gnome.org/GNOME/fractal/-/issues/835, but does only
implement Authentication via Password and the Browser Fallback.
2021-09-24 11:58:06 +02:00
John Renner
ceab82dc16 Fix clipping on login view 2021-09-17 09:48:58 +00:00
Julian Sparber
e51fe5cb1a account-switcher: Show user avatar on button 2021-09-10 17:30:31 +02:00
Julian Sparber
c8d86d1c74 account-switcher: Remove with border around checkmark 2021-09-10 16:44:01 +02:00
Alejandro Domínguez
3b8afaad7c Improve the account switcher by Tobias suggestions 2021-09-10 12:09:07 +02:00
Julian Sparber
17532d7ba2 session: Fix keyboard shortcuts 2021-09-09 11:32:33 +02:00
Julian Sparber
99f1317277 Add loading spinner while restoring session 2021-09-08 13:17:00 +00:00
Julian Sparber
19d71dd96a room-history: Add automatic scrolling and scroll down button 2021-09-06 18:23:32 +02:00
Alejandro Domínguez
5369d720cf Account switcher: Show hints in account entry for visible session 2021-09-06 14:19:35 +02:00
Alejandro Domínguez
500cddf390 Add button in login page to go back to sessions page 2021-09-06 14:19:07 +02:00
Alejandro Domínguez
7c202b9488 Add account switcher 2021-09-06 14:19:07 +02:00
Kai A. Hiller
ef6d965c33 message_entry: Stop accepting tab 2021-08-26 09:53:45 +00:00
Kai A. Hiller
fba4b1c234 message_entry: Remove custom styles 2021-08-26 09:53:45 +00:00
Kai A. Hiller
9247b3eb04 message_entry: Don’t fill available space 2021-08-26 09:53:45 +00:00
Alejandro Domínguez
1e0cae2ffc Fix indentation 2021-08-24 15:27:23 +00:00
Kai A. Hiller
45a3d0e40f room_details: Make avatar remove icon a trash can 2021-08-23 20:11:02 +02:00
Kai A. Hiller
128159ac79 room_details: Hide edit buttons when not eligible 2021-08-23 13:33:26 +02:00
Kai A. Hiller
0c2a610ff7 room_details: Add cutout style to avatar buttons 2021-08-23 13:33:26 +02:00
Kai A. Hiller
a20259ddec room_details: Enable editing of room avatar 2021-08-23 13:33:25 +02:00
Kai A. Hiller
7ce448ba62 room_details: Add editing of room name and topic 2021-08-23 09:10:27 +02:00
Kai A. Hiller
23aff232b0 room_details: Add basic window 2021-08-23 09:10:26 +02:00
Julian Sparber
5973f3fa4e login: improve style for the devel warning 2021-08-09 12:18:43 +00:00
Alejandro Domínguez
f725079b09 Split main_stack in login and sessions 2021-07-20 23:03:09 +02:00
Kai A. Hiller
8a86bd2ad7 content: Unselect room on ESC 2021-07-12 12:20:24 +02:00
Julian Sparber
f9d656f154 content: Show empty page and loading spinner 2021-07-12 11:29:44 +02:00
Veli Tasali
c90f0c8b00 content: Align composer buttons to the bottom
Fixes #802.
2021-07-11 09:09:50 +00:00
giusdp
ca64f47c4d login: use default widget for logging on enter press
Expose the login button in login.ui to retrieve it by the default_widget function in login.
Set the login  button as the default widget when the visible child in main_stack is login,
and connect the function to the visible_child change signal to update the default widget.

fix: https://gitlab.gnome.org/GNOME/fractal/-/issues/788
2021-07-01 12:49:47 +00:00
Christopher Davis
5d95eb56bb components: Add RoomTitle component
Adds a custom RoomTitle widget in place of AdwWindowTitle.
This will allow us to have markup in titles and subtitles,
and allow us to have tooltips set appropriately.
2021-06-26 12:26:33 -07:00