Commit Graph

3856 Commits

Author SHA1 Message Date
B. Petersen 5e10996a58 update deltachat-core-rust submodule to 'prepare 1.76 (#3082)' 2022-02-20 23:00:49 -05:00
B. Petersen e27b097ece update translations 2022-02-20 22:58:20 -05:00
bjoern d91d8c9ea3 prepare 1.28.1 (#2218)
* update changelog to 1.28.1

* bump version to 1.28.1
2022-02-02 17:57:45 +01:00
B. Petersen 481cf9895c update translations 2022-02-02 15:53:25 +01:00
B. Petersen d841812dff update translations 2022-02-01 22:09:04 +01:00
B. Petersen 40631f15c0 update translations 2022-02-01 21:58:03 +01:00
B. Petersen 7f558f8781 fix CHANGELOG typos, mark testrun versions as such, flag Webxdc as experimental 2022-02-01 21:07:19 +01:00
B. Petersen 91869bde25 fix changelog 2022-02-01 15:27:41 +01:00
B. Petersen 5e9d6c38ad update translations 2022-02-01 15:24:06 +01:00
bjoern 6381328c43 prepare 1.28.0 (#2216)
* update changelog for 1.28.0

* bump version to 1.28.0

* add 1.28 device message

* streamlined device message

* fix typo

* simplify wording wrt mailing lists

Co-authored-by: holger krekel <holger@merlinux.eu>
2022-02-01 14:53:51 +01:00
B. Petersen ea38ba35e3 update deltachat-core-rust submodule to 'prepare 1.75 (#3049)' 2022-02-01 14:10:19 +01:00
B. Petersen 1dae90aaf0 update translations 2022-01-31 23:04:38 +01:00
B. Petersen 4c86393f89 update translations 2022-01-31 20:58:55 +01:00
B. Petersen 0668a8fc53 update deltachat-core-rust submodule to 'prepare 1.74 (#3046)' 2022-01-31 19:57:05 +01:00
Hocuri 0bc9f4735c Add OnlyFetchMvbox option (#2206)
* [WIP] Add OnlyFetchMvbox option

* Update res/values/strings.xml

* Adapt to the core changes

* Update res/values/strings.xml

Co-authored-by: bjoern <r10s@b44t.com>

* Remove unnecessary startIo() addition

* Update res/values/strings.xml

Co-authored-by: bjoern <r10s@b44t.com>

Co-authored-by: bjoern <r10s@b44t.com>
2022-01-31 17:47:52 +01:00
B. Petersen 4607af4459 hack: remove quotes from qr-code group join string 2022-01-31 16:27:07 +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 9d0d16dbf4 update translations 2022-01-31 16:26:02 +01:00
B. Petersen 645864217f update summaries for webxdc drafts, so one can see what one is sending 2022-01-30 11:48:45 +01:00
B. Petersen d6dd07fd7a tweak default summaries
- in bubbles, just say "Webxdc",
  the text is replaced by the summary set by the app -
  this is also the reason, why more useful information are not-so-good here,
  it will not be shown often, and that may be irritating.
  in case of the bytesize - we also do not show bytesize stickers etc.,
  users can get it always at message-info.

- for drafts, we say "Tap to open",
  maybe a start-button may be nice as well, however, that is some more work,
  and it is not even clear we want to keep that button in the bubbles.
2022-01-30 11:48:45 +01:00
bjoern 0e553a6e66 Update CHANGELOG.md
Co-authored-by: Asiel Díaz Benítez <adbenitez@nauta.cu>
2022-01-28 23:51:35 +01:00
B. Petersen 13a185518f update changelog for 1.27.2 2022-01-28 23:51:35 +01:00
B. Petersen 19bc6eb85c bump version to 1.27.2 2022-01-28 23:51:35 +01:00
adbenitez 98e6e73717 don't force dark mode in webpage for WebxdcActivity and FullMsgActivity webviews 2022-01-28 22:10:02 +01:00
B. Petersen 1ccbb11bf6 adapt to new webxdc api 2022-01-28 21:11:50 +01:00
bjoern ee47563f3d avoid caching resources between webxdc apps (#2205) 2022-01-27 12:07:34 +01:00
bjoern 5343da7248 larger webxdc icon, title and summary full-width below (#2203) 2022-01-26 22:58:56 +01:00
bjoern 0263b70b8c prepare 1.27.1 (#2202)
* update changelog for 1.27.1

* bump version to 1.27.1
2022-01-25 20:25:49 +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
bjoern 6ea4b2dbcd prepare 1.27 (#2200)
* update changelog for 1.27

* bump version to 1.27.0
2022-01-23 23:59:37 +01:00
B. Petersen 38fe471604 update translations 2022-01-23 23:32:51 +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 87cd2ded80 update translations 2022-01-23 16:24:20 +01:00
bjoern c205a1692e webxdc: warn when the app tries sendUpdate() and the user cannot send (#2199)
* show a warning when trying to sendUpdate() for contact requests or other chats the user cannot send to

* add missing 'Start...' translation
2022-01-22 22:11:29 +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 3c6f988552 update translations 2022-01-22 17:41:19 +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 571368a081 update translations 2022-01-22 13:01:37 +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
Asiel Díaz Benítez eb25a5e78c add "developer mode" preference (#2196)
* add "developer mode" preference

* activate WebContentsDebugging also after restart

as the preference option is persisted,
we should call setWebContentsDebuggingEnabled() not only on flag changes.

* capitalize option name, shorter description

* prefer 'can' over 'may'; the latter is very formal

* add Prefs.isDeveloperModeEnabled()

Co-authored-by: B. Petersen <r10s@b44t.com>
2022-01-22 11:01:48 +01:00
B. Petersen 00990634c9 update translations 2022-01-20 12:25:13 +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 b102026158 show errors when sending fails (#2193)
this happens only in rare cases as usually the message is always added
and errors happen far later.

but some conditions are checked very soon (webxdc sizes),
and these let an message not even being added.

note, that this pr only shows the error,
it does not change draft handling or so -
it would eg. be better if the message is re-converted to a draft,
however, that would be a larger refactoring and maybe not worth the effort.
2022-01-18 17:18:07 +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 34e63be22d fix typo in english language name for 'Ukrainian' 2022-01-09 21:22:29 +01:00