Commit graph

563 commits

Author SHA1 Message Date
Kévin Commaille
066daa2635
avatar: Do not load if size is 0
Fixes a crash in big rooms because all avatars are loaded at once
2022-02-01 18:03:29 +01:00
Julian Sparber
26d325a318 checks: Set locale to C 2022-02-01 15:35:00 +00:00
Kévin Commaille
f4611d73bb
login: Add auto-discovery of homeserver
Also check if the url provided is a valid homeserver.

Closes #769
2022-02-01 14:24:58 +01:00
Kévin Commaille
ae66b8045a
greeter: Fix devnotice 2022-02-01 14:24:58 +01:00
Kévin Commaille
1d85fab1ff
user-facing-error: Improve error messages 2022-02-01 14:24:58 +01:00
Kévin Commaille
fef17e6723
spinner-button: Fix sensitive state when action-name is set 2022-02-01 14:24:58 +01:00
Kévin Commaille
2296036d4a
data: Move non-icon SVGs to assets 2022-02-01 14:24:58 +01:00
Kévin Commaille
74cf22df84
app: Separate greeter and login screens 2022-02-01 14:24:57 +01:00
Kévin Commaille
bdfd69c64d
login: Replace custom button with SpinnerButton 2022-02-01 14:24:57 +01:00
Julian Sparber
0f499857f4 qr-code-scanner: Use gtk4-paintable sink 2022-02-01 12:36:01 +00:00
Julian Sparber
5a49bfc173 explore: Replace .content style with .card 2022-02-01 09:55:47 +00:00
Kévin Commaille
34f71ce741 members-page: Only show active members
Separate joined and invited in two lists
2022-02-01 08:36:53 +00:00
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
Kirill Schmidt
dc5a0fa573 event-actions: Replace SimpleActions with macro
Replaces the other SimpleAction calls with the
`gtk_macros::action!` macro.
2022-01-30 11:27:38 +00:00
Kirill Schmidt
8b248c0e4a event-actions: Implement Copy for sent messages
In order to use the "Copy Text" option only on
text messages the code checks the MessageType.
The macro `action!` sets the body of the
event to the content of the clipboard.

Enhances #745.
2022-01-30 11:27:38 +00: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
Paul van Tilburg
4cb89519ca
Fix typos 2022-01-28 23:45:50 +01:00
Kévin Commaille
dfabd1cba4
timeline: Don't display redacted events 2022-01-26 19:45:59 +01:00
Kévin Commaille
c68e24d2e1
app: Replace imp::from_instance with obj.imp() 2022-01-24 16:52:43 +01:00
Kévin Commaille
0639b466c4 media-viewer: Unfullscreen when going back 2022-01-24 14:57:19 +00:00
Kévin Commaille
93a45ae4fd media-viewer: Use AdwFlap for headerbar 2022-01-24 14:57:19 +00:00
Julian Sparber
b31db88086 meson: Drop post install script 2022-01-24 13:18:20 +01:00
Julian Sparber
f3cc9dd09f doc: Improve readme and fix doc issues 2022-01-24 12:55:58 +01:00
Kévin Commaille
d0dbd86c5b gitignore: Add .vscode 2022-01-20 11:52:32 +00:00
Kévin Commaille
50f3d1002e
message-text: Remove 'emoji' class on non-emoji messages 2022-01-20 12:20:41 +01:00
Kévin Commaille
fe2ff7c79a
app: Apply new formatting rules 2022-01-20 09:24:22 +01:00
Kévin Commaille
3abd9fde87
checks: Use stricter rustfmt rules 2022-01-20 09:08:11 +01:00
Kévin Commaille
f1e2efd865
resources: Sort files in resources.gresource.xml 2022-01-19 23:33:40 +01:00
Kévin Commaille
4f55a4a460
scripts: Add check for resources.gresource.xml 2022-01-19 23:33:40 +01:00
Kévin Commaille
614b17f0c6
po: Sort POTFILES.in and add missing files 2022-01-19 23:33:40 +01:00
Kévin Commaille
04ec63a31d
scripts: Add check for POTFILES 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
2c919934db
scripts: Add check for spelling mistakes 2022-01-19 23:33:40 +01:00
Kévin Commaille
9f4ad6fcbf
scripts: Reorganize checks and prettify output 2022-01-19 23:33:39 +01:00
Kévin Commaille
627553d415
pre-commit: Prettify output 2022-01-19 23:33:39 +01:00
Kévin Commaille
7f790a854f
ci: Make CI use same checks as pre-commit hook 2022-01-19 23:33:39 +01:00
Kévin Commaille
a53b20bfab
pre-commit: Export logic to separate script 2022-01-19 23:33:38 +01:00
Kévin Commaille
967c6206ae
chore: Update dependencies 2022-01-19 23:16:01 +01:00
Kévin Commaille
7f4f7cc8f8
chore: Update gtk-rs to 0.4.4
Update also:
  - libdwaita to 0.1.0
  - sourceview5 to 0.4.0
  - gstreamer, gstreamer-base and gstreamer video to 0.18
  - ashpd to 0.2.0-beta-1
2022-01-19 23:15:39 +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
3d5f6b78f9 Build docs with meson and flatpak 2022-01-19 17:59:19 +01:00
Julian Sparber
c6e25f4fbf meson: Drop build shell script
This drops the script we used to build fractal. And uses know only
meson. This also drops the need for specifying sources since cargo does
that for us.

This also bumps the meson version.
This also drops the build option `skip-cargo-build`.

Most of the changes are comming from https://gitlab.gnome.org/World/pika-backup
2022-01-19 16:46:08 +01:00
Julian Sparber
1332ba8823 user: Don't allow verification for verified users 2022-01-19 13:18:47 +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
da8942c44f verification: Fix waiting for device state 2022-01-19 13:10:37 +01:00
Julian Sparber
82301e36e7 verification: Allow starting user verifications 2022-01-19 13:10:37 +01:00
Julian Sparber
3d25285ac2 verification: Add log msgs on errors 2022-01-19 13:10:37 +01:00