Commit graph

931 commits

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