Commit graph

83 commits

Author SHA1 Message Date
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
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
07c3e43160 Add a new activity that allows editing key profiles 2017-12-27 22:04:22 +01:00
Alexander Bakker
4d425f5c68 Enable a vertical scrollbar on the recycler view 2017-12-27 13:08:02 +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
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
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
181cdc4c2e Request permissions at runtime if needed 2017-12-13 19:00:58 +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
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
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
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
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
Alexander Bakker
493ead1c68 Fix app shortcuts 2017-12-03 16:48:18 +01:00
Alexander Bakker
9286196811 Clean up the bottom sheet code a little 2017-11-27 21:38:02 +01:00
Alexander Bakker
daf81e02e6 Add some toast 2017-11-27 21:06:23 +01:00
Alexander Bakker
d922be3912 Decrypt the database on a separate thread and show a progress dialog 2017-11-27 18:24:55 +01:00
Alexander Bakker
277d76e467 Fix key profile sorting and simplify its logic a bit 2017-11-26 22:10:10 +01:00
Alexander Bakker
754a42b2c0 Abstract away otp refreshing 2017-11-26 19:50:05 +01:00
Alexander Bakker
f09d227378 Start the intro if the database file was not found 2017-11-26 19:27:03 +01:00
Alexander Bakker
c0bdd261b5 Clean things up a bit 2017-11-26 19:03:13 +01:00
Alexander Bakker
37e303626f Add an option to import a FreeOTP token file 2017-08-26 15:47:57 +02:00
Alexander Bakker
363fc789ef Get rid of the dummy scanner 2017-08-20 17:04:48 +02:00
Alexander Bakker
1ae9364c5e Add a lock button to the menu bar 2017-08-14 00:04:06 +02:00
Alexander Bakker
302c4802b7 Switch to a more flexible intro library 2017-08-13 19:51:54 +02:00
Alexander Bakker
3e2bb5b0b3 Support plain text databases 2017-08-06 21:45:27 +02:00
Alexander Bakker
722ea50b68 Add an activity to decrypt the database 2017-08-06 18:24:12 +02:00
Alexander Bakker
53e86db187 Start hooking up the intro to the database code
Fingerprint stuff has been left out for now
2017-08-06 18:21:01 +02:00
Alexander Bakker
c79c9f84dc Add remnant local changes 2017-08-06 18:21:01 +02:00
Impyy
3040276942 Make the slot lookup code a little nicer 2017-08-06 18:21:01 +02:00
Impyy
e3f4503967 Move the OTP stuff to a separate folder 2017-08-06 18:21:01 +02:00