Commit Graph

655 Commits (v1.2.1-release)

Author SHA1 Message Date
Michael Schättgen b6a31e798f Select and focus password on failed unlock attempt 6 years ago
Michael Schättgen 5ebb714d05 Fix setting the preferred theme 6 years ago
Alexander Bakker 9958f73926 Set the Activity theme before calling super.onCreate (#84)
This fixes a NullPointerException that would occur when restoring from
savedInstanceState due to getSupportActionBar returning null. It also removes
the theme definitions from AndroidManifest as we override those anyway.
6 years ago
Alexander Bakker 0fb33744ae Update Krop to 0.44 (#83) 6 years ago
Alexander Bakker 6d26d1beb0 Fix the last couple of sorting bugs (#77)
This fixes the following bugs:
- Sort category is forgotten after lock/unlock
- The sort mode is not respected for new entries

I got a little carried away while working on this patch and also included the
following other enhancements:
- Simplify the SortCategory, Theme and ViewMode enums
- Simplify usage of string resources
- Don't call notifyDataSetChanged and runLayoutAnimation unnecessarily
6 years ago
Alexander Bakker 0a8dd56306 Escape apostrophes in the French translation 6 years ago
mdmk 8a8d714901 French translation and small changes to english strings. (#59)
* Typos in strings

- Double space.
- Missing verb in sentence. "need" makes sense here.
- Equal is a verb suitable for speaking of strings. For a final user, identical is more understandable.

* French translation
6 years ago
Alexander Bakker 9893b2f057 Add support for importing encrypted andOTP backups
This also refactors dialog_newgroup to serve as a generic text input dialog
6 years ago
Alexander Bakker 47df8968c7 Refactor database importer logic
Summary:
- Combine app and file importers into one type
- Split encrypted and plain text file logic into separate DatabaseImporter.State
  classes
- Add an abstract FileReader class that can handle reading from apps and files

The idea is that every importer implements its own UI logic to obtain
credentials for decryption through a dialog. Aegis databases are still an
exception to this rule as it still uses an Activity to ask for credentials. This
will be addressed in a future patch.

As a result of this change all app importers are now also available under
"Import from file".
6 years ago
Alexander Bakker 33b4b4b7ab
Merge pull request #72 from michaelschattgen/feature-selectentries
Add ability to select entries when importing
6 years ago
Michael Schättgen 21fd8fdd8d Add ability to select entries when importing
Move onScroll to seperate class to avoid duplicate code

Move importing logic back to the PreferencesFragment

Add minor changes

Add ImportEntry to properly track checked states

Minor layout changes
6 years ago
Alexander Bakker afb9e59711 Fix a bug where the password encode function added trailing null bytes
Funny story. Instead of	obtaining the actual bytes from the ByteBuffer in the
password encode function, we obtained the entire buffer. This caused some
trailing null bytes to be added to the encoded password. Luckily (and
strangely), PBKDF2 produces collisions for inputs with trailing null bytes and
thus scrypt does this as well. As such, this bug doesn't affect us right now,
but it would if we were to use that encode function for other purposes in the
future.

This also adds a test that checks for the expected collision behavior of scrypt.
6 years ago
Michael Schättgen 2de9b96138 Add ability to scan image for QR code 6 years ago
Alexander Bakker f4678e2813 Release v0.3.3 6 years ago
Michael Schättgen b958145761 Fix bug where parsing otp codes was impossible
Y I K E S
6 years ago
Alexander Bakker feea9a2e67 Fix crash when trying to auto lock a locked vault 6 years ago
Alexander Bakker ebb9d0be3f Make app importer path lookup more dynamic
Also fixes a crash in SteamAppImporter that occurred with empty dirs
6 years ago
Alexander Bakker f5cbec21f4 Release v0.3.2 6 years ago
Alexander Bakker cb01fb21d3 Remove extra translations to fix lint errors in release mode 6 years ago
Alexander Bakker c5be99e58d Release v0.3.1 6 years ago
Alexander Bakker 92458d0d3b Move setGlobalDurationScale to AegisActivity
Also, rename the method and make the error string translatable
6 years ago
Michael Schättgen 5d835b05ee
Merge pull request #56 from ByteHamster/krop-color
Darkened Krop color
6 years ago
Michael Schättgen 2a47fa4de5 Add method to set global duration scale
Fixes #35
6 years ago
Alexander Bakker 553cb16bc4
Merge pull request #57 from ByteHamster/arrays
Strings.xml cleanup
6 years ago
ByteHamster 47f8c9e648 Strings cleanup
- Removed unused strings
- Moved arrays to their own file, so translators do not have to deal with arrays
6 years ago
ByteHamster a415ef573e Show keyboard automatically 6 years ago
ByteHamster ffa2577cc2 Darkened Krop color 6 years ago
Alexander Bakker 2a0daae155 Fix crash that occurred when scheme of the URI in a QR code is missing 6 years ago
Michael Schättgen b41e328d22 Add ability to translate themes and viewmodes
Closes #50
6 years ago
Michael Schättgen 1ac42d85d6
Merge pull request #53 from alexbakker/feature-autolock
Add an option to automatically lock the app
6 years ago
Michael Schättgen 685a791aba
Merge pull request #49 from zaggo0/master
Add Dutch translations
6 years ago
Michael Schättgen 89a1663e28 Fix bug where entries didn't get sorted properly 6 years ago
Alexander Bakker 0563ac917a Fix some rare crashes when restoring the app after termination
Also fixes an issue where the app shortcuts would not work for unencrypted vaults
6 years ago
Patrick van der Linden 719ef3bc71 Add Dutch translations
+ Fix preference groups not being translated
6 years ago
Alexander Bakker 18fd88a441 Add an option to automatically lock the app
This adds an option to automatically lock the app when:
* The back button is pressed
* The device is locked

It's the first step towards implementing #7
6 years ago
Alexander Bakker 6d93b78f9a Fix a crash on KitKat when clearing the KeyStore
Apparently KitKat doesn't like KeyPermanentlyInvalidatedException
6 years ago
Alexander Bakker 4365a693f2 Get Cipher back from FingerprintManager,CryptoObject after auth 6 years ago
Alexander Bakker 14fa493ac9 Remove keys from the KeyStore when disabling encryption or fingerprint 6 years ago
Alexander Bakker 36e3dd559c Normalize formatting and 'optimize' imports 6 years ago
Michael Schättgen b7cf234db6 Add smaller view mode
Closes #39
6 years ago
Alexander Bakker f27dc54ec4 Release v0.3 6 years ago
Alexander Bakker 4c1dec613c Fallback to a 30 second period if an andOTP doesn't provide one 6 years ago
Alexander Bakker a251685002 Add a dialog that displays a list of errors that occurred during import 6 years ago
Alexander Bakker 118221e3df Add support for Steam tokens to the andOTP importer
Close #44
6 years ago
Alexander Bakker 1dd5f893da Add support for Steam OTP 6 years ago
Michael Schättgen a46640f43d Fix recreate when setting view mode 6 years ago
Michael Schättgen a293078603 Add way to set view mode 6 years ago
Michael Schättgen f3ed79dc71 Add ability to change view mode 6 years ago
Michael Schättgen ee8fd2e9f2 Hide divider in compact mode when progressbar is visible 6 years ago
Michael Schättgen 8b9ec5f976 Start working on compact mode 6 years ago
Michael Schättgen d283eae7a0 Add russian strings for authentication methods
#43
6 years ago
Michael Schättgen a854db760c
Merge pull request #41 from ferhadnecef/stringlate-ru-1048
Updated ru (Russian) translation
6 years ago
Michael Schättgen bbf967e2b7 Add a way to save current sorting method 6 years ago
Michael Schättgen b9d011b48e Disable drag and drop when list is sorted 6 years ago
Michael Schättgen ecdadf5335 Add SortCategory fixes and support for custom sorting 6 years ago
Michael Schättgen 10b80442d0 Comparators will now ignore casing 6 years ago
Michael Schättgen 62025d1053 Add way to check for reversed sort categories 6 years ago
Michael Schättgen 09fe550a28 Add AccountNameComparator 6 years ago
Michael Schättgen 07aac1e6a3 Add support for reversed sorting methods 6 years ago
Michael Schättgen b8939b504e Start working on entry sorting 6 years ago
Alexander Bakker 592c6683c3 Continue importing entries even if one can't be parsed 6 years ago
ferhad.necef f8edac72ea Updated ru (Russian) translation 6 years ago
Alexander Bakker fc0e1150f6 Replace hardcoded encoding names with constants 6 years ago
Michael Schättgen ede9f93a59 Release v0.2.2 6 years ago
Michael Schättgen c6c0eb88e9 Fix true black theme in all activities
Closes #32. Also tested on API 19.
6 years ago
Michael Schättgen a4ff9d6d31 Fix crash in API 19 6 years ago
Michael Schättgen f7c32bc28b Improve theme based texts 6 years ago
Michael Schättgen 59c0ca947d Add workaround for amoled themed preferences 6 years ago
Michael Schättgen a7ac1adb80 Convert dark mode preference to select theme preference 6 years ago
Michael Schättgen 17204cc026 Add status bar color for true dark theme 6 years ago
Michael Schättgen cf4aecbd3e Refactor dark mode to allow multiple themes 6 years ago
Michael Schättgen 9baaf824c6 Start working on amoled / true black theme
#32
6 years ago
Michael Schättgen eb172fc54e Merge branch 'master' of https://github.com/alexbakker/Aegis 6 years ago
Michael Schättgen e99762b814 Change global progressbar color to improve visibility
As part of #34
6 years ago
Alexander Bakker 75c37a454f Release v0.2.1 6 years ago
Michael Schättgen 554d7e17be Fix NullPointerException when deleting tokens 6 years ago
Alexander Bakker 52e4c5cd51 Release v0.2 6 years ago
Alexander Bakker 14b8ba89c8 Fix the last couple of issues with tap-to-reveal 6 years ago
Alexander Bakker 7f1cea4202 Remove accidentally committed file 6 years ago
Alexander Bakker 29aa81765b Rewrite the HOTP/TOTP code to be more compact and support more digits 6 years ago
Alexander Bakker 066a7447c0 Support an arbitrary number of digits 6 years ago
Michael Schättgen a5778e6b38 Show/Hide action button depending on scroll direction 6 years ago
Michael Schättgen cebf15ba44 Add ability to adjust tap to reveal timeout 6 years ago
Michael Schättgen 16bf195ac0 Fix bug in codeIsRevealed when recycling entries 6 years ago
Michael Schättgen d57fc8b79a Add tap to reveal preference to results 6 years ago
Michael Schättgen 0e6828fae1 Add ability to tap to reveal codes 👀 6 years ago
Alexander Bakker ad1d3f04a6 Add support for importing from Google Authenticator
Close #29
6 years ago
Alexander Bakker 40a5e03c0a Release v0.1.1 6 years ago
Alexander Bakker dc742892e4 Make import errors a bit more specific 6 years ago
Alexander Bakker 49f868357e Strip the padding before decoding base32 6 years ago
Alexander Bakker 82e1c1f270 Fix the layout height of the security setting slide in the intro 7 years ago
Alexander Bakker 44f3b7860d Update README.md 7 years ago
Alexander Bakker 62425511a1 Rename package to com.beemdevelopment.aegis 7 years ago
Alexander Bakker ceb03de240 Check the result code of GroupManagerActivity 7 years ago
Alexander Bakker b28691c274 Decouple GroupManagerActivity from the global application state 7 years ago
Michael Schättgen ec5be68ff2 Fix backpressing on GroupManagerActivity 7 years ago
Michael Schättgen 1071192156 Add animation to recyclerview 7 years ago
Michael Schättgen 4f0fea8a88 Add subtitle when setting group filter 7 years ago
Michael Schättgen bb15b9983f Fix groupname dialog title 7 years ago
Michael Schättgen 6db8260f4a Delete group button now works properly 7 years ago
Michael Schättgen feeada3e2d Start working on ability to remove groups 7 years ago
Michael Schättgen ae0b4b5a37 Add seperate dialog for creating groups
To improve layout
7 years ago
Alexander Bakker 324df53df5 Fix a crash that occurred when trying to load the group list too early 7 years ago
Alexander Bakker 4967a572d4 Fix a bug where FLAG_SECURE was unnecessarily applied to dialogs 7 years ago
Alexander Bakker 2ce259255d Add a 'group' field to entries for filtering from the main view 7 years ago
Michael Schättgen d0e60cec75 Fix build by removing reference 7 years ago
Michael Schättgen 85541b9ddf Merge branch 'master' of https://github.com/alexbakker/Aegis 7 years ago
Michael Schättgen 7f4703ef17 Remove ImagePicker library 7 years ago
Alexander Bakker 3a46558af7 Fix help text that's displayed after keystore key invalidation 7 years ago
Alexander Bakker 0b23b21ce6 Update dependencies 7 years ago
Alexander Bakker 1b09c7bb69 Fix mixup of EnableEncryptionListener and SetPasswordListener logic
I somehow managed to mix the logic of these two up
7 years ago
Alexander Bakker 9827fbc4ff Add an icon to the end slide of the intro
Fixes #22
7 years ago
Alexander Bakker fafb1ae8d0 Set FLAG_SECURE on all dialogs
Fixes #2
7 years ago
Alexander Bakker 9dc1b954d4 Use AtomicReference instead of an array where needed 7 years ago
Alexander Bakker 80b1967693 Make fingerprint unlock toggleable
Also:
- Fix a bug where setting the password would clear the key slot list
- Show the "Key slots" preference if multiple slots of one kind exist
7 years ago
Alexander Bakker 926b5139da Fix crash when processing QR code content with a bad URI format 7 years ago
Michael Schättgen a651378315 Added icon to onboarding
Fixes #19
7 years ago
Michael Schättgen 1cdcf19d01 Made key slots preference only visible in debug mode
Closes 21
7 years ago
Michael Schättgen 461e4a2d41 Added preference to change password
Closes #20
7 years ago
Michael Schättgen 8b6d2694cc Extracted all class hardcoded string 7 years ago
Michael Schättgen e2bff70109 Extracted all layout hardcoded strings 7 years ago
Alexander Bakker 36907660e8 Restructure the code in the Slot classes a bit 7 years ago
Alexander Bakker 0434513820 Refactor the database classes to be more reusable 7 years ago
Alexander Bakker 571cf20eda Reapply the preference fix library
Close #14
7 years ago
Alexander Bakker 507bf3ac90 Change the default colors of the TextDrawable color generator 7 years ago
Alexander Bakker ad0dfab5ee Don't ignore serialization exceptions in cloneEntry 7 years ago
Alexander Bakker 5f9559de75 Improve database entry change detection in EditProfilActivity 7 years ago
Alexander Bakker 3435a4077e Finish updating to API 28
Also temporarily disable the preference fix library
7 years ago
Michael Schättgen 2152e2617f Migrated project to AndroidX 7 years ago
Alexander Bakker 66fe809538 Remove unused assets 7 years ago
Alexander Bakker ecbbcfee00 Fix a crash when importing an entry with an existing UUID
Close #11
7 years ago
Michael Schättgen 300fb05c1f Added manifest parameters for debugging 7 years ago
Michael Schättgen 2d370bf885 Merge branch 'master' of https://github.com/alexbakker/Aegis 7 years ago
Michael Schättgen 8b1469c930 Added support for done button on keyboard 7 years ago
Alexander Bakker 51d3171eea Fix a crash caused by a null FingerprintManager 7 years ago
Alexander Bakker 0a942ecd14 Remove option to add extra password key slots 7 years ago
Michael Schättgen 54c85a09de Switched issuer with account name 7 years ago
Michael Schättgen cebf933c18 Introslide layout improvements 7 years ago
Michael Schättgen ec2cfb4442 Added new icon 📷 7 years ago
Michael Schättgen ddedcfb7f1 Improved EditEntryActivity layout 7 years ago
Alexander Bakker 740c1fcab9 Hide the timeout preference as it's not functional yet 7 years ago
Alexander Bakker 631274860d Update gradle and don't explicitly specify buildToolsVersion
Also alphabetically sort dependencies
7 years ago
Alexander Bakker a2e5504eef Some misc fixes 7 years ago
Alexander Bakker 152cc8b562 Reorganize the auth/intro activity logic a bit 7 years ago
Alexander Bakker 75a91ce191 Also ask for camera permissions when launching through an app shortcut 7 years ago
Alexander Bakker 3f979843c7 Fix the andOTP and FreeOTP importers 7 years ago
Alexander Bakker 7129a16a44 Fix a crash that would occur while moving an entry during a refresh 7 years ago
Alexander Bakker 476643a81c Try to fix progressbar visibility one last time 7 years ago
Alexander Bakker 4e74c5beb9 Fix a bug that caused TextDrawable to not be displayed 7 years ago
Alexander Bakker 606d6e77e9 Fix serialization of entry icons and some other stuff 7 years ago
Alexander Bakker 8419e1f35d Correctly enable/disable the fingerprint option in the intro 7 years ago
Alexander Bakker 9c0ce4210c Ask for storage permissions before showing the dialog on import 7 years ago
Alexander Bakker 04dbb71cd7 Merge remote-tracking branch 'origin/custom-images' 7 years ago
Michael Schättgen 0f0c6d998c Minor bugfix 7 years ago
Michael Schättgen f9e716391c Added way to remove custom images 7 years ago
Alexander Bakker ec67a27fa9 Make sure the progressbars don't take up any space when hidden 7 years ago
Michael Schättgen 97eb3490d8 MainActivity is now using CircleImageView too 7 years ago
Michael Schättgen 34b6cf944f ProfileHolder now shows correct image 7 years ago
Michael Schättgen 11b195aab3 Added (de)serialization for the custom images 7 years ago
Alexander Bakker d27d54f811 Fix a number of kitkat compatibility bugs 7 years ago
Michael Schättgen d8bfe2e947 User is now able to crop custom images 7 years ago
Alexander Bakker 3f01a0a3da Get rid of all uses of double brace initialization
The way this feature is implemented in java is absolutely ridiculous
7 years ago
Michael Schättgen 04e6e36811 Started working on custom profile images 7 years ago
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
7 years ago
Michael Schättgen 8b280ddbb0 Added minor improvements to the Intro 7 years ago
Alexander Bakker da37b5175e Finish up HOTP support
Close #1
7 years ago
Alexander Bakker 3aba0f3f47 Generate TextDrawable based on issuer and use account name as fallback 7 years ago
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
7 years ago
Alexander Bakker 9859011a6d Abstract the refresh loop away into a helper class 7 years ago
Alexander Bakker 3f3863a187 Finish work on the single progressbar for db's with uniform periods 7 years ago
Michael Schättgen 8a8cb94c16 Started working on a single progressbar when all periods are the same 7 years ago
Alexander Bakker 964fc72fba Don't try to catch exceptions that'll never be thrown 7 years ago
Alexander Bakker 66ea357f08 Fix the style of BottomSheetDialog in dark mode
Close #12
7 years ago
Alexander Bakker b581cd17fc Improve the color of icons in dark mode
Close #4
7 years ago
Alexander Bakker b5c957d4d1 Prompt the user about unsaved changes in SlotManagerActivity
Close #13
7 years ago
Alexander Bakker be222cd877 Fix a NullPointerException in the intro 7 years ago
Alexander Bakker 972a1670eb Make preferences look decent (material) on KitKat
I have no idea what I'm doing
7 years ago
Alexander Bakker f8891c0225 Apply a hack to detect programmatic changes to SwitchPreference 7 years ago
Alexander Bakker cd781d3236 Add support for turning encryption on/off 7 years ago
Alexander Bakker 2400977629 Make the user select the app to import a db from (drop autodetect for now) 7 years ago
Alexander Bakker 7422b0cf53 Add support for importing plain text andOTP databases 7 years ago
Alexander Bakker fa607a7856 Some more dark mode theming fixes 7 years ago
Alexander Bakker c091d03473 Apply AppTheme.Fullscreen to ScannerActivity 7 years ago
Alexander Bakker 0ed58b4a01 Provide a default implementation of setPreferredTheme
And only override it if needed
7 years ago
Alexander Bakker 17d5d55823 Use switches instead of checkboxes in preferences 7 years ago
Alexander Bakker a681efcf2d Immediately apply the dark mode setting once it's changed 7 years ago
Alexander Bakker 4aa9374e0b Fix a crash that would occur because Preferences was initialized too early 7 years ago
Alexander Bakker 1ade4a3c4f Abstract preference queries away into a Preferences class 7 years ago
Alexander Bakker 9b6da0d3e3 Add a "Screen security" option that determines whether FLAG_SECURE is set 7 years ago
Alexander Bakker 4b9ec0cc9c Pick the right camera in onResume 7 years ago
Alexander Bakker 34d0134404 Support switching to the front-facing camera in ScannerActivity
Close #8
7 years ago
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
7 years ago
Alexander Bakker 3c2f62de26 Rename night mode to dark mode in the spots we missed 7 years ago
Alexander Bakker e45735faa1 Don't close the EditProfileActivity to show a delete entry dialog 7 years ago
Alexander Bakker da529608fa Don't leave the PreferencesActivity when managing slots 7 years ago
Alexander Bakker 7630bbfe25 Make sure permission request results are passed down to PreferencesFragment 7 years ago
Alexander Bakker 488e92d429 Abstract setting the thread priority away into ProgressDialogTask 7 years ago
Alexander Bakker b9381d13d2 Don't leave the PreferencesActivity when exporting a database 7 years ago
Alexander Bakker 6770ccd3b1 Add support for importing encrypted Aegis databases
Close #6
7 years ago
Alexander Bakker 7f09eb5535 Move PreferencesFragment to a separate file 7 years ago
Alexander Bakker 246d3d634e Don't leave the PreferencesActivity when importing a database 7 years ago
Alexander Bakker 002045c7c7 Set FLAG_SECURE on every activity 7 years ago
Alexander Bakker 4cd87b0452 Update dependencies
And make the isRunning function in AegisApplication a little easier to read
7 years ago
Michael Schättgen aaf7dbdb85 AdvancedSettings now automatically opens when creating a new profile 7 years ago
Michael Schättgen b0450cab8b Fixed setting 'Account name' 7 years ago
Michael Schättgen 32e81c5250 Color changes 7 years ago
Michael Schättgen ae686c8ae2 Improved darkmode
Closes #10
7 years ago
Alexander Bakker f6bbae3d96 Make backgroundTint consistent across all fields in EditProfileActivity
Also set the default visibility of the 'Advanced' layout to invisible
7 years ago
Michael Schättgen beee2d212d Improved styling 7 years ago
Michael Schättgen 22b3ca1dae Removed unused library 7 years ago
Michael Schättgen ec9581e0c4 Removed library and improved advanced settings 7 years ago
Michael Schättgen 211f228efa Added advanced settings to EditProfile view 7 years ago
Michael Schättgen a00bcfe2cb Fixed margin edit profile view 7 years ago
Alexander Bakker 0ad39ab673 Make the API of all encoding classes similar 7 years ago
Alexander Bakker 9c433f96cf Wrap the Base64 class to prevent a runtime exception for bad input 7 years ago
Alexander Bakker f1a03638a0 Make sure we only catch specific exceptions instead of catching them all 7 years ago
Alexander Bakker 97c57210f1 Add a UUID to database entries and slots to make merging databases easy
Also, some other fixes for database exporting
7 years ago
Alexander Bakker b27edb1b6b Update dependencies 7 years ago
Michael Schättgen 457f578102 Merge branch 'master' of https://github.com/alexbakker/Aegis 8 years ago
Alexander Bakker af2767af1b Move preference title/summary to strings.xml and add a timeout preference 8 years ago
Alexander Bakker b89927bb3e Fix the Aegis database importer 8 years ago
Alexander Bakker 587835ad38 Move to an entirely JSON encoded file for the database 8 years ago
Alexander Bakker 7eaffc933e Reorganize classes into separate packages 8 years ago
Alexander Bakker a778cd5661 Don't try to zero out sensitive memory
Perhaps revisit this later
8 years ago
Alexander Bakker 317e42ed4c Add preference categories and move the import button to preferences 8 years ago
Alexander Bakker 6672c18399 Get rid of the code change listener to fix the serializability of KeyProfile 8 years ago
Alexander Bakker 6e68d79816 Fix a crash on Kitkat. It doesn't like the KeyStoreHandle class for some reason 8 years ago
Alexander Bakker 3a3e4cc584 Disable editing slot names for now 8 years ago
Alexander Bakker a52c5b61c0 Display a message if all fingerprint slots have been invalidated 8 years ago
Alexander Bakker 576f908e01 Match slot ID's to keystore aliases 8 years ago
Alexander Bakker c24b691a26 Add an activity to manage database key slots 8 years ago
Alexander Bakker d5f796ca87 Refresh all codes in onResume 8 years ago
Alexander Bakker 9b960c7f34 Fix numerous layout issues in EditProfileActivity 8 years ago
Alexander Bakker abc0cd09ce Ask for storage permission instead of camera permission on import 8 years ago
Michael Schättgen 855f5e519f Merge branch 'master' of https://github.com/alexbakker/Aegis 8 years ago
Alexander Bakker 4f98d8764c Abstract some parts of the AsyncTasks away into ProgressDialogTask 8 years ago
Alexander Bakker ca210de78e Drop AddProfileActivity in favor of EditProfileActivity
Also automatically update the TextDrawable on name changes in EditProfileActivity
8 years ago
Michael Schättgen 5dd00391fe Merge branch 'master' of https://github.com/alexbakker/Aegis 8 years ago
Alexander Bakker 22c5237129 Improve the layout of EditProfileActivity a bit
It's still pretty broken
8 years ago
Alexander Bakker 6a122fb515 Add a copy icon 8 years ago
Alexander Bakker e3024eda47 Make replaceKey and removeKey functions rely on id's instead of instances 8 years ago
Alexander Bakker 7bc4f19cf0 Implement delete functionality of EditProfileActivity 8 years ago
Alexander Bakker 97f3d9e2c6 Improve manual entry validation 8 years ago
Alexander Bakker 4e6dea24c8 Fix a bug where manually entered profiles were added to the view twice 8 years ago
Alexander Bakker 22861548c9 Collapse the FAB menu on touch 8 years ago
Alexander Bakker 88670dfa96 Hide the delete menu item in EditProfileActivity if the key profile is new 8 years ago
Michael Schättgen c82cfca4f8 Minor styling improvements 8 years ago
Alexander Bakker 44139de212 Replace the FAB with a FAB menu and allow manually entering OTP details 8 years ago
Alexander Bakker 3a396fe3f6 Don't focus on an edittext by default in EditProfileActivity 8 years ago
Alexander Bakker fdf8da1f32 Pretty print the json of the database if it's exported in plain text 8 years ago
Alexander Bakker db54d38c14 Fix a couple of bugs in the new profile edit activity 8 years ago
Alexander Bakker 418f5aed29 Don't write the counter and id's to disk
Why do I keep changing my mind
8 years ago
Alexander Bakker cba38b7b57 Correctly display 8 digit codes 8 years ago
Alexander Bakker 07c3e43160 Add a new activity that allows editing key profiles 8 years ago
Alexander Bakker 05cfc0bc5f Converted old databases to using id's for entries 8 years ago
Alexander Bakker 043d70f190 Reintroduce id's for database entries 8 years ago
Alexander Bakker 4d425f5c68 Enable a vertical scrollbar on the recycler view 8 years ago
Alexander Bakker 6886a9b0f0 Set activity title in manifest instead of code 8 years ago
Alexander Bakker 3970ccf94e Fix another instance of the previously mentioned bug 8 years ago
Alexander Bakker 3e1c3ef3f1 Fixed a bug where AuthActivity was started with an unlocked database 8 years ago
Alexander Bakker 5aad0d62f9 Make sure the FAB is always displayed on top
Partially fixes API level 19 compatibility
8 years ago
Alexander Bakker da2f69f860 Use IvParameterSpec instead of GCMParameterSpec
Partially fixes API level 19 compatibility
8 years ago
Alexander Bakker 0a3e6e4d90 Only add SwirlView to views on API 23 and above
Partially fixes API level 19 compatibility
8 years ago
Alexander Bakker 725885d5ad Move getManager to FingerprintHelper
Partially fixes API level 19 compatibility
8 years ago
Alexander Bakker 1ac3cf9b58 Move app shortcut initialization to AegisApplication 8 years ago
Alexander Bakker 89c61eab3e Actually fix app shortcuts 8 years ago
Alexander Bakker 456069fbc7 Hopefully maybe partially fix app shortcuts 8 years ago
Alexander Bakker 950c6d0cf3 Move the recycler view to its own fragment 8 years ago
Alexander Bakker 0427164529 Never start the intro if the database file exists 8 years ago
Alexander Bakker ff214eaa4a Add more assertions to DatabaseManager 8 years ago
Alexander Bakker 2fce0f4dcc Make ScannerActivity fullscreen and locked in portrait mode 8 years ago
Alexander Bakker 93eeef142d Remove redundant permission request code from ScannerActivity 8 years ago
Alexander Bakker 782f24342c Refactor night mode code a bit 8 years ago
Alexander Bakker a140ba8506 Fix various issues by moving most global state logic out of MainActivity
* Move global state to a new class that overrides Application
* Make sure all preferences are stored in the same place and follow the same naming convention
8 years ago
Alexander Bakker 862533286b Make sure a fingerprint is enrolled before showing the fingerprint option 8 years ago
Alexander Bakker 1fd85e360a Update SDK and dependencies 8 years ago
Alexander Bakker 49a31551a0 Clean up and fix a couple of bugs in the otp update process 8 years ago
Alexander Bakker 181cdc4c2e Request permissions at runtime if needed 8 years ago
Alexander Bakker 03d0eb01f4 Request storage permissions in the intro 8 years ago
Alexander Bakker c3f16c2428 Fix an issue with duplicate activities on rotation 8 years ago
Alexander Bakker 094924cd1c Refresh the key profile list on pref_issuer changes
Looks like 6b56a24c274994135fac95ad03678b4c668d2db3 introduced a regression after all
8 years ago
Alexander Bakker a66d94a743 Improve key profile adapter notification code 8 years ago
Alexander Bakker ed86d6ac8e Split KeyProfile adapter and holder, clean stuff up and fix some bugs 8 years ago
Alexander Bakker ff38af8e6b Separate package id for debug builds 8 years ago
Alexander Bakker dbc79b49e8 Save the database after a drag-drop event and stop saving it on onStop 8 years ago
Alexander Bakker 17378937a9 Don't call notifyDataSetChanged in onResume
The call appeared to be useless. Feel free to revert if it isn't
8 years ago
Alexander Bakker 644a6d89fe Remove redundant casts
Android SDK 26 changed the signature of findViewById
8 years ago
Alexander Bakker f952ee7df9 Abstract the key profile list away from MainActivity 8 years ago
Alexander Bakker 461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 8 years ago
Alexander Bakker f26dfac1b6 Some more intro logic fixes 8 years ago
Alexander Bakker 7d5bd8f812 Add a project for a cli application and update dependencies 8 years ago
Alexander Bakker 87f7ebed74 Select the password radio button by default in the intro 8 years ago
Alexander Bakker 467a877a6d Fix a bug where the intro could never finish for plain text databases 8 years ago
Alexander Bakker 95638b359b Add basic support for exporting the database 8 years ago
Alexander Bakker 71eb487f85 Hopefully fix a bug where keys from a previously opened database would still be visible 8 years ago
Alexander Bakker 515e3a24eb Improve database file reading code 8 years ago
Alexander Bakker 4e10e5d514 Make Database return a read-only list on getKeys()
Also move some stuff around
8 years ago
Alexander Bakker b3079dabc2 Remove the 'id' field from database entries as it was unused 8 years ago
Alexander Bakker f4b9d4b45c Set title for the decryption error dialog 8 years ago
Alexander Bakker da4956cb3c Save the database on onStop instead of onPause 8 years ago