Kévin Commaille
cfe2fe0281
message-media: Use custom player
...
Allows to play media without sound.
Closes #881
2022-02-01 09:06:24 +01:00
Kévin Commaille
c0bd634ff9
style: Reorganize style.css
2022-01-30 10:35:56 +00:00
Kévin Commaille
6ee656706a
style: Cleanup
...
Remove unused styles
Remove redundancies with libadwaita style
Always use named colors
Always use relative font-size
Use libadwaita styles as much as possible
2022-01-30 10:35:56 +00:00
Kévin Commaille
93a45ae4fd
media-viewer: Use AdwFlap for headerbar
2022-01-24 14:57:19 +00:00
Kévin Commaille
f1e2efd865
resources: Sort files in resources.gresource.xml
2022-01-19 23:33:40 +01:00
Kévin Commaille
c2848743c7
app: Fix spelling mistakes
2022-01-19 23:33:40 +01:00
Kévin Commaille
0a47fb71a6
content: Add reaction chooser to context menu
2022-01-19 18:23:06 +01:00
Kévin Commaille
2582b0d9b1
content: Implement reactions
...
Closes #530
2022-01-19 18:22:27 +01:00
Julian Sparber
a9c10dd313
room-details: Show verified icon for members
2022-01-19 13:10:37 +01:00
Julian Sparber
34eebf1842
verification: Label cancel/decline btn based on state
2022-01-19 13:10:37 +01:00
Julian Sparber
f26413bf4d
room-details: Add menu for members
2022-01-19 13:10:37 +01:00
Kévin Commaille
df46a36abb
sidebar: Enable changing room category from context menu
2022-01-18 16:33:32 +00:00
Kévin Commaille
ec3f7cfeae
sidebar: Enable changing room category with drag-and-drop
...
Part of #757
2022-01-18 16:33:32 +00:00
Kévin Commaille
411f26b441
sidebar: Fix color of RoomRow notification count
2022-01-18 16:33:32 +00:00
Kévin Commaille
9de599ed64
sidebar: Use GtkExpression for CategoryRow
2022-01-18 16:33:32 +00:00
Kévin Commaille
87d1fbd5ec
sidebar: Use GtkExpressions for RoomRow when possible
2022-01-18 16:33:32 +00:00
Kévin Commaille
8980a03789
media-viewer: Remove context menu
2022-01-17 23:01:54 +00:00
Kévin Commaille
e8d7081ea9
media-viewer: Don't use same menu as room messages
2022-01-17 23:01:54 +00:00
Kévin Commaille
245e35de10
content: Show media messages in replies in a compact format
2022-01-13 18:41:49 +01:00
Kévin Commaille
cf7bc0c90c
content: Add support for displaying rich replies
2022-01-13 18:41:49 +01:00
Julian Sparber
3fe920c342
verification: Use same widget for session and user verification
...
This makes the session verification widget use the idenity verification
widget as a base. This reduces code dupplication and hopfully
differences between the two implementations.
2022-01-13 14:50:16 +01:00
Julian Sparber
1d8de86b55
verification: Add InfoBar for user verifications
2022-01-13 14:50:16 +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
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
Julian Sparber
15afbb7022
verification: Move widgets to content and rename some
2021-12-17 18:43:19 +01: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
Kévin Commaille
78f0ae1f38
media-message: Handle media loading and errors
2021-12-13 17:49:48 +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
Kévin Commaille
8193be8e2c
room-history: Show video messages in the timeline
2021-12-09 12:49:31 +00:00
Julian Sparber
7325740485
room-history: Replace show to invite members in menu
2021-12-09 02:26:53 +01:00
Julian Sparber
a2fd4de501
room-details: Implement user invitiation
2021-12-09 02:26:53 +01:00
Julian Sparber
0ce41fecf7
QrCodeScanner: Remove height-request and expand
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/876
2021-12-06 16:53:18 +01:00
Julian Sparber
5cc1235dcd
content: Remove some uneeded halign
2021-12-06 16:52:48 +01:00
Julian Sparber
b068be5dae
room-history: Handle room upgrades
...
This adds a better widget for creation and tombstone events to the
room-history and shows buttons to allow users to navigate between
different version of a room.
2021-12-01 15:25:54 +01:00
Kévin Commaille
59273a7b86
media-viewer: Fix race condition
...
It would cause a crash if the menu popover wasn't set yet.
2021-12-01 11:32:36 +01:00
Kévin Commaille
f21eccfc15
session: Add Media Viewer
2021-11-30 19:32:24 +01:00
Kévin Commaille
a92c21770a
content: Move ItemRow's Event actions to its own trait
...
This will allow to use the same actions on other widgets.
2021-11-30 14:36:56 +01:00
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
Christopher Davis
998a045a02
session.ui: Use minimum fold threshold policy for leaflet
...
This fixes https://gitlab.gnome.org/GNOME/fractal/-/issues/780
by using the sum of minimum sizes as the size to fold the
leaflet at.
2021-06-24 23:04:47 -07:00
Christopher Davis
ffee76fc4f
ui: Use crossfades for stack transitions
...
This will give Fractal-Next a nice bit of polish
by using clean transitions for every stack.
2021-06-23 20:19:21 -07:00
Christopher Davis
a9f25188cf
ui: Use revealers for back buttons
...
In order to have nice transitions and consistent
sizing, we should use GtkRevealer with a crossfade
transition instead of using the `visible` prop
of the back buttons.
2021-06-23 18:31:47 -07:00
Christopher Davis
db2e533ecd
content-message-row.ui: Remove displayname style, use adw styling
...
Remove the custom display name style and instead use
libadwaita's "heading" and "accent" styles to set the right styling and colors.
2021-06-23 14:21:42 -07:00
Alexandre Franke
270b3e54fc
login: set expectations for dev version
2021-06-23 07:06:27 +00:00
Alexandre Franke
5a9a75d300
codestyle: fix indentation
2021-06-23 07:06:27 +00:00
giusdp
8fdf61d466
content: Fix room-history background style
...
fix: https://gitlab.gnome.org/GNOME/fractal/-/issues/777
2021-06-22 09:55:41 +00:00
Kai A. Hiller
71061f9697
Add Ctrl+K shortcut to toggle room list search
2021-06-14 21:02:36 +02:00
Kai A. Hiller
32ddab0164
Don’t repeat accelerators in shortcuts overview
2021-06-14 18:25:50 +02:00