Commit Graph

2925 Commits

Author SHA1 Message Date
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 4c9f336071 bump version to 1.13.1 (beta series) 2020-09-12 22:32:57 +02:00
B. Petersen 30ef262dcd update deltachat-core-rust submodule 2020-09-12 21:49:02 +02:00
B. Petersen fb6ad8a57e update translations 2020-09-12 21:48:47 +02:00
B. Petersen 44a3e6636b update translations 2020-09-12 16:18:44 +02:00
bjoern 137edaab1d Merge pull request #1622 from deltachat/update-chatlist-times
add chatlist time to update relative times
2020-09-12 16:10:04 +02:00
bjoern 46e4eff2b9 Merge pull request #1620 from deltachat/hide-keyboard
hide keyboard when leaving edit-name
2020-09-12 16:09:43 +02:00
bjoern 152ea7c06b Merge pull request #1621 from deltachat/add-log-warning
prefix log by a hint about sensitive information
2020-09-12 16:09:24 +02:00
bjoern 39b82a72ca Merge pull request #1618 from deltachat/remove-dead-code
Remove dead code
2020-09-12 16:09:06 +02:00
B. Petersen a1d5f72666 add a timer that redraws the chatlist every minute so that the relative times do update 2020-09-11 22:03:12 +02:00
B. Petersen 65692a1f09 prefix log by a hint about sensitive information
- having this is the text has the advantage that the hint is
  also in place when the log is already exported,
  editing is maybe even easier later

- if needed, we can make the hint translatable at a later point,
  not sure, however, if this is useful as most of the log is english anyway.
2020-09-11 18:16:00 +02:00
B. Petersen d056b039f0 remove windowSoftInputMode="stateHidden" from profile
according to https://developer.android.com/guide/topics/manifest/activity-element,
it hides the keyboard when creating the activity, but does nothing when navigating back
(as in https://github.com/deltachat/deltachat-android/issues/1606 )

removing the flag closes the keyboard for both directions,
which seems to be the standard behavior and works just well here.

(came over that when checking why the other place where single_line_input was
used (video instance input) works without problems)
2020-09-11 15:02:10 +02:00
B. Petersen be772ac668 fix padding and cursor for edit-name-dialog 2020-09-11 14:55:30 +02:00
B. Petersen e5112616bd remove some more unused function parameters 2020-09-10 00:41:16 +02:00
B. Petersen f27b530118 remove some unused minor functions and parameters 2020-09-10 00:22:26 +02:00
B. Petersen 6c0c7f358d remove unused RequirementListener/RequirementProvider 2020-09-09 23:38:58 +02:00
B. Petersen ddee52171e remove useless name requirement from JobManager 2020-09-09 23:18:24 +02:00
B. Petersen 4350fe120c remove dead code (by Android Studio / Analyze / Run Inspection by Name / Unused declarations 2020-09-09 22:55:18 +02:00
B. Petersen 4874b4d0ea removed unused strings, all checked with ./tools/grep-string.sh 2020-09-09 17:51:49 +02:00
B. Petersen eef5bfbdb1 remove older migration code 2020-09-09 17:51:49 +02:00
B. Petersen c51ad1f597 update translations 2020-09-09 17:51:25 +02:00
B. Petersen f7a7b48c8d update deltachat-core-rust submodule 2020-09-09 16:30:34 +02:00
B. Petersen 628c3780f3 update translations 2020-09-09 16:26:06 +02:00
cyBerta 3ad7822504 Merge pull request #1617 from deltachat/fix-relaunch2
fix launch if there is an ongoing process
2020-09-09 15:57:22 +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
cyBerta 4153e34a00 Merge pull request #1616 from deltachat/battery-rationale
add rationale to ignore-battery-optimization request
2020-09-09 15:42:01 +02:00
B. Petersen 46f3412409 abort export on app relaunch 2020-09-09 14:19:45 +02:00
B. Petersen 57b3294848 open app with recent activity on tap on GenericForegroundService 2020-09-08 23:13:23 +02:00
B. Petersen 9588fb4fd4 pervent starting activities when a foreground-service is started 2020-09-08 23:13:23 +02:00
B. Petersen 1f29314a47 add isForegroundTaskStarted() 2020-09-08 16:01:28 +02:00
B. Petersen 5ab682f2ab use same rationale in device message (the device message is only added when the direct-ask was cancelled) 2020-09-08 12:41:02 +02:00
B. Petersen fa214e0163 reword, use 'continue' instead of 'ok' 2020-09-07 15:50:46 +02:00
B. Petersen 34c217576e reword rationale dialog, remove 'cancel' button 2020-09-07 13:56:37 +02:00
B. Petersen 14dc59d78c add rationale to ignore-battery-optimization request
while it is more straight-forward to let the system ask the user directly -
as we do for most other permissions -
this is probably not favorable for requesting ignore-battery-optimization:

- other permissions requests are preceded by a clear user intention -
  tap on the camera, record voice etc.
  so it is clear to the user why a permission is needed.
  this is not true at the moment after installation
  (maybe the moment can be improved, btw)

- different systems have completely different text,
  partly focusing on "battery drain" - it is not clear to the user
  what would be the advantage of that

- some guidelines say, user interaction is needed before querying permission.
  there is room for interpretation, of couse,
  however, adding a rational with a "continue" button
  seems to fit better to these guidelines.
2020-09-06 23:44:34 +02:00
bjoern 742ce78c9c Merge pull request #1505 from deltachat/betterdoze
Already ask the user to disable doze on the first start.
2020-09-06 22:36:29 +02:00
B. Petersen 537ea4a195 move maybeAskDirectly() to the updateReminders()-AsyncTask, this avoids the keyboard not being closed during the permission-quesions 2020-09-06 21:20:13 +02:00
B. Petersen 1caaac58b9 move always-executed doze-checks to a try/catch block 2020-09-06 17:31:56 +02:00
B. Petersen 94cda3f81f move pref-string 'DOZE_ASKED_DIRECTLY' to the other pref-strings 2020-09-06 17:31:56 +02:00
Hocuri 954ca9b2d1 Already ask the user to disable doze on the first start 2020-09-06 17:31:56 +02:00
B. Petersen 7d0ac9f501 update translations 2020-09-06 17:31:27 +02:00
B. Petersen 71609692fe update translations 2020-09-06 13:51:49 +02:00
B. Petersen 615f1b5e7a fix string 2020-09-06 13:50:49 +02:00
bjoern ded8d0b181 Merge pull request #1608 from deltachat/notify-bg-switch
add switch to enable/disable battery optimizations
2020-09-06 13:44:10 +02:00
B. Petersen fe25b81d4f reword, sort android strings to corresponding section 2020-09-06 13:43:26 +02:00
bjoern 31a4c3deec Merge pull request #1614 from deltachat/fix-generic-fgservice
close generic foreground-service when hitting 'cancel' button
2020-09-05 12:41:48 +02:00
B. Petersen 877a49e0ef close generic foreground-service when hitting 'cancel' button 2020-09-05 00:49:21 +02:00
B. Petersen 33cd22552f make 'disappearing messages' a standard-feature 2020-09-04 14:28:52 +02:00
B. Petersen 6fa07b99fa move generic-notification-id to NotificationCenter to keep the overview 2020-09-03 18:50:09 +02:00
bjoern 390ccc4923 Merge pull request #1504 from deltachat/imex_foregroundservice
generic foregroundservice
2020-09-03 18:30:27 +02:00
cyberta 42837ad56d no content intent for generic forground service - don't open the ConversationListActivity on notification click 2020-09-03 17:30:52 +02:00