Commit Graph

903 Commits (v2.0.3-release)

Author SHA1 Message Date
Alexander Bakker 22a70ac626 Resize images to a max res of 640x480 before scanning for QR codes
I'm not sure why this works, but ZXing seems to have trouble with high
resolution images. For example, scanning a 4032x3024 image with a QR code in it
fails, but scanning a resized version of that exact same image works.
5 years ago
Alexander Bakker dd83b74251 Combine ACTION_PICK and ACTION_GET_CONTENT when selecting an image to scan
Also, only scan for QR codes, not all bar codes that ZXing supports.
5 years ago
Alexander Bakker 5a9da45a8e Strip " " and "-" when parsing secrets 5 years ago
Alexander Bakker cac13b082e Bump target SDK to 30 and update dependencies 5 years ago
orangenbaumblatt 33ff7da7af Show toast message if backup was created successfully 5 years ago
Alexander Bakker 01885e1fc6 Reset the PIN keyboard option when the password is changed
This fixes an issue where the PIN keyboard was shown after a password change,
regardless of whether it only contained digits or not.
5 years ago
Michael Schättgen 52d2713482
Merge pull request #564 from alexbakker/improve-auto-lock
Improve auto lock and make it more customizable
5 years ago
Alexander Bakker d875cb6baa Improve auto lock and make it more customizable
This patch makes the auto lock option more customizable. Users can now choose a
combination of the following: Locking Aegis when
- The back button is pressed
- The app is minimized
- The device is locked

<img src="https://alexbakker.me/u/rlj4y2u8pk.png" width="300">
5 years ago
Michael Schättgen 31d382d6ad Minor color improvements for dark themes 5 years ago
Alexander Bakker 141f491ca7
Merge pull request #571 from michaelschattgen/feature/wipe-entries
Add checkbox dialog to wipe vault before import
5 years ago
Michael Schättgen c0bbe50996
Merge pull request #572 from alexbakker/fix-159
Prevent a crash on rotation while a ProgressDialogTask is still running
5 years ago
Michael Schättgen 875c752f78
Merge pull request #570 from alexbakker/fix-double-add-crash
Prevent a crash caused by adding the same entry to the vault twice
5 years ago
Michael Schättgen 1d00a2d8d6
Merge pull request #569 from alexbakker/slot-tests
Add tests for the Slot classes
5 years ago
Alexander Bakker bb2716f640 Prevent a crash on rotation while a ProgressDialogTask is still running
This patch ensures ProgressDialogs are dismissed when the ON_PAUSE event is fired.
5 years ago
Michael Schättgen 0f6b0dddbe Add checkbox dialog to wipe vault before import
Only show dialog when vault contains entries

Add improvements from review
5 years ago
Alexander Bakker d43e5e04c7 Prevent a crash caused by adding the same entry to the vault twice
This could happen in rare cases where writing the vault to disk failed.
5 years ago
Alexander Bakker 4c86e154c1 Add tests for the Slot classes 5 years ago
Alexander Bakker a45c834b9c Add UI tests for deep links 5 years ago
Alexander Bakker b746ca0c6e Ignore deep link intents if the given URI is null 5 years ago
Alexander Bakker 7d38bc9b71
Merge pull request #567 from michaelschattgen/feature/group-manager-improvement
Add empty state for GroupManagerActivity
5 years ago
Alexander Bakker 9557b60c93
Merge pull request #566 from michaelschattgen/feature/fix-fab
Fix hidden FAB when list changes
5 years ago
Michael Schättgen 227b5fd87c Improve GroupManagerActivity 5 years ago
Michael Schättgen 7d063104dd Fix hidden FAB when list changes 5 years ago
Michael Schättgen c03d00695d
Merge pull request #563 from alexbakker/fix-lint-errors
Replace use of android:tint with app:tint to fix lint errors
5 years ago
Michael Schättgen 171c774b21
Merge pull request #562 from alexbakker/activity-test-rule
Don't use deprecated ActivityTestRule in UI tests
5 years ago
Alexander Bakker 97944aac88 Replace use of android:tint with app:tint to fix lint errors 5 years ago
Alexander Bakker 83c1914ddc Don't use deprecated ActivityTestRule in UI tests 5 years ago
Alexander Bakker d660fbc6d1 Update Gradle and dependencies 5 years ago
Alexander Bakker 35b5ce9d17 Release v1.3 5 years ago
Alexander Bakker 762fb9bccd Update translations from Crowdin 5 years ago
Alexander Bakker c3d38c18a3 Update the list of licenses of our dependencies 5 years ago
Alexander Bakker 28fcd68b72 Convert pref_backups_versions_summary to a plurals definition 5 years ago
Michael Schättgen 9bbc2886c2
Merge pull request #503 from shihern/master
Improve usability of drag-and-drop feature
5 years ago
Connor Lim 5886462d2c Improve usability of drag-and-drop feature 5 years ago
Alexander Bakker 233eeb6aa1 Replace some string definitions with plurals definitions 5 years ago
Alexander Bakker e5d162be9b Update translations (from Crowdin) 5 years ago
Isaac Maier 59e8c23a01 Grammar fix (setup -> set up) 5 years ago
Alexander Bakker 9e4313e138 Release v1.3-beta2 5 years ago
Alexander Bakker 02e01723b2 Invert PIN keyboard preference if statement 5 years ago
Alexander Bakker 874f5e9058 Remove merge conflict marker from styles.xml 5 years ago
Alexander Bakker 7518408554 Release v1.3-beta1 5 years ago
Alexander Bakker 0e78fd9652 Replace AppIntro with a new custom intro
This removes the dependency on AppIntro and replaces it with our own custom
intro implementation, backed by ViewPager2. We're doing this because we want a
more reliable and customizable onboarding for Aegis.

