Alexandre Franke
5a9a75d300
codestyle: fix indentation
2021-06-23 07:06:27 +00:00
Christopher Davis
840a3deb77
gitignore: Add subproject directories
...
These directories should be ignored so that we don't
accidentally commit subproject code.
2021-06-22 14:09:22 -07:00
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.
2021-06-22 12:25:33 +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
Julian Sparber
da3a1000c3
bump deps
2021-06-22 11:04:40 +02:00
Giuseppe De Palma
19f9a911d8
Remove bashism from git pre-commit hook
2021-06-22 07:03:29 +00:00
Kai A. Hiller
f94cde40d1
Fix doc comment
2021-06-14 21:02:40 +02: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
30748d8eb3
Change accelerators from <Primary> to <Control>
2021-06-14 18:25:50 +02:00
Kai A. Hiller
32ddab0164
Don’t repeat accelerators in shortcuts overview
2021-06-14 18:25:50 +02:00
Julian Sparber
ec7720c0fd
content: Add room explore
2021-06-10 16:55:23 +02:00
Julian Sparber
bd13ae4ef2
sidebar: Add Explore entry
2021-06-10 16:55:23 +02:00
Julian Sparber
f8b4dea063
room-history: rename content to room-history style class
2021-06-10 16:55:05 +02:00
Julian Sparber
872b3abaef
avatar: add property display-name
...
This makes it simpler to connect the Avatar to the ComponentAvatar
2021-06-10 16:54:31 +02:00
Julian Sparber
540198a209
bump deps
2021-06-10 16:53:47 +02:00
Julian Sparber
f69e6562a5
sidebar: Rename Categories to ItemList and cleanup
2021-06-03 19:54:38 +02:00
Julian Sparber
8e789c8bf5
Move categories modules to better fitting location
...
This also renames CategoryType to RoomType
2021-06-03 18:13:29 +02:00
Julian Sparber
2adec1644b
Add support for user-defined avatars
...
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/785
2021-06-03 16:07:45 +02:00
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.
2021-06-03 14:29:30 +02:00
Julian Sparber
bb395bcf11
bump deps
2021-06-03 14:29:30 +02:00
Kai A. Hiller
6522a5902b
Add .flatpak to .gitignore
...
The .flatpak folder is used by the Flatpak VS Code Extension.
2021-06-01 20:32:02 +02:00
Julian Sparber
145e9bd026
content: Add leave entry to room menu
2021-05-31 17:08:44 +00:00
Julian Sparber
ef58fdc4af
room: Make "category" property writable
...
This makes sure that a "category" is propagated to the homeserver.
2021-05-31 16:45:00 +00:00
Kévin Commaille
3b538164ef
session: Add dialog to view an Event's source
2021-05-31 17:44:07 +02:00
Kévin Commaille
727d063f60
content: Add context menu for ItemRow
2021-05-31 17:33:30 +02:00
Kévin Commaille
f0dfbdb468
components: Fix ContextMenuBin
2021-05-31 16:52:37 +02:00
Kévin Commaille
8f64615dc9
room: Add source property to get the raw JSON of an Event
2021-05-31 16:34:15 +02:00
Julian Sparber
47fc7cc383
content: Use LabelWithWidgets to display inviter
2021-05-31 16:05:46 +02:00
Julian Sparber
70824766b7
Show errors as in-app-notifications
2021-05-31 16:05:46 +02:00
Julian Sparber
3f8ce56f30
room: Emit error signal
...
This emits the error signal when accepting/rejecting a room fails
2021-05-31 16:05:46 +02:00
Julian Sparber
b439abe55c
components: Add widget for in-app-notification
2021-05-31 16:05:46 +02:00
Julian Sparber
88b5c0c984
room: Add error signal
...
the "error" signal will be emited whenever an error has to be displayed
to the user.
2021-05-31 16:05:46 +02:00
Julian Sparber
ffad9696bf
error: Add 'Error' object for handling error
2021-05-31 16:05:46 +02:00
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.
2021-05-31 16:05:46 +02:00
Julian Sparber
e214c30937
components: rename UserPill to Pill
2021-05-31 16:05:46 +02:00
Julian Sparber
a9cbcd7d33
components: Allow to use UserPill also for rooms
2021-05-31 16:05:46 +02:00
Julian Sparber
37303dc23f
bump deps
2021-05-31 16:05:43 +02:00
Julian Sparber
089f8d54b1
Add missing files to potfiles and meson
2021-05-31 11:36:44 +02:00
Adrien Plazas
34215dd872
login: Fix the indentation
...
It was purposefully left broken in the previous commit the make the
changes easier to read.
2021-05-30 06:18:13 +00:00
Adrien Plazas
e6609fc30f
login: Put the listbox into a clamp
...
This uses a clamp to more finely control the width of the login listbox,
making it look less cramped when the window is large.
This purposefully leaves the indentaton broken the make the changes
easier to read. They will be fixed in the next commit.
2021-05-30 06:18:13 +00:00
Daniel García Moreno
b7050d9793
meson: Update libadwaita version to match latest
...
The libadwaita version has changed on the repository and now it's a
lower version number:
faa9f26a2b
2021-05-28 17:44:00 +02:00
Julian Sparber
364da72ecf
bump deps
2021-05-28 11:04:33 +02:00
Kévin Commaille
390066e090
content: Update send button action name
2021-05-26 18:31:28 +02:00
Kévin Commaille
d547b9adfc
session: Move RoomList as a child of Session
2021-05-26 14:19:35 +02:00
Kévin Commaille
e3339f36f4
session: Update category when room tag changes
2021-05-26 08:46:20 +02:00
Kévin Commaille
d356745f1d
session: Load rooms and handle sync response in RoomList and Room
2021-05-26 08:29:04 +02:00
Kévin Commaille
cc3b0e5b2e
session: Provide Client and User to RoomList
2021-05-26 08:02:59 +02:00
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.
2021-05-24 14:05:15 +00:00
Julian Sparber
a180118a8e
components: Add button with loading spinner
2021-05-24 14:05:15 +00:00
Julian Sparber
c2f73e551f
components: Add widget for user pills
2021-05-24 14:05:15 +00:00