Commit Graph

2050 Commits

Author SHA1 Message Date
Hocuri 045ba76390 Add AEAP info dialog & strings 2022-07-17 00:05:29 +02:00
B. Petersen b661c77b47 rename "Docs" tab to "Files"
- "Files" is broader than "Docs"
  (documents are just one type of files,
  files can also be executables and whatnot)
- at other places in the app, we also speak of "Files"
  ("sending files" etc.)
- Delta Chat iOS also uses the term "Files"
2022-07-16 22:51:04 +02:00
bjoern 5cbb64da7a prepare 1.31.0 (#2336)
* bump version to 1.31.0

* update changelog for 1.31.0 (add core88 features)

* update changelog for 1.31.0 (android features)

* remove outdated device message, the final 1.32 will probably get a fresh one
2022-07-08 11:24:21 +02:00
Asiel Díaz Benítez 8fc1f3b060 Merge pull request #2333 from deltachat/adb/webxdc-allow-mailto
allow to open mailto links inside webxdc documents
2022-07-06 07:08:27 -04:00
Hocuri 057fabc1a6 Also identify media type if there are unknown characters in the filename (#2329)
fix #2306
2022-07-06 12:58:49 +02:00
adbenitez bdefbe0055 allow to open mailto links inside webxdc documents 2022-07-06 06:31:39 -04:00
B. Petersen 4b19cadbd2 use updated videochat strings
`videochat_instance_explain_2`+`videochat_instance_example`
is mostly the same as `videochat_instance_explain`
but offers nicer layout on desktop.

to make things easier for translators,
we aim to remove `videochat_instance_explain`.
2022-07-03 21:39:51 +02:00
B. Petersen d263ee58a6 allow forwarding info-messages
i think, it makes sense to allow that,
on receiving side they are just text,
see https://github.com/deltachat/deltachat-core-rust/pull/3446
for further reasoning.
2022-06-24 14:46:43 +02:00
B. Petersen 3227373110 use correct DC_STATE_OUT_FAILED name
in core, the state is called `DC_STATE_OUT_FAILED`,
not `DC_STATE_OUT_ERROR`.

the new name also fits better to existing names as `isFailed()`.
2022-06-08 12:13:53 +02:00
B. Petersen b488103c43 fix behavior of system-back-button for webxdc
for webxdc, the system-back-button should do the same
as the back-button in the title bar - just close the webxdc.

without this commit, it loads the previous page, which is often unexpected -
eg. many games use reload() for simplicity,
so you would have press one time 'back' for each round :)

even if there may be situations where this may be useful,
we do not want to encourage webxdc to rely on the system-back-button -
eg. desktop or ios currently just do not have this button.

technically, this pr changes the default -
so, for all classes derived from WebViewActivity, the system-back-button will
now behave as the title-bar-back-button.

for the local-help, this behavior is changed explictly -
i think, for HTML-mails, the 'just close' approach is also better.
2022-05-26 13:14:58 +02:00
B. Petersen 22a5c0a448 directly remember source_code_url instead of a flag that it is available 2022-05-18 22:58:20 +02:00
B. Petersen 3aa30899a5 add 'Source Code' item to webxdc menu
the code is a tiny bit more complicated
as we keep the call to get_webxdc_info() in background
and also avoid a second call to get_webxdc_info().
2022-05-18 22:58:20 +02:00
B. Petersen cae4536d20 split off openUrlInBrowser() from openOnlineUrl() 2022-05-18 22:58:20 +02:00
B. Petersen 7d98aa066f update title when it might be changed 2022-05-17 11:15:58 +02:00
B. Petersen a398c8f299 show document name before webxdc name nearby icons 2022-05-17 11:15:58 +02:00
B. Petersen b7472982a5 show document name instead of webxdc name in title 2022-05-17 11:15:58 +02:00
B. Petersen 88b2acb69d swap order to 'WebxdcName - ChatName' 2022-05-14 12:56:48 +02:00
B. Petersen 8c88ea3bfb show context of Webxdc window
show the chat name in front of the webxdc name to
- prevent phishing (the window will not show just the name of your bank)
- give the user an idea about where the webxdc sends messages to
  (important eg. when using the same webxdc from different chats)
2022-05-14 12:56:48 +02:00
adbenitez e42012c483 set translations before starting I/O 2022-05-04 13:46:42 -04:00
adbenitez e24a72de61 set baseURL 2022-05-03 07:21:49 -04:00
adbenitez 144a2df3c9 remove comment 2022-05-03 06:54:52 -04:00
Asiel Díaz Benítez 35a535705b Update src/org/thoughtcrime/securesms/WebxdcActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2022-05-03 06:53:16 -04:00
adbenitez 47190896d2 webxdc: allow internal pages and open some known schemes externally 2022-05-03 06:36:23 -04:00
B. Petersen e91f46ed5d draft device message 2022-05-02 21:06:22 +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 ad042a73ab add "Resend" to message menu
the UI does not check before selection if a message can be resent,
this is subject to change and not worth the effort.
instead, just an error is shown.

for the ID_NEVER_SHOW_AS_ACTION_* - this is a bit ugly,
however, the few alternatives i tried were even more uglier,
Java and Array-primitives are just not great.
as it is not changed often, it is probably not worth the effort to dive deeper.
2022-04-26 21:00:47 +02:00
B. Petersen f047f1382e add resendMsgs() api 2022-04-26 21:00:47 +02:00
B. Petersen bc40b4898f update core stock strings 2022-04-17 16:08:07 +02:00
B. Petersen 04b32db81f show download failure
tapping on the message, still allows re-downloading
in case of temporary errors.
2022-04-14 22:24:21 +02:00
Hocuri a4efe7f47f Warn when enabling config "only_fetch_mvbox" 2022-04-12 19:10:16 +02:00
Asiel Díaz Benítez 068f3446cd Merge pull request #2273 from deltachat/adb/improve-docs-tab
improve display of webxdc items in Docs tab
2022-04-11 14:13:33 -04:00
Hocuri 4b96d8a98e Update search results when the chatlist changes (#2271)
Fix #1843
2022-04-11 10:15:20 +02:00
adbenitez edd7727101 improve Docs tab, improve display of webxdc items, allow to open them directly 2022-04-11 03:38:33 -04:00
Hocuri 7d13b71b0b Very small speed improvements (#2269)
* Fix off-by-one-error

* Wait longer with refreshing shortcuts to make sure that it doesn't affect the start of the activity

* Don't unnecessarily clear "screenshot security" flag

If this setting is off, the flag will never be added, so no need to
remove it.
2022-04-10 10:02:10 +02:00
Asiel Díaz Benítez 12e4259194 Merge pull request #2266 from deltachat/adb/tweak-confirm-forward-dialog
tweak confirm-to-forward dialog
2022-04-10 00:36:59 -04:00
Asiel Díaz Benítez e8f20afda0 Merge pull request #2265 from deltachat/adb/issue-1753
fix sound notifications, allow to set to "silent"
2022-04-09 23:22:00 -04:00
Asiel Díaz Benítez c8af3ea4d3 Merge pull request #2267 from deltachat/adb/add-quoted-webxdc-thumbnail
show webxdc icon in quotes
2022-04-09 23:17:42 -04:00
adbenitez 8566a67068 show webxdc icon in quotes 2022-04-07 03:18:48 -04:00
adbenitez 31f55a315c go back to chatlist when back button is pressed or user touches outside the dialog in the dialog asking to confirm to forward message inside chat 2022-04-07 00:35:58 -04:00
adbenitez b98dd7bd36 set channel sound to silent when needed 2022-04-06 17:05:40 -04:00
adbenitez 5acb84328d set correct value for silent sound in default notification settings 2022-04-06 16:58:49 -04:00
adbenitez d4db45f581 pause/destroy webview when activity is paused/destroyed 2022-04-04 15:42:57 -04:00
adbenitez c9fd88fec7 when clicking a system message, jump to parent message if the parent is a webxdc 2022-04-03 14:34:03 +02:00
adbenitez 675ef73c98 avoid null mime type 2022-04-02 00:57:32 -04:00
Asiel Díaz Benítez cca6fd2c75 Merge pull request #2249 from deltachat/adb/issue-1835
avoid rotated avatar image when selecting new self-avatar from Gallery
2022-04-01 15:00:51 -04:00
Hocuri 5e5932619c Remove unused getChatMsgs() (#2252) 2022-03-29 21:23:40 +02:00
adbenitez 2962796afb avoid rotated avatar image when selecting new self-avatar from Gallery 2022-03-27 11:13:34 -04:00
Hocuri de9100f8e1 fix stuff 2022-03-26 13:01:26 +01:00
Asiel Díaz Benítez 764023f227 Merge pull request #2245 from deltachat/adb-issue-2195
Do not disable fullscreen keyboard
2022-03-23 19:14:27 -04:00
adbenitez f5b6e774cb do not disable fullscreen keyboard 2022-03-23 18:07:20 -04:00