I've kept the design mostly the same as it was before, but tried to achieve a
bit of a cleaner look:

<img src="https://alexbakker.me/u/vsr3ahpjt6.png" width="200"> <img
src="https://alexbakker.me/u/efqid2ixly.png" width="200"> <img
src="https://alexbakker.me/u/oehmjm0rn9.png" width="200">
5 years ago
Michael Schättgen 9d44d6abb2
Merge pull request #540 from alexbakker/fix-nav-bar
Set the correct navigation bar color pre API 27
5 years ago
Michael Schättgen 42c308bc8f
Merge pull request #545 from alexbakker/clarify-pass-reminder
Rephrase the password reminder message to be a bit clearer
5 years ago
Michael Schättgen 20fb531f91
Merge pull request #526 from alexbakker/localize-everything
Make all remaining hardcoded strings translatable
5 years ago
Michael Schättgen b8b3da4f85
Merge pull request #537 from alexbakker/support-proprietary-authy
Support importing proprietary tokens from Authy
5 years ago
Michael Schättgen 7e403c2af6
Merge pull request #529 from alexbakker/fix-bioprompt-mixup
Fix behavior of AuthActivity under certain conditions
5 years ago
Michael Schättgen be0529a0c8
Merge pull request #527 from alexbakker/fix-131
Automatically focus the EditText when showing text/password dialogs
5 years ago
Alexander Bakker 9c5f136f5b Make all remaining hardcoded strings translatable
I'm pretty sure I got all of them, but it's possible the linter missed some.
5 years ago
Michael Schättgen 8c34ce8f38
Merge pull request #525 from alexbakker/icon-multi-intent
Combine ACTION_PICK and ACTION_GET_CONTENT when selecting an icon
5 years ago
Michael Schättgen 3cdf31f940
Merge pull request #519 from alexbakker/theme-fixes
Fix two minor issues in themes
5 years ago
Alexander Bakker 7059f3be74
Merge pull request #510 from michaelschattgen/feature/pin-keyboard
Add ability to enable PIN keyboard
5 years ago
Michael Schättgen 0c0e8c0d66 Add ability to enable PIN keyboard
Review fixes

