Commit graph

154 commits

Author SHA1 Message Date
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
5aad0d62f9 Make sure the FAB is always displayed on top
Partially fixes API level 19 compatibility
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
Alexander Bakker
1fd85e360a Update SDK and dependencies 2017-12-13 22:36:55 +01:00
Alexander Bakker
49a31551a0 Clean up and fix a couple of bugs in the otp update process 2017-12-13 22:19:43 +01:00
Alexander Bakker
181cdc4c2e Request permissions at runtime if needed 2017-12-13 19:00:58 +01:00
Alexander Bakker
03d0eb01f4 Request storage permissions in the intro 2017-12-13 19:00:22 +01:00
Alexander Bakker
c3f16c2428 Fix an issue with duplicate activities on rotation 2017-12-13 16:39:03 +01:00
Alexander Bakker
094924cd1c Refresh the key profile list on pref_issuer changes
Looks like 6b56a24c274994135fac95ad03678b4c668d2db3 introduced a regression after all
2017-12-12 21:55:34 +01:00
Alexander Bakker
a66d94a743 Improve key profile adapter notification code 2017-12-12 21:28:09 +01:00
Alexander Bakker
ed86d6ac8e Split KeyProfile adapter and holder, clean stuff up and fix some bugs 2017-12-12 21:08:30 +01:00
Alexander Bakker
ff38af8e6b Separate package id for debug builds 2017-12-12 12:25:55 +01:00
Alexander Bakker
dbc79b49e8 Save the database after a drag-drop event and stop saving it on onStop 2017-12-12 03:14:26 +01:00
Alexander Bakker
17378937a9 Don't call notifyDataSetChanged in onResume
The call appeared to be useless. Feel free to revert if it isn't
2017-12-12 02:34:16 +01:00
Alexander Bakker
644a6d89fe Remove redundant casts
Android SDK 26 changed the signature of findViewById
2017-12-12 02:21:13 +01:00
Alexander Bakker
f952ee7df9 Abstract the key profile list away from MainActivity 2017-12-12 02:19:29 +01:00
Alexander Bakker
461f321626 Fix key profile order and clean up KeyProfileAdapter a bit 2017-12-12 01:50:00 +01:00
Alexander Bakker
f26dfac1b6 Some more intro logic fixes 2017-12-11 14:01:43 +01:00
Alexander Bakker
7d5bd8f812 Add a project for a cli application and update dependencies 2017-12-11 13:29:56 +01:00
Alexander Bakker
87f7ebed74 Select the password radio button by default in the intro 2017-12-10 19:30:01 +01:00
Alexander Bakker
467a877a6d Fix a bug where the intro could never finish for plain text databases 2017-12-10 19:24:47 +01:00
Alexander Bakker
95638b359b Add basic support for exporting the database 2017-12-10 19:19:48 +01:00
Alexander Bakker
71eb487f85 Hopefully fix a bug where keys from a previously opened database would still be visible 2017-12-08 19:09:35 +01:00
Alexander Bakker
515e3a24eb Improve database file reading code 2017-12-04 22:08:50 +01:00
Alexander Bakker
4e10e5d514 Make Database return a read-only list on getKeys()
Also move some stuff around
2017-12-04 21:23:49 +01:00
Alexander Bakker
b3079dabc2 Remove the 'id' field from database entries as it was unused 2017-12-04 21:06:13 +01:00
Alexander Bakker
f4b9d4b45c Set title for the decryption error dialog 2017-12-03 22:06:03 +01:00
Alexander Bakker
da4956cb3c Save the database on onStop instead of onPause 2017-12-03 22:00:46 +01:00
Alexander Bakker
41846f9114 Rework the import code a bit 2017-12-03 21:42:12 +01:00