Commit Graph

4523 Commits

Author SHA1 Message Date
Hocuri 22017fd162 Add regression test 2023-08-15 18:27:45 +02:00
adbenitez 39184f8a09 improve mailto Intent handling in ShareActivity 2023-08-15 11:27:37 +02:00
B. Petersen c4a4469424 Merge branch 'stable' 2023-08-07 10:31:07 +02:00
B. Petersen 254a78bb02 typo 2023-08-07 10:30:43 +02:00
link2xt d6014123a0 Merge branch 'stable' 2023-08-06 16:38:30 +00:00
link2xt 51a02c30f9 update deltachat-core-rust to 'api!(deltachat-jsonrpc): use kind as a tag for all union types' of 'master' 2023-08-06 16:34:46 +00:00
Asiel Díaz Benítez d396a43504 Merge pull request #2624 from deltachat/adb/fix-conversations-activity
fix: load updated display name when chat protection breaks
2023-08-05 23:06:55 +02:00
bjoern a80fcf32a6 prepare 1.40.0 (#2630)
* update CHANGELOG for 1.40, core part

* update CHANGELOG for 1.40, android part

* bump version to 1.40
2023-08-05 01:04:32 +02:00
B. Petersen 31e5724592 update deltachat-core-rust to 'chore(release): prepare for 1.119.0' of 'stable' 2023-08-04 23:03:19 +02:00
B. Petersen ce65e1aee9 Merge branch 'stable' 2023-08-04 22:58:54 +02:00
bjoern fdc1de2d70 update verified icon (#2629) 2023-08-04 22:57:19 +02:00
B. Petersen a3aa2cb454 Merge branch 'stable' 2023-08-04 22:31:44 +02:00
bjoern 432c7d29d6 update translations and help, add Luri Bakhtiari (#2628)
* update translations: eo, fa

* add language: bqi (Luri Bakhtiari)

* update locale language name for arab language, see discussion at https://github.com/deltachat/deltachat-desktop/pull/3338#discussion_r1283543601

* update local help
2023-08-04 22:27:04 +02:00
B. Petersen 33d5568619 Merge branch 'stable' 2023-08-02 12:34:48 +02:00
link2xt 2d7b7c49c3 Remove unused osName argument from DcAccounts constructor 2023-07-31 18:34:46 +00:00
link2xt a0821a9cf3 Update to the new dc_accounts_new() API 2023-07-31 18:34:46 +00:00
link2xt d847eefddf update deltachat-core-rust to 'refactor: hide DcSecretKey trait from the API' of 'master' 2023-07-31 18:34:46 +00:00
link2xt 67906e0c17 chore: nix flake update 2023-07-26 12:56:12 +00:00
adbenitez cf23f62887 fix: load updated display name when chat protection breaks 2023-07-26 00:22:28 +02:00
bjoern 387babe235 change button order of verification-broken alert (#2621)
Having "OK" in the middle of the buttons is weird. The old order was:

```
End-to-end encryption cannot...
[More Info]  [OK] [Scan QR code]
```

1. _If_ the main purpose of the dialog would be to "Scan QR code",
   the text should point that out more, also the opening button.
   Then, the button position would be correct, however,
   it has to read "Cancel" then.

2. _However_, the main purpose of the dialog is to "Show Info",
   "Scan QR code" is only an optional offering and the button a shortcut only.
   And finishing "Show Info" is better done by a simple "OK".
   Then, the "OK" should be rightmost.

This PR implements the second option, the buttons read as follows afterwards:

```
End-to-end encryption cannot...
[More Info]  [Scan QR code] [OK]
```
2023-07-24 18:08:11 +02:00
B. Petersen 5271f2d4e8 Merge branch 'stable' 2023-07-24 14:45:40 +02:00
B. Petersen e0f4c4fd89 update translations 2023-07-24 14:44:56 +02:00
B. Petersen ab36541c03 Merge branch 'stable' 2023-07-23 11:50:08 +02:00
B. Petersen b1204e08dd webxdc: allow media from blob: and data: 2023-07-21 23:59:43 +02:00
B. Petersen d9019a4c4c Merge branch 'stable' 2023-07-21 23:52:39 +02:00
B. Petersen a1e78f58f7 update translations 2023-07-21 23:51:22 +02:00
Asiel Díaz Benítez 8965b4eb58 Merge pull request #2620 from deltachat/fix-csp
webxdc: allow media from blob: and data:
2023-07-21 23:06:19 +02:00
B. Petersen fd212aed03 webxdc: allow media from blob: and data: 2023-07-21 22:46:32 +02:00
Hocuri 6b1527b815 Update Submodule (#2619)
Fix https://github.com/deltachat/deltachat-android/issues/2616
Closes https://github.com/deltachat/deltachat-android/pull/2618

Verified 1:1 chats added a new API to Core, which DC Android now needs.

So far, we only updated the submodule on a release. I think we should
also update it when DC Android needs a new API introduced in Core:

1. To make builds "just work" for new contributors without having to
   checkout the correct commit in Core
2. To make the preview builds of the CI here work.
2023-07-17 23:07:41 +02:00
Hocuri 11a2cfbff7 Verified 1:1 chats, Android UI (#2560)
Depends on https://github.com/deltachat/deltachat-core-rust/pull/4315/.

Follow-up for https://github.com/deltachat/deltachat-android/pull/2541.

- Show a "verified" icon on protection changed update messages
- Add C API
- Show a dialog over the input bar not only for contact requests, but also when the protection is broken (using the new method `isHalfBlocked()`)
  - The positive button reads "OK" (as opposed to contact requests where it reads "Accept")
- Add SVG icons, remove PNG one
- Translations
- When tapping on the `DC_INFO_PROTECTION_{EN|DIS}ABLED` message, show more information (for now, it leads to the online preview of my FAQ PR)
- Block loading remote images in the "Full Msg View" not only for contact requests, also when the protection is broken (using the new method `isHalfBlocked()`)
- Show a big verified/crossed-out-verified symbol over the `DC_INFO_PROTECTION_{EN|DIS}ABLED` messages
- Fix a bug that was kind of present before (for contact requests) but only became really visible now:
  - Set a draft with an image (or other attachment)
  - Your chat partner breaks verification
  - Expected: Both the input bar and the draft image are hidden by the input-bar-dialog.
  - Bug behavior (before c31de5bcf): The input bar is hidden, but the draft image stays visible.
2023-07-14 12:05:05 +02:00
link2xt df5537f0f6 build: add OpenJDK 17 to flake.nix 2023-07-13 16:30:46 +00:00
Asiel Díaz Benítez f371c30f67 Merge pull request #2614 from pjvleeuwen/propose-clarification-based-on-first-time-build-experience
Propose clarification based on first time build experience
2023-07-13 13:17:50 +02:00
Asiel Díaz Benítez db0d671376 Merge pull request #2615 from pjvleeuwen/another-way-to-determine-processor-architecture
Update ndk-make.sh initial comment to suggest an app for determining CPU architecture
2023-07-13 13:00:08 +02:00
Paul van Leeuwen e7aaebf9ff Update ndk-make.sh initial comment to suggest an app for determining CPU architecture 2023-07-13 10:43:06 +02:00
Paul van Leeuwen 3405a7bc21 Update Build Using Nix section to reference documentation on building for a specific architecture 2023-07-11 22:44:47 +02:00
Paul van Leeuwen ae2ad0fd54 Update Build Using Nix section to use a code block instead of inline code, making it less likely somebody misses this step (like I did) 2023-07-11 22:37:43 +02:00
Hocuri 3becdf52ec Fix crash in the "Full Msg" view by downgrading Gson (#2610) 2023-06-30 16:29:08 +02:00
Hocuri 2084778be1 Fix NullPointerException (#2608) 2023-06-28 23:29:18 +02:00
link2xt 2849555088 Compile native library with -fvisibility=hidden
This avoids exposing the symbols of the used libraries like SQLite3
and reduces the library size.
2023-06-27 22:36:07 +00:00
Asiel Díaz Benítez ebaa5f69c4 Merge pull request #2588 from deltachat/adb/improve-crop
use image editor for avatar selection when possible
2023-06-27 18:31:00 +02:00
link2xt e43aeb0d5b chore: update rust-toolchain to 1.70.0 2023-06-27 16:29:54 +00:00
link2xt 38a716a63b Reduce libnative-utils.so size 2023-06-27 13:55:15 +00:00
link2xt eea523da7f docs: add link to get.delta.chat into README 2023-06-26 17:53:08 +00:00
link2xt 8b5e57508b docs: remove the link to GitHub releases from the readme
There are no GitHub releases.
2023-06-26 17:53:08 +00:00
Hocuri 6b2516f8be Don't recreate WebxdcActivity when going to dark mode (#2601)
This fixes the problem that if the user sets the device to dark mode while a webxdc is open, it re-loads veeeeery slowly.
2023-06-26 11:10:26 +02:00
Asiel Díaz Benítez 49ad325426 Merge pull request #2600 from deltachat/adb/fix-webview-popup-theme
try to fix popup/dialog background in webview
2023-06-25 20:44:44 +02:00
adbenitez e7523d6245 try to fix popup/dialog background in webview 2023-06-25 01:55:59 +02:00
link2xt 1343f5399a chore(nix): update Rust to 1.70.0 and run nix flake update 2023-06-23 17:00:09 +00:00
B. Petersen 43e3fe6076 update translations: it, nl, sq, tr, zh_CN 2023-06-22 13:58:34 +02:00
B. Petersen f4f8a10776 copy shortened gplay changelog for f-droid 2023-06-22 13:40:08 +02:00