Fix line
5 years ago
Alexander Bakker 06fd77b5f0 Rephrase the password reminder message to be a bit clearer 5 years ago
Alexander Bakker 9121922ef2 Set the correct navigation bar color pre API 27
Not very pretty, but I don't know of a better way.
5 years ago
Alexander Bakker 34888767ed Support importing proprietary tokens from Authy 5 years ago
linsui 61f2e6e020 Update Simplified Chinese Translation 5 years ago
Alexander Bakker ba3e6203ec Fix behavior of AuthActivity under certain conditions
- Properly use 'inhibitBioPrompt'
- Don't show the biometric prompt when a password reminder is needed
5 years ago
Alexander Bakker 906d1b453a Automatically focus the EditText when showing text/password dialogs 5 years ago
Alexander Bakker a9ccf412e7 Combine ACTION_PICK and ACTION_GET_CONTENT when selecting an icon 5 years ago
Alexander Bakker 21b588dc8b Add Arabic to the language list and sort it alphabetically 5 years ago
Alexander Bakker 90e5003418
Merge pull request #517 from nourserry/ar
Introducing Arabic language
5 years ago
Alexander Bakker f8cf87aae9
Merge pull request #513 from LucasVhc/portuguese-translation
Add brazilian portuguese translation
5 years ago
Sage Pointer a25dbc5cdd Add desugaring for Android < 7 compatibility 5 years ago
Alexander Bakker 2aa88a2921 Fix two minor issues in themes
- Neatly map configured themes to styles
- Make the dark NoActionBar themes inherit from Dark/AMOLED
5 years ago
Nour Serry 7fedb5ab83 Introducing Arabic language
Intitial Arabic language support.
All strings translated
5 years ago
Alexander Bakker 0eb9a25687 Add changelog of 1.2.1 and bump versionCode 5 years ago
Lucas 330e88c270 Add brazilian portuguese translation 5 years ago
Alexander Bakker de3d0d8515 Fix an issue where the progress bar refresher ran in a tight loop
If the animator scale setting is set to 0, the progress bar refresher would run
in a tight loop. This issue was introduced by
93cc945a2c and caused the UI tests to fail.
5 years ago
Alexander Bakker 57ef52d6ff
Merge pull request #502 from alexbakker/double-activity-guard
Guard against starting multiple instances of IntroActivity or AuthActivity
5 years ago
Alexander Bakker 189bd0d749 Guard against starting multiple instances of IntroActivity or AuthActivity
Apparently onResume of MainActivity is sometimes called even if it's not the top
level activity, causing IntroActivity or AuthActivity to be launched twice. This
patch (uglily) prevents that from happening.
5 years ago
Michael Schättgen 4ef8d9e826
Merge pull request #504 from alexbakker/fix-zero-div
Fix division by zero when calculating progress for large periods
5 years ago
Michael Schättgen 7bb8d28b3b
Merge pull request #499 from alexbakker/fix-bioprompt-some-more
Improve the lifecycle handling of BiometricPrompt some more
5 years ago
Michael Schättgen 94ebc08097
Merge pull request #498 from alexbakker/slot-null
Allow changing the password if no password slot is present
5 years ago
Michael Schättgen a3e14c57e4
Merge pull request #493 from alexbakker/fix-export-filename-again
Fix export filename (again)
5 years ago
Michael Schättgen b55bdf8f04
Merge pull request #489 from alexbakker/fix-keystore-catch
Fix catching ProviderException with KeyStoreException as the cause
5 years ago
Michael Schättgen 3e0a97dbe0
Merge pull request #488 from alexbakker/explain-backups
Clarify that backups are automatic in the preference summary
5 years ago
Michael Schättgen 9b13a56002
Merge pull request #487 from alexbakker/transfer-entry-buttons
Make the buttons in TransferEntriesActivity behave like actual buttons
5 years ago
Michael Schättgen 32c145b02d
Merge pull request #481 from alexbakker/no-singletask
Unset "singleTask" as the launchMode for MainActivity
5 years ago
Michael Schättgen 25b359a136
Merge pull request #474 from alexbakker/fix-sql-import
Fix the flakiness of importing from SQLite databases
5 years ago
Michael Schättgen 0eb338a0bf
Merge pull request #464 from alexbakker/ui-tests
Add initial set of UI tests
5 years ago
Michael Schättgen b59a29cff4
Merge pull request #462 from alexbakker/better-rtl
Improve RTL support
5 years ago
Michael Schättgen c252e77c5b
Merge pull request #461 from alexbakker/better-scanner
Replace barcodescanner with CameraX and ZXing
5 years ago
Alexander Bakker 44ca712186 Improve RTL support
This addresses most of the issues reported in #418. The intro is still broken, however.

