Commit Graph

2548 Commits

Author SHA1 Message Date
B. Petersen 17cf9face0 remove unused QR code utilities 2024-04-29 19:49:59 +02:00
B. Petersen 9770e578c8 remove unused Util 2024-04-29 19:49:59 +02:00
B. Petersen 7c074c7b81 remove unused image utilities 2024-04-29 19:49:59 +02:00
B. Petersen df8115e7bb remove never instanciated AttachmentServer 2024-04-29 19:49:59 +02:00
B. Petersen 307bd3bdd7 mark method called by js as always used 2024-04-29 19:49:59 +02:00
B. Petersen 361e325d72 unify the flows of DCACCOUNT: and DCLOGIN: (that only differ wrt confirmation message) to avoid hickup as on desktop on the upcoming onboarding work 2024-04-29 16:30:24 +02:00
B. Petersen e27f592c07 remove unused relicts from Mapbox -> Leaflet move 2024-04-28 23:22:59 +02:00
Asiel Díaz Benítez 224201a77f fix openOnlineUrl(), mailto/openpgp4fpr has to open externally (#3008)
* fix openOnlineUrl(), mailto/openpgp4fpr has to open externally

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

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

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

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-04-27 18:00:58 -04:00
Asiel Díaz Benítez 217478e90b allow to pin, archive, etc. when searching in the chatlist (#3002) 2024-04-27 17:44:33 -04:00
B. Petersen 97b84e1959 don't say "Done" when we don't know we're done
adding a shortcut is sometimes a request only,
the user has to confirm and/or there is a subsequent dialog.

so, when `requestPinShortcut()` returns successfully,
saying "Done" as the result of "Add to Home Screen" is often wrong
from the view of the user.

however, some feedback is still needed for the cases there are no dialogs.

saying "One moment..." covers both cases sufficiently.
2024-04-27 22:44:56 +02:00
Asiel Díaz Benítez 9eaf8bb1f3 use new experimental maps integration (#3005)
* use new maps integration

* Update src/com/b44t/messenger/DcContext.java

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

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

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

* fix typo

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-04-25 12:04:13 -04:00
B. Petersen cb084df369 remove unused imports 2024-04-25 16:59:40 +02:00
B. Petersen e422070bda simplify code by followingc linter hints 2024-04-25 16:59:40 +02:00
Asiel Díaz Benítez 01b3f339dd fix bug in WebxdcActivity: don't try to get iframe in "allow internet" mode (#3006)
* fix bug in WebxdcActivity: don't try to get iframe in "allow internet" mode

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

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

* properly clear proxy in "allow-internet" mode

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-04-25 09:45:19 -04:00
Asiel Díaz Benítez b0be653ded allow to open troubleshooting menu option directly from offline help (#2997)
* allow to open troubleshooting menu option directly from offline help

* add comment

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

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-04-24 07:46:55 -04:00
Asiel Díaz Benítez 7afef221a1 support request_internet_access again (#2988)
* support request_internet_access again

* don't set fake proxy for apps with internet access

* remove unnecessary imports and Rpc instance
2024-04-24 06:27:33 -04:00
link2xt 430c15861a Replace Signal's getFileDescriptorOwner with K-9's SafeContentResolver (#2976) 2024-04-13 18:52:37 +00:00
B. Petersen 0f47e90dd0 add support for reaction summaries 2024-04-04 14:27:35 +02:00
bjoern c5077338f9 add strings needed by core to show reactions in summaries (#2985) 2024-04-03 11:14:37 +02:00
bjoern 2faf7a640f react with any emoji (#2979)
* add button to select any reaction

* add emojipicker to build.gradle and manifest

* fix build error

* open reaction picker and send any reaction

* use RelativeLayout as parent for EmojiPickerView

* dismiss AlertDialog on emoji-selection

* reduce columns to 8 like on iOS

* disable "more reactions" button in android < 5

* show selected reactions instead of '...', this is what whatsapp, signal are doing

* make '...' a bit less bold in light mode

---------

Co-authored-by: adbenitez <asieldbenitez@gmail.com>
2024-03-27 12:33:13 -04:00
bjoern 5c930baa0d remove dead code (#2981)
* minSdkVersion is 16, remove checks that are always true or false

* VideoView was used for SDK<16 only
2024-03-22 15:57:28 +01:00
B. Petersen 84d8f383b6 draft a device message 2024-03-07 13:01:34 +01:00
bjoern 965021d243 start/stop IO no longer needed on config changes (#2959)
this is done by core as needed since https://github.com/deltachat/deltachat-core-rust/pull/5117
2024-02-14 15:14:05 +01:00
Asiel Díaz Benítez 54692e977e add troubleshooting menu option on the scanner side (#2958)
* add troubleshooting menu option on the scanner side

* Update src/org/thoughtcrime/securesms/qr/RegistrationQrActivity.java

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-02-14 11:19:14 +01:00
Hocuri 81b321f740 Add self-reporting button (#2910)
Depends on https://github.com/deltachat/deltachat-core-rust/pull/5129

Part of https://github.com/deltachat/deltachat-android/issues/2909
2024-02-07 20:23:55 +01:00
bjoern 71cd0e0c1f make 'Read Address Book' a per-account option (#2955)
this fits better to chatmail:
- one can have chatmail=OFF and normal-mail=ON
- new accounts are most often chatmail,
  even if there is a normal-mail account,
  and get the setting OFF,
  which is better in most cases
2024-02-06 22:28:54 +01:00
bjoern 1b6b216d98 catch errors thrown by Uri.parse() to avoid crashes on tapping invite links (#2951) 2024-02-01 10:10:10 +01:00
bjoern 8cb9d42750 add an option to 'Read System Address Book' (#2950)
with chatmail, providers exist that allow to send encrypted mails only.
pulling in the system address book unconditionally for chatmail will harm UX
as for most of these addresses,
no public key will be known until eg. a QR code is scanned.

we may think this over in the future.
note, that one usually also can create a Delta Chat chat from the address book,
so, this works also without having Delta Chat pulled in all addresses
(which has some issues, https://github.com/deltachat/deltachat-android/issues/2923 )
2024-02-01 09:34:15 +01:00
Asiel Díaz Benítez f2051888f2 handle in-chat clicks to invite-URLs (#2949)
* handle in-chat clicks to invite-URLs

* improve isInviteURL()
2024-02-01 01:29:40 -05:00
Asiel Díaz Benítez f207251f11 copy invite links to clipboard (#2943)
* copy invite links to clipboard

* rename INVITE_PAGE to INVITE_DOMAIN

* share link together with QR image, improve QR image

* share invite-URL instead of QR image

* 'Load QR code from image' is no longer a recommended workflow

the primary UI works with invite-links now.
'Load QR code from image' is still supported,
but is tuned down as no longer recommended workflow.

---------

Co-authored-by: B. Petersen <r10s@b44t.com>
2024-01-31 09:26:15 -05:00
Asiel Díaz Benítez 9a2968d502 allow to mute/unmute from chatlist (#2948) 2024-01-31 09:22:39 -05:00
Asiel Díaz Benítez 1388e1a996 add global unread messages badge counter (#2942)
* add global unread messages badge counter

* Update src/org/thoughtcrime/securesms/connect/DcEventCenter.java

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

* Update src/org/thoughtcrime/securesms/connect/DcEventCenter.java

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

* improve code

* use more specific names, remove from multiAccountObservers also in removeObserver()

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-01-30 23:28:28 -05:00
bjoern b5c172ced8 improve status message for "Invalid Unencrypted" (#2940)
* add strings for 'Invalid Unencrypted'

* add a 'learn more' dialog for 'invalid unencrypted'; the dialog shows the known 'scan qr code' and the known help for it

* clarify wording, add 'for this chat'

* do not linkify domains
2024-01-25 11:33:25 +01:00
bjoern 2e3a75c440 update welcome message (#2938)
* draft a new welcome-message with focus about how to get in contact; the 'Invite Link' implies also contacts with delta chat not installed yet (we could also add a QR code to the invite page as well as adding a 'Manual contact' that fits for classic mail)

* add some dc background info

* rename 'Device Talk' to 'Info'

* Revert "rename 'Device Talk' to 'Info'"

This reverts commit 027e205718c2923bc774a2d069f3283fc9e0e7bd.

* improve english grammar, thanks @adzialocha
2024-01-24 23:06:02 +01:00
Asiel Díaz Benítez 208e5f2bb1 remove old hack to update seen-recently indicator (#2932) 2024-01-21 19:02:21 -05:00
B. Petersen 4ca574b85e cleanup code
- remove useless comment that just says the obvious thing
- use same annotation as super class
- remove Scrubber class; that replaces some number in upstream,
  this is not needed for Delta Chat
2024-01-22 00:47:37 +01:00
B. Petersen cb181138c5 do not return null from grabLog(); instead show the error in the log 2024-01-22 00:47:37 +01:00
Asiel Díaz Benítez 005061ade7 hide AddReactionView when user clicks on the attachments buttons (#2933)
* hide AddReactionView when user clicks on the attachments buttons

* use new hideAddReactionView() also at existing places to simplifies code understanding and maintainance (having one single point that does the hiding)

---------

Co-authored-by: B. Petersen <r10s@b44t.com>
2024-01-21 18:28:10 -05:00
B. Petersen 1aa8c58d74 do not add "Changelog" for new accounts
on new installations or accounts,
the "What's new?" messages only clutter the device messages
with unimportant information
(either the user is new to the app, so everyrhing is new and nothing is changed,
or an existing user has created a new account,
they have seen the changelog anyways)

in other words,
the changelog will be added only for updates.

when reading https://c.delta.chat/classdc__context__t.html#a1a2aad98bd23c1d21ee42374e241f389 ,
this was always the gist,
however, somehow forgotten or removed on the way :)

targets #2914
2024-01-22 00:25:12 +01:00
B. Petersen 4cd42e73a0 add 'Scan QR Code' option to 'New Chat' 2024-01-20 12:00:41 +01:00
B. Petersen 791ac472a6 move 'pinned' indicator right for cleaner UI
'pinned' chats are always shown together below each other;
moving the 'pinned' indicator to the same position in each chat
makes the UI a little less cluttered and nicer
(all pinned indicators will form a column if you will)
2024-01-20 08:27:58 +01:00
Asiel Díaz Benítez a1cc00a17f register to handle i.delta.chat links (#2922) 2024-01-19 23:23:17 -05:00
B. Petersen ee67c1d217 reactions are no longer experimental
by the reactions support being added to desktop, ubuntu-touch and iOS,
this also ends the experimental time on android :)
2024-01-19 00:23:10 +01:00
B. Petersen 8ad2ff4cc7 update profile also on 'back' 2024-01-10 17:15:04 +01:00
B. Petersen 38831d5054 use more meaningful function name 2024-01-10 17:15:04 +01:00
B. Petersen c920ced553 reword self-name/-avatar hint; name is required 2024-01-10 17:15:04 +01:00
B. Petersen c0c519870b continue showing the address in classic, non-guaranteed-e2ee accounts 2024-01-10 16:43:11 +01:00
B. Petersen 3932cbd858 do not show addr in chat titles
with chatmail, the address is less meaningful,
it seems sufficient to show it in the profiles.
2024-01-10 16:43:11 +01:00
Asiel Díaz Benítez 67c703919c display title bar and back button in welcome screen (#2907)
* display title bar and back button in welcome screen

* set dynamic title
2023-12-30 15:32:11 -05:00
bjoern 86c9227939 remove unused stock-string (ios/desktop also do not used that string, so even removing from translations is fine) (#2905) 2023-12-11 16:09:41 -05:00