Commit graph

1191 commits

Author SHA1 Message Date
Jakob Nixdorf
b9dcfef7d0
Reword the copy toast a little bit 2018-01-17 10:28:20 +01:00
RichyHBM
6886e015f2 Remove OpenPGP receiver as OpenPGP makes use of bindService internally and that cant be called from a broadcast receiver 2018-01-16 22:54:10 +00:00
RichyHBM
155c1481ff Use correct file names for each type of backup 2018-01-15 21:08:42 +00:00
Richy HBM
4f0c15da79
Copy to clipboard if uri fails 2018-01-15 19:19:20 +00:00
Richy HBM
575b753262
Add new string for clipboard toast 2018-01-15 19:15:05 +00:00
RichyHBM
00d6e9b936 Broadcast receivers for all types of backups 2018-01-14 17:59:01 +00:00
RichyHBM
b88d32e0ca Disable google sync on change to keystore 2018-01-13 13:59:18 +00:00
Jakob Nixdorf
1345e4fc73
Some minor rewording 2018-01-12 16:12:24 +01:00
Jakob Nixdorf
350982a39a
Use a 128-bit encryption key for password-based encryption 2018-01-12 10:51:04 +01:00
RichyHBM
0389084561 Merge branch 'master' into google-backups 2018-01-11 22:44:53 +00:00
Jakob Nixdorf
0c8c5018fe
Main author -> Main developer (in About) 2018-01-11 16:17:24 +01:00
Jakob Nixdorf
da17ff33f7
Reformat the title card in About 2018-01-11 16:15:46 +01:00
Jakob Nixdorf
7394b5365b
Merge pull request #97 from RichyHBM/more-crypto-thumbnails
Add thumbnails for binance, bittrex, blockchaininfo, iconomi, kucoin,…
2018-01-11 15:54:27 +01:00
Jakob Nixdorf
a0c9249b15
Add extra padding to the bottom of the RecyclerView
Fixes #95
2018-01-11 15:53:33 +01:00
Jakob Nixdorf
6e92add768
Merge pull request #108 from RichyHBM/add-developer
Add RichyHBM as a developer
2018-01-11 15:32:09 +01:00
Jakob Nixdorf
d7e4bd73d1
Fix crash in Tools when the string is null 2018-01-11 15:29:08 +01:00
Jakob Nixdorf
584dfc552a
Fix ApplicationTest 2018-01-11 15:26:57 +01:00
RichyHBM
467b058d01 Fix merge issues 2018-01-11 14:22:42 +00:00
Jakob Nixdorf
ca317aa739
Merge branch 'master' into master 2018-01-11 15:15:07 +01:00
Jakob Nixdorf
1989a2aa4e
Merge pull request #102 from RichyHBM/hide_thumbnail_in_dropdown
Move thumbnail toggle into the size selector
Closes #98
2018-01-11 15:10:25 +01:00
RichyHBM
41ca299af6 Merge branch 'master' into google-backups
# Conflicts:
#	app/src/main/java/org/shadowice/flocke/andotp/Activities/SettingsActivity.java
#	app/src/main/java/org/shadowice/flocke/andotp/Utilities/DatabaseHelper.java
#	app/src/main/res/values/settings.xml
#	app/src/main/res/values/strings_settings.xml
#	app/src/main/res/xml/preferences_special.xml
2018-01-11 13:58:40 +00:00
Jakob Nixdorf
0c0fb0f2c7
Update first run dialog 2018-01-11 13:14:40 +01:00
RichyHBM
b855a47d9f Add mixer and tumblr 2018-01-10 22:47:17 +00:00
Jakob Nixdorf
a2f8a95552
Catch some more exceptions in KeyStoreHelper 2018-01-10 22:40:41 +01:00
Jakob Nixdorf
c16e3db88b
Prevent Settings from crashing with a null encryption key 2018-01-10 07:14:36 +01:00
Jakob Nixdorf
1e21c36ecc
Simplify the exception catching in KeyStoreHelper 2018-01-10 07:12:02 +01:00
RichyHBM
d9fb3266bc Add couple more thumbnails 2018-01-09 19:24:35 +00:00
Jakob Nixdorf
c0d05c8e2c
Unify PIN and password preference 2018-01-08 11:25:30 +01:00
Jakob Nixdorf
b1cd0fb68a
Enforce a minimum password and PIN length
Closes #107
2018-01-08 11:01:04 +01:00
Jakob Nixdorf
0af94331cb
Add an additional unlock button to the AuthenticateActivity
Closes #87
2018-01-08 10:38:17 +01:00
Jakob Nixdorf
29dedcc57f
Use Dialogs instead of Toasts for some errors
So the user doesn't just miss them as he might with Toasts
2018-01-08 10:14:25 +01:00
RichyHBM
c9bc89a38d Add myself as a developer 2018-01-07 19:43:31 +00:00
RichyHBM
5415217407 Add hackerone and seafile 2018-01-05 20:38:42 +00:00
RichyHBM
984b180fba Only update if user has enabled 2018-01-05 20:10:17 +00:00
RichyHBM
2bf20ce7f1 Also notify of backup on shared prefs change 2018-01-05 19:55:37 +00:00
RichyHBM
1daa255397 Add backup agent 2018-01-05 19:53:04 +00:00
Jakob Nixdorf
d32f0ab4c0
Special features: clear KeyStore from the settings 2018-01-04 15:34:48 +01:00
RichyHBM
c72a183dcb Remove gradient from vector images 2018-01-04 13:58:54 +00:00
Jakob Nixdorf
a1a6619835
Improve error message in case of KeyStore problems 2018-01-04 14:50:19 +01:00
Jakob Nixdorf
d6f8de9a01
Don't crash if the encryption key is empty (e.g. if the KeyStore has problems) 2018-01-04 14:37:13 +01:00
Jakob Nixdorf
e1e6807d0d
Don't fail the backup if the source does not exist (e.g. if no entries have been added) 2018-01-04 14:36:39 +01:00
Jakob Nixdorf
bcc82f9d5b
Move a lot of the static constants to the Constants class 2018-01-04 14:35:08 +01:00
Jakob Nixdorf
a3a285bebc
Fix crash in CredentialsPreference 2018-01-04 12:34:59 +01:00
Jakob Nixdorf
5059abf2d0
Automatically show and hide keyboard in CredentialsPreference 2018-01-03 16:21:29 +01:00
Jakob Nixdorf
a20dc326bc
Try the encryption change in the SettingsActivity and restore backup if it fails 2018-01-03 13:23:13 +01:00
Jakob Nixdorf
15f221f4b3
Simplify some methods in the Settings helper 2018-01-03 07:04:36 +01:00
Jakob Nixdorf
293fa70994
Remove some outdated code 2018-01-03 06:25:32 +01:00
Jakob Nixdorf
5ba3be0b95
Encryption only changes on changing credentials if set to password-based 2018-01-03 06:21:19 +01:00
RichyHBM
ccbe2ef19c Move thumbnail toggle into the size selector 2018-01-02 22:08:16 +00:00
Jakob Nixdorf
3565c899b8
Custom CredentialsPreference and better handling of encryption changes 2018-01-02 22:00:53 +01:00
Daniel Weigl
052d72b2dd implement settings for formatting (none, 2, 3) 2018-01-02 19:10:54 +01:00
Jakob Nixdorf
fc67640730
Better description for re-authentication 2018-01-02 14:47:12 +01:00
Jakob Nixdorf
13db26f377
Show a generic error if the encryption key is empty 2018-01-02 14:45:00 +01:00
Jakob Nixdorf
bd12b5a17f
Add some checks to prevent crashes when the encryption key is not set 2018-01-02 14:07:40 +01:00
Jakob Nixdorf
2b74b9d6f7
Only load entries if the encryption key is set 2018-01-02 13:50:28 +01:00
Jakob Nixdorf
745676b427
Block empty passwords 2018-01-02 13:49:05 +01:00
RichyHBM
09f0b0d6c0 Add email, nintendo and synology 2018-01-01 18:52:51 +00:00
RichyHBM
1f60124013 Add thumbnails for binance, bittrex, blockchaininfo, iconomi, kucoin, liqui 2017-12-31 13:30:53 +00:00
Jakob Nixdorf
f2e6f57725
Add some safeguard when changing passwords and encryption
We still need some more to prevent any mistakes
2017-12-30 08:40:57 +01:00
Jakob Nixdorf
c46167bfe7
A little bit of refactoring 2017-12-30 08:17:08 +01:00
Jakob Nixdorf
04a511d3f4
Add password-based encryption of the database 2017-12-29 16:58:47 +01:00
Jakob Nixdorf
d68798e69a
Refactor some functions in more appropriate classes 2017-12-29 14:11:40 +01:00
Jakob Nixdorf
6612095e8f
Pass the seed from the AuthenticatActivity to the caller 2017-12-29 12:30:00 +01:00
Jakob Nixdorf
1f4b46e89a
Use random iterations to make PBKDF2 a little more secure 2017-12-29 12:08:00 +01:00
Jakob Nixdorf
ded32a7090
Use PBKDF2 to store and verify the credentials 2017-12-29 11:30:13 +01:00
Daniel Weigl
69a2c5b8fb for copy/paste, use the unformatted representation 2017-12-28 15:56:59 +01:00
Daniel Weigl
57b18516a1 split token with a space every three letters 2017-12-28 15:49:46 +01:00
Jakob Nixdorf
d40cce6c1b
Also delete the keystore entry when receiving a Panic Trigger 2017-12-28 11:39:31 +01:00
Jakob Nixdorf
84a96e3932
Fix deleting the database when receiving a Panic Trigger 2017-12-28 10:47:49 +01:00
Jakob Nixdorf
d284ce18cf
Load the encryption key in the BackupActivity directly 2017-12-28 10:35:59 +01:00
Jakob Nixdorf
b301a4fa80
Show an error message if loading the key fails 2017-12-28 09:55:16 +01:00
Jakob Nixdorf
c96c7d94bc
Load the encryption key just once and cache it inside the adapter 2017-12-27 18:18:06 +01:00
Jakob Nixdorf
cb155823f7
Remove exportAsJSON function from DatabaseHelper 2017-12-27 15:44:45 +01:00
Jakob Nixdorf
08ad01b3db
Only load the database after successful authentication 2017-12-27 15:08:29 +01:00
Jakob Nixdorf
6ce1a60cef
Bump build tools to 27.0.3 2017-12-27 12:41:28 +01:00
RichyHBM
5d39e084e7 Also add background to thumbnail selection dialog 2017-12-19 20:44:30 +00:00
RichyHBM
0a6004b157 Add a background to thumbnails for better visibility in dark themes 2017-12-19 20:32:33 +00:00
RichyHBM
b5dfdf942d Add new thumbnails for: ArenaNet, Hurricane Electric, Itch.io, Patreon, Skrill, TeamViewer, Ubisoft, Ubuntu 2017-12-19 19:45:01 +00:00
Jakob Nixdorf
48801a3b50
Add the label to the removal confirmation dialog
Closes #84
2017-12-11 11:26:37 +01:00
Jakob Nixdorf
11b9042a81
Hide the advanced options in the manual entry dialog
Closes #85
2017-12-11 11:05:34 +01:00
Jakob Nixdorf
d7017f04f4
Bump to version 0.3.1 2017-12-08 07:57:33 +01:00
Jakob Nixdorf
5ce180125b
Update some components 2017-12-08 07:53:54 +01:00
Jakob Nixdorf
50f8fd2aee
Bump build tools to 27.0.2 2017-12-08 07:41:17 +01:00
Jakob Nixdorf
e6ef6cd7c1
Don't translate the list of translation names 2017-12-08 07:10:07 +01:00
Jakob Nixdorf
419562acb3
Update translations from Crowdin 2017-12-08 07:00:52 +01:00
Jakob Nixdorf
99de0d08ad
Translation: add Chinese Simplified 2017-12-08 06:58:15 +01:00
Jakob Nixdorf
2865fd84aa
ManualEntryDialog: disable save button if label or secret are empty
Closes #82
2017-12-06 11:22:00 +01:00
Jakob Nixdorf
c39a4bbea6
Refactor complex dialogs in separate classes
* Create the ManualEntryDialog class
 * Move the TagDialogHelper to TagsDialog