<img src="https://alexbakker.me/u/m9wfihdw4a.png" width="300"/>
5 years ago
Alexander Bakker 93cc945a2c Fix division by zero when calculating progress for large periods 5 years ago
Alexander Bakker 68d6c39dd4 Improve the lifecycle handling of BiometricPrompt some more
This is a different take on what db681273e6 was
trying to accomplish, with the additional benefit that the prompt will now no
longer be shown on auto-lock.
5 years ago
Alexander Bakker 3a5a185940 Allow changing the password if no password slot is present 5 years ago
Alexander Bakker 3d351ece05 Fix export filename (again)
I managed to clobber the filename of exports with fec2f3ff94.
5 years ago
Alexander Bakker c65ed16790 Replace barcodescanner with CameraX and ZXing
This removes the dependency on ``me.dm7.barcodescanner:zxing`` and replaces it
with our own QR code scanner implementation using CameraX and ZXing. The main
reason for this change is to hopefully get better compatibility with obscure
devices. The barcodescanner library we were previously using seems unmaintained,
while Google is apparently putting a lot of effort into CameraX.

ScannerActivity has been almost entirely rewritten, but the functionality is
exactly the same as before.
5 years ago
Alexander Bakker 7c147befcb Fix catching ProviderException with KeyStoreException as the cause
We're looking for android.security.KeyStoreException as the cause of
ProviderException, not java.security.KeyStoreException. Unfortunately this is a
hidden class, so all we can do is check the class name.
5 years ago
Vstory df0c6b5fa8 Update Chinese translation 5 years ago
Alexander Bakker 2ae7ec33f1 Clarify that backups are automatic in the preference summary 5 years ago
Alexander Bakker b5fa6192b3 Make the buttons in TransferEntriesActivity behave like actual buttons 5 years ago
Michael Schättgen 721a3d2d27 Change hidden text to the 'Black circle' character 5 years ago
Alexander Bakker bf9173301c
Merge pull request #442 from orangenbaumblatt/feature/password-strength
Add password strength meter
5 years ago
Alexander Bakker e2cf6a40cb Unset "singleTask" as the launchMode for MainActivity
We don't actually need this, and I have a feeling that it may be causing some of
the inexplicable crashes we're seeing in the Play Console. For example:
apparently the app sometimes gets itself into a state where the vault is
unlocked, but the user is still shown AuthActivity (possibly due to it being
launched twice). I can't prove that "singleTask" causes this, as I can't
reproduce the issue on my device or an emulator, but it's the only odd thing we
have in our activity lifecycle handling.

Test plan:
- Go through the intro, add an entry, change some settings, etc
- See if the app shortcuts still work. Scenarios:
    - The app is terminated.
    - The app is locked.
    - MainActivity is open.
    - Some other activity is open.
- See if auto-locking still works. Scenarios:
    - The app is locked.
    - MainActivity is open.
    - Some other activity is open.
- Turn on "Don't keep activities" in developer options and repeat the above
  steps.
5 years ago
Alexander Bakker 291fd5427b Let Android handle the lifecycle of BiometricPrompt
We previously stopped/started the biometric prompt every time in
onPause/onResume, but that's apparently not necessary (and discouraged according
to the documentation). This caused issues where the prompt would get stuck on
some devices. While working on this I ran into another issue where AuthActivity
was closed and reopened for no reason after rotation of the device, compounding
the issue. This patch also fixes that.
5 years ago
Alexander Bakker 362f1da11f Fix the flakiness of importing from SQLite databases
This patch ensures that we also copy over any files related to the SQLite
database (databases-shm, databases-wal, databases-journal) when copying it from
an app's internal storage.
5 years ago
orangenbaumblatt cc33c63501 Add password strength meter
String refactor


Layout improvements


Layout improvements


Fixes after rebuild
5 years ago
Alexander Bakker 6e54497492 Release v1.2 5 years ago
Michael Schättgen 7cd48f1c09 Fix menu item title for transfer 5 years ago
Michael Schättgen 4c3d277fce
Merge pull request #465 from alexbakker/backup-error-bar
Improve backup error handling and frequency
5 years ago
Alexander Bakker 0b83546db7 Fix an issue where codes were not refreshed
Sometimes I get so enthusiastic when refactoring that I accidentally remove too
much. This issue was introduced in 98a38b03e4
5 years ago
Alexander Bakker 08ab8237e7 Improve backup error handling and frequency
This patch improves our backup functionality in a number of ways:
- Only backup the vault when important changes are made, not when the order of
  entries is changed, for instance.
- Don't bubble up backup errors when saving the vault.
- Instead, show an error bar in the main view if the most recent backup attempt
  failed.

<img src="https://alexbakker.me/u/kbhhj2hcgx.png" width="300" />

Clicking on the error bar will take the user to the backup settings.
5 years ago
Alexander Bakker 39ecfba3e4 Add initial set of UI tests
This patch adds an initial set of UI tests for Aegis built using Espresso. It
covers a fair bit of the essential functionality of the app, but there are lots
more tests we could add later on.

