Commit Graph

2547 Commits

Author SHA1 Message Date
B. Petersen 31d41c0c25 add missing DC_EVENT_WEBXDC_* constants 2024-05-27 16:47:27 +02:00
B. Petersen 44bc7da0df add getData2Blob() needed for DC_EVENT_WEBXDC_REALTIME_DATA 2024-05-23 19:51:02 +02:00
Asiel Díaz Benítez 0769a5cee9 Merge pull request #3087 from deltachat/adb/improve-logs
improve logs: use emojis to mark the log level for easier visibility
2024-05-22 23:16:54 +02:00
adbenitez 00ac5a06f9 improve logs: use emojis to mark the log level for easier visibility 2024-05-22 21:14:40 +02:00
B. Petersen 5656e836db update device message for 1.46 2024-05-22 00:30:17 +02:00
Asiel Díaz Benítez ff80dcfd40 Merge pull request #3078 from deltachat/adb/adb-3077
bugfix: parse results of scanning QR code in NewConversationActivity
2024-05-21 20:06:42 +02:00
Asiel Díaz Benítez 99eb6e5a3c Merge pull request #3079 from deltachat/adb/issue-3076
tweak menu options in QR show/scanning activities
2024-05-21 20:06:23 +02:00
Asiel Díaz Benítez ae613f5944 Update src/org/thoughtcrime/securesms/qr/QrActivity.java
Co-authored-by: bjoern <r10s@b44t.com>
2024-05-21 14:05:51 -04:00
adbenitez 731c0912d4 tweak menu options in QR show/scanning activities 2024-05-21 14:53:33 +02:00
adbenitez 679ba846a6 bugfix: parse results of scanning QR code in NewConversationActivity 2024-05-21 14:25:29 +02:00
B. Petersen 04031eb598 wait until FCM has finished before checking for notify method 2024-05-21 13:54:54 +02:00
B. Petersen 7536d4927e do not ask for 'disable battery optimisations' when all accounts are chatmail AND we got a push token 2024-05-21 13:54:54 +02:00
B. Petersen 1362de8130 no device message for now, but make sure the marknoticed-chat applies 2024-05-19 23:31:01 +02:00
Asiel Díaz Benítez c705790d26 display vcard view type and allow to import/export contacts as vcard (#3043)
* implement Rpc API for parse_vcard

* allow to create Recipient from VcardContact

* display vcard view-type in incoming/outgoing messages

* fix linter warnings in Recipient class

* properly show vcard view-type in quoted messages

* display fallback avatar in quotes

* allow to attach vcard

* implement basic click listener

* timestamp type got changed from float to int

* set stick translation for "contact"

* share contact as vcard using the new Rpc.makeVcard API

* allow to import contact when clicking vcard
2024-05-19 16:22:39 -04:00
bjoern 1884f9bc4f show the device-update-message only once, not on every account switch (#3069)
* show the device-update-message only once, not on every account switch

* instead of not adding device messages twice, always add and mark the chat as being noticed

* remove unused variable
2024-05-19 20:55:43 +02:00
Asiel Díaz Benítez c99e6fc27f save avatar and name onPause() in InstantOnboardingActivity (#3067) 2024-05-19 10:19:27 -04:00
bjoern a8acfcfeb7 tune down entering email addresses manually (#3064)
* reword 'QR code' to 'Invite Code'

* reword adding classic email

* remove the 'new contact' things together

* add 'new classic contact' shortcut only for non-chatmail; it is still always available in the three-dot menu of 'new contact'

* use same menu for qr show/scan

* add 'new classic contact'

* remove 'scan' button from 'new classic contact' (ppl usually came from 'scan')

* rename to 'add contact manually'

* stay with 'qr code' for now
2024-05-19 07:45:23 -04:00
bjoern afd1a26e4a move 'manual log in' to 'create profile' (#3060)
* add submenu to 'Explore Other Options'

* move 'Manual Login' to 'Explore Other Options'

* clearer titles, even if they are repetive

* move 'Scan QR' to 'Other'; this allows us to make 'Other' more outstanding

* cleanup layout

* tweak wording to 'Use Other Server' pointing to 'List in Browser', 'Classic Login', 'Scan Invite Code'

* use a standard secondary button for 'Use Other Server'

* show default onboarding server name

* reword to 'List Chatmail Servers'

* always close other-sign-up-options on tapping an option

* clarify that 'classic login' is about e-mail
2024-05-19 13:02:05 +02:00
Asiel Díaz Benítez 02ec78f8b4 show overriden sender name also for self messages if present (#3056) 2024-05-17 15:04:31 -04:00
Asiel Díaz Benítez b7153c2557 change "three dots" option in "add reaction" view to ellipsis (#3059) 2024-05-17 15:00:18 -04:00
Asiel Díaz Benítez 6b86ebdd54 allow to share log instead of copying to clipboard (#3052)
* allow to share log instead of copying to clipboard

* fix log sharing, improve shareLog() code
2024-05-17 09:53:26 -04:00
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