Commit graph

1196 commits

Author SHA1 Message Date
Jakob Nixdorf
d95dac1784
Store the running ChangeEncryptionTask in a fragment
This way it survives when the calling activity goes into the background
2021-03-25 18:17:08 +01:00
Daniel Weigl
5b830e2036 Adds feature to share the current OTP via an Intent with the special mime-type "text/keystrokes"
Other apps (like https://invent.kde.org/network/kdeconnect-android/-/merge_requests/220 ) could listen for this intents and pass the date on to a connected desktop or other device where the 2FA code is needed
2021-03-24 17:01:20 +01:00
Jakob Nixdorf
d8a1e03806
Use background tasks for encryption change 2021-03-24 07:46:37 +01:00
Jakob Nixdorf
0c0b4455c0
Use background tasks for automatic backups
That way we work around the NetworkOnMainThreadException that certain storage providers (e.g. Nextcloud) cause when called directly from the broadcast receiver
2021-03-23 07:02:06 +01:00
Jakob Nixdorf
6f67608604
Use background tasks for broadcast backups
That way we work around the NetworkOnMainThreadException that certain storage providers (e.g. Nextcloud) cause when called directly from the broadcast receiver
2021-03-23 06:49:20 +01:00
Jakob Nixdorf
6fc19c625f
Use our own NumberPickerPreference class 2021-03-22 07:12:46 +01:00
Jakob Nixdorf
d3ad90f4c4
Perform a change of credentials in a new task 2021-03-22 06:39:21 +01:00
Jakob Nixdorf
0bb463f244
Move the key-generation during setup to a background task 2021-03-20 18:04:34 +01:00
Jakob Nixdorf
61d2e8ab71
Benchmark iterations used to unlock
Closes 
2021-03-19 07:54:12 +01:00
Jakob Nixdorf
da6ce9563a
Remove more warnings from activities 2021-03-17 21:31:40 +01:00
Jakob Nixdorf
f6913e8fbc
Remove some easy to fix warnings 2021-03-17 21:08:15 +01:00
Jakob Nixdorf
7716e4ad3f
Add warning if automatic time is disabled
Closes 
2021-03-17 07:57:46 +01:00
Daniel Ziegenberg
c43d7c08bd
Update dependency ZXing
- update com.google.zxing:core to 3.4.1

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-16 23:10:17 +01:00
Daniel Ziegenberg
ff9c9c6a8f
Make reading QR codes more robust
- use QRCodeReader instead of MultiFormatReader
- use decoding hints with BarcodeFormat.QR_CODE
- try a second time with DecodeHintType.TRY_HARDER

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-16 23:09:17 +01:00
Daniel Ziegenberg
1e8a43a6ca
Add Copyright Notice
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-16 23:01:14 +01:00
Jakob Nixdorf
11e60affd7
Merge pull request from ziegenberg/additional-icons-9
Additional icons - Part 9
2021-03-16 19:54:49 +01:00
Santiago Garcia Mantinan
8235a930d7 Commmit changes provided by Jakob on
https://github.com/andOTP/andOTP/files/6136564/motp_fixes.patch.txt
2021-03-15 11:12:36 +01:00
Daniel Ziegenberg
324ac16025
(FIX ) add thumbnail for NameSilo
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 22:16:50 +01:00
Daniel Ziegenberg
5628d38848
(FIX ) add thumbnail for improvmx
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 22:05:35 +01:00
Daniel Ziegenberg
0f50882702
(FIX ) add thumbnail for Ultimaker
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 21:33:30 +01:00
Daniel Ziegenberg
a400be99b7
(FIX ) add thumbnail for Charles Schwab
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 21:25:19 +01:00
Daniel Ziegenberg
a707be773f
(FIX ) update thumbnail for privacy
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 20:33:35 +01:00
Daniel Ziegenberg
85db4eb6ed
(FIX ) update thumbnail for migadu
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 20:24:31 +01:00
Daniel Ziegenberg
3f4eb158c8
(FIX ) add thumbnail for directus
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 20:08:38 +01:00
Daniel Ziegenberg
12842e71d5
(FIX ) add thumbnail for Stack
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 19:35:50 +01:00
Daniel Ziegenberg
fbeab01a27
(FIX ) add thumbnail for POEditor
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 19:23:49 +01:00
Daniel Ziegenberg
842cd7250c
(FIX ) update cisco logo to current version
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 19:16:49 +01:00
Daniel Ziegenberg
daa1c628f3
optimize gandi and use brand color
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 19:05:37 +01:00
Daniel Ziegenberg
ee7ced6d9e
(FIX ) add thumbnail for Razer
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 17:58:04 +01:00
Daniel Ziegenberg
c01644aa56
(FIX ) add thumbnail for YoYoGames
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 15:39:24 +01:00
Daniel Ziegenberg
af52d39034
(FIX ) add thumbnail for NexusMods
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 15:34:48 +01:00
Daniel Ziegenberg
dff64846e8
(FIX ) add thumbnail for FTX
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 14:53:29 +01:00
Daniel Ziegenberg
90ef3a35d1
(FIX ) add thumbnail for CTemplar
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 13:51:56 +01:00
Daniel Ziegenberg
e696775b09
(FIX ) add thumbnail for Cloudinary
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 12:42:34 +01:00
Daniel Ziegenberg
121468df23
(FIX ) add thumbnail for 1Blu
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 11:11:02 +01:00
Daniel Ziegenberg
487973672c
(FIX ) add thumbnail for Box
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 11:10:41 +01:00
Daniel Ziegenberg
079b7ab4ac
(FIX ) add thumbnail for ArchLinux
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 11:10:08 +01:00
Daniel Ziegenberg
75886a4226
(FIX ) add thumbnail for VMware
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-14 10:50:31 +01:00
Jakob Nixdorf
bde29f11cc
Merge branch 'master' into master 2021-03-14 10:15:52 +01:00
Daniel Ziegenberg
3f4a90364c
(FIX ) add thumbnail for Migros
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 23:37:37 +01:00
Daniel Ziegenberg
1343de3ccb
(FIX ) add thumbnail for Opera
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 23:26:15 +01:00
Daniel Ziegenberg
84417c7ad2
(FIX ) add thumbnail for Nvidia
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:45:35 +01:00
Daniel Ziegenberg
b35e775650
(FIX ) add thumbnail for Porkbun
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:35:36 +01:00
Daniel Ziegenberg
37647575eb
(FIX ) add thumbnail for CircleCi
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:35:12 +01:00
Daniel Ziegenberg
efa62ac535
(FIX ) add thumbnail for Grammarly
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:15:37 +01:00
Daniel Ziegenberg
534e54e84d
optimize thumbnail for netcup
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:15:35 +01:00
Daniel Ziegenberg
4e5dc79cf1
(FIX ) add thumbnail for Onshape
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-12 22:15:27 +01:00
Jakob Nixdorf
9430463ac2
Make digits, period and counter editable for existing entries
Fixes 
2021-03-12 20:48:14 +01:00
Jakob Nixdorf
7b3fd73742
Add setting to use black theme in auto theme mode 2021-03-12 07:40:21 +01:00
Jakob Nixdorf
cfcfca5a08
Fix some warnings 2021-03-12 07:26:47 +01:00
Jakob Nixdorf
d32d385a25
Fix a mistake made during the rebase of 2021-03-12 07:25:15 +01:00
Jakob Nixdorf
f19ff04abe
Merge branch 'master' into feature/394 2021-03-12 06:56:55 +01:00
Jakob Nixdorf
74c4add564
Validate password before saving in the intro
Fixes 
2021-03-11 20:21:15 +01:00
Jakob Nixdorf
c14f842718
Update thumbnail when changing the issuer
Fixes 
2021-03-11 18:46:02 +01:00
Jakob Nixdorf
0a67df3d70
Merge pull request from vincentsalucci/master
[Thumbnail] Bitwarden Update
2021-03-08 19:39:03 +01:00
Jakob Nixdorf
1c09a91f3a
Merge pull request from ziegenberg/update-tooling
Update tooling
2021-03-08 19:37:48 +01:00
Jakob Nixdorf
e982c63861
Layout fixes for multi-line labels 2021-03-08 07:08:19 +01:00
Daniel Ziegenberg
555897bdf0
Updating build environment, tools, dependencies and travis build
- update compileSdkVersion to 30
 - update buildToolsVersion to 30.0.3
 - update targetSdkVersion to 30
 - update androidx.media:media to 1.2.1
 - update androidx.constraintlayout:constraintlayout to 2.0.4
 - update androidx.lifecycle to 2.3.0
 - update com.android.tools:desugar_jdk_libs to 1.1.5
 - update com.google.android.material:material to 1.3.0
 - pin com.google.zxing:core version below 3.4

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-03-07 20:58:49 +01:00
Jakob Nixdorf
943946a1b8
New option for multiline labels
Fixes 
2021-03-07 20:54:53 +01:00
Jakob Nixdorf
283fb5630d
Use stable IDs for the adapter
Fixes 
2021-03-07 20:15:31 +01:00
Jakob Nixdorf
ba5bb7705b
Fix password entry dialog 2021-03-07 20:01:53 +01:00
Jakob Nixdorf
cb53c80cd7
Add issuer to the unique identifier for an Entry 2021-03-04 21:35:39 +01:00
Jakob Nixdorf
095212d09d
Merge pull request from Ullas-Aithal/feature/BackupsPasswdLengthCheck
Added password length check while creating backups 
2021-03-04 19:07:27 +01:00
Santiago García Mantiñán
282a5a96a1 Remove all the translations (Jakob's request) 2021-03-04 11:00:25 +01:00
Ullas-Aithal
914c4c4aa5 Fixed bug where OK was still enabled when the passwords don't match. Renamed toShortWarning to tooShortWarning 2021-03-04 11:54:16 +05:30
Jakob Nixdorf
b5f5492249
Merge pull request from mavit/fuzzy-issuer
Use an thumbnail if its name appears as a word in the TOTP issuer field
2021-03-04 06:27:31 +01:00
Jakob Nixdorf
5aa218864e
Merge pull request from endorama/add-terraform-cloud-thumb
EntryThumbnail: Add Terraform Cloud thumb
2021-03-04 06:22:35 +01:00
Edoardo Tenani
d80fe3c0eb
remove android:name attributes 2021-03-04 00:23:41 +01:00
Jakob Nixdorf
81fe354a4f
Merge pull request from Ullas-Aithal/feature/ZeroSlashedFont
Added slashed font to differentiate between zero and alphabet O in secret textbox 
2021-03-03 20:38:40 +01:00
Jakob Nixdorf
94e3062c21
Merge pull request from Ullas-Aithal/feature/hideIssuerlabel
Added option to hide issuer label 
2021-03-03 20:33:08 +01:00
Jakob Nixdorf
1963cfbda5
Merge branch 'master' into feature/BackupsPasswdLengthCheck 2021-03-03 20:15:36 +01:00
Michael Langer
fce81f4ca3 Merge branch 'master' into auto-unlock-after-autofill
# Conflicts:
#	app/src/main/java/org/shadowice/flocke/andotp/Activities/AuthenticateActivity.java
2021-02-26 08:31:44 +01:00
Michael Langer
9ed50969ce fixed used method to start auth task 2021-02-26 08:24:19 +01:00
Jakob Nixdorf
3f3e0fab52
Merge branch 'master' into keyboard-enter-finishes-task 2021-02-26 07:32:03 +01:00
Jakob Nixdorf
7fef22a3ea
Merge branch 'master' into auto-unlock-after-autofill 2021-02-26 07:08:57 +01:00
Ian McKenzie
96c58ded03 Added password mismatch warning for intro screen 2021-02-23 21:18:06 -05:00
Ullas-Aithal
75a39a5083 Added droid mono zeromod repo in Readme. Changed description of the repo in about section 2021-02-20 20:09:27 +05:30
Ullas-Aithal
78611a72a8 Added slashed font to differentiate between zero and alphabet O in secret textbox 2021-02-20 19:56:39 +05:30
Ullas-Aithal
0fb27f3a5c Added password length check while creating backups 2021-02-20 13:12:00 +05:30
Jakob Nixdorf
dfc788cd29
Backup: Use tasks for restore 2021-02-06 23:30:51 +01:00
Jakob Nixdorf
e6e16999ae
Backup: Use fragment to retain task
Use the same approach as in the AuthenticateActivity to retain the task when pausing the activity
2021-02-06 21:01:26 +01:00
Jakob Nixdorf
1d3f7af099
Refactor backup tasks
Base the backup tasks on UiBasedBackgroundTask
2021-02-06 16:18:16 +01:00
Ullas-Aithal
093bd842f6 Added option to hide issuer label 2021-02-06 19:34:01 +05:30
Jakob Nixdorf
7bf6cda6ed
Overwrite shouldDestroyOnScreeenOff in MainActivity 2021-02-05 06:40:05 +01:00
Jakob Nixdorf
edb01d819f
Merge pull request from jsoberg/#635-MoveAuthenticationToBackground
 move authentication to a background thread
2021-02-05 06:25:16 +01:00
Joshua Soberg
39b93fe7e8 - Remove task fragment if task has been canceled
This ensures that we aren't resetting password input on configuration changes after our task has been canceled
2021-02-04 20:35:24 -05:00
Joshua Soberg
d814dab8a8 - Reset password input field and refocus if coming back from cancelling authentication 2021-02-04 20:26:20 -05:00
Joshua Soberg
75bc10e1aa - Make sure the AuthenticateActivity isn't destroyed on screen off 2021-02-04 20:17:23 -05:00
Joshua Soberg
f5c6dfc942 Add the ability to override destroyOnScreenOff functionality if desired 2021-02-04 20:16:27 -05:00
Joshua Soberg
ba2f911909 - Make sure that we're unregistering lifecycle observers to avoid memory leaks 2021-02-03 22:03:23 -05:00
Joshua Soberg
38a5ca656c - Use a lifecycle observer to cancel an active task when going to the background if set to do so 2021-02-03 21:51:44 -05:00
Joshua Soberg
97e7f51fe9 - Make sure that we cancel authentication tasks on screen off if enabled in settings
Note that we can't just remove the fragment from the fragment manager when we get a screen off callback, because Android doesn't allow you to remove fragments after onSaveInstanceState()
2021-02-03 21:44:26 -05:00
Joshua Soberg
7ab8eefce7 - Add the ability to cancel a task 2021-02-03 21:38:26 -05:00
Jakob Nixdorf
bc0a6f93b1
Merge pull request from Ullas-Aithal/feature/emptyStateChanges
Added feature to hide progress bar and add an instruction if there are no cards in the list  
2021-02-03 19:07:22 +01:00
Ullas-Aithal
6d18f43f90 Changed padding size of empty text view from activity_margin_small to activity_margin_large 2021-02-03 23:32:17 +05:30
Jakob Nixdorf
504e0c8e56
Merge pull request from jsoberg/#740-AuthenticationDialogKeyboardSwitch
 authentication dialog keyboard switch
2021-02-03 18:50:28 +01:00
Joshua Soberg
bc8bcf834f - Fix bad javadoc comment, and add clarifying javadoc to AuthenticationTask 2021-02-02 13:25:45 -05:00
Ullas-Aithal
856a7adf80 Added feature to hide progress bar and add an instruction if there are no cards in the list 2021-02-02 12:48:41 +05:30
Joshua Soberg
3eb0094204 - Reset our callback in onResume instead of onCreate
This ensure that if the user goes home, the callback will be reset when coming back (since onCreate doesn't get called most of the time in this instance).
2021-02-01 22:03:25 -05:00
Joshua Soberg
b52accb2aa - Make the AuthenticationTask a UiBackedBackgroundTask, and make sure that AuthenticateActivity can receive results across configuration changes
Begin storing the task in a retained fragment so that if the task is begun, we will be able to get a callback when the activity is destroyed/recreated.
2021-02-01 21:53:40 -05:00