This also reconfigures our Travis CI build manifest to run the tests on API 21,
23, 27 and 28 emulators. It was a real pain to get this to work well, but let's
hope it's stable now.

I had to downgrade ``com.google.android.material`` to 1.0.0, because 1.1.0
introduced an issue where the test would hang.
5 years ago
Alexander Bakker ae5502b650 Release v1.2-beta5 5 years ago
Michael Schättgen 821d0b5147
Merge pull request #460 from alexbakker/fix-intro-back
Disable wizard mode when the done slide of the intro is reached
5 years ago
Alexander Bakker b4ed1f35ce Disable wizard mode when the done slide of the intro is reached
This fixes a number of issues that can happen when navigating back to previous
slides, by disabling back navigation entirely. One such issue is that when
navigating back from the last slide, one would always land on the
password/biometrics setup slide, even if "none" was selected on the security
picker slide.
5 years ago
Alexander Bakker a468342187
Merge pull request #455 from michaelschattgen/feature/lock-screen
Add lockscreen overhaul
5 years ago
Michael Schättgen 4f6035dc49 Add lockscreen overhaul 5 years ago
Michael Schättgen 506adcf81f
Merge pull request #459 from alexbakker/fix-371
Don't allow drag and drop if the entry list is filtered in any way
5 years ago
Michael Schättgen 49c8c2d57d
Merge pull request #458 from alexbakker/respect-anim-settings
Respect the global animator duration scale setting
5 years ago
Alexander Bakker 770f5f9724 Rename the security slides of the intro
These names make it a bit more clear what each slide is for
5 years ago
Alexander Bakker 992dcd651b Don't allow drag and drop if the entry list is filtered in any way 5 years ago
Alexander Bakker 98a38b03e4 Respect the global animator duration scale setting
This changes the way the TOTP progress bar works, so that we can respect the
global animator duration scale setting.
5 years ago
Michael Schättgen 626995ec91
Merge pull request #445 from alexbakker/fix-reminder
Fix an issue where the password reminder popup was not shown
5 years ago
Michael Schättgen 00b0c8deaf
Merge pull request #439 from alexbakker/copy-on-tap-option
Add an option to copy tokens on tap (and disable it by default)
5 years ago
Alexander Bakker b81ec0f073 Fix importing andOTP backups with more than 10000 PBKDF iterations
These larger numbers of iterations cause the key derivation process to take
longer, so I also moved that task to the background. andOTP now also has a
proper "issuer" field, so we make use of that as well.

Also fixes an issue where padded base32 could not be decoded. This issue is only
present for the andOTP importer as far as I know, so that's why that change is
included here.
5 years ago
Alexander Bakker d49d42254b Add an option to copy tokens on tap (and disable it by default) 5 years ago
Michael Schättgen 95d5b4afa1
Merge pull request #437 from alexbakker/fix-copy-anim
Fix issue where the copy animation continued after view holder rebind
5 years ago
Alexander Bakker cca8c9bdf7
Merge pull request #428 from michaelschattgen/feature/qr-transfer
Add ability to transfer tokens with qr codes
5 years ago
Michael Schättgen 4e00191039 Add ability to transfer tokens with qr codes
Add minor improvements

