Commit graph

316 commits

Author SHA1 Message Date
Alexander Bakker
476643a81c Try to fix progressbar visibility one last time 2018-06-07 18:00:47 +02:00
Alexander Bakker
cae77b085c Update testdata 2018-06-07 17:34:55 +02:00
Alexander Bakker
4e74c5beb9 Fix a bug that caused TextDrawable to not be displayed 2018-06-07 15:23:23 +02:00
Alexander Bakker
606d6e77e9 Fix serialization of entry icons and some other stuff 2018-06-07 14:33:33 +02:00
Alexander Bakker
8419e1f35d Correctly enable/disable the fingerprint option in the intro 2018-06-07 12:42:25 +02:00
Alexander Bakker
9c0ce4210c Ask for storage permissions before showing the dialog on import 2018-06-07 12:34:20 +02:00
Alexander Bakker
04dbb71cd7 Merge remote-tracking branch 'origin/custom-images' 2018-06-07 12:27:42 +02:00
Michael Schättgen
9ec5525547 Merge branch 'master' of https://github.com/alexbakker/Aegis 2018-06-07 00:36:48 +02:00
Michael Schättgen
0f0c6d998c Minor bugfix 2018-06-07 00:36:27 +02:00
Michael Schättgen
f9e716391c Added way to remove custom images 2018-06-07 00:30:49 +02:00
Alexander Bakker
ec67a27fa9 Make sure the progressbars don't take up any space when hidden 2018-06-07 00:21:52 +02:00
Michael Schättgen
97eb3490d8 MainActivity is now using CircleImageView too 2018-06-06 23:53:33 +02:00
Michael Schättgen
34b6cf944f ProfileHolder now shows correct image 2018-06-06 22:31:14 +02:00
Michael Schättgen
11b195aab3 Added (de)serialization for the custom images 2018-06-06 22:22:38 +02:00
Alexander Bakker
d27d54f811 Fix a number of kitkat compatibility bugs 2018-06-06 22:03:17 +02:00
Michael Schättgen
d8bfe2e947 User is now able to crop custom images 2018-06-06 21:57:38 +02:00
Alexander Bakker
3f01a0a3da Get rid of all uses of double brace initialization
The way this feature is implemented in java is absolutely ridiculous
2018-06-06 21:30:24 +02:00
Michael Schättgen
04e6e36811 Started working on custom profile images 2018-06-06 21:26:09 +02:00
Alexander Bakker
c3f94b37c8 Use GCM instead of a hash to check master key integrity
This is the last database format change before the initial release, probably
2018-06-06 19:38:13 +02:00
Michael Schättgen
8b280ddbb0 Added minor improvements to the Intro 2018-06-06 18:01:35 +02:00
Alexander Bakker
da37b5175e Finish up HOTP support
Close #1
2018-06-06 17:23:40 +02:00
Alexander Bakker
3aba0f3f47 Generate TextDrawable based on issuer and use account name as fallback 2018-06-06 16:30:57 +02:00
Alexander Bakker
4a4ab1a82c Bunch of refactoring
- Get rid of KeyProfile and use DatabaseEntry directly
- Don't store Google auth style urls in the db, but use separate fields
- Update testdata to reflect db format changes
- Lay the ground work for HOTP support
- Refactor KeyInfo and split it into OtpInfo, TotpInto and HotpInfo
- Surely some other stuff I forgot about
2018-06-06 16:15:31 +02:00
Alexander Bakker
9859011a6d Abstract the refresh loop away into a helper class 2018-06-05 19:03:29 +02:00
Alexander Bakker
3f3863a187 Finish work on the single progressbar for db's with uniform periods 2018-06-05 18:52:31 +02:00
Michael Schättgen
8a8cb94c16 Started working on a single progressbar when all periods are the same 2018-06-05 15:50:08 +02:00
Alexander Bakker
964fc72fba Don't try to catch exceptions that'll never be thrown 2018-06-05 15:49:00 +02:00
Alexander Bakker
66ea357f08 Fix the style of BottomSheetDialog in dark mode
Close #12
2018-05-14 21:39:44 +02:00
Alexander Bakker
b581cd17fc Improve the color of icons in dark mode
Close #4
2018-05-14 21:30:21 +02:00
Alexander Bakker
b5c957d4d1 Prompt the user about unsaved changes in SlotManagerActivity
Close #13
2018-05-14 21:02:51 +02:00
Alexander Bakker
be222cd877 Fix a NullPointerException in the intro 2018-05-14 18:49:28 +02:00
Alexander Bakker
972a1670eb Make preferences look decent (material) on KitKat
I have no idea what I'm doing
2018-05-14 18:45:15 +02:00
Alexander Bakker
f8891c0225 Apply a hack to detect programmatic changes to SwitchPreference 2018-05-14 17:26:17 +02:00
Alexander Bakker
cd781d3236 Add support for turning encryption on/off 2018-05-14 16:53:27 +02:00
Alexander Bakker
2400977629 Make the user select the app to import a db from (drop autodetect for now) 2018-05-13 21:58:41 +02:00
Alexander Bakker
7422b0cf53 Add support for importing plain text andOTP databases 2018-05-13 19:42:59 +02:00
Alexander Bakker
fa607a7856 Some more dark mode theming fixes 2018-05-12 12:32:33 +02:00
Alexander Bakker
c091d03473 Apply AppTheme.Fullscreen to ScannerActivity 2018-05-12 11:52:32 +02:00
Alexander Bakker
0ed58b4a01 Provide a default implementation of setPreferredTheme
And only override it if needed
2018-05-11 21:53:06 +02:00
Alexander Bakker
17d5d55823 Use switches instead of checkboxes in preferences 2018-05-11 21:33:05 +02:00
Alexander Bakker
a681efcf2d Immediately apply the dark mode setting once it's changed 2018-05-11 21:30:15 +02:00
Alexander Bakker
4aa9374e0b Fix a crash that would occur because Preferences was initialized too early 2018-05-11 21:29:10 +02:00
Alexander Bakker
1ade4a3c4f Abstract preference queries away into a Preferences class 2018-05-11 20:08:51 +02:00
Alexander Bakker
9b6da0d3e3 Add a "Screen security" option that determines whether FLAG_SECURE is set 2018-05-11 19:33:20 +02:00
Alexander Bakker
4b9ec0cc9c Pick the right camera in onResume 2018-05-11 16:32:36 +02:00
Alexander Bakker
34d0134404 Support switching to the front-facing camera in ScannerActivity
Close #8
2018-05-11 16:31:18 +02:00
Alexander Bakker
7be5d08a60 Rework theming a bit to partially fix dark mode on dialogs
Dark mode is still not great, but at least it's a little less broken now
2018-05-11 15:15:50 +02:00
Alexander Bakker
3c2f62de26 Rename night mode to dark mode in the spots we missed 2018-05-10 23:32:20 +02:00
Alexander Bakker
e45735faa1 Don't close the EditProfileActivity to show a delete entry dialog 2018-05-10 23:12:08 +02:00
Alexander Bakker
da529608fa Don't leave the PreferencesActivity when managing slots 2018-05-10 21:46:27 +02:00