Commit Graph

2526 Commits

Author SHA1 Message Date
Asiel Díaz Benítez 646817e19b allow to show password in registration activity (#3051) 2024-05-17 06:34:21 -04:00
bjoern cbb934e9ef hide IMAP folder options on chatmail (#3050)
* remove unused getConfig() variants

* hide IMAP folder options if is_chatmail == 1

* hide e2ee, show-system-contacts as well

* ignore system-contacts settings on chatmail (in case it was enabled before)
2024-05-15 15:10:19 +02:00
B. Petersen 7cf7258222 add beta device messages 2024-05-13 18:45:25 +02:00
bjoern b3a4084026 add strings for new 'please wait' securejoin flow (#3044)
* add strings for new 'please wait' securejoin flow that disallows sending a message in the first seconds

* Update res/values/strings.xml

Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com>

---------

Co-authored-by: iequidoo <117991069+iequidoo@users.noreply.github.com>
2024-05-12 11:43:17 +02:00
Asiel Díaz Benítez 006f2b091b use last known location if it is recent enough (#3039) 2024-05-10 09:59:41 -04:00
bjoern 51415e8a90 received token is info level, not warning level (#3041) 2024-05-10 15:36:43 +02:00
Asiel Díaz Benítez 94b83b4713 remove unused imports (#3038) 2024-05-09 08:26:32 -04:00
Asiel Díaz Benítez afa1f92a6e disable APNG decoder (#3035) 2024-05-08 15:34:17 -04:00
Asiel Díaz Benítez 026d9da70a clear quote if current draft has no quote (#3036) 2024-05-08 15:33:29 -04:00
bjoern 5dd1bb17ca log if we receive onDeletedMessages() (#3034)
* log if we receive onDeletedMessages()

* Update src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>

---------

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
2024-05-08 17:40:25 +02:00
bjoern 729db80d1c add 'cancel' button to 'manage keys'; that was somehow missing (#3033) 2024-05-08 09:08:41 -04:00
Asiel Díaz Benítez 8df2749d74 fix bugs and some code cleanup (#3023)
* fix bug: open WelcomeActivity when scanning backup from chatlist

* remove unused field manualConfigure

* remove unused code in startQrAccountCreation() and rename to startBackupTransfer()

* InstantOnboardingActivity: return to chatlist if not started from WelcomeActivity

* use OnBackPressedCallback
2024-05-07 12:53:50 -04:00
B. Petersen a427b1c280 init and getToken only once 2024-05-07 15:34:50 +02:00
B. Petersen 9114304d28 clarify the onMessageRecevied() strategy 2024-05-07 15:34:50 +02:00
B. Petersen e2d51ca1a3 support android 4.1-4.3 again 2024-05-07 15:34:50 +02:00
B. Petersen 3cafdaf57e allow fcm for all flavours 2024-05-07 15:34:50 +02:00
B. Petersen 256c010b61 add FcmReceiveService 2024-05-07 15:34:50 +02:00
B. Petersen c5b00c73b2 make anyways global DcAccounts accessible without context 2024-05-07 15:34:50 +02:00
B. Petersen c93cdc5898 move 'password and account' to advanced, together with folder settings 2024-05-06 16:17:33 +02:00
B. Petersen c74adafbc3 move 'show classic emails' to advanced; it is no longer a recommended option to take care of 2024-05-06 16:17:33 +02:00
Asiel Díaz Benítez 81b7df0f99 adapt to new "instant onboarding" UX workflow (#3015)
* rework onboarding

* implement default registration in InstantOnboardingActivity

* dismiss signInDialog after button is selected

* add footer options, implement "explore other options" button

* properly handly permissions results

* implement "scan QR" button

* fix linter warnings

* remove from observers in onDestroy()

* handle DCACCOUNT and DCLOGIN in InstantOnboardingActivity instead of WelcomeActivity

* fix identation in setProviderFromQr()

* rename DEF_CHATMAIL_HOST to DEFAULT_CHATMAIL_HOST

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

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

* Update res/layout/instant_onboarding_activity.xml

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

* Update res/layout/instant_onboarding_activity.xml

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

* Update res/layout/instant_onboarding_activity.xml

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2024-05-06 08:32:35 -04:00
B. Petersen dc55b5c64c remove unused getAllLocations() API 2024-04-29 19:49:59 +02:00
B. Petersen 2dbdfe6f4a remove unused TransportOption functions 2024-04-29 19:49:59 +02:00
B. Petersen 487baf3a04 remove unused functions isManualSelection() and transportOptions.disableTransport() 2024-04-29 19:49:59 +02:00
B. Petersen 18d51b5468 remove unused class SearchRepository, move callback interface to SearchViewModel 2024-04-29 19:49:59 +02:00
B. Petersen 171e58e016 remove unused class Selectable 2024-04-29 19:49:59 +02:00
B. Petersen 55c8f93286 remove unused toReversePrimitiveArray() and ProgressDialogAsyncTask constructor 2024-04-29 19:49:59 +02:00
B. Petersen 1b371a1b72 remove unused KeyboardAwareLinearLayout.isBubble 2024-04-29 19:49:59 +02:00
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