Commit graph

268 commits

Author SHA1 Message Date
Alexander Bakker
b89927bb3e Fix the Aegis database importer 2018-02-14 22:09:02 +01:00
Alexander Bakker
587835ad38 Move to an entirely JSON encoded file for the database 2018-02-14 21:05:04 +01:00
Alexander Bakker
7eaffc933e Reorganize classes into separate packages 2018-02-13 21:17:21 +01:00
Alexander Bakker
a778cd5661 Don't try to zero out sensitive memory
Perhaps revisit this later
2018-02-13 21:01:27 +01:00
Alexander Bakker
317e42ed4c Add preference categories and move the import button to preferences 2018-02-13 20:24:00 +01:00
Alexander Bakker
6672c18399 Get rid of the code change listener to fix the serializability of KeyProfile 2018-02-13 19:42:04 +01:00
Alexander Bakker
6e68d79816 Fix a crash on Kitkat. It doesn't like the KeyStoreHandle class for some reason 2018-02-13 19:27:40 +01:00
Alexander Bakker
3a3e4cc584 Disable editing slot names for now 2018-02-13 13:29:01 +01:00
Alexander Bakker
a52c5b61c0 Display a message if all fingerprint slots have been invalidated 2018-02-13 13:25:13 +01:00
Alexander Bakker
576f908e01 Match slot ID's to keystore aliases 2018-02-10 17:20:41 +01:00
Alexander Bakker
c24b691a26 Add an activity to manage database key slots 2018-02-10 14:06:22 +01:00
Alexander Bakker
d5f796ca87 Refresh all codes in onResume 2018-02-09 20:02:12 +01:00
Alexander Bakker
abc0cd09ce Ask for storage permission instead of camera permission on import 2018-01-31 16:59:49 +01:00
Michael Schättgen
855f5e519f Merge branch 'master' of https://github.com/alexbakker/Aegis 2018-01-03 23:36:24 +01:00
Alexander Bakker
4f98d8764c Abstract some parts of the AsyncTasks away into ProgressDialogTask 2018-01-02 22:11:46 +01:00
Alexander Bakker
ca210de78e Drop AddProfileActivity in favor of EditProfileActivity
Also automatically update the TextDrawable on name changes in EditProfileActivity
2018-01-02 21:50:07 +01:00
Michael Schättgen
5dd00391fe Merge branch 'master' of https://github.com/alexbakker/Aegis 2018-01-02 20:29:41 +01:00
Alexander Bakker
e3024eda47 Make replaceKey and removeKey functions rely on id's instead of instances 2018-01-02 14:36:56 +01:00
Alexander Bakker
7bc4f19cf0 Implement delete functionality of EditProfileActivity 2018-01-01 22:54:03 +01:00
Alexander Bakker
97f3d9e2c6 Improve manual entry validation 2018-01-01 22:14:11 +01:00
Alexander Bakker
4e6dea24c8 Fix a bug where manually entered profiles were added to the view twice 2018-01-01 21:52:56 +01:00
Alexander Bakker
22861548c9 Collapse the FAB menu on touch 2018-01-01 21:11:40 +01:00
Alexander Bakker
88670dfa96 Hide the delete menu item in EditProfileActivity if the key profile is new 2017-12-30 14:21:21 +01:00
Michael Schättgen
c82cfca4f8 Minor styling improvements 2017-12-30 01:14:45 +01:00
Alexander Bakker
44139de212 Replace the FAB with a FAB menu and allow manually entering OTP details 2017-12-30 00:32:05 +01:00
Alexander Bakker
fdf8da1f32 Pretty print the json of the database if it's exported in plain text 2017-12-27 23:23:05 +01:00
Alexander Bakker
db54d38c14 Fix a couple of bugs in the new profile edit activity 2017-12-27 23:01:23 +01:00
Alexander Bakker
418f5aed29 Don't write the counter and id's to disk
Why do I keep changing my mind
2017-12-27 22:34:53 +01:00
Alexander Bakker
cba38b7b57 Correctly display 8 digit codes 2017-12-27 22:14:27 +01:00
Alexander Bakker
07c3e43160 Add a new activity that allows editing key profiles 2017-12-27 22:04:22 +01:00
Alexander Bakker
05cfc0bc5f Converted old databases to using id's for entries 2017-12-27 21:08:24 +01:00
Alexander Bakker
043d70f190 Reintroduce id's for database entries 2017-12-27 21:01:53 +01:00
Alexander Bakker
4d425f5c68 Enable a vertical scrollbar on the recycler view 2017-12-27 13:08:02 +01:00
Alexander Bakker
6886a9b0f0 Set activity title in manifest instead of code 2017-12-26 22:18:21 +01:00
Alexander Bakker
3970ccf94e Fix another instance of the previously mentioned bug 2017-12-26 19:29:47 +01:00
Alexander Bakker
3e1c3ef3f1 Fixed a bug where AuthActivity was started with an unlocked database 2017-12-26 14:40:28 +01:00
Alexander Bakker
da2f69f860 Use IvParameterSpec instead of GCMParameterSpec
Partially fixes API level 19 compatibility
2017-12-26 14:40:28 +01:00
Alexander Bakker
0a3e6e4d90 Only add SwirlView to views on API 23 and above
Partially fixes API level 19 compatibility
2017-12-26 14:40:28 +01:00
Alexander Bakker
725885d5ad Move getManager to FingerprintHelper
Partially fixes API level 19 compatibility
2017-12-26 14:39:47 +01:00
Alexander Bakker
1ac3cf9b58 Move app shortcut initialization to AegisApplication 2017-12-26 14:39:20 +01:00
Alexander Bakker
89c61eab3e Actually fix app shortcuts 2017-12-25 20:01:58 +01:00
Alexander Bakker
456069fbc7 Hopefully maybe partially fix app shortcuts 2017-12-25 19:02:46 +01:00
Alexander Bakker
950c6d0cf3 Move the recycler view to its own fragment 2017-12-25 15:36:29 +01:00
Alexander Bakker
0427164529 Never start the intro if the database file exists 2017-12-25 00:17:50 +01:00
Alexander Bakker
ff214eaa4a Add more assertions to DatabaseManager 2017-12-24 22:29:32 +01:00
Alexander Bakker
2fce0f4dcc Make ScannerActivity fullscreen and locked in portrait mode 2017-12-24 22:06:27 +01:00
Alexander Bakker
93eeef142d Remove redundant permission request code from ScannerActivity 2017-12-24 21:47:05 +01:00
Alexander Bakker
782f24342c Refactor night mode code a bit 2017-12-24 21:42:08 +01:00
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
2017-12-24 18:23:11 +01:00
Alexander Bakker
862533286b Make sure a fingerprint is enrolled before showing the fingerprint option 2017-12-23 18:29:46 +01:00