Commit Graph

483 Commits (68bb2b7e171f051da7903f4ff1a41a1cc1294889)

Author SHA1 Message Date
Alexander Bakker 68bb2b7e17 Release v1.0.3 5 years ago
Alexander Bakker b1d9be10f2 Add support for the new andOTP backup format
This patch adds support for the new backup file format of andOTP. andOTP has
improved their security by switching from SHA-256 to PBKDF2 to derive the key
for encrypted backups.

Glad to see this has been addressed now. Awesome work, @flocke!

See: andOTP/andOTP@d96b037.
(cherry picked from commit a5165e2345)
5 years ago
Michael Schättgen 1d513441c6 Release v1.0.2 6 years ago
Michael Schättgen 0a31103f91 Disable automatic backups through Google Play
Backups from the Google Play Store had some unintended consequences...
6 years ago
Michael Schättgen 85bf4adc72 Enable and fix search feature again
For some reason we used the old SearchView. Changed it to androidx.appcompat.widget.SearchView and it works on Huawei devices again.
6 years ago
Alexander Bakker cc55a6dacb Release v1.0.1 6 years ago
Alexander Bakker e099e2cacd Add missing null check in onBackPressed for SearchView 6 years ago
Michael Schättgen 658946ff70 Temporarily disable search feature when unavailable
Which isn't working on Huawei devices
6 years ago
Alexander Bakker b6a31ed789 Release v1.0 6 years ago
Michael Schättgen 3e626a37db Add AboutActivity
Add DialogStyles for different themes

Add review fixes

