Commit Graph

45 Commits

Author SHA1 Message Date
Kévin Commaille d13b03a85e
misc: Put UI files next to the corresponding Rust files 2023-05-21 23:38:58 +02:00
Kévin Commaille b15c5f0c8b
session: Reorganize submodules between model and view 2023-05-21 17:09:17 +02:00
Kévin Commaille cf27bd22c6
window: Use a new GListModel to manage sessions
Allows to use GtkListBox::bind_model and prepares a futures change
where the session is split between view and model.
2023-05-20 14:20:06 +02:00
Kévin Commaille a1385eff0a
misc: Allow clippy::new_without_default at the crate level 2022-11-06 12:32:39 +01:00
Kévin Commaille 4d5791f817 secret: Use oo7 instead of libsecret 2022-10-28 11:12:36 +00:00
Julian Sparber e069053cda session: Replace listview with listbox in AccountSwitcher
This reworks the entiere account switcher.

Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/931
Fixes: https://gitlab.gnome.org/GNOME/fractal/-/issues/898
2022-04-19 20:04:51 +00:00
Kévin Commaille 5de88e83ff
i18n: Add formatting i18n methods compatible with xgettext 2022-04-06 19:17:39 +02:00
Bilal Elmoussaoui 241055546a docs: fix the logo link & add favicon 2022-03-31 08:05:52 +00:00
Julian Sparber 0bf6a4ff32 Remove Next from app-id 2022-03-30 14:36:28 +02:00
Kévin Commaille c1a97472b4
login: Move to its own module 2022-03-28 17:45:47 +02:00
JCWasmx86 d8e58a76aa login: Add SSO support 2022-03-22 15:45:22 +01:00
Kévin Commaille 60a0207ee2
secret: Switch to libsecret 2022-02-25 12:06:39 +01:00
Kévin Commaille 757373f87b app: Rename Error to Toast and move to components 2022-02-23 16:42:50 +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 74cf22df84
app: Separate greeter and login screens 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
Kévin Commaille fe2ff7c79a
app: Apply new formatting rules 2022-01-20 09:24:22 +01:00
Kévin Commaille c2848743c7
app: Fix spelling mistakes 2022-01-19 23:33:40 +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
Maximiliano Sandoval R 8b8631130d Use AdwApplication
This allows to have a separate css file for dark mode.
2021-12-14 11:39:05 +00:00
Kévin Commaille f7016fa310 user-facing-error: Rename file to be more consistent 2021-12-09 13:01:42 +00: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
Enterprisey 19f34f6d45 error: UserFacingMatrixError -> UserFacingError
Renamed because the trait will now be used for other types of errors.
2021-11-02 18:14:40 +00:00
Julian Sparber 3dea9a3398 session: Use crosssigning to verify new sessions 2021-10-27 15:16:32 +02:00
Maximiliano Sandoval R 7b51b373e2 main: Do not set prgname
Should not be done in gtk 4 according to the migration guide.
2021-10-09 09:46:39 +00:00
Julian Sparber f01d402dd6 room: Add dialog to create new rooms 2021-09-29 12:48:22 +02:00
Kai A. Hiller c3f7e38f30 clippy: Enable module_inception lint 2021-08-31 16:25:39 +00:00
Kai A. Hiller 44053ca6b1 user: Make User subclassable 2021-08-13 17:40:13 +02:00
Kai A. Hiller ab96d0cbb9 clippy: Allow module_inception 2021-08-09 19:07:45 +02:00
Kai A. Hiller f5cb220e8c clippy: Fix warnings 2021-08-09 19:07:45 +02:00
Kai A. Hiller d987bfcc8e Fix warnings 2021-07-10 15:50:54 +02:00
Julian Sparber ffad9696bf error: Add 'Error' object for handling error 2021-05-31 16:05:46 +02:00
Julian Sparber 16bba4dc44 content: Implement room history 2021-04-30 18:35:01 +00:00
Julian Sparber d98e616872 Add wrapper object for room, room events and room members 2021-04-30 18:35:01 +00:00
Veli Tasali a5b5055ab0 docs: Set crate logo as the FractalNext icon
This replaces the default Rust logo as the app
icon on all documentation pages under `fractal`
package.
2021-04-29 10:50:29 +03:00
Julian Sparber b0be9d47f1 update deps
run cargo update
2021-04-20 22:35:23 +02:00
Alexandre Franke 4f9e1726a6 Remove Frctl prefix 2021-04-13 20:21:45 +02:00
Julian Sparber 4e409bb329 add logging for the matrix-sdk
The sdk uses tracing for loging therefore we can't use
pretty-env_logger. We are still able to set the log level via the env
variable RUST_LOG.
2021-03-31 22:11:12 +02:00
Julian Sparber abf2361a80 login: Use SecretService to store previous session 2021-03-24 23:35:34 +01:00
Julian Sparber 22890128ee Add matrix-sdk 2021-03-24 12:47:38 +01:00
Julian Sparber 154425f1a0 refelct some widget hierarchy in the folder structure 2021-03-24 11:52:34 +01:00
Julian Sparber a8a6882cda application: use FrctlApplication as name 2021-02-16 11:30:41 +01:00
Julian Sparber 9e8fa8aab5 Add base layout 2021-02-16 11:30:41 +01:00
Julian Sparber f0fb42d7b8 Add custom icon theme and move resource file 2021-02-15 17:51:44 +01:00
Alejandro Domínguez 49dab8eeaa Init with GTK Rust Template 2021-02-04 20:46:36 +01:00