Commit Graph

109 Commits

Author SHA1 Message Date
adbenitez 9ddefb8649 handle http intents 2021-04-09 22:21:53 -04:00
adbenitez 4813f385f4 Merge remote-tracking branch 'upstream/master' 2021-03-16 13:22:39 -04:00
Hocuri 4c0d03772d Better profile and group picture selection by using attachment selector (#1837)
fix #1836

AvatarSelector is mostly copied from AttachmentTypeSelector. I first started to make it a subclass, but there were so many functions that had to be changed that I decided against it (esp. also the constructor, so I would have had to create another constructor to allow AvatarSelector to bypass the "normal" constructor). Could still be done though, of course.

I think (hope joy) that the commits are clear enough that this can be reviewed commit-by-commit. In the first commit, commenting out code means "Moved somewhere else"

I found it easier to look at the first commit using gitk than GitHub as GitHub doesn't show it as copied from AttachmentTypeSelector but as a new file. (of course you can also just review normally, going throug it file-by-file :)

* Don't show remove button if there is no image yet

* Remove unnecessary animation that just made things look worse

* Delete now-unused ClearProfileAvatarActivity

* For groups, also use the attachment-chooser-dialog

* Remove confirmation dialog for removing avatar (The user has to confirm anyway, and this was not correctly translated)
2021-03-16 11:58:44 +01:00
adbenitez c9e5d216f0 Merge remote-tracking branch 'upstream/master' 2021-01-31 02:32:52 -05:00
bjoern 8d9c02dd7a add option to view full (html) message (#1763)
* add get-mime-original apis

* remove unused control

* add 'Show full message' buttons

* split reusable WebViewActivity from LocalHelpActivity

* add FullMsgActivity

* load html via AsyncTask

* adapt to changed api

* handle mailto:-links in WebView

* block loading remote images by default, add user setting always/once/never

* do not hide 'Once' button in always-mode, playing around a day with hidden 'Once' that looks more like a bug :)

* wording: as 'Always' affects all messages, it is better to speak of multiple senders

* wording: use 'Load remote images'

this makes it easier for the user to find the option
if one sees, images are missing in the document.

* wording: shorten text.

* wording: change 'may' to 'can'. 'may' sounds a bit as if someone allows this.

* Don't use AsyncTask

* check 'once' if appropriate

* use lite-colored checkbox-emoji in dark-theme

* add comment about missing error logging

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-01-28 22:53:15 +01:00
adbenitez 2ce2dd0630 Merge branch 'lite' 2020-12-13 13:10:14 -05:00
Hocuri 438a3aaa43 Handle sendto intents with ShareActivity, not NewConversationActivity 2020-12-09 23:53:10 +01:00
adbenitez ba8c905106 update manifest and build.gradle 2020-12-06 08:27:18 -05:00
adbenitez f862822059 Merge branch 'deltachat' 2020-09-15 13:40:25 -04:00
B. Petersen d056b039f0 remove windowSoftInputMode="stateHidden" from profile
according to https://developer.android.com/guide/topics/manifest/activity-element,
it hides the keyboard when creating the activity, but does nothing when navigating back
(as in https://github.com/deltachat/deltachat-android/issues/1606 )

removing the flag closes the keyboard for both directions,
which seems to be the standard behavior and works just well here.

(came over that when checking why the other place where single_line_input was
used (video instance input) works without problems)
2020-09-11 15:02:10 +02:00
adbenitez 1947badb7f Merge branch 'deltachat' 2020-09-08 00:36:22 -04:00
cyberta ce8f4a58d2 reuse signals generic foreground service for import export 2020-09-03 17:30:52 +02:00
cyberta 9b25bce3b2 requestLegacyExternalStorage until DC supports scoped storage (must be before targeting API 30) 2020-08-13 15:04:07 +02:00
cyberta 3c0a88227d update location background activity permissions 2020-08-13 14:11:14 +02:00
cyberta 005f707658 ask for install permission if on an attached apk was tapped (Android API 26+), fixes #1492 2020-07-28 10:53:52 +02:00
B. Petersen 2caaa1e097 manually remove summary-notification; this is needed when we cancel the other notifications from within the app 2020-06-15 18:01:59 +02:00
adbenitez 53ea6231db target sdk 28, update changelog and app version 2020-08-16 14:42:37 -04:00
adbenitez d0cd7a227c add stickers selector part 1 2020-08-16 14:14:40 -04:00
adbenitez ad7b4de92d Merge remote-tracking branch 'upstream/master' into deltalab 2020-08-16 12:24:41 -04:00
adbenitez 7982b667ad Merge branch 'master' into deltalab 2020-07-30 18:38:55 -04:00
adbenitez 6e36e08c4d port to fork (first official commit) 2020-06-17 19:22:09 -04:00
B. Petersen 39bc508a31 remove unused search xml files 2020-04-04 14:09:53 +02:00
B. Petersen 86de9be115 add basic help-search controls 2020-04-04 02:00:56 +02:00
B. Petersen a7212daf40 add registration-qr-scan activity 2020-02-10 14:11:12 +01:00
B. Petersen 0f64d4e9c5 remove unused InviteActivity, it was disabled 9 months ago in #790 2020-01-17 14:08:22 +01:00
B. Petersen afc1f99788 add basic local-help-activity, adapt menus and add a demo-file 2020-01-10 22:58:47 +01:00
Hocuri 268722c0be It compiles ;-) 2020-01-03 00:20:18 +01:00
Hocuri b090232702 Move to qrScanActivity 2020-01-03 00:20:18 +01:00
B. Petersen 786c6cd46f remove unused SET_WALLPAPER permission 2019-12-03 16:21:25 +01:00
cyberta a01fc96547 implement openpgp4fpr url scheme handling 2019-11-28 21:06:10 +01:00
cyberta 7117303e6f replace string reference dc_app_name by app_name 2019-11-27 05:38:14 +03:00
Ozancan Karataş fb7d80f2a6 Delete dc_app_name, use app_name 2019-11-27 01:53:24 +03:00
B. Petersen 638a8e5205 adapt to ndk r20b 2019-11-14 20:47:26 +01:00
B. Petersen bbad6ee584 remove TimerReceiver 2019-11-08 19:38:28 +01:00
B. Petersen fb235b7639 upgrade to androidx support libraries 2019-11-08 01:22:28 +01:00
B. Petersen 2dd3a4a10a ask for normal permission FOREGROUND_SERVICE in the manifest 2019-10-12 00:06:42 +02:00
cyBerta 4362341a71 Merge pull request #987 from deltachat/crop_signal
update image editing functionality to latest signal code
2019-07-09 13:11:31 +02:00
B. Petersen f51670df5f adapt scribble-sticker-select to dark layout of scribble-activity 2019-07-09 01:25:56 +02:00
cyBerta c0744d4280 remove quick reply fallback #983 2019-07-08 16:00:31 +02:00
cyBerta 6af9d59829 share to single contacts (#900) 2019-06-25 23:00:46 +02:00
B. Petersen 9699214781 in chat-profile-contact-list, open contact-profile on tap (instead of asking to start a new chat directly) 2019-06-18 00:28:43 +02:00
cyBerta 35138022e9 notification refactoring 2019-05-28 01:11:40 +02:00
B. Petersen e91bead522 remove dead code 2019-05-25 13:26:40 +02:00
B. Petersen d80e930e19 rename MediaOverviewActivity to ProfileActivity 2019-05-20 20:31:39 +02:00
cyBerta 84bdc42c7c * fix back button behavior for sharing and forwarding (#903)
* fix title in archived chats while sharing content
2019-05-15 12:56:33 +02:00
cyBerta 0bfea03707 handle sharing analogous to forwarding:
* search for contacts, share to new contacts, share to archives
* hide option menu while sharing/forwarding
* use action bar back icon to cancel sharing/forwarding
2019-05-09 14:14:45 +02:00
cyBerta 26949980db #891 search during forwarding, forward to archives, forward to new contacts 2019-05-09 14:14:45 +02:00
Ampli-fier 16e53a98d6 Enhance log with scroll and zoom possibility 2019-04-27 22:16:41 +02:00
B. Petersen f141dba12d tweak soft keyboard 2019-03-28 01:20:03 +01:00
cyBerta 55973ef857 Merge branch 'master' into location-streaming 2019-03-13 13:03:34 +01:00