Commit Graph

86 Commits

Author SHA1 Message Date
B. Petersen 5c034c6e59 add comments in duplicated files 2020-12-22 13:22:05 +01:00
B. Petersen e076ca45ba tune down usage of screen-lock
for various reasons,
screen-lock will be removed completely in one of the next versions.

- if screen-lock was enabled before, add a warning
  and keep the options (user can switch screen-lock on and off
  until it will be finally removed)

- if screen lock was disabled before,
  hide the corresponding options,
  (the user will not be able to enable screen-lock anymore)

reasons for removing are:

- hard maintainability on different android versions, see discussions at
  https://github.com/deltachat/deltachat-android/issues/1208 and
  https://github.com/deltachat/deltachat-android/pull/1279 and
  https://github.com/deltachat/deltachat-android/pull/1319 and offline.
  ftr, also the used api createConfirmDeviceCredentialIntent() is deprectated,
  so another set of api calls would be needed in the soon future.

- compared to the effort, few security is added,
  the function is only available if the system is protected anyway,
  one just have to repeat the system secret.

- might even worsen overall security - if app login secret is peeked,
  and attacker will also have the system secret.

- the functions stands in the way of moving forward to a
  cross-platform solution (however, not sure if this will really come)
2020-09-17 16:26:19 +02:00
cyBerta 27e58cc3e4 Merge pull request #1612 from deltachat/disappearing-not-experimental
make 'disappearing messages' a standard-feature
2020-09-09 15:42:40 +02:00
B. Petersen 615f1b5e7a fix string 2020-09-06 13:50:49 +02:00
B. Petersen 33cd22552f make 'disappearing messages' a standard-feature 2020-09-04 14:28:52 +02:00
B. Petersen 34755f05ff add a switch to 'settings / notifications' to disable battery optimisations 2020-09-01 01:44:43 +02:00
B. Petersen 2f7386c9e0 update strings 2020-07-29 16:50:18 +02:00
B. Petersen a7ca3f43ba add option to enter a WebRTC instance 2020-07-29 14:00:01 +02:00
Alexander Krotov c71aaed79c Rename "Auto-delete messages" into "Delete old messages"
This change makes it clear which messages are deleted, so this setting
can't be confused with Ephemeral-Timer header, configured per chat.
2020-07-09 14:58:39 +03:00
B. Petersen fe2c33a6ba reword 'auto-delete' and 'message deletion' to 'disappearing messages' 2020-07-08 18:24:12 +02:00
Alexander Krotov 07c802c976 Update strings used for ephemeral messages
- For chat menu item, use already translated auto-delete string.
- For experimental setting, use untranslatable hard-coded string.
- Introduce a new translatable string for ephemeral dialog title
2020-07-01 22:53:54 +03:00
cyberta f6599e3ae0 add experimental feature switch for ephemeral messages 2020-06-29 23:56:01 +03:00
cyberta c5c90b36a9 fix localization of experimental location streaming settings entry 2020-06-29 23:56:01 +03:00
B. Petersen 6738b0d477 remove 'Delete emails from server' experiment, the function is superseded by 'Auto-delete messages' 2020-06-10 19:47:07 +02:00
B. Petersen 791b4adff8 move 'Switch account' out of experimental 2020-06-10 00:56:33 +02:00
B. Petersen 050c358859 make in-chat-sounds respect notification- and mute-settings 2020-05-25 13:38:57 +02:00
B. Petersen 1e60eb9c1a just use defaults for led-pattern, it is no longer supported since andoid8; in-chat sounds are independent from global-notification-switch 2020-05-25 13:38:52 +02:00
B. Petersen d1690399cc move permantent-notification switch more prominent, let it depend on notifications-enabled 2020-05-11 01:11:22 +02:00
B. Petersen b0641a49c3 change default for 'reliable background service' to false
reason is that ppl are pretty annoyed by the
permanant notification, that might have been expected and that would be okay.
but, more worse, for whatever reasons, this drains more battery on some systems
than having just "allow consuming battery" enabled,
maybe some system do not go to doze mode because of the permantent-notification.

anyway, to avoid initial annoyances, we switch back to
- asking the user to "allow consuming battery"
- having a 15 mintues or so polling interval (as on iOS)

but, in contrast to 1.3, we now still have the _option_ to
enable a permantent-notification that user can enabled if everything else
described at https://dontkillmyapp.com does not work.

