Commit graph

386 commits

Author SHA1 Message Date
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