Add label to activity
5 years ago
Michael Schättgen dd09595866
Merge pull request #435 from alexbakker/fix-363
Don't add new entries to the view if restoring from instance state
5 years ago
Michael Schättgen b27bfc3fa9
Merge pull request #432 from alexbakker/fix-252
Improve icon editing flow
5 years ago
Michael Schättgen c6a9716d16
Merge pull request #431 from alexbakker/update-deps-again
Update dependencies and sort them alphabetically
5 years ago
Michael Schättgen acd7a54ee9
Merge pull request #430 from orangenbaumblatt/feature/improve-action-bar-consistency
Improve Action Bar consistency for Settings and About
5 years ago
lotusexpeditor 70fedc53b9
Add Turkish Translation 5 years ago
Alexander Bakker bed8c9172d Release v1.2-beta4 5 years ago
Michael Schättgen ef1ac3e5e9
Merge pull request #441 from alexbakker/fix-lock-crash
Fix crash that would occur when locking the screen with a locked vault
5 years ago
Alexander Bakker cc163f952f Fix an issue where the password reminder popup was not shown
We no longer create BiometricPrompt prematurely, but forgot to adjust the check for the password reminder.
5 years ago
Alexander Bakker 56d7f0ef7b Fix an issue where backups where enabled when exporting the vault
This is really stupid.
5 years ago
Alexander Bakker fbd6a5931e Fix crash that would occur when locking the screen with a locked vault 5 years ago
Alexander Bakker 66dd3561cf Release v1.2-beta3 5 years ago
Alexander Bakker 92b6738ff4 Fix issue where VaultManager was erroneously initialized with creds in intro
Also fixes another issue where previously, if a user made it to the last intro
slide and then navigated back to change the security options, any changes would
be ignored.
5 years ago
Alexander Bakker 63f57667ba Fix issue where the copy animation continued after view holder rebind 5 years ago
Alexander Bakker 34718a7b89 Don't add new entries to the view if restoring from instance state
Also addresses other potential issues with the same cause. Fixes #363.
5 years ago
orangenbaumblatt 6ac91e6cf3 Improve Action Bar consistency for Settings and About
Change Group Manager back icon
5 years ago
Alexander Bakker a39d6ab346 Improve icon editing flow
This improves the entry icon editing flow as suggested in #252:
- Add an "Edit icon" menu item
- Save the icon even if the checkmark was not clicked
- Exit icon edit mode with the back button

Close #252.
5 years ago
Alexander Bakker 91d89670d2 Update dependencies and sort them alphabetically 5 years ago
Alexander Bakker 6a2992530e Release v1.2-beta2 5 years ago
Alexander Bakker 1f839a886d Don't replace the Bouncy Castle security provider
We only use Bouncy Castle for scrypt, so replacing the security provider was a
nice to have. It's causing issues because Proguard removes Bouncy Castle
classes. As we just released a beta, this is a quick fix and we may revisit this
later.
5 years ago
Alexander Bakker 91f9a6756a Release v1.2-beta1 5 years ago
Michael Schättgen ffa31c7aa3 Update translations 5 years ago
Alexander Bakker 3c887d8392 Replace SpongyCastle with BouncyCastle
SpongyCastle is a fork of BouncyCastle. We originally used this fork to 1) have
access to scrypt and 2) prevent a package name collision with the bundled
BouncyCastle. We don't actually need to use the fork anymore, because the
package name of the bundled BouncyCastle was changed in Android. SpongyCastle
has also gotten quite outdated in recent years.

The built-in version of BouncyCastle is replaced with the one bundled with the
app at runtime, so that we have a recent version even on older Android versions.

This also updates Gradle and the Gradle Android plugin, to fix a build error I
was running into when I added the dependency to BouncyCastle.
5 years ago
Michael Schättgen b4d2b6b113
Merge pull request #410 from alexbakker/fix-0-byte-export
Reuse existing PreferencesFragment when restoring from instance state
5 years ago
Michael Schättgen fe40c4b952
Merge pull request #407 from alexbakker/auth-plus-zip4j
Import from ZIP for the Authenticator Plus, instead of SQLite databases
5 years ago
Alexander Bakker 9319c74932
Merge pull request #403 from michaelschattgen/feature/card-entry-overhaul
Add minor card entry layout overhaul
5 years ago
Michael Schättgen 1a24f62074 Increase password reminder period to 30 days 5 years ago
Alexander Bakker 1824d38f75 Import from ZIP for the Authenticator Plus, instead of SQLite databases 5 years ago
Alexander Bakker ccc990f854 Reuse existing PreferencesFragment when restoring from instance state
This fixes an issue where the existing PreferencesFragment was discarded when
restoring PreferencesActivity from instance state. This issue caused the
PreferencesFragment to no longer receive activity results. Most notably, this
resulted in 0 byte vault files being created when exporting the vault.
5 years ago
Alexander Bakker 56bde0e19b Add support for importing from the new Google Authenticator export QR codes 5 years ago
Alexander Bakker 49a7fda932 Display a warning if automatic time sync is not enabled
This'll display a warning to users who don't have automatic time synchronization
enabled on their device. Aegis will try to take the user to the right settings
menu if they tap "Yes". Users also have the option to silence the warning.