the "smart" permantent notification from 1.3,
that are only shown under some circumstances, however, are gone.
they are not realiable, eg. we did not use them when "consume battery"
was enabled - which is not sufficient on various "modern" systems.
but the main reason is that _if_ the user enables a permantent notification,
this can also be regarded as a hint that things are up and running.
2020-05-11 01:11:22 +02:00
B. Petersen 69d05ae0c7 show permantent-notification unconditionally and add a switch to disable it 2020-04-28 15:16:50 +02:00
B. Petersen ba97236f7d tune down multi-account, move to settings/advanced, quick switch via long-click on fab-icon 2020-04-17 01:34:51 +02:00
B. Petersen bf6607ee4f add menu entry and experimental optinon for account switching 2020-04-16 12:19:46 +02:00
B. Petersen bf314f57bf wording 2020-03-28 22:01:47 +01:00
B. Petersen 9fbad277a6 cleanup strings 2020-03-28 22:01:47 +01:00
B. Petersen eb9a759314 add options for autodel-server and autodel-device 2020-03-28 22:01:46 +01:00
B. Petersen 6241685814 move 'manage keys' to autocrypt section, streamline with ios 2020-03-07 22:11:16 +01:00
B. Petersen 37bff2ca4a reorder chats&media settings 2020-03-07 21:50:09 +01:00
B. Petersen f81166a4ae resort main-settings categories, move 'read receipts' and 'blocked contacts' to 'chats&media' (communication on ios) 2020-03-07 21:50:09 +01:00
B. Petersen 0494200bd7 move 'appearance' options to 'appearance' category 2020-03-07 21:50:09 +01:00
B. Petersen 0f64d4e9c5 remove unused InviteActivity, it was disabled 9 months ago in #790 2020-01-17 14:08:22 +01:00
B. Petersen d137c52de0 update translations 2019-10-29 21:12:47 +01:00
B. Petersen a2a3cf8aa8 show led-color standardized in the value row
right-aligned settings look a bit odd on newer android versions,
the default is a second row with the value.

also, the led is subject to change
as it probably won't be directly editable in the notification channels -
so, do not continue to maintain an explicit class for that.
2019-10-22 22:24:17 +02:00
B. Petersen b4d9b1f7dc simplify SignalPreference to Preference 2019-10-22 22:18:22 +02:00
B. Petersen 5fbdf1c2a9 simplify ListPreferenceWithSummary to ListPreference; the right-aligned settings look a bit odd on newer android versions because of the padding left. we just use the standard controls now. 2019-10-22 22:18:22 +02:00
B. Petersen 0e38854a5f simplify preference divider 2019-10-22 19:47:38 +02:00
B. Petersen 33e04c13cf simplify autocrypt summary layout 2019-10-22 19:42:24 +02:00
B. Petersen 76a481b913 add a switch to set the bcc_self option 2019-10-11 00:29:38 +02:00
B. Petersen cddb89717f make translatable 2019-06-25 22:17:33 +02:00
B. Petersen dddd02882f wording, show delete-all-checks in red 2019-06-25 16:18:20 +02:00
B. Petersen c0d2f75c6d use camel-case for variables 2019-06-25 14:58:15 +02:00
B. Petersen 83abb060ba make delete-from-server working 2019-06-22 01:07:54 +02:00
B. Petersen 1996422d02 add controls to empty folder on server 2019-06-21 20:01:39 +02:00
cyBerta 29c002b034 move backup option to settings -> chats (#957) 2019-06-18 16:57:07 +02:00
cyBerta f43ecf8549 add missing padding to settings screen #894 2019-06-17 12:12:20 +02:00
cyBerta 35138022e9 notification refactoring 2019-05-28 01:11:40 +02:00
B. Petersen f95acd0578 cleanup: delete unused java-source-files and resource-files 2019-05-26 00:02:24 +02:00
B. Petersen e91bead522 remove dead code 2019-05-25 13:26:40 +02:00
B. Petersen 46f768ca28 remove superfluous headline 2019-05-20 18:10:49 +02:00
B. Petersen be73649703 move 'advanced/outgoing image quality' to 'chats and media/outgoing media quality' 2019-05-15 01:13:44 +02:00
B. Petersen d1e902b1a3 move 'show classic emails'-option from 'advanced' to 'chats and media' 2019-05-15 00:57:57 +02:00