Commit Graph

532 Commits

Author SHA1 Message Date
B. Petersen c11a6ced62 update deltachat-core-rust to 'chore(release): prepare for 1.123.0' of 'v1.123.0' 2023-09-29 16:33:15 +02:00
B. Petersen d208b011c5 show 'verified by SELF' as such
core was changed to return SELF from `get_verifier_id()`
at https://github.com/deltachat/deltachat-core-rust/pull/4754 -
until then, core will return always a contact-id,
which is equal to the current state
2023-09-28 21:46:15 +02:00
B. Petersen ed9d0a9462 add getVerifierAddr/Id api 2023-09-26 10:46:37 +02:00
B. Petersen 0f09aba7af remove unused DcHttpResponse and related functions
they are replaced by jsonrpc in https://github.com/deltachat/deltachat-android/pull/2479
2023-09-25 21:14:36 +02:00
link2xt 9e050bbf0e build: enable -Werror flag when building the core
If this flag was enabled, CI would have caught
incorrect core in 1.40.0 release tag
that caused crashing at start F-Droid 1.40.0 release.
2023-09-06 16:55:27 +00:00
link2xt d9effe9138 update deltachat-core-rust to 'chore(release) prepare for 1.119.1' of 'v1.119.1' 2023-08-19 10:26:10 +00:00
B. Petersen 254a78bb02 typo 2023-08-07 10:30:43 +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 a1e78f58f7 update translations 2023-07-21 23:51:22 +02:00
link2xt 38a716a63b Reduce libnative-utils.so size 2023-06-27 13:55:15 +00:00
B. Petersen c2a765012a update deltachat-core-rust to 'chore(release): prepare for 1.117.0' of 'v1.117.0' 2023-06-19 23:01:21 +02:00
B. Petersen 3bedaec1b7 update deltachat-core-rust to 'chore(release): prepare for 1.116.0' of 'v1.116.0' 2023-06-07 11:53:47 +02:00
link2xt 8642d2a816 chore: update deltachat-core-rust to 1.112.9 2023-05-16 14:19:12 +00:00
link2xt 72f2f8979e requestPtr 2023-04-22 22:53:57 +00:00
link2xt 070f2841cd Sending request works 2023-04-22 22:10:57 +00:00
link2xt 4f468a4b8f Add DcJsonrpcInstance class 2023-04-22 17:58:03 +00:00
link2xt 0e657eed56 Set WebView proxy to 0.0.0.0 when possible (#2539)
* Set WebView proxy to 0.0.0.0 when possible

* add DcHttpResponse to wrapper

* use new DcHttpResponse to show images in email-html-view

* null-encoding is fine for WebResourceResponse()

---------

Co-authored-by: B. Petersen <r10s@b44t.com>
2023-04-20 21:30:19 +02:00
B. Petersen f130336c2f update deltachat-core-rust to 'Prepare 1.112.8' of branch 'stable-1.112' 2023-04-20 17:20:27 +02:00
B. Petersen e0d905d99b update deltachat-core-rust to 'Prepare 1.112.7' of branch 'stable-1.112' 2023-04-18 13:17:19 +02:00
B. Petersen 0a3d28956e update deltachat-core-rust to 'Update to released async-imap 0.8.0' of branch 'stable-1.112' 2023-04-17 19:32:01 +02:00
bjoern da517bdc9b prepare 1.36.2 (#2535)
* update deltachat-core-rust to 'ref: More logging for ongoing and get_backup (#4289)' of branch 'stable-1.112'

* update changelog for 1.36.2

* bump version to 1.36.2

* add some feedback at end of upload-release script, similar to upload-beta
2023-04-05 15:41:15 +02:00
B. Petersen 3832f05731 update deltachat-core-rust to 'Fix newline at the end of package.json' of branch 'stable-1.112' 2023-04-04 16:49:15 +02:00
B. Petersen 661d54cd03 update deltachat-core-rust to 'Prepare 1.112.5 release' of branch 'stable-1.112' 2023-04-02 19:22:14 +02:00
B. Petersen 400ec0498e update deltachat-core-rust to 'Release 1.112.4' of branch 'stable-1.112' 2023-04-01 14:30:21 +02:00
B. Petersen a53bbbe4d5 update deltachat-core-rust to 'Release 1.112.1' of branch 'stable-1.112' 2023-03-27 18:39:01 +02:00
B. Petersen 83d2dd5aae update deltachat-core-rust to 'Release 1.112.0' of branch 'stable-1.112' 2023-03-27 17:20:15 +02:00
bjoern 3cede346f3 add multi-device-setup (#2493)
* add DcBackupProvider add receiveBackup() wrappers

* add 'Add Another Device' item to settings

* add android-ifaddrs

core-rust uses getifaddrs() which is not available on android ndk.
pull in the code from https://github.com/morristech/android-ifaddrs
that provides an implementation.

* add BackupProviderActivity

* make SVG-hack reusable

* add BackupProviderFragment

* prepare scanning backup codes

* Revert "add android-ifaddrs"

This reverts commit 33b1424427620396f282805d37f8e05c67758546.

* more logging

* call receiveBackup() on scanning DC_QR_BACKUP

* Fixup for recvmmsg fallback

* protect BackupProviderActivity by system secret

* show transfer progress as provided form the core; hide qr-code once scanned

* add a permanent notification for the provider

* clarify what we are waiting for

* add a permanent notification for the receiver

* ask before finishing BackupProviderActivity

* it is fine to cancel the abort question by tapping outside the alert

* remove outdated comment from 'keep screen on'

* add and check TRANSFER_MODE

* rename BackupProviderActivity to BackupTransferActivity

* use our base activity

* start/stop IO in base activity

* use BackupTransferActivity also for scanning

* add BackupReceiverFragment

* show detailed transfer progress

* show details instead of percent during preparation, for now

* launch chatlist and remove welcome when transfer is done

* redirect to chatlist automatically after transfer succeeded

* reword

* make log accessible from send and receive activities

* bump version

* show error if backup provider creation fails

* remove unneeded format()

* show some context in the errors alerts, hide QR code sooner

* calculate transfer percentage as specified

* show a 'close' instead of a 'back' button to make visually clear, things are aborted (there is a quesion anyway)

* add option to copy backup-qr-code to clipboard

* remove vague retry statement, core will show a detailed error soon

* warn about QR codes on clipboard getting invalidated

* make basic strings translatable

* add troubleshooting menu item (once help is evolved, it may be a more visible button, may be localized, may be offline)

* rename to backup_transfer_fragment.xml

* add detailed instructions

* move 1,2,3 layout to the .xml

* fix layout

* use text size used elsewhere

* do best effort to show SSID on sending device

* make SSID code reusable for receiver

* adapt to otherwise used font style

* show ssid also for receiver

* minor refactorings

* make qr code subtitle translatable

* tune down 'same network hint' on scanning device

* add progress bar to provider

* add progress bar to receiver

* bump version

* use 'Add Second Device' wording

this seems slightly catchier as "Add Another Device"
and has less "A" esp. in "Add as Another Device" :)

also at least translation to german seems nicer ("Zweitgerät"),
most ppl will use max. two devices, but even if more,
that should still be fine.

this was also the first intuition also by other devs in their mockups,
so we'll give it a try.

* use "Exporting/Preparing/Prepared Account" wording

let's give that a try - "Account" is also widely used,
so that seems to make some sense.
even if not 100% fitting,
it seems better than introducing the new term "Collection".

* refine abort question

* Update res/layout/backup_provider_fragment.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* Update src/org/thoughtcrime/securesms/qr/BackupProviderFragment.java

Co-authored-by: Hocuri <hocuri@gmx.de>

* Update src/org/thoughtcrime/securesms/qr/BackupReceiverFragment.java

Co-authored-by: Hocuri <hocuri@gmx.de>

* Update src/org/thoughtcrime/securesms/qr/BackupTransferActivity.java

Co-authored-by: Hocuri <hocuri@gmx.de>

* Update src/org/thoughtcrime/securesms/qr/BackupReceiverFragment.java

Co-authored-by: Hocuri <hocuri@gmx.de>

* remove string duplicate

* refine 1,2,3

* simplify string ids

* focus on what matters

---------

Co-authored-by: link2xt <link2xt@testrun.org>
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-03-24 15:22:26 +01:00
Asiel Díaz Benítez 1523e7bc07 add app icon to webxdc info messages (#2503)
* add app icon to webxdc info messages

* Update res/layout/conversation_item_update.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* check if info message type is DcMsg.DC_INFO_WEBXDC_INFO_MESSAGE before loading parent message

---------

Co-authored-by: Hocuri <hocuri@gmx.de>
2023-03-22 15:44:56 +01:00
B. Petersen 900fa11a78 update translations 2023-03-14 21:20:49 +01:00
link2xt 9b3d5df1fd Add fallback implementations for sendmmsg, recvmmsg and getauxval (#2491)
These functions are not available in related NDK,
so we provide a fallback implementation for them.
2023-03-06 23:04:39 +01:00
link2xt df58225192 Revert "add epoll_create fallback which is missing in API<21"
This reverts commit e29b6f9974.

Since update to `mio` 0.8.5, it does not require `epoll_create1()`
function to be present on Android anymore.
2023-02-24 12:55:45 +00:00
B. Petersen a1e3bde747 update deltachat-core-rust to 'Release 1.107.1' of branch 'stable-1.107' 2023-02-05 14:51:01 +01:00
B. Petersen f088fbd0bc update deltachat-core-rust to 'Prepare 1.107.0' of branch 'stable-1.107' 2023-01-31 14:52:31 +01:00
B. Petersen fffff6abe5 update deltachat-core-rust submodule to 'Clippy fix' 2023-01-10 23:32:26 +01:00
B. Petersen 598089655a update deltachat-core-rust submodule to 'Prepare 1.105.0 release' 2023-01-08 17:50:39 +01:00
B. Petersen 8fb4140689 update deltachat-core-rust submodule to 'mark all archived read (#3919)' 2023-01-06 11:22:52 +01:00
B. Petersen 4f6fb1cd15 update deltachat-core-rust submodule to '"archive" consistency and improvements (#3918)' 2023-01-05 10:35:09 +01:00
B. Petersen 7cff5c7311 update deltachat-core-rust submodule to 'ci: update rust toolchain for repl.exe builds' 2023-01-04 13:57:03 +01:00
B. Petersen 192ee87760 update deltachat-core-rust submodule to 'release 1.104.0 (#3857)' 2022-12-20 18:02:19 +01:00
B. Petersen 5353f89144 update deltachat-core-rust submodule to 'Release 1.103.0' 2022-12-12 17:44:33 +01:00
B. Petersen 97868bcdbc update deltachat-core-rust submodule to 'prepare 1.101.0 (#3757)' 2022-11-15 16:12:39 +01:00
bjoern 2450bfc4bf remove meanwhile superfluous data2IsString() (#2418) 2022-11-10 10:39:33 +01:00
B. Petersen 644d699711 update deltachat-core-rust submodule to 'Prepare 1.98.0' 2022-10-24 21:40:21 +02:00
B. Petersen b02fe7468c update deltachat-core-rust submodule to 'prepare 1.95 (#3617)' 2022-09-30 12:44:02 +02:00
B. Petersen cf2a5ec3cc update deltachat-core-rust submodule to 'implement dclogin scheme (#3541)' 2022-09-29 18:33:02 +02:00
B. Petersen 37f6c5eea0 update deltachat-core-rust submodule to 'Release 1.94.0' 2022-09-17 11:07:36 +02:00
B. Petersen aa34a7458f update deltachat-core-rust submodule to 'Remove StockMessage.action_by_contact() (#3518)' 2022-09-11 20:38:59 +02:00
B. Petersen 07a224d6ae update deltachat-core-rust submodule to 'restricted webxdc internet access (#3516)' 2022-09-05 11:46:16 +02:00
bjoern 8a98da3c78 replace deprecated DcAccountsEventEmitter by DcEventEmitter (#2376) 2022-08-29 18:05:34 +02:00
B. Petersen ab554ac346 update deltachat-core-rust submodule to 'order contact lists by "last seen" instead of name/address (#3562)' 2022-08-29 13:55:37 +02:00