Commit Graph
31 Commits
Author SHA1 Message Date
Julian Schmidhuber 850e099bd5 chores(deps): Update presage
Also finishes the implementation of the linked devices window, as
primary-device now works again after the update.
2024-06-16 14:44:09 +02:00
Julian Schmidhuber eadcf97bf2 chores(cleanup): Cleanup Code
This includes:

- Porting pretty much everything from the old way to do properties to the `glib::Properties` macro.
- Defining `crate::prelude` and simplifying imports.
- Cleaning up some obvious bad code.
2024-04-01 16:19:57 +02:00
Julian Schmidhuber 858d9d8cdd ci(): Try fix CI build
Inspired by <https://gitlab.com/schmiddi-on-mobile/railway/-/merge_requests/49#324fe022d6adf6fa83beeabd08e4dcc1c42be108>.
2024-03-16 17:24:44 +01:00
Julian Schmidhuber 87a9a774f8 ui(): Dialog for new chat
Implements the mockup of #119.
Builds up from !130.

Closes #119
2024-03-12 11:00:39 +01:00
Spaziale ef4b4339f1 ui(): Fix contact description + small ui fixes 2024-02-11 10:10:39 +00:00
Marco a234dd38cf fix missing icon 2023-12-28 18:03:30 +01:00
Marco d69b0da0d5 Restyle call message item 2023-12-28 14:43:18 +01:00
Julian Schmidhuber 9da80cd827 dummy(): Change dummy data 2023-12-25 13:16:41 +01:00
Marco Loletti f359a213a8 ui(): Place the timestamp inline with the message text + a lot of small ui fixes 2023-12-09 15:19:29 +00:00
Julian Schmidhuber 01491d9d94 ui(): Minor restyle of message entry bar 2023-11-26 11:01:28 +00:00
Julian Schmidhuber 4e173e49b6 feat(primary-device): Secondary device linking
Currently broken due to upstream
2023-10-11 14:28:05 +02:00
Julian Schmidhuber 3be5c5fc2d feat(): Allow for primary device linking
This MR adds the ability to link as a primary device.

Do not use this, unless:

- You know what you are doing.
- You are knowledgeable enough to activate the primary-device button,
  which I deactivated by default (insert evil laughter here).
- You are knowledgeable enough to switch from staging to production
  servers, which I hardcoded by default (insert evil laughter here).
- You are me.

This MR basically refactors the entirety of the setting up of the
manager, which was previously hard-coded to only allow linking of the
device. In the process, I also removed the link window and added a new
window that gives an introduction of Flare, describes the choice between
setting up as primary or secondary device, enables the user to execute
their preferred setup way, and finally introduces known bugs and the
Matrix room before usage.

A few things that are still TODO:

- Better UI for the setup window.
- Let the user choose between production and staging servers.
- Error handling, e.g. for failed parsing of the phone number.
2023-10-11 14:27:05 +02:00
Julian Schmidhuber 262b89b6ea feat(messages). Add date divider to message list
Also fixes a minor deprecation within the link window.

Contributes to #25.
2023-09-24 15:59:22 +02:00
Marco Loletti 9a42aaba86 ui(entry): Restyle text entry 2023-08-28 11:32:11 +00:00
Marco Loletti 428a2d2da0 ui(): Use blurhash as a placeholder 2023-08-28 10:48:20 +00:00
Marco Loletti f331bd942e ui(): Restyle link pages 2023-08-17 14:39:01 +00:00
Marco Loletti 4851c7ce19 ui(): Restyle Attachments 2023-08-10 17:31:40 +00:00
Julian Schmidhuber 236b42db02 chore(refactor): Refactor message item rows
This is a refactor of the old way how the message list was populated.
This was pretty inefficient. Now, it is replaced by an intermediate
`ItemRow` widget which (for some reason, even though it does the same)
makes it considerably more efficient.

This is related to <https://gitlab.com/schmiddi-on-mobile/flare/-/issues/86#note_1504777491>.

This should also make #10 somewhat feasible.
2023-08-09 17:29:06 +02:00
Julian Schmidhuber 53fa7f8d82 feat(): Allow submission of captchas
This adds a new "Submit Captcha" entry to the main menu of the window
that has a short introduction on what to do and entries to paste the
corresponding fields.

Note that this was not tested fully as I never had to submit a captcha.

Related to #81.
2023-08-02 15:30:20 +02:00
Marco Loletti 7a2562b333 ui(popover): switch to right click and add longpress 2023-07-06 14:12:12 +00:00
Marco Loletti dfe338ec9c ui(message): Popover rework 2023-07-02 08:42:48 +00:00
Julian Schmidhuber d24ed1764f ui(channel-info): Add channel info dialog 2023-03-28 11:17:21 +02:00
Jan-Michael Brummer a5a228c249 UI revamp 2023-03-26 14:35:27 +00:00
Julian Schmidhuber 1feb0d1998 chores(refactor): Greatly refactor Messages 2022-10-16 11:16:41 +02:00
Julian Schmidhuber ab948eb556 ui(adwaita): Port AboutWindow and MessageDialogs 2022-09-23 14:01:12 +02:00
Julian Schmidhuber a36f6b12e3 ui(): General UI improvements
This includes:
- A TextView instead of a Entry for writing messages. This enables
  word-wrapping and multi-line messages.
- Fix settings actions scaled poorly
2022-09-03 12:52:18 +02:00
Julian Schmidhuber 0784550e61 ui(shortcuts): Add UI shortcuts 2022-09-01 16:33:12 +02:00
Julian Schmidhuber 3138fbc4c8 feat(settings): Settings
Currently stored are:

- Window parameters
    - Default width/height
    - Is maximized
- Device name for linking

Additionally a crash has been fixed where a error on presage startup
would lead to application crash.
2022-08-17 16:32:28 +02:00
Julian Schmidhuber c809949097 feat(attachment): Initial attachment support 2022-07-10 14:51:11 +02:00
Julian Schmidhuber 706d9d3e97 feat(): Initial error handling 2022-07-08 13:21:30 +02:00
Julian Schmidhuber 375b683af1 init(): Initial commit 2022-06-29 16:48:09 +02:00