Commit Graph

5133 Commits

Author SHA1 Message Date
B. Petersen b9fdb7befc update translations 2024-05-10 16:11:02 +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
Asiel Díaz Benítez b4322c90ee fix: allow to share attachments from one chat to another (#3031)
* fix: allow to share from one chat to another

* add comment
2024-05-08 10:27:43 -04: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 3843028322 exclude analytics from FCM, cmp https://stackoverflow.com/questions/39327141/disable-the-analytics-service-for-firebase-cloud-messaging and the signal source code 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 bf5f42d3ff increase minSdkVersion for now, we'll try to go down later (we succeeded for the emoji selector) 2024-05-07 15:34:50 +02:00
B. Petersen 9118ac4a87 apply suggestions from console.firebase.google.com
however, skipping BoM for now and keep what we're doing otherwise.

(BoM would be

dependencies {
  // Import the BoM for the Firebase platform
  implementation platform('com.google.firebase:firebase-bom:32.8.1')

  // Declare the dependencies for the desired Firebase products without specifying versions
  // For example, declare the dependencies for Firebase Authentication and Cloud Firestore
  implementation 'com.google.firebase:firebase-auth'
  implementation 'com.google.firebase:firebase-firestore'
}

and does some magic with version numbers, see https://firebase.google.com/docs/android/learn-more?hl=en&authuser=1#bom ,
we'll need to do try domr other magic wrt not increasing targetSdkVersion,
so stay simple here)
2024-05-07 15:34:50 +02:00
B. Petersen 1f8de2523c add FCM config file 2024-05-07 15:34:50 +02:00
B. Petersen 5e2bef368b update translations and local help 2024-05-07 14:57:20 +02:00
B. Petersen 6f01ed07bb concretise 'add second device' instructions: the button 'Add as Second Device' is at 'I Already Have a Login' now 2024-05-07 14:23:25 +02:00
Asiel Díaz Benítez 72956d0ba1 use app:drawableStartCompat instead of android:drawableStart (#3028) 2024-05-07 07:55:29 -04:00
link2xt 8e759b450f Add status badge for translations 2024-05-06 17:47:07 +00:00
link2xt 74050f9c65 Add link to Weblate into README 2024-05-06 17:31:19 +00:00
Ich_Selbst ece733e07d Translated using Weblate (Spanish)
Currently translated at 11.7% (2 of 17 strings)

Translation: Delta Chat/Android metadata
Translate-URL: https://translate.codeberg.org/projects/delta-chat/android-metadata/es/
2024-05-06 17:29:44 +00:00
yurtpage 7034866a09 Translated using Weblate (Russian)
Currently translated at 17.6% (3 of 17 strings)

Translation: Delta Chat/Android metadata
Translate-URL: https://translate.codeberg.org/projects/delta-chat/android-metadata/ru/
2024-05-06 17:29:44 +00:00
B. Petersen dab0425733 update translations 2024-05-06 16:24:12 +02:00
B. Petersen 6332d53794 rename section for account, password, imap, folders etc. to 'Server' 2024-05-06 16:17:33 +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
B. Petersen 3dcadf8f68 important advanced moved up: log, stats, experimental (we want ppl to play around), app access (discouraged), password and account (discouraged, often not needed, otoh, very bottom is a common place for that) 2024-05-06 16:17:33 +02:00
B. Petersen 4395b4a123 tune down AutoCrypt 2024-05-06 16:17:33 +02:00
bjoern dda5754e38 consistent headlines for 'Your Profile' (#3020) 2024-05-06 09:41:03 -04: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 8d7e5e7354 update local-help and translations 2024-05-03 13:56:10 +02:00
B. Petersen dcc23810b5 adapt no-servers hint 2024-05-03 00:56:22 +02:00
B. Petersen 811157c61b update translations 2024-05-02 21:39:56 +02:00
B. Petersen 9c869a9f76 remove MapActivity from manifest 2024-04-30 14:33:34 +02:00
B. Petersen 5749faaad7 update translations 2024-04-29 23:30:37 +02:00
B. Petersen dc55b5c64c remove unused getAllLocations() API 2024-04-29 19:49:59 +02:00
B. Petersen 3dc7848c5d remove unused colors and dimens, relicts of Mapbox 2024-04-29 19:49:59 +02:00
B. Petersen 1c905ff654 remove unused strings 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