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.
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.
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.
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.
This includes:
- A TextView instead of a Entry for writing messages. This enables
word-wrapping and multi-line messages.
- Fix settings actions scaled poorly
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.