Commit Graph

4672 Commits

Author SHA1 Message Date
adbenitez d868aa913b Merge remote-tracking branch 'upstream/master' 2022-08-19 23:57:46 -04:00
bjoern 853000f8dc option to add webxdc apps to home screen (#2353)
* add 'Add to Home Screen' menus for webxdc apps

* make adding shortcut basically work

* avoid starting webxdc from foreign accounts

* recreate back stack, if possible

according to
https://developer.android.com/training/notify-user/navigation :
"When you start an activity from a notification,
you must preserve the user's expected navigation experience.
Tapping Back should take the user
back through the app's normal work flow to the Home screen [...]"

same seems to be true for shortcuts using the same class for constructing
the back stack.

the back stack is reconstructed for API 26 (Oreo, 2017) or newer,
for oder API `requestPinShortcut()`
only uses the top-level activity for the shortcut.
working around that is probably possible, but would be quite some effort in an
already complicated area and would result in bugs that are not so easy to see.

also, on these old androids, users are probably used to the no-back-stack
behaviour.

* show a warning if app was deleted

* add 'Add to Home Screen' also to gallery

beside chat- and webxdc-activity,
this is the third place where the webxdc is listed.

as adding may result in dialogs from the launcher,
we allow the option only for a single selected webxdc,
as otherwise a series of dialogs would pop up.

* show 'Done' toast short, this is what we are doing at all the other places when showing 'Done'
2022-08-15 11:30:14 +02:00
link2xt 2c49febc92 Move ndk-make.sh to scripts/
Keep symlink for backwards compatibility.
2022-08-14 17:46:03 +00:00
link2xt 6ac1984f7c ndk-make.sh: use full path to ndk-build
Remove the requirement to have ndk-build in the PATH.
2022-08-14 17:46:03 +00:00
link2xt e18c08bc97 ndk-make.sh: error out if ANDROID_NDK_ROOT is not set 2022-08-14 17:46:03 +00:00
adbenitez 8c9f274a10 Merge remote-tracking branch 'upstream/master' 2022-08-12 02:11:46 -04:00
Asiel Díaz Benítez 15d9b444de Merge pull request #2362 from deltachat/adb/hide-resend-option
hide resend menu option if messages are not outgoing
2022-08-11 14:38:34 -04:00
adbenitez 2172ca587e hide resend menu option if messages are not outgoing 2022-08-10 03:38:13 -04:00
adbenitez 59107d9216 display super group / channel instead of mailing list 2022-08-02 21:44:03 -04:00
adbenitez c800681ade Merge remote-tracking branch 'upstream/master' 2022-08-01 23:15:10 -04:00
link2xt 7b11306793 Add Gradle Wrapper validation to CI 2022-07-31 02:18:29 +00:00
link2xt 51efa1fb17 build.gradle: cleanup repository configuration 2022-07-30 16:15:45 +00:00
adbenitez b3c08d4ad3 Merge remote-tracking branch 'upstream/master' 2022-07-30 12:15:20 -04:00
link2xt 1f24260553 Upgrade gradle to 7.5
Used command
./gradlew wrapper --gradle-version 7.5 --gradle-distribution-sha256-sum=cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2

This is the latest version listed on https://gradle.org/release-checksums/
2022-07-29 18:15:31 +00:00
adbenitez e829e5cae0 Merge remote-tracking branch 'upstream/master' 2022-07-28 00:13:05 -04:00
B. Petersen 5bb010de5d reorder code for smaller diff 2022-07-26 22:45:29 +02:00
B. Petersen ebcf3914bd show post-addr in mailing list profile's subtitle; for saved messages/device chat, show subtitle as in chat view 2022-07-26 22:45:29 +02:00
B. Petersen 1c41b7705d more precise scope of the title usage 2022-07-26 22:45:29 +02:00
B. Petersen 57a32f3fb1 show ephemeral icon for both, contact and group profiles (before it was hidden in group profile, for whatever reason) 2022-07-26 22:45:29 +02:00
B. Petersen 9740607147 add DcChat::getMailinglistAddr 2022-07-26 22:45:29 +02:00
B. Petersen de3f1c4d92 update translations 2022-07-26 17:00:18 +02:00
B. Petersen cfada4bb9e update deltachat-core-rust submodule to 'prepare 1.92 (#3525)' 2022-07-26 16:59:09 +02:00
adbenitez 79746a8af9 Merge remote-tracking branch 'upstream/master' 2022-07-23 01:46:01 -04:00
B. Petersen ee5e7a0dfb update changelog for 1.32.0 2022-07-23 00:59:23 +02:00
B. Petersen 9816c972e1 update version to 1.32.0 2022-07-23 00:59:23 +02:00
B. Petersen e6d852b929 update translations 2022-07-23 00:25:06 +02:00
adbenitez 6f57eff172 update to new maplibre API 2022-07-22 23:48:42 +02:00
adbenitez c667efd3ac update org.maplibre.gl to version 9.5.2 2022-07-22 23:48:42 +02:00
B. Petersen 60b8a6b494 update changelog for 1.31.1 2022-07-17 15:26:34 +02:00
B. Petersen ff22ef8bfb bump version to 1.31.1 2022-07-17 15:26:34 +02:00
B. Petersen 56139695b5 update translations 2022-07-17 11:02:52 +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 bae0da0285 update translations 2022-07-17 00:07:17 +02:00
Hocuri 776f730e7c We won't blog post about this yet 2022-07-17 00:05:29 +02:00
Hocuri 7f1bcef8da Slightly adapt string to this change 2022-07-17 00:05:29 +02:00
Hocuri 05c52e622f hpk's wording suggestion, correct blog post link 2022-07-17 00:05:29 +02:00
Hocuri 3f9cab2f55 Add AEAP link in the UI instead of core 2022-07-17 00:05:29 +02:00
Hocuri db84eb8664 r10s' string explanations
Co-authored-by: bjoern <r10s@b44t.com>
2022-07-17 00:05:29 +02:00
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
B. Petersen 1c4f41e96b update translations 2022-07-16 18:44:49 +02:00
B. Petersen 2d248a543f fix files tab hint: depending on the system, music may be displayed in other tabs; therefore, just remove that hint 'files' also include 'music' in the remaining cases 2022-07-16 18:18:34 +02:00
B. Petersen eb7ef043d9 fix upper lowercase, thanks @OzancanKaratas 2022-07-16 11:51:27 +02:00
B. Petersen 92f62444f5 update translations 2022-07-16 11:39:55 +02:00
adbenitez 1f5150dc56 update version number 2022-07-15 07:23:56 -04:00
adbenitez bc70a276ef update submodule 2022-07-15 07:21:39 -04:00
adbenitez fd0907b912 Merge remote-tracking branch 'upstream/master' 2022-07-15 02:38:55 -04:00
B. Petersen d4d0624e39 fix typo in english source 2022-07-11 12:14:25 +02:00
adbenitez 7dbcf948a3 show account's display name in title bar 2022-07-11 04:01:44 -04:00
adbenitez 0876006655 update submodule 2022-07-11 03:35:51 -04:00