2017-12-06 11:11:41 +01:00
Jakob Nixdorf
144ac76592
Make the replace existing entries default to false to avoid data loss
Closes #80
2017-12-05 07:37:12 +01:00
Jakob Nixdorf
cd5dec666a
Backup: better description of the replace switch 2017-12-02 09:09:12 +01:00
Jakob Nixdorf
9433768d10
Show a message the first time "last used" is selected for sorting 2017-12-01 15:57:52 +01:00
Jakob Nixdorf
4ffe62177f
Automatic re-hide + sort by last used
* Automatically hide revealed entries after a (configurable) time
 * Allow sorting of the list by last used

 Closes #77
 Closes #67
2017-12-01 15:44:32 +01:00
Jakob Nixdorf
d10e4a4e35
Improve error messages on restore
First part of #70
2017-12-01 07:54:44 +01:00
Jakob Nixdorf
cd0814f418
Add setting to disable the special features again 2017-11-30 22:29:43 +01:00
Jakob Nixdorf
786a3e734a
Bump Android SDK to 27
Fixes #76
2017-11-30 17:40:27 +01:00
Jakob Nixdorf
7c4b058904
Add settings to enable screenshots (special features) 2017-11-30 16:25:42 +01:00
Jakob Nixdorf
acadf4f369
Use Settings in EntriesCardAdapter 2017-11-30 12:49:27 +01:00
Jakob Nixdorf
5fb3666dfd
Remove unused Context from DatabaseHelper 2017-11-30 12:42:14 +01:00
Jakob Nixdorf
03714739fe
Merge pull request #75 from RichyHBM/predefined-images
Predefined images
2017-11-30 10:19:54 +01:00
RichyHBM
e44ff46229 Use real index for thumbnail selection 2017-11-30 07:35:30 +00:00
RichyHBM
9920f87d92 Rename from ic_ to thumb_ 2017-11-30 07:26:09 +00:00
Carlos Melero
d671b99704 Label sort should be alphabetical and locale-sensitive (#74)
Doing ascii sort on natural language text will result in unexpected sorting. ie: Lowercase words being sorted after uppercase block or accents messing ordering.
2017-11-30 07:10:08 +01:00
RichyHBM
a628e7c886 Change amazon and add AWS 2017-11-29 23:34:10 +00:00
RichyHBM
0f5a121c6b Add cozy cloud , next clous and mastodon 2017-11-29 22:38:57 +00:00
Jakob Nixdorf
467540e488
Move from flocke/andOTP to andOTP/andOTP 2017-11-29 08:58:13 +01:00
RichyHBM
e0d5898501 Merge branch 'master' into predefined-images
# Conflicts:
#	app/src/main/res/values/settings.xml
2017-11-28 20:14:40 +00:00
RichyHBM
5be1cb8393 Tidy up imports 2017-11-28 20:10:42 +00:00
RichyHBM
ec16579b87 Add thumbnails for angellist, apple, cloudflare, digital ocean, discord, ifttt, mailgun, paypal, protonmail, stripe, twitch, twitter 2017-11-28 19:35:58 +00:00
RichyHBM
d2eb7350ec Add thumbnails for amazon, battlenet, bitbucket, bitcoin, bitstamp, bitwarden, coinbase, dropbox, facebook, git, github, gitlab, google, kickstarter, lastpass, microsoft, origin, rss, slack, steam, wordpress 2017-11-28 19:34:42 +00:00
RichyHBM
43ddf62529 Let users select thumbnail size 2017-11-27 21:29:02 +00:00
RichyHBM
df3ff7536c Allow bitmap thumbnails 2017-11-27 20:54:08 +00:00
Jakob Nixdorf
6d47f220b9
Use sp for the label font size
Make it scalable (e.g. with the font size defined in the Accessibility settings)
2017-11-27 14:26:40 +01:00
RichyHBM
85f1a86b5d Let user search for image 2017-11-26 15:34:54 +00:00
RichyHBM
91db03bc47 Remove bitmap from entry class 2017-11-26 11:50:44 +00:00
RichyHBM
8258b972e1 Allow user to change image from list of images 2017-11-25 18:57:06 +00:00
RichyHBM
e8c71161bb Create enum for holding images and returning a default image 2017-11-25 14:49:12 +00:00
RichyHBM
1bab385312 Change default image to LetterTile, set if no other image is defined 2017-11-25 14:25:13 +00:00
RichyHBM
1b1c00d603 Show default thumbnail 2017-11-25 13:30:49 +00:00
Jakob Nixdorf
d07db0b07f
Bump to version 0.3.0 2017-11-24 08:15:20 +01:00
Jakob Nixdorf
d5f899b068
Update translation from Crowdin 2017-11-24 08:14:56 +01:00
Jakob Nixdorf
b47f3f4463
Some minor modifications of the new logo 2017-11-21 07:39:59 +01:00
Jakob Nixdorf
98ac313127
New adaptive icon
Closes #65
2017-11-20 08:08:42 +01:00
Jakob Nixdorf
295bfb9418
Keep the tag filter after search 2017-11-17 10:51:23 +01:00
Jakob Nixdorf
ef9b8e0cfe
Minor code-style fixes for the tagging implementation 2017-11-17 10:29:10 +01:00
Jakob Nixdorf
a3f73694d7
Some layout fixes for the tagging implementation 2017-11-17 09:46:07 +01:00
RichyHBM
c44a6f5028 Apply patch changes 2017-11-16 19:49:25 +00:00
Richy HBM
22d2c8ff02
Merge branch 'master' into tagging-support 2017-11-15 19:42:04 +00:00
Jakob Nixdorf
6a7ea85dcf
Change the cover for hidden labels to "Hidden"
This makes it shorter and hopefully fixes broken layouts in some translations
2017-11-15 13:43:23 +01:00
Jakob Nixdorf
6484d447bb
MainActivity: fix layout for some translations 2017-11-15 13:38:04 +01:00
Jakob Nixdorf
6339b5743c
AboutActivity: fix layout for some translations 2017-11-15 13:30:18 +01:00
Jakob Nixdorf
07fc20bc0d
Add in-app language switcher
Closes #53
2017-11-15 11:48:26 +01:00
RichyHBM
2ece604dc3 Wrap settings StringSet in new object to allow modification 2017-11-14 19:22:26 +00:00
Jakob Nixdorf
6fb96e18a9
Add the option to append entries during restore 2017-11-14 15:44:53 +01:00
RichyHBM
6957e869ab Clear up imports 2017-11-13 20:30:43 +00:00
RichyHBM
84c0674e1e Add no tags toggle 2017-11-13 20:25:53 +00:00
RichyHBM
43907a172e Save tag toggle as string set 2017-11-13 19:21:55 +00:00
RichyHBM
ecfa3f0696 Update the real entry 2017-11-13 19:04:52 +00:00
RichyHBM
5aa4027444 Hide tags field for entries without a tag 2017-11-13 19:02:00 +00:00
Jakob Nixdorf
9e6a235e62
Convert secrets from JSON files to upper-case
Fixes #55
2017-11-13 16:14:08 +01:00
Jakob Nixdorf
6d9473b277
Add an option to scroll overlong labels instead of simply truncating them 2017-11-13 14:48:34 +01:00
RichyHBM
fbc38ecb9d Show tags on the etnry cards 2017-11-12 13:14:14 +00:00
RichyHBM
11b9d0164a Allow managing and adding tags 2017-11-12 12:56:02 +00:00
RichyHBM
37d75491f4 Update tag drawer when ever tags may have been added/removed 2017-11-11 18:59:56 +00:00
RichyHBM
79b9ee3aa9 Remember checkbox state 2017-11-11 17:15:37 +00:00
RichyHBM
63231d36f6 Allow loading and saving tags to JSON as well as displaying all unique tags in a drawer 2017-11-11 15:10:44 +00:00
Jakob Nixdorf
3890c5c675
Remove the cardElevation 2017-10-26 14:25:55 +02:00
Jakob Nixdorf
ad0dd188e6
Update dependencies, gradle version and Android Studio 2017-10-26 07:51:49 +02:00
Jakob Nixdorf
f8c75c9331
Bump to version 0.2.8 2017-10-25 06:44:01 +02:00
Jakob Nixdorf
7125fe6e70
Update translations from Crowdin 2017-10-25 06:38:32 +02:00
Jakob Nixdorf
985c2f171b
Add Czech translations from Crowdin 2017-10-23 07:58:18 +02:00
Jakob Nixdorf
c7da79d012
Rebrand hidden features to special features (again) 2017-10-18 14:14:31 +02:00
Jakob Nixdorf
69e13bef79
Rebrand experimental settings as hidden features 2017-10-18 07:20:34 +02:00
Jakob Nixdorf
b702592157
Add hidden support for SteamGuard tokens
Closes #38
2017-10-17 09:11:16 +02:00
Jakob Nixdorf
5368038d0c
Fix a small bug with the progress bar animation 2017-10-15 09:12:12 +02:00
Jakob Nixdorf
bafeffb239
Add the option to set a static backup directory
Closes #52
2017-10-14 14:40:39 +02:00
Jakob Nixdorf
98061314a6
Use a custom style for all CardViews
This fixes the crash in Lollipop when setting cardBackgroundColor manually

Closes #47
2017-10-14 13:06:16 +02:00
Jakob Nixdorf
44912927e0
Refactor some small classes into a Tools class 2017-10-13 07:35:10 +02:00
Jakob Nixdorf
149fc0a679
Fully implement a black theme
Closes #47
2017-10-11 17:27:57 +02:00
Jakob Nixdorf
af3d5b39fc
Fix all tests 2017-10-11 07:53:49 +02:00
Jakob Nixdorf
f4227fb9b6
Add a basic black theme (for #47)
This needs some additional tweaking before it is fully ready
2017-10-09 08:16:04 +02:00
Jakob Nixdorf
2e09eb42ad
Store the backup password encrypted
Closes #49
2017-10-06 14:10:06 +02:00
Jakob Nixdorf
de2485e56f
Some refactoring of the KeyStore related functions 2017-10-06 11:25:27 +02:00
Jakob Nixdorf
e066ac3303
Use StandardCharsets.UTF_8 instead of "UTF-8" 2017-10-05 10:44:24 +02:00
Jakob Nixdorf
09d0aae81b
Store the hashed passwords hex-encoded 2017-10-05 10:32:39 +02:00
Jakob Nixdorf
fc071982c1
Fix small bug when changing authentication method in settings 2017-10-05 10:14:09 +02:00
Jakob Nixdorf
d708f08f02
Keep authentication settings when receiving a Panic trigger
Fixes #50
2017-10-05 10:06:02 +02:00
Jakob Nixdorf
d856758d15
Store authentication credentials hashed 2017-10-03 16:33:06 +02:00
Jakob Nixdorf
9d5f6bf462
Bump to version 0.2.7 2017-09-27 07:22:49 +02:00
Jakob Nixdorf
bcb71d288d
Update German translations from Crowdin 2017-09-23 09:41:37 +02:00
Jakob Nixdorf
6d4ef5e573
Update Spanish translations from Crowdin 2017-09-22 14:16:00 +02:00
Jakob Nixdorf
f23d7508aa
Add Russian translations from Crowdin 2017-09-22 14:14:01 +02:00
Jakob Nixdorf
130ffc2f21
Add Galician translations from Crowdin 2017-09-22 14:09:36 +02:00
Jakob Nixdorf
38b715172e
Add Dutch translations from Crowdin 2017-09-22 14:05:22 +02:00
Johan Fleury
0e4dad4646 Add french translation (#44) 2017-09-22 11:39:56 +02:00
Jakob Nixdorf
6af58446d8
Make Github non-translatable 2017-09-21 07:29:44 +02:00
Jakob Nixdorf
ce696861c7
Prevent adding duplicate entries
Fixes #41
2017-09-20 07:58:31 +02:00
Jakob Nixdorf
842d49b68f
Require authentication again after screen off
Closes #36
2017-08-25 15:53:37 +02:00
Jakob Nixdorf
ad0c2f46b8
Set default values for panic response
This fixes a crash on KitKat when no default values are set for the MultiSelectListPreference.
2017-08-25 14:14:35 +02:00
Jakob Nixdorf
247f4e938e
Make the response to the Panic Trigger intent configurable
Closes #35
2017-08-24 09:42:50 +02:00
Jakob Nixdorf
cbdced2df1
Restore the drag state with the sort mode 2017-08-23 14:18:36 +02:00
Jakob Nixdorf
f41eb620aa
Move the token update to the adapter 2017-08-23 14:03:03 +02:00
Jakob Nixdorf
dd97ac87f0
Remove outdated PRNGFixes
They were only relevant for SDK versions below 19, which is our current minSdk
2017-08-23 12:48:50 +02:00
Jakob Nixdorf
f0518a265c
Replace some deprecated code (SDK 26) 2017-08-23 10:49:13 +02:00
Jakob Nixdorf
f679f93ddb
Update to SDK 26 and update some dependencies 2017-08-23 07:53:55 +02:00
Jakob Nixdorf
77655b6108
Use the non-deprecated key generation on Android M+ 2017-08-22 13:18:49 +02:00
Jakob Nixdorf
3f77ed319c
Bump to version 0.2.6 2017-08-22 10:18:52 +02:00
Jakob Nixdorf
d154f0a0db
Translation: update es-rES from Crowdin 2017-08-21 08:58:20 +02:00
9Cube-dpustula
5e8f49176b Updated pl-rPL (Polish (Poland)) translation (#33)
Translated by Daniel Pustuła.
Commit made via Stringlate
2017-08-21 08:46:10 +02:00
Jakob Nixdorf
ec0ed88f74
Translation: add de-rDE from Crowdin 2017-08-18 15:44:06 +02:00
Jakob Nixdorf
dfb8935646
Minor layout improvements for the add dialog 2017-08-18 13:29:24 +02:00
SuperVirus
c17bc0dbfb Variable digits lenths (#30)
Adds support for variable digit lengths
2017-08-18 11:39:36 +02:00
Jakob Nixdorf
f616350aae
Some refactoring
* Wrap Settings in a class so we only have one location to edit defaults etc.
 * Move the authentication function to the BaseActivity
2017-08-17 11:08:54 +02:00
Jakob Nixdorf
8690eb1181
Support PIN and Password authentication [2/2]
This adds the authentication activity used to check the PIN/password

Closes #23
2017-08-16 13:32:32 +02:00
Jakob Nixdorf
8ef25888db
Support PIN and Password authentication [1/2]
This adds the settings part to support password and PIN authentication
2017-08-15 14:17:50 +02:00
Jakob Nixdorf
ded939cb99
Re-order preferences 2017-08-15 11:25:11 +02:00
Jakob Nixdorf
44e99d9186
Add missing copyright headers 2017-08-15 11:15:05 +02:00
Jakob Nixdorf
a8a3386599
Add a confirmation to the PasswordPreference 2017-08-15 11:11:46 +02:00
Jakob Nixdorf
8bcc09513a Merge pull request #27 from carmebar/master
Added support to Panic trigger.
2017-08-14 13:05:40 +02:00
Jakob Nixdorf
fc02a3cbd2
Add custom PasswordPreference
Fixes #26
2017-08-14 12:36:01 +02:00
Carlos Melero
76011cd616
Added support to Panic trigger. https://github.com/guardianproject/panickit
When the user triggers a Panic action the user preferences and secrets database are wiped.
The user will be able to restore from a secure backup when she's in a safe place.
2017-08-12 14:09:36 +02:00
Jakob Nixdorf
8c1d5580de
Add translators and contributors to About 2017-08-10 11:31:17 +02:00
Jakob Nixdorf
c672564297
Backup: remove stub functions 2017-08-10 09:26:10 +02:00
Carlos Melero
64dbe6d02f Fixing #20
Old intent is supposed to be reused after user interaction.
2017-08-10 00:12:12 +02:00
Jakob Nixdorf
76133f4131
Refactor: Organize Java classes in packages 2017-08-09 12:51:03 +02:00
Jakob Nixdorf
e5128b9ccb
Add a Translate button to About 2017-08-09 11:34:09 +02:00
Jakob Nixdorf
1ca90cfaef
Bump to version 0.2.5 2017-08-09 07:49:29 +02:00
9Cube-dpustula
ace74a3c8d Updated pl-rPL (Polish (Poland)) translation (#21)
Commit made via Stringlate
Translated by Daniel Pustuła.
2017-08-09 07:40:01 +02:00
Jakob Nixdorf
8ddc81ad11
Add Spanish translations (thanks to Carlos Melero) 2017-08-08 21:39:20 +02:00
Jakob Nixdorf
9a9af8317c
Add support for SHA256 and SHA512 for token generation
Closes #24
2017-08-08 14:09:23 +02:00
Jakob Nixdorf
5b50c2fa9f
Mark some string-array as non-translatable 2017-08-08 10:35:31 +02:00
Jakob Nixdorf
5943bc4603
Add getRealIndex function for the adapter 2017-08-07 20:50:05 +02:00
Jakob Nixdorf
05a00b66a7
Mark some strings as non-translatable 2017-08-07 15:41:37 +02:00
Jakob Nixdorf
619e49debc
Remember the sort mode 2017-08-07 13:11:47 +02:00
Jakob Nixdorf
0165a00ffb
Add basic sorting by label
Might need some additional testing

Closes #12
2017-08-07 11:06:16 +02:00
Jakob Nixdorf
dc0f942c9a
Don't show the FloatingActionMenu when scrolling in search 2017-08-06 17:43:53 +02:00
Jakob Nixdorf
2fb740809b
Get rid of the index array 2017-08-06 17:26:22 +02:00
Jakob Nixdorf
f9f68d13c4
EntryViewHolder now has his own class 2017-08-02 09:12:44 +02:00
Jakob Nixdorf
36ee12dfce
Show the current theme in the Settings 2017-08-01 10:50:50 +02:00
Jakob Nixdorf
f6656c48d6
Bump to version 0.2.4 2017-08-01 08:04:10 +02:00
Jakob Nixdorf
52456e8551
Remove some unused resources 2017-08-01 08:02:08 +02:00
Jakob Nixdorf
69e68aa94b
Fully implement a dark theme
Closes #3
2017-07-31 23:17:42 +02:00
Jakob Nixdorf
e9b33edb1a
Recreate the SettingsActivity on theme change 2017-07-31 08:52:12 +02:00
Jakob Nixdorf
a5f9ec4efb
Move the theme setup to a base activity class 2017-07-31 08:43:45 +02:00
Jakob Nixdorf
3244ed3887
Add initial implementation of a dark theme
TODO: Needs a lot more tweaks to actually look good
2017-07-31 08:28:06 +02:00
Jakob Nixdorf
d23fde038a
Clean up colors.xml a little bit 2017-07-31 07:53:20 +02:00
Jakob Nixdorf
514599ce62
Remove example dimens for bigger screens 2017-07-31 07:51:01 +02:00
Jakob Nixdorf
accaf642cd
Remove swipe-to-dismiss to avoid accidental deletions
Closes #13
2017-07-30 22:27:28 +02:00
Jakob Nixdorf
d39c3fecb4
Make the main activity listen to preference changes 2017-07-30 22:16:32 +02:00
Jakob Nixdorf
09126ee1c0
Move update functions into the EntryViewHolder 2017-07-30 22:13:51 +02:00
Jakob Nixdorf
0e0d6d56bf
Move the non-translatable settings values to a new file 2017-07-30 21:44:58 +02:00
Jakob Nixdorf
73772126b8
Make the font size of the labels configurable
Closes #18
2017-07-30 21:42:07 +02:00
Jakob Nixdorf
372e9d1610
Make the backup activity scrollable
Fixes #15
2017-07-30 17:01:23 +02:00
Jakob Nixdorf
6dc9dc3148
README: add opening of encrypted backup on the PC
Closes #19
2017-07-30 16:59:24 +02:00
Jakob Nixdorf
0ef744d8f8
Use the entire card for tap to reveal
Fixes #10
2017-07-28 08:24:49 +02:00
Jakob Nixdorf
dc549fa0c2
Bump to version 0.2.3 2017-07-27 22:50:14 +02:00
Jakob Nixdorf
17af788db4
Restrict the label TextView so it doesn't overlap the buttons
Fixes #9
2017-07-27 22:46:18 +02:00
Jakob Nixdorf
8ff4cac725
Hide the FloatingActionMenu on scroll
Fixes #8
2017-07-27 22:21:38 +02:00
Jakob Nixdorf
f8f7ed8411
Disable HOTP for now 2017-07-27 22:17:24 +02:00
Jakob Nixdorf
d8bc4611a9
Add a password entry to the settings for the encrypted backups
Closes #4
2017-07-27 22:14:02 +02:00
Jakob Nixdorf
7db4a7a0d2
Add initial functions for encrypted backups (password)
TODO: UI (ask for password etc.), Cleanup
2017-07-27 17:36:53 +02:00
Jakob Nixdorf
465a3699d1
Move the read/write functions from Utils to FileHelper 2017-07-27 12:50:49 +02:00
Jakob Nixdorf
f055e0472d
Refactor DatabaseHelper 2017-07-27 12:43:33 +02:00
Jakob Nixdorf
85ee5db28c
Rename Export/Import to Backup/Restore 2017-07-26 14:04:28 +02:00
Jakob Nixdorf
2063510e7a
Replace some of the backup functions with more generic ones that can be reused later 2017-07-26 13:51:18 +02:00
Jakob Nixdorf
0e0e869f2f
Change the launcher icon and the toolbar title to andOTP
Fixes #6
2017-07-26 07:30:58 +02:00
Jakob Nixdorf
41c3406432
Only require device authentication if savedInstanceState is null
Fixes #7
2017-07-26 07:25:57 +02:00
Jakob Nixdorf
0457c5b276
Rename TOTPHelper to TokenCalculator 2017-07-25 16:34:21 +02:00
Jakob Nixdorf
d0ee25d222
Add warning about backups on first run 2017-07-20 08:54:10 +02:00
Jakob Nixdorf
312f202338
Bump to version 0.2.2 2017-07-14 20:26:31 +02:00
Jakob Nixdorf
f47b9a479c
Remove outdated tests 2017-07-14 20:20:31 +02:00
Jakob Nixdorf
f93031e681
Fix ApplicationTest 2017-07-14 20:10:42 +02:00
Jakob Nixdorf
ea2b18bde9
Fix hashCode function for Entry 2017-07-14 20:01:26 +02:00
Jakob Nixdorf
3543cc9685
Add missing copyright headers 2017-07-14 19:29:05 +02:00
Jakob Nixdorf
b997c30225
Fix minor permission error with the PGP backups 2017-07-14 15:15:00 +02:00
Jakob Nixdorf
3e4272c4f4
Bump version to 0.2.1 2017-07-14 15:03:10 +02:00
Jakob Nixdorf
fdf4b1a31e
Update some string resources 2017-07-14 14:54:21 +02:00
Jakob Nixdorf
7097f350bb
Add option to only accept signed backups 2017-07-14 14:44:55 +02:00
Jakob Nixdorf
505db3946e
Initial implementation of OpenPGP exports (WIP) 2017-07-14 12:57:49 +02:00
Jakob Nixdorf
1bcc8ff210
Add author information and a link for bug reports to the About activity 2017-07-13 13:24:41 +02:00
Jakob Nixdorf
b5dcd2b337
Move the about dialog to a new activity 2017-07-13 12:18:46 +02:00
Jakob Nixdorf
d693d331ae
Use a separate activity for the backup functions 2017-07-12 17:51:15 +02:00
Jakob Nixdorf
e2c1050c50
Re-organize the layout files 2017-07-12 17:08:37 +02:00
Jakob Nixdorf
62dd05949d
Move save and load to the adapter 2017-07-12 11:53:27 +02:00
Jakob Nixdorf
e9fa576850
Organize strings depending on their activity 2017-07-12 11:46:32 +02:00
Jakob Nixdorf
3dc386511c
Add a finishWithResult function to the SettingsActivity 2017-07-12 11:35:26 +02:00
Jakob Nixdorf
bd0ca92b2b
Rename settings layout to a more general fragment container 2017-07-12 10:25:09 +02:00
Jakob Nixdorf
561f451577
Move the FloatingActionMenu to the main content 2017-07-12 10:05:01 +02:00
Jakob Nixdorf
02c50293aa
Bump version to 0.2.0 2017-07-10 20:04:28 +02:00
Jakob Nixdorf
92b47fc6d3
Rename settings category 2017-07-07 10:54:03 +02:00
Jakob Nixdorf
2b634c9a3e
Implement manual entry of details 2017-07-07 08:50:37 +02:00
Jakob Nixdorf
3063c290f2
Speed up animations of the FloatingActionMenu 2017-07-07 07:55:01 +02:00
Jakob Nixdorf
adab17c88b
Implement basic authentication using device credentials on Android 5+ 2017-07-06 17:16:41 +02:00
Jakob Nixdorf
a923b2f499
Improve the description of tap-to-reveal in the settingsj 2017-07-06 15:18:53 +02:00
Jakob Nixdorf
bc1f8002fa
Don't hide already revealed entries on OTP update 2017-07-06 12:11:30 +02:00
Jakob Nixdorf
937ddcfb23
Add Settings Activity and settings for Tap-to-reveal 2017-07-06 12:06:41 +02:00
Jakob Nixdorf
1bb25b889b
Fix color of the visible drawable 2017-07-06 12:04:21 +02:00
Jakob Nixdorf
0265a069aa
Clean up and re-organize all strings 2017-07-06 10:34:53 +02:00
Jakob Nixdorf
c31b8e9c86
Rename SettingsHelper to DatabaseHelper 2017-07-06 08:54:38 +02:00
Jakob Nixdorf
ae073a7591
Add an initial tap-to-reveal function
Settings to dis-/enable this option will follow
2017-07-06 07:54:15 +02:00
Jakob Nixdorf
2d6cd4e203
Update to the newest version of ZXing Android Embedded 2017-07-05 13:09:47 +02:00
Jakob Nixdorf
975233829a
Add initial implementation of a FloatingActionMenu for future use 2017-07-05 12:42:11 +02:00
Jakob Nixdorf
8a1b379b30
Move the Entry store completely to the adapter 2017-07-05 08:45:44 +02:00
Jakob Nixdorf
10842f73ae
Initial work to support multiple types of tokens 2017-07-05 08:35:14 +02:00
Jakob Nixdorf
6a029f0915
Fix adapter update after QR code scan 2017-07-05 08:34:44 +02:00
Jakob Nixdorf
58ef2bc2ff
Refactor SettingsHelper and move read/write functions to a new class 2017-07-05 08:34:11 +02:00
Jakob Nixdorf
159c28dd0d
Fix the animator duration the easy and consistent way 2017-07-04 17:22:06 +02:00
Jakob Nixdorf
d09cc06ee6
Remove the corner radius 2017-07-04 15:21:37 +02:00
Jakob Nixdorf
0a5124207d
Make the RecyclerView searchable 2017-07-04 14:31:52 +02:00
Jakob Nixdorf
6275207362
Minor stylistic fix for the about dialog 2017-07-04 08:56:14 +02:00
Jakob Nixdorf
43260855e2
Replace the Snackbar with a Toast message 2017-07-04 08:39:02 +02:00
Jakob Nixdorf
d78e630015
Add a button to copy a token to the clipboard 2017-07-04 08:33:40 +02:00
Jakob Nixdorf
fc42a16320
Minor fixes to the popup menu button 2017-07-03 23:08:02 +02:00
Jakob Nixdorf
260a7d522d
Add a remove option to the popup menu 2017-07-03 22:52:42 +02:00
Jakob Nixdorf
ffc649c613
Remove old edit drawable 2017-07-03 16:52:39 +02:00
Jakob Nixdorf
24d38a84c6
Remove non-default period label if not applicable 2017-07-03 16:50:55 +02:00
Jakob Nixdorf
3ddd8788c7
Add menu to the entries to rename 2017-07-03 16:48:53 +02:00
Jakob Nixdorf
76fd504c46
Fix some strings and AlertDialog.Builder calls 2017-07-03 15:50:09 +02:00
Jakob Nixdorf
1ecd0f81c1
Fix the Animator duration scale bug 2017-07-03 15:45:32 +02:00
Jakob Nixdorf
806dcb6962
Show a label if the entry has a non-default period 2017-07-03 13:06:43 +02:00
Jakob Nixdorf
19f24024fe
Fix small error in the handling of non-default periods 2017-07-03 13:06:40 +02:00
Jakob Nixdorf
fca15fe068
Fix comparison for the Entry class 2017-07-03 10:35:48 +02:00
Jakob Nixdorf
44d1823c65
Simplify some strings 2017-07-03 08:26:21 +02:00
Jakob Nixdorf
20b81bf41c
Confirm before removing an account 2017-07-03 08:18:05 +02:00
Jakob Nixdorf
5440cb96c7
Fix up the about dialog a little bit 2017-07-02 23:45:27 +02:00
Jakob Nixdorf
27af42e57d
Drop the no account message 2017-07-02 22:05:29 +02:00
Jakob Nixdorf
7e3748f18b
Fix some random bugs/deprecations 2017-07-02 21:51:32 +02:00
Jakob Nixdorf
ce6d04ce9e
Re-implement the edit label function 2017-07-02 18:42:49 +02:00
Jakob Nixdorf
806ab44912
Comment the MainActivity to make it a little easier to read 2017-07-02 17:44:27 +02:00
Jakob Nixdorf
0e4824de1b
Bump minSdkVersion to 19 (KitKat 4.4)
This is needed for the file selector dialog
2017-07-02 17:44:23 +02:00
Jakob Nixdorf
8ff8a75248
Add a selector to the export function 2017-07-02 17:37:09 +02:00
Jakob Nixdorf
24e55b5dea
Refactor SettingsHelper a little 2017-07-02 17:06:09 +02:00
Jakob Nixdorf
c7a75f6612
Implement import function 2017-07-01 16:33:26 +02:00
Jakob Nixdorf
3d18fde9cf
Check if the external storage is accessible before writing 2017-07-01 15:11:09 +02:00
Jakob Nixdorf
7f0784b6bb
Add initial export function to save the database as plain-text JSON file 2017-06-30 18:16:16 +02:00
Jakob Nixdorf
6e68141638
Drop unencrypted storage on Android versions below 4.3 2017-06-30 16:31:12 +02:00
Jakob Nixdorf
0324218735
Re-implement reorder and delete (drag&drop and swipe) 2017-06-30 15:59:28 +02:00
Jakob Nixdorf
d7df8fcc19
Change corner radius for the cards 2017-06-30 14:18:04 +02:00
Jakob Nixdorf
dd76989062
Update the OTP token only if needed, not every second 2017-06-30 14:12:06 +02:00
Jakob Nixdorf
0118279b4d
Improve the progress bar 2017-06-29 17:10:18 +02:00
Jakob Nixdorf
3a42bbfba4
Switch from ListView to CardView
TODO: Re-implement delete, rename and reorder
2017-06-29 15:14:46 +02:00
Jakob Nixdorf
b4a7bf57e9
Use vector assets for the FAB 2017-06-29 13:50:53 +02:00
Jakob Nixdorf
564d8c0207
Some layout and color improvements 2017-06-28 16:14:59 +02:00
Jakob Nixdorf
f4affbb6fa
Improve about dialog 2017-06-28 15:24:58 +02:00
Jakob Nixdorf
65f918c05f
New logo for my fork 2017-06-28 15:24:47 +02:00
Jakob Nixdorf
5342624b60
Add initial support for a custom TOTP period for each entry 2017-06-28 15:24:47 +02:00
Jakob Nixdorf
89b89661bc
Add license headers to all Java files 2017-06-28 15:24:47 +02:00
Jakob Nixdorf
c00109aacf
Rebrand my fork as andOTP 2017-06-28 15:24:41 +02:00
Jakob Nixdorf
96a41e3464
Update target SDK, gradle and modules. 2017-06-28 15:13:30 +02:00
Bruno Bierbaumer
b12e0036f2 Fix Android M (6.0) Camera Runtime Persmission 2015-12-23 19:59:05 +01:00
Bruno Bierbaumer
260f234d61 refactor out some hardcoded string (more to follow), increment version 2015-12-21 20:57:19 +01:00
Bruno Bierbaumer
ef22f5fcc5 fix bug when otp was not updated when Activity was not visible 2015-12-19 14:23:21 +01:00
Bruno Bierbaumer
51f3bbc9d4 prepare version 0.1.1 2015-12-19 13:49:46 +01:00
Bruno Bierbaumer
332f539e87 pause animation code on background, change no account added string 2015-12-19 01:19:17 +01:00
Bruno Bierbaumer
08dcb6df3c small clean up, add missing xxxhdpi icon 2015-11-26 12:58:37 +01:00
Bruno Bierbaumer
eb850a7ea6 update version 2015-11-25 23:03:37 +01:00
Bruno Bierbaumer
58a0bbae24 tests: only delete keystore when it's actually available 2015-11-24 14:28:45 +01:00
Bruno Bierbaumer
3f6d97da43 update to floating button 2015-11-24 12:24:29 +01:00
Bruno Bierbaumer
4df9800d08 fix gradle typo 2015-11-23 23:21:38 +01:00
Bruno Bierbaumer
dc110ce72c more linter warning, disable linter for now 2015-11-23 23:18:56 +01:00
Bruno Bierbaumer
0b74ecbf05 more linter clean up 2015-11-23 22:57:32 +01:00
Bruno Bierbaumer
faec1dfd88 initial code dump 2015-11-23 22:20:14 +01:00