Commit Graph

479 Commits

Author SHA1 Message Date
B. Petersen cfada4bb9e update deltachat-core-rust submodule to 'prepare 1.92 (#3525)' 2022-07-26 16:59:09 +02:00
B. Petersen c97fab6a99 update deltachat-core-rust submodule to 'release 1.90.0 (#3512)' 2022-07-17 00:09:05 +02:00
B. Petersen 90217dc770 update deltachat-core-rust submodule to 'Release 1.89.0' 2022-07-09 22:46:51 +02:00
B. Petersen e14dbd5c3b update deltachat-core-rust submodule to 'Release 1.88.0' 2022-07-06 16:12:02 +02:00
B. Petersen 74b6da430b update deltachat-core-rust submodule to 'update CHANGELOG' 2022-07-05 23:38:45 +02:00
B. Petersen 8e43c97547 update deltachat-core-rust submodule to 'update async-zip to fixed version' 2022-07-04 20:23:46 +02:00
B. Petersen 97206a48d2 also emulate EPOLL_CLOEXEC 2022-06-27 23:18:32 +02:00
B. Petersen e29b6f9974 add epoll_create fallback which is missing in API<21 2022-06-27 23:18:32 +02:00
B. Petersen c9f7d206c7 update deltachat-core-rust submodule to 'bump version to 1.86.0' 2022-06-06 12:19:36 +02:00
B. Petersen c1f104da3d update deltachat-core-rust submodule to 'bump version to 1.83.0 (#3338)' 2022-05-20 12:07:33 +02:00
B. Petersen fd6cef982d update deltachat-core-rust submodule to 'prepare 1.81 (#3329)' 2022-05-17 17:24:31 +02:00
B. Petersen b8e0c2de2d update deltachat-core-rust submodule to 'prepare 1.80 (#3288)' 2022-05-05 12:26:33 +02:00
B. Petersen 99feeab2e4 update deltachat-core-rust submodule to 'prepare 1.79 (#3281)' 2022-05-02 17:01:26 +02:00
B. Petersen 6fb4700b8f update deltachat-core-rust submodule to 'prepare 1.78 (#3261)' 2022-04-29 18:05:18 +02:00
B. Petersen 6b8f0842aa use new dc_provider_new_from_email_with_dns() api 2022-04-27 23:04:18 +02:00
B. Petersen f426f7ceae update deltachat-core-rust submodule to 'remove network from dc_provider_new_from_email(), add an explicit function for network provider lookup (#3256)' 2022-04-27 15:57:53 +02:00
B. Petersen f047f1382e add resendMsgs() api 2022-04-26 21:00:47 +02:00
B. Petersen fb60d2965a update deltachat-core-rust submodule to 'resend messages using the same Message-ID (#3238)' 2022-04-26 20:59:56 +02:00
B. Petersen 9475ee3ad9 update deltachat-core-rust submodule to 'Also run clippy for benchmarks in CI (#3241)' 2022-04-23 13:33:18 +02:00
B. Petersen c77945929c update deltachat-core-rust submodule to 'Merge branch 'markseen-imap-loop'' 2022-04-17 17:11:04 +02:00
B. Petersen 00380ee7fe update deltachat-core-rust submodule to 'show 'Not connected' if storage information are not yet available (#3222)' 2022-04-16 19:11:32 +02:00
B. Petersen b673b51cad update deltachat-core-rust submodule to 'make Connectivity-View-HTML not scalable (#3213)' 2022-04-12 12:32:58 +02:00
B. Petersen cd0fa70ec5 update deltachat-core-rust submodule to 'prepare 1.77 (#3209)' 2022-04-10 18:46:38 +02:00
B. Petersen d040326207 update deltachat-core-rust submodule to 'Merge pull request #3189 from deltachat/dependabot/cargo/zip-0.6.2' 2022-04-05 16:05:54 +02:00
B. Petersen f450dbc624 update deltachat-core-rust submodule to 'smtp: do not try to use stale connections' 2022-04-03 15:59:11 +02:00
B. Petersen 75bd4aa8cc update deltachat-core-rust submodule to 'ephemeral: clear more fields in delete_expired_messages' 2022-04-03 15:02:15 +02:00
B. Petersen d4febccb04 update deltachat-core-rust submodule to 'move invariant out of loop, less LOC and 1.5% faster' 2022-04-01 18:37:20 +02:00
B. Petersen 0ce8fd72f5 update deltachat-core-rust submodule to 'Merge pull request #3161 from deltachat/dependabot/cargo/syn-1.0.90' 2022-03-29 15:32:48 +02:00
B. Petersen c8cc1bd3d3 update deltachat-core-rust submodule to 'Merge pull request #3144 from deltachat/dependabot/cargo/zip-0.6.0' 2022-03-23 11:27:50 +01:00
B. Petersen a67b9a559c update deltachat-core-rust submodule to 'config_cache fixes (#3145)' 2022-03-22 22:48:04 +01:00
B. Petersen c71c534311 update deltachat-core-rust submodule to 'log file size on backup import' 2022-03-22 13:51:08 +01:00
B. Petersen 376fd2ff47 update deltachat-core-rust submodule to 'remove getAllUpdates() and add a typical replicatio API for the update call (#3081)' 2022-03-04 20:51:32 +01:00
bjoern adf02b50e5 adapt js to new webxdc-update-api (#2223)
* adapt js to new webxdc-update-api

* the stub implementation of getAllUpdates() must still return a Promise

* reword parameters of getStatusUpdates()
2022-03-04 20:23:56 +01:00
B. Petersen 5e10996a58 update deltachat-core-rust submodule to 'prepare 1.76 (#3082)' 2022-02-20 23:00:49 -05:00
B. Petersen ea38ba35e3 update deltachat-core-rust submodule to 'prepare 1.75 (#3049)' 2022-02-01 14:10:19 +01:00
B. Petersen 0668a8fc53 update deltachat-core-rust submodule to 'prepare 1.74 (#3046)' 2022-01-31 19:57:05 +01:00
B. Petersen 348af8499c update deltachat-core-rust submodule to 'update provider database (#3043)' 2022-01-31 16:26:10 +01:00
B. Petersen 4bee737f7c update deltachat-core-rust submodule to 'bump version to 1.72.0' 2022-01-25 18:19:45 +01:00
B. Petersen f81556a28a update deltachat-core-rust submodule to 'bump version to 1.71.0' 2022-01-23 21:00:28 +01:00
B. Petersen 08e5fd0261 update deltachat-core-rust submodule to 'webxdc: synchronous state for read-only-chats' 2022-01-22 21:31:11 +01: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
B. Petersen ef2fb64112 update deltachat-core-rust submodule to 'Add "database_encrypted" field to Context.get_info()' 2022-01-22 17:40:29 +01:00
B. Petersen 1dbbaabb76 update deltachat-core-rust submodule to 'let sending invalid webxdc fail (#2993)' 2022-01-22 11:21:53 +01:00
bjoern a9a99047da move up when tapping webxdc info messages (#2194)
* add DcMsg.getParent() api

* factor out scrollSmoothToMsgId() and use that for both, quotes and webxdc-info-messages
2022-01-20 00:53:50 +01:00
B. Petersen 56cce4b977 update deltachat-core-rust submodule to 'handle parent for webxdc info-messages (#2984)' 2022-01-19 11:46:57 +01:00
bjoern 9e70aa7cad webxdc (#2174)
* add new w30 APIs

* create the webview,
disable internet access,
inject deltachat.js

* connect deltachat to the webview

* promisify api

* use msgActionButton to start the w30 apps

* cleanup

- create observers in onCreate() to avoid memory leak,
- derive from WebViewActivity to easier deal with particularities
  and to saves >100 loc
- reorder some methods to reflect lifetimes

* make it more clear, which uri-part is 'domain' and which one is 'path'

* unify logging

* it is 'statusUpdate' not 'stateUpdate'; not sure if promise is needed at the end, we can readd that as needed, simple code for now

* use core implementation for status updates

* disable debugging enabled by default, streamline code

* use same name for InternalJSApi for both, js and java

* getStatusUpdates() always return an array

* call JSON.stringify() on payload

* fix typo, fix equal operator

* use shorter function names in js land

* adapt to new zipped w30 format

* load any file from w30 archives

* add fallback if getMimeTypeFromExtension() fails

* rename w30 to webxdc

* add selfName()

* return selfAddr() if selfName() is empty

* rename deltachat.js to webxdc.js

* observer correct event

* rename getBlobFromArchive() to getWebxdcBlob()

* show webxdc app name in title bar

* swap payload and descr in sendUpdate() (adapt to new core api)

* allow user-defined-texts for webxdc apps, make room for icon+name

* show webxdc icon and name in chats

* render webxdc drafts accordingly

* allow configuring drafts

* do not destroy webxdc-message to be sent out by removing it via setDraft(null)

* fix crash when replying to webxdc messages

* add webxdc messages to profile's document tab

* hide 'search menu' for webxdc apps

* show app summary beside app icon

* remove outdated comment

* add precautious WebView restrictions

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationItem.java

Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>

* Update src/org/thoughtcrime/securesms/ConversationActivity.java

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

* Webxdc requires at least Android 5 Lollipop

see https://github.com/deltachat/deltachat-android/pull/2174#discussion_r785436874

* recognize .xdc files on android10

based on @Hocuri's findings in #2188

Co-authored-by: Simon Laux <mobile.info@simonlaux.de>
Co-authored-by: adbenitez <asieldbenitez@gmail.com>
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>
Co-authored-by: Hocuri <hocuri@gmx.de>
2022-01-18 10:52:09 +01:00
B. Petersen aaf53e71a0 update deltachat-core-rust submodule to 'update changelog for 1.71 (#2968)' 2022-01-17 20:28:04 +01:00
B. Petersen 19dad6f5e6 update deltachat-core-rust submodule to 'add editable "summary" to dc_msg_get_webxdc_info()' 2022-01-16 00:31:40 +01:00
B. Petersen 2132747b44 update deltachat-core-rust submodule to 'update changelog' 2022-01-13 11:15:23 +01:00
B. Petersen 750d5e7198 update deltachat-core-rust submodule to 'Fix leaving the group' 2021-12-30 14:41:22 +01:00