Kai A. Hiller
d987bfcc8e
Fix warnings
5 years ago
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
5 years ago
Julian Sparber
002bdd9ab6
Use deps releases and bump matrix-sdk
5 years ago
Christopher Davis
485963d369
room_title: Parse and escape markup for title and subtitle
...
Parsing and escaping markup fixes issues with special
characters in titles and descriptions; Also allows links
to work properly in descriptions.
5 years ago
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.
5 years ago
giusdp
da7642500f
login: Add https:// to homeserver if not present
...
Add build_homeserver_url function to check if homeserver string
starts with http:// or https://, if not https:// is added, and
parse it as Url. It is used both to check the url to enable
the Next action and to login the user.
5 years ago
Julian Sparber
da3a1000c3
bump deps
5 years ago
Kai A. Hiller
f94cde40d1
Fix doc comment
5 years ago
Kai A. Hiller
71061f9697
Add Ctrl+K shortcut to toggle room list search
5 years ago
Kai A. Hiller
30748d8eb3
Change accelerators from <Primary> to <Control>
5 years ago
Julian Sparber
ec7720c0fd
content: Add room explore
5 years ago
Julian Sparber
bd13ae4ef2
sidebar: Add Explore entry
5 years ago
Julian Sparber
872b3abaef
avatar: add property display-name
...
This makes it simpler to connect the Avatar to the ComponentAvatar
5 years ago
Julian Sparber
f69e6562a5
sidebar: Rename Categories to ItemList and cleanup
5 years ago
Julian Sparber
8e789c8bf5
Move categories modules to better fitting location
...
This also renames CategoryType to RoomType
5 years ago
Julian Sparber
2adec1644b
Add support for user-defined avatars
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/785
5 years ago
Julian Sparber
a4d7f87bac
session: Pass Session to obj that need access to it
...
Since we will have multiple Sessions at some point we need to tell
objects the Session they belong to. This gives us direct access to the
user of the session and the matrix client.
5 years ago
Julian Sparber
145e9bd026
content: Add leave entry to room menu
5 years ago
Julian Sparber
ef58fdc4af
room: Make "category" property writable
...
This makes sure that a "category" is propagated to the homeserver.
5 years ago
Kévin Commaille
3b538164ef
session: Add dialog to view an Event's source
5 years ago
Kévin Commaille
727d063f60
content: Add context menu for ItemRow
5 years ago
Kévin Commaille
f0dfbdb468
components: Fix ContextMenuBin
5 years ago
Kévin Commaille
8f64615dc9
room: Add source property to get the raw JSON of an Event
5 years ago
Julian Sparber
47fc7cc383
content: Use LabelWithWidgets to display inviter
5 years ago
Julian Sparber
70824766b7
Show errors as in-app-notifications
5 years ago
Julian Sparber
3f8ce56f30
room: Emit error signal
...
This emits the error signal when accepting/rejecting a room fails
5 years ago
Julian Sparber
b439abe55c
components: Add widget for in-app-notification
5 years ago
Julian Sparber
88b5c0c984
room: Add error signal
...
the "error" signal will be emited whenever an error has to be displayed
to the user.
5 years ago
Julian Sparber
ffad9696bf
error: Add 'Error' object for handling error
5 years ago
Julian Sparber
1c777a2123
components: Add LabelWithWidgets
...
This is a Label that places other widgets at the position
where "<widget>" is found inside the label string. The user can also set
a custom placeholder if needed.
5 years ago
Julian Sparber
e214c30937
components: rename UserPill to Pill
5 years ago
Julian Sparber
a9cbcd7d33
components: Allow to use UserPill also for rooms
5 years ago
Julian Sparber
089f8d54b1
Add missing files to potfiles and meson
5 years ago
Kévin Commaille
390066e090
content: Update send button action name
5 years ago
Kévin Commaille
d547b9adfc
session: Move RoomList as a child of Session
5 years ago
Kévin Commaille
e3339f36f4
session: Update category when room tag changes
5 years ago
Kévin Commaille
d356745f1d
session: Load rooms and handle sync response in RoomList and Room
5 years ago
Kévin Commaille
cc3b0e5b2e
session: Provide Client and User to RoomList
5 years ago
Julian Sparber
fc5f97448a
content: Add invitation widget and implement accept/reject
...
To fully work this will need some work on the sdk side, since the
inviter isn't available after dropping a SyncResponse, therefore after a
restart the inviter is forgotten. Also the display name isn't shown
always correclty because the sdk doesn't calculate it correclty.
5 years ago
Julian Sparber
a180118a8e
components: Add button with loading spinner
5 years ago
Julian Sparber
c2f73e551f
components: Add widget for user pills
5 years ago
Julian Sparber
13871637e3
components: Fix missing source file for Components
5 years ago
Julian Sparber
df5408cc8c
content: Move room history to it's own widget
...
This will allow us to add different content widgets, e.g. for invites
5 years ago
Kévin Commaille
38ea59a412
sidebar: Use gtk::INVALID_LIST_POSITION
5 years ago
Kévin Commaille
7617aaa923
sidebar: Use freeze_notify
...
Closes #763
5 years ago
Kévin Commaille
704773abfb
room: Use ruma's markdown feature
5 years ago
Julian Sparber
9b9cea1b51
bump deps
5 years ago
Julian Sparber
5322e9bcdf
session: Track changes of room type
5 years ago
Raatty
499555ec6b
content: Show room name and topic in header
5 years ago
Kévin Commaille
f0f0c4cbb9
session: Use a single room list with GtkFilterListModels
5 years ago