Commit graph

1222 commits

Author SHA1 Message Date
Michael Schättgen
5dd00391fe Merge branch 'master' of https://github.com/alexbakker/Aegis 2018-01-02 20:29:41 +01:00
Alexander Bakker
22c5237129 Improve the layout of EditProfileActivity a bit
It's still pretty broken
2018-01-02 18:49:35 +01:00
Alexander Bakker
6a122fb515 Add a copy icon 2018-01-02 16:02:25 +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
3a396fe3f6 Don't focus on an edittext by default in EditProfileActivity 2017-12-27 23:59:36 +01:00
Alexander Bakker
0aabc0b130 Add a test database that can be used by developers to test with 2017-12-27 23:25:28 +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
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