Commit Graph

68 Commits

Author SHA1 Message Date
Hocuri 776f730e7c We won't blog post about this yet 2022-07-17 00:05:29 +02:00
Hocuri 05c52e622f hpk's wording suggestion, correct blog post link 2022-07-17 00:05:29 +02:00
Hocuri 3f9cab2f55 Add AEAP link in the UI instead of core 2022-07-17 00:05:29 +02:00
Hocuri 045ba76390 Add AEAP info dialog & strings 2022-07-17 00:05:29 +02:00
B. Petersen 6b8f0842aa use new dc_provider_new_from_email_with_dns() api 2022-04-27 23:04:18 +02:00
Hocuri 11ec547386 Make it possible to create an encrypted database (#2186)
- Before Android 6 (API 23), there was no KeyStore yet. Currently, you can still create an encrypted account, but the passphrase is stored in clear-text, because that's how Signal is doing things.
- There is no option to manually set the keyphrase or to unlock via fingerprint. This has the advantage that we never need user input for unlocking the accounts and can simply unlock all accounts on startup and the obvious disadvantage that anyone with access to the unlocked device can open DC.
- Each account is encrypted with a different passphrase.
- When importing, you can choose to encrypt the account.
2022-01-22 20:57:16 +01:00
cyberta aab70f0f05 add a Toast showing the reason why the auto-configuration failed 2021-11-04 12:53:45 +01:00
cyberta a21c039f4d don't update UI wrt. provider info in companion app auto-configuration 2021-11-04 12:53:45 +01:00
cyberta 1e3ee61325 auto-configure companion app accounts 2021-11-04 12:51:21 +01:00
Hocuri b8cbc6d3b0 Add some @NonNull annotations, remove unused method (#2028)
This was in an attempt to find the cause for #2026. I didn't succeed,
but this is an improvement, anyway.
2021-08-11 23:13:12 +02:00
B. Petersen 634c8d1e49 use accounts event emitter 2021-07-26 21:37:32 +02:00
adbenitez 5e93b89ff4 add yggmail support: allow dotless email address and localhost domain 2021-07-21 02:09:56 -04:00
B. Petersen 113a6c8f75 remove DcEventCenter from wrapper as it belongs to *.connect 2021-03-05 11:28:33 +01:00
B. Petersen 41603e6688 pass DcEvent object to handlers to avoid error-prone casts 2020-09-20 15:50:40 +02:00
B. Petersen b51cbfce1d adapt to new dc_configure() error handling
errors that should be shown to the user
come from DC_EVENT_CONFIGURE_PROGRESS(data1=0) as data2 now;
there is no need to show the captured error any longer
(which was unreliable and hard to handle from core site).

there is some capturing-code left as needed for other parts,
but it is not used for configuration anymore.
2020-09-12 22:33:16 +02:00
B. Petersen f27b530118 remove some unused minor functions and parameters 2020-09-10 00:22:26 +02:00
B. Petersen 87b46a037f adapt to new server_flags/mail_security/send_security api 2020-08-26 18:35:14 +02:00
B. Petersen 9b43304133 fix typo 2020-06-19 21:57:11 +02:00
B. Petersen 128667c35f say, what we're doing 2020-06-19 21:18:01 +02:00
B. Petersen 97bf777cc8 make get-oauth2-url cancelable 2020-06-19 21:18:01 +02:00
B. Petersen d14aaeef1c move getOauth2Url() to an async task 2020-06-19 21:18:01 +02:00
B. Petersen a15a82c353 stop io during configure(), call startIo()/stopIo() without is-running-check 2020-05-27 21:47:07 +02:00
B. Petersen 8fd3b374c2 use start/stop io 2020-05-27 16:12:48 +02:00
Hocuri 55192a4b13 Make the links in the dialog clickable (needed for Yandex) 2020-04-05 10:25:46 +02:00
B. Petersen 0d3f7a0696 add a real 'cancel' button to 'start simplified setup?'
i tried to rename the 'cancel' button to 'login manually'
as suggested at https://github.com/deltachat/interface/issues/33

however, playing around with this change a bit in real setup situations,
this does not really help on making things easier.

- the user sees a dialog opening that lacks an option to 'just close'
  it at the first glance, one feels stuck

- he has to understand that 'login manually' is the thing he already
  started in the previous dialog

therefore, i think a simple 'cancel' might not be perfect,
but according to 'login manually' the better choice.

however, maybe we can reword the text, saying more explicit what cancel does.

but even then, not sure if the user really reads the things,
and i think the text is already a bit long.
also, whatever the user chooses, there is not really a 'bad choice' -
in both decisions, the user will either succeed logging in or come back to the
intial screen.

also, thinking of ios, there the 'cancel' button
is always much more highlighted as the other ones -
having buttons named 'cancel' feels natural, but having a bold
'login manually' is a bit weird as the 'simplified' choice is probably
easier in most cases.
sure, this is ios and we can do things different there,
however, it is another point :)
2020-02-10 14:11:12 +01:00
B. Petersen fdb6cee76c only ask once for oauth2 on focus changes, however, always ask on 'log in' button 2020-01-31 23:21:50 +01:00
B. Petersen 5a60d52b01 rename oauth2 'cancel' button to 'login manually', cc @hpk42 2020-01-31 23:10:16 +01:00
B. Petersen be462abccf streamline oauth2 start an remove update-provider-info side-effect 2020-01-31 22:55:00 +01:00
B. Petersen 11b0cf1d8b remove before_login_hint once another provider is typed in
to not mess around with oauth2 dialogs,
we show the before_login_hint only if the email address is entered completely
(on focus changes)

however, if the user change the provider
so that no or a different provider info would be shown,
it should be removed (not: directly replaced by the actual one,
this is done on focus change if oauth2 is denied)
2020-01-31 22:06:49 +01:00
B. Petersen 3f37946785 synchronize hints to oauth2 things, remove hardcoded providers 2020-01-24 00:27:42 +01:00
B. Petersen 9cbd6a1031 add basic layout for preparation-needed/broken providers 2020-01-24 00:27:42 +01:00
B. Petersen fb235b7639 upgrade to androidx support libraries 2019-11-08 01:22:28 +01:00
cyberta 5c22c2f8db use camelCase for java variables 2019-11-01 01:09:08 +01:00
cyberta eb26c5c275 fix deprecation warning in RegistrationActivity 2019-11-01 01:09:08 +01:00
cyberta c7e7d00512 implement certificate check settings for imap/smtp (#1047) 2019-11-01 01:09:08 +01:00
daniel.boehrs fee12bc07b Disable password visibility toggle if isConfigured #1012 2019-08-02 11:31:29 +02:00
B. Petersen 5bec913c62 add a warning when using outlook/hotmail addresses 2019-06-27 13:11:14 +02:00
B. Petersen f238344d0b set cursor more nicely 2019-04-02 18:56:10 +02:00
B. Petersen 915ac6b8af use theme colors for RegistrationActivity 2019-04-02 11:52:26 +02:00
florian.haar 450966cce6 og should be reachable during onboarding #744 2019-03-09 15:36:48 +01:00
B. Petersen f51bb4dde5 wording 2019-02-21 16:21:57 +01:00
B. Petersen b8a1646823 application-id in delta-chat-auth-scheme is optional 2019-02-20 23:11:57 +01:00
B. Petersen daa5fde02a wording, handle accidential clicks outside confirmation dialog. 2019-02-20 14:54:43 +01:00
B. Petersen a7978430d1 get OAuth2 token back 2019-02-19 22:36:19 +01:00
B. Petersen 9bc231a1db do login when oauth2 returns 2019-02-19 00:50:00 +01:00
B. Petersen ad696464c1 add authorisation method popup to RegistrationActivity 2019-02-19 00:06:22 +01:00
B. Petersen bb4b72eab1 use correct redirect_uri 2019-02-18 22:55:12 +01:00
B. Petersen 1fa18be37d launch OAuth2 in browser if appropiate 2019-02-18 14:59:56 +01:00
B. Petersen 1d483f78bf use standard button and avoid another maven dependency 2019-01-23 15:12:13 +01:00
Daniel 91be337fb6 Infoboxes look weird closes #248 (#259) 2019-01-21 14:44:46 +01:00