[<img width=300 src="https://alexbakker.me/u/jf1o8087lr.png">](https://alexbakker.me/u/jf1o8087lr.png)
5 years ago
Michael Schättgen 3a85a05078 Add minor card entry layout overhaul 5 years ago
Alexander Bakker cda78c56c5 Improve overall exception handling and error feedback to the user
The main goals of this patch are to:
- Improve the exception handling in Aegis and the way we present errors messages
  to the user when they occur.
- Write exception stack traces to the log in more places, so that the ADB logs
  we ask for from our users when reporting bugs become more useful.
- Reduce the amount of times we throw a RuntimeException, particularly when an
  Android Keystore operation fails.

Achieving the above goals ended up resulting in a very large refactor. The
intro and unlock flow of the app need to be retested entirely.
5 years ago
Michael Schättgen 499f930086
Merge pull request #400 from NotWoods/about-activity
Change license link color so it is legible on dark
5 years ago
Michael Schättgen 393b815409
Merge pull request #394 from alexbakker/update-appintro
Update AppIntro to 6.0.0
5 years ago
Michael Schättgen 984010dc7a
Merge pull request #392 from alexbakker/export-filename
Append a timestamp to the filename of exported vaults
5 years ago
Michael Schättgen 0bbc413423
Merge pull request #389 from alexbakker/edit-entry-fix
Write entries to the vault directly in EditEntryActivity
5 years ago
Michael Schättgen 98a90e3e1e
Merge pull request #388 from alexbakker/proguard
Minify and optimize the APK using ProGuard
5 years ago
Tiger Oakes 3ccbece822 Change license link color so it is legible on dark 5 years ago
Alexander Bakker 0f81233d4f Add the Hungarian translation to the settings menu 5 years ago
Alexander Bakker 301476ff5c Write entries to the vault directly in EditEntryActivity
This makes it so that EditEntryActivity directly saves entries to the vault,
instead of passing them back to MainActivity through an Intent first. This
prevents crashes that can occur when an entry has a large icon and the Bundle
inside the Intent becomes too large.

This is the first part of a series of patches I plan on submitting, where I try
to repair the damage done by my misguided obsession of only touching the global
state in certain places.
5 years ago
Balázs Meskó 842afe6745 Add Hungarian translation 5 years ago
Alexander Bakker bc5fa68de8 Update AppIntro to 6.0.0 5 years ago
Alexander Bakker fec2f3ff94 Append a timestamp to the filename of exported vaults
Close #297
5 years ago
Alexander Bakker 77718809ef Minify and optimize the APK using ProGuard
This enables some minification and optimization options to shrink the size of
our APK. A release APK would previously be 12 MB in size, but would now be 8.2
MB.

To test, check if *all* of the functionality of the app still works,
particularly parts that refer to dependencies. You'll know if ProGuard broke
something when the app crashes with a ``ClassNotFoundException`` or similar
exception. I think I've covered all of the cases where ProGuard removed too much
in the rule file.

Also, I was curious why our APK had gotten so large to begin with. I did some
digging and found that this is caused by the SQLCipher dependency. The APK
shrinks down to 2.7 MB without it! We should consider whether having support for
importing from Authenticator Plus is worth the extra 5.5 MB in size.
5 years ago
Michael Schättgen 7773a51f2a Use most frequent period to show progress 5 years ago
Michael Schättgen f68badb659
Merge pull request #377 from alexbakker/fix-weird-reminder-crash
Show the password reminder popup after the window has been attached
5 years ago
Michael Schättgen 4ea8501fa9
Merge pull request #369 from Timbals/master
automatically adapt to system theme
5 years ago
Alexander Bakker faf24e15bd Allow password reminder popup dismissal by typing
Close #379
5 years ago
Maxim Baz ad05e375f1
Show account name only if it's set 5 years ago
Alexander Bakker 8b30d451a4 Show the password reminder popup after the window has been attached
I noticed a strange crash in the Play Console:

```
android.view.WindowManager$BadTokenException:
  at android.view.ViewRootImpl.setView (ViewRootImpl.java:828)
  at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.jav>
  at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:93)
  at android.widget.PopupWindow.invokePopup (PopupWindow.java:1434)
  at android.widget.PopupWindow.showAsDropDown (PopupWindow.java:1284)
  at android.widget.PopupWindow.showAsDropDown (PopupWindow.java:1240)
  at android.widget.PopupWindow.showAsDropDown (PopupWindow.java:1219)
  at com.beemdevelopment.aegis.ui.AuthActivity.lambda$showPasswordRemi>
  at com.beemdevelopment.aegis.ui.-$$Lambda$AuthActivity$WWHxRKllBPcyH>
  at android.os.Handler.handleCallback (Handler.java:873)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:220)
  at android.app.ActivityThread.main (ActivityThread.java:6929)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (Runt>
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:870)
```

I can't reproduce this on my device, and we haven't received any reports from
users, but it would be pretty bad if Aegis crashes on some devices when showing
the password reminder popup. This patch is an attempt to fix that (see:
https://stackoverflow.com/a/33809860/12972657).
5 years ago
Lukas Marchesi 00e2e90aa7 Add setting to change from 3 digit group size to 2 digit group size 5 years ago
Tim Balsfulland f37d70b58e
automatically adapt to system theme
added two new theme options:
SYSTEM: dynamically switches between light and dark
SYSTEM_AMOLED: dynamically switches between light and amoled

reversed workaround for amoled themed preferences
launch screen now always follows the system theme
5 years ago
Michael Schättgen ad58960831 Fix bug where multiselect triggers copy animation
Fix multiselect
5 years ago
orangenbaumblatt 7ce74d378f
Added selection indicator in icon slot (#344)
Changed selection color for black theme


Changed indicator color to black secondary


Fix indicator flickering when scrolling


Applied patch


Fix unsharp selection icon


Add selection indicators to small and compact view
5 years ago
Michael Schättgen 8c0ba2dd1b
Merge pull request #366 from alexbakker/steam-otpauth
Add support for otpauth://steam URI's
5 years ago
Michael Schättgen 016c64610e
Merge pull request #359 from alexbakker/othauth-importer
Add support for importing a plain text Google Authenticator URI file
5 years ago
Michael Schättgen c578543e18
Merge pull request #341 from alexbakker/backups
Add support for backups
5 years ago
Alexander Bakker d247750e62
Merge pull request #323 from michaelschattgen/feature-copied
Improve method to notify users on copy
5 years ago
Alexander Bakker 4a69e9efb4 Add support for backups
Allow users to select a folder where automatic backups will be created. This
also bumps minSdkVersion to 21.
5 years ago
Michael Schättgen b43bac37db Improve method to notify users on copy
Add minor code improvements
5 years ago
Alexander Bakker 0c7b41747e Add support for otpauth://steam URI's
Close #343
5 years ago
Alexander Bakker 8fda6937a5 Add support for importing a plain text Google Authenticator URI file
This is the "standard" format discussed in #138.
5 years ago
Alexander Bakker 0a4a933a2a Rename "profile" text to "entry" 5 years ago
Vstory 866466d158
Update Chinese translation (#337)
* Update Chinese translation

* Remove extra characters
5 years ago
orangenbaumblatt 6885463b11 Keep groups when importing from Authenticator Plus 5 years ago
Alexander Bakker a273fdaa1d
Merge pull request #326 from andreysaksonov/master
Update Russian localization for new strings
5 years ago
orangenbaumblatt dc0f7c4668 Added Database Import from Authenticator Plus
Added copyright notice


Rearrange item position in import dialog


Refactor SqlImportHelper to support SQLCipher


Improved stream handling
5 years ago
Andrey Saksonov ba7fe15a57
update Russian localization 5 years ago
Alexander Bakker 3d51b84188
Merge pull request #325 from michaelschattgen/fix-confirm-password
Improve confirm password functionality
5 years ago
Andrey Saksonov 9e355c8e52
update Russian localization 5 years ago
Andrey Saksonov 9ce0982191
update Russian localization 5 years ago
Andrey Saksonov f543802f9e
Merge remote-tracking branch 'upstream/master' 5 years ago
Andrey Saksonov 32aecadf75
update Russian localization 5 years ago
Michael Schättgen d39e3d7b90 Improve confirm password functionality 5 years ago
Michael Schättgen bd66659b92 Set confirmation not required on BiometricPrompt 5 years ago
Alexander Bakker 1a7a794dc9 Bump versionCode to 29
The APK released to the Play Store has versionCode set to 29 instead of 28,
because the update had to be resubmitted due to an erroneous rejection by
Google.
5 years ago
Michael Schättgen 2519633265
Merge pull request #318 from alexbakker/fix-bna
Make the parsing logic of the QR code URI more robust
5 years ago
Michael Schättgen e38121efee
Merge pull request #306 from alexbakker/atomic-file
Protect writes of the vault file against corruption with AtomicFile
5 years ago