Remove unused usings
6 years ago
Alexander Bakker e2150e3823
Merge pull request #194 from michaelschattgen/feature-empty-dataset
Add placeholder for empty recyclerview
6 years ago
Michael Schättgen 6480fef315 Add placeholder for empty recyclerview 6 years ago
Alexander Bakker 95df2ceb42
Merge pull request #193 from michaelschattgen/fix-icon-onboarding
Fix app icon in IntroActivity
6 years ago
Michael Schättgen 189698dddb
Merge pull request #189 from alexbakker/entry-defaults
Set a default value for period and digits for new entries
6 years ago
Michael Schättgen 438d5581aa Fix app icon in IntroActivity 6 years ago
Alexander Bakker 7af78b11f5
Merge pull request #192 from michaelschattgen/feature-fixbackpress
Add temporary backpress fix
6 years ago
Michael Schättgen a7e1a88dc8 Add temporary backpress fix 6 years ago
Alexander Bakker 79279630ba Fix all linter errors
Well almost all, just ignore missing translation errors
6 years ago
Alexander Bakker e019fb6db2 Set a default value for period and digits for new entries
This is also in preparation for #24, but I haven't fully figured out how to do
that nicely yet, so that'll come later.
6 years ago
Alexander Bakker 85bdecc573 Fix syntax error in the XML file of the German translation 6 years ago
Andrey Saksonov 21f3d93295 Update Russian localization (#170) 6 years ago
xopez 888e9d0e4a Added German Translation (#188)
* Added German Translation

* Update arrays.xml
6 years ago
Alexander Bakker e6d84e6859 Release v1.0-beta1 6 years ago
Alexander Bakker 65371f18d4
Merge pull request #184 from michaelschattgen/feature-setgroupautomatically
Set group on new entries automatically when group filter is active
6 years ago
Michael Schättgen 1b5ab33c25 Add way to pass selected group to edit entry activity 6 years ago
Michael Schättgen c774796422 Change auto lock preference visibility behaviour 6 years ago
Alexander Bakker c12c6ab107
Merge pull request #173 from michaelschattgen/feature-tapholdswipe
Overhaul entry interaction
6 years ago
Michael Schättgen e3b9b67fee
Merge pull request #181 from alexbakker/fix-152
Check for the possibility of an overflow when parsing OTP period
6 years ago
Michael Schättgen 2407b4b780 Overhaul entry interaction
Add support for different card background colors
Add minor bug fixes
Add minor fixes

Fix minor bugs where action mode kept active
6 years ago
Michael Schättgen e962d91c77
Merge pull request #177 from alexbakker/fix-175
Correctly display codes with an uneven number of digits
6 years ago
Michael Schättgen d0afa2f61f Fix app icon 6 years ago
Alexander Bakker 58d13ba9e3 Check for the possibility of an overflow when parsing OTP period
The conversion of the OTP period value to milliseconds may overflow for large
values, causing the result to wrap around to Integer.MIN_VALUE. This
subsequently caused a crash when calling ObjectAnimator.setDuration.
6 years ago
Alexander Bakker 631ca76136 Correctly display codes with an uneven number of digits 6 years ago
Alexander Bakker 2323d89938 Introduce UUIDMap for storing objects that are keyed by a UUID
This patch introduces the new ``UUIDMap`` type, reducing code duplication and
making UUID lookups faster. We currently already use UUIDs as the identifier for
the ``DatabaseEntry`` and ``Slot`` types, but the way lookups by UUID work are
kind of ugly, as we simply iterate over the list until we find a match. As we're
probably going to have more types like this soon (groups and icons, for
example), I figured it'd be good to abstract this away into a separate type and
make it a map instead of a list.

The only thing that has gotten slower is the ``swap`` method. The internal
``LinkedHashMap`` retains insertion order with a linked list, but does not know
about the position of the values, so we basically have to copy the entire map to
simply swap two values. I don't think it's too big of a deal, because swap
operations still take less than a millisecond even with large vaults, but
suggestions for improving this are welcome.

I had to update gradle and JUnit to be able to use the new ``assertThrows``
assertion method, so this patch includes that as well.
6 years ago
Michael Schättgen 6769fefd00
Merge pull request #106 from alexbakker/feature-import-freeotp+
Add support for importing from FreeOTP+
6 years ago
Alexander Bakker 5dbf1c7ce2
Merge pull request #172 from michaelschattgen/feature-otpauthuri
Add support for deeplinking otpauth uris
6 years ago
Michael Schättgen 8d3c113475 Add support for deeplinking otpauth uris
Fix bug
6 years ago
Alexander Bakker 087bf08d44
Merge pull request #169 from michaelschattgen/feature-showpassword
Add ability to toggle password visibility
6 years ago
Michael Schättgen 32b2ce280c
Merge pull request #144 from alexbakker/fix-lag-part1
Unregister any listeners when destroying EntryListView
6 years ago
Michael Schättgen 37c9b033c5
Merge pull request #141 from alexbakker/pref-lang
Add a language option to the preference menu
6 years ago
Alexander Bakker f8d806999d
Merge pull request #157 from BM835/master
Updated Russian translation
6 years ago
Michael Schättgen 86c4011797
Merge pull request #158 from alexbakker/fix-150
Get external storage read permissions before selecting an image to scan
6 years ago
Michael Schättgen bbc4c1d61c Add ability to toggle password visibility 6 years ago
Alexander Bakker 951e908d4b
Merge pull request #148 from michaelschattgen/feature-notification
Add notification to warn user about the unlock state
6 years ago
Michael Schättgen 1f5a46b883 Add notification to warn user about the unlock state
Clean up code

Add minor changes
6 years ago
Michael Schättgen 4cab47235b Add new icon 6 years ago
Kasper Seweryn a3cdfe693d
Fix #162 6 years ago
Alexander Bakker 9e4ad1495d Get external storage read permissions before selecting an image to scan
Fixes #150
6 years ago
BM835 914da94c01 Updated Russian translation 6 years ago
Alexander Bakker 950dcce803 Unregister any listeners when destroying EntryListView
We were leaking some resources by not unregistering listeners when destroying
the entry list view. The code refresh loop of the leaked view started running in
a tight infinite loop, which causes a lot of lag in the main activity.
6 years ago