Commit graph

1154 commits

Author SHA1 Message Date
Alexander Bakker ce9a15b7bc Allow filtering by "No group"
This is a continuation of #830

Close #826, #830
2022-05-22 13:11:34 +02:00
Alexander Bakker 3b1035b5e1 Reset the action bar subtitle when the back button is pressed 2022-05-22 12:02:23 +02:00
Alexander Bakker 239d8740be
Merge pull request #912 from CristianAUnisa/screen-rotation-bugfix-686
Restore search query on screen rotation
2022-05-22 11:55:01 +02:00
CristianAUnisa 49130cee73 Restore search query on screen rotation 2022-05-07 16:15:30 +02:00
Alexander Bakker 0909341caa Improve QR reader efficiency and support inverted QR codes 2022-05-01 19:22:20 +02:00
Alexander Bakker 81d5915969
Merge pull request #908 from CristianAUnisa/bitwarden-remote
Add Bitwarden importer
2022-04-30 13:13:42 +02:00
CristianAUnisa 8d4a687817 Add Bitwarden importer
Added license notice for Simple Flat Mapper

Added Steam secret support to Bitwarden importer

https://bitwarden.com/help/authenticator-keys/#steam-guard-totps

Added tests
2022-04-24 16:55:38 +02:00
Alexander Bakker b0e8d041d0
Merge pull request #904 from CristianAUnisa/dont-hide-fab-on-keydown
Don't hide "Add entry" button when a DPad key is pressed
2022-04-21 19:00:52 +02:00
CristianAUnisa ca49cd4df5 Don't hide "Add entry" button when DPAD key is pressed 2022-04-21 18:49:41 +02:00
Alexander Bakker beadf4db8b Use requireContext, requireActivity and requirePreference where possible 2022-04-10 18:44:25 +02:00
Alexander Bakker f7b4cceb81 Remove unused SlotAdapter and SlotHolder 2022-04-10 18:14:00 +02:00
Alexander Bakker 86b86fef10 Pass current values to Dialog functions instead of reading from prefs 2022-04-10 17:48:26 +02:00
Alexander Bakker 927ea50c33 Ignore JSON exceptions in getUsageCounts instead of printing them 2022-04-10 17:12:19 +02:00
Alexander Bakker 339a31b0f3 Show a backup reminder if auto backups are not enabled
If the user doesn't have auto backups enabled, the reminder will pop up
up every time a significant change is made to the vault.

Users can get rid of the reminder by:
- Creating an export
- Enabling automatic backups (either ours or Android backups will do)
2022-04-10 17:12:12 +02:00
Alexander Bakker cf9fbf081c Don't print the exception of readVaultFile if the file was not found 2022-04-10 14:46:41 +02:00
Alexander Bakker d4557065ea Disable the MissingQuantity lint check to fix the build 2022-04-10 14:41:55 +02:00
Alexander Bakker d0c8c5fae4 Update Gradle and dependencies 2022-04-09 18:28:15 +02:00
Alexander Bakker b8fa67304a Release v2.0.3
(cherry picked from commit 32ee0915a7)
2022-03-27 21:58:31 +02:00
Alexander Bakker 903948d57c Stop using dependency injection in AegisBackupAgent
Because the app launches in a restricted mode when restoring a backup,
dependency injection with Dagger Hilt doesn't work inside BackupAgent. This
would cause backup restore operations to fail. This issue got introduced by the
recent switch to Dagger Hilt, which has not been included in a release of Aegis
yet.
2022-03-16 14:43:13 +01:00
Alexander Bakker 71eb6b133c Remove SlotManagerActivity from AndroidManifest 2022-03-06 14:54:36 +01:00
Alexander Bakker 6f66706685 Don't pass MIME type along when selecting icon pack file to import
Fixes #757
2022-03-06 13:55:12 +01:00
Alexander Bakker 6d8a8c066c Remove unused string resources 2022-03-06 13:49:40 +01:00
Alexander Bakker baa3cac5a4 Remove slot manager activity
We don't really use this anymore, and it was only available for debug builds anyway
2022-03-06 13:33:57 +01:00
Alexander Bakker 71f2b54deb Use Dagger Hilt for dependency injection
This gets rid of our own janky dependency injection through the AegisApplication class
2022-03-06 13:06:34 +01:00
Alexander Bakker 927f5f2bd5
Merge pull request #845 from Hacker437/Dialog
Updated Delete Dialog
2022-02-27 18:18:56 +01:00
Praveen Kumar c0020684de Change the layout of the entry delete dialog and include more info 2022-02-27 17:46:47 +01:00
Alexander Bakker b8066c1925 Use Aegis icon as lock status notification icon 2022-02-18 12:54:30 +01:00
Alexander Bakker 0f3e5c537c Allow customization of password reminder frequency
Close #769
2022-02-17 18:14:08 +01:00
Alexander Bakker 5ce21a94ea Only skip panic trigger signature check if running under a test 2022-02-17 15:47:27 +01:00
Alexander Bakker d1d5df8051 Add tests for the Ripple panic trigger action 2022-02-17 14:25:32 +01:00
Alexander Bakker b9a81bdd75 Always allow D2D transfers in backup agent 2022-02-17 13:16:05 +01:00
Alexander Bakker 0938d3688a Set dataExtractionRules in AndroidManifest for Android 12+ 2022-02-17 13:16:05 +01:00
Alexander Bakker fcb7bf032b Add support for importing 2FAS schema v2 backups 2022-02-10 20:58:06 +01:00
Alexander Bakker acfb70c267 Move Yandex secret validation tests to a different folder 2022-02-06 12:55:02 +01:00
Alexander Bakker 119c3838e1 Silence lint error related to calling private method through reflection 2022-02-04 21:23:35 +01:00
Alexander Bakker 473cb7bfeb Set FLAG_IMMUTABLE on the intent of the lock status notification
This fixes a crash on API 31
2022-02-02 21:06:21 +01:00
Alexander Bakker 3d13117752 Refactor Yandex support a bit and fix some style issues 2022-02-02 17:55:09 +01:00
Alexander Bakker 76c89f0fcc
Merge pull request #869 from RandomRoot/feature-yandexotp
Feature: Add Yandex OTP support
2022-02-02 13:40:48 +01:00
Alexander Bakker 185e22a82e Downgrade camera-view back to 1.0.0-alpha32
Can't mix and match 1.0.0 and 1.1.0.
2022-01-31 22:07:40 +01:00
Alexander Bakker e88c3ea6db Update dependencies 2022-01-31 21:59:02 +01:00
Mikhail Prokofev af2bf6f683 Add Yandex OTP support 2022-01-26 18:43:55 +03:00
moesheyab f14bd99f63 Fix Aegis import dialog message title 2022-01-16 12:21:18 -08:00
Alexander Bakker f9b4e8fa3e Use the first grapheme for the TextDrawable icon
Fixes #862
2022-01-03 20:23:04 +01:00
Alexander Bakker 153f5e09d8 Update dependencies 2021-12-04 11:54:02 +01:00
Alexander Bakker aec639cc53 Add a test for the Duo importer 2021-12-04 11:42:28 +01:00
Alexander Bakker 5c196f1ca5
Merge pull request #835 from anibyl/feature-duo
Add DUO importer
2021-12-04 11:09:20 +01:00
Sieva Kimajeŭ 56ddefa246 Add DUO importer. #68 2021-12-02 15:47:43 -08:00
Alexander Bakker 4c977a6371 Disable the PIN keyboard when enabling encryption
Fixes #854
2021-11-28 19:27:40 +01:00
Praveen Kumar 0652eaa5cd Added Focus Search on App Start
Renamed key

Removed unnecessary code
2021-11-08 17:34:49 +00:00
Alexander Bakker adfc472a39 Bump target SDK version to 31 and update dependencies 2021-11-03 12:23:06 +01:00
Alexander Bakker d65982aaa1
Merge pull request #832 from strugee/upgrade-android-gradle-plugin
Upgrade Android Gradle plugin
2021-10-20 21:44:00 +02:00
AJ Jordan fbc390b714 Upgrade to Gradle/Gradle Android plugin 7.x
Additionally, enable some more linting (per the Android plugin release
notes' recommendation) and fix a lint warning.
2021-10-20 12:07:24 -07:00
AJ Jordan a302f3daac Make group chips checked when selected
This brings us in line with upstream Material UI guidelines - apparently
before we were showing "choice chips" and with this change we show
"filter chips".

See https://material.io/components/chips/android#filter-chip.
2021-10-19 23:01:27 -07:00
Alexander Bakker 80960e23fc Release v2.0.2 2021-09-15 15:40:46 +02:00
Alexander Bakker a32ecdaf9b Update translations from Crowdin 2021-09-15 15:32:39 +02:00
Praveen Kumar 385475aa8b Changed the Chip to match the background in Amoled and Dark Mode 2021-09-03 11:24:22 +05:30
Praveen Kumar a9806fcfb7 Migrate App Compat Buttons To Material Buttons 2021-08-31 09:40:39 +05:30
modelorona 97f28c6089 add note field to entry 2021-08-30 10:21:54 +01:00
Alexander Bakker 3464f93c39
Merge pull request #791 from bitscuity/feature-pause
Option to Disable Automatic Refresh for Selected Code
2021-08-11 14:28:34 +02:00
bitscuity 02ee52a31f Added code to pause updating of focused entry 2021-08-11 14:01:24 +02:00
Alexander Bakker 6bafd9e9ae Ensure the issuer textbox and group dropdown have equal height
Fixes #751
2021-07-31 14:01:21 +02:00
Alexander Bakker 74e460d9a9 Update link to aegis-icons 2021-07-29 18:42:31 +02:00
Alexander Bakker 11705866e3 Fix the build by fixing some linter complaints 2021-07-22 22:25:40 +02:00
Alexander Bakker 177a964d3a Update dependencies 2021-07-22 21:17:04 +02:00
Alexander Bakker eb4b7b5d61 Accept spaces and dashes in secrets from Microsoft Authenticator
A user reported that importing was failing due to this issue
2021-07-22 21:07:32 +02:00
Alexander Bakker 68eb87b096 Check if searchView is not null before closing it in onLocked
This fixes a crash we've been seeing in the Google Play Console
2021-06-26 14:30:25 +02:00
Alexander Bakker eb22101b02 Release v2.0.1 2021-06-23 18:41:26 +02:00
Alexander Bakker 44f69e755c Update translations from Crowdin 2021-06-23 18:27:04 +02:00
Alexander Bakker 327b7ccbae Perform case changes using Locale.ROOT where applicable
Fixes #777
2021-06-23 18:06:01 +02:00
Johannes Henninger acbe73834d Improve icon suggestions
Check if the icon issuers contain the token issuer or vice versa.

Fixes #761
2021-06-23 01:31:50 +02:00
Alexander Bakker c27c4f0ac5
Merge pull request #760 from michaelschattgen/feature/usage-count
Add usage count to entries
2021-06-17 20:04:51 +02:00
Michael Schättgen 34cd16f240 Add usage count to entries
Update Preferences.java

Fix build error and review improvements
2021-06-16 16:22:11 +02:00
Johannes Henninger df9684a31c Fix blank text in delete dialog for entries with no issuer
Fixes #758
2021-06-04 14:29:53 +02:00
Alexander Bakker 520c587d09 Collapse the search view when locking the app
Addresses part of #750
2021-06-02 18:14:18 +02:00
Alexander Bakker 7506c70236 Release v2.0 2021-05-26 10:50:24 +02:00
Alexander Bakker d1e3224cba Store the group filter as JSON in preferences
This ensures we don't run into issues if the group name contains a ','
2021-05-26 10:46:49 +02:00
Alexander Bakker d2eed8a356 Update translations from Crowdin 2021-05-26 10:37:07 +02:00
Alexander Bakker 2b83dde58a Update in-app URL to aegis-icons latest release page 2021-05-26 10:18:03 +02:00
Alexander Bakker e97a53bbe9 Force search filter to null if it's empty
Fixes #705
2021-05-22 13:09:52 +02:00
Alexander Bakker 77f59d41ad Add group filter back in the UI tests 2021-05-22 12:45:58 +02:00
Alexander Bakker e2ddc8a80f Try to guess the MIME type if SAF doesn't provide it
This fixes a crash that would occur if SAF doesn't provide a MIME type
2021-05-20 21:46:56 +02:00
Alexander Bakker b6093c2bfa Explicitly disable backups preferences when disabling encryption 2021-05-20 21:25:56 +02:00
Alexander Bakker fc25312d12 Add an option to save the current group filter 2021-05-20 20:58:20 +02:00
Alexander Bakker 51eade900c Fix a number of issues related to updating the group chip after changes 2021-05-19 12:56:35 +02:00
Alexander Bakker d152d13580 Make sure text and radio button are aligned in importer dialog 2021-05-09 11:58:24 +02:00
Alexander Bakker 7dff3fbad1 Release v2.0-beta2 2021-05-08 11:04:59 +02:00
Alexander Bakker 7dc7f6ccc0 Update translations from Crowdin 2021-05-08 10:57:05 +02:00
Alexander Bakker ad0088eca6 Don't rely on the intent action to decide whether to block auto lock 2021-05-08 10:42:04 +02:00
Alexander Bakker 813bf292fa Update dependencies 2021-05-08 10:10:08 +02:00
Alexander Bakker 80bf5bc854 Fix the QR code background color for the light theme 2021-05-07 18:13:46 +02:00
Alexander Bakker e319a2eceb Fix a crash when opening the "Import from app" dialog 2021-05-07 18:13:17 +02:00
Alexander Bakker 0a9bfde438 Hide the keyboard before every slide change in the intro 2021-05-07 18:12:52 +02:00
Alexander Bakker c3c4e1fb4b Reflect changes in the group list to the group filter
Fixes #723
2021-05-07 18:08:39 +02:00
Alexander Bakker 1eff91594f Fix multiple layout issues on small-screen devices
Close #560
2021-05-06 23:17:35 +02:00
Alexander Bakker fddc29880a Add support from importing from 2FAS Authenticator 2021-05-05 10:58:22 +02:00
Alexander Bakker fb58c877d1 Remove padding from Y plane data before passing it to ZXing
Fixes #726
Fixes #657
2021-05-04 19:21:57 +02:00
ImgBotApp 5975b929b7
[ImgBot] Optimize images
*Total -- 569.55kb -> 504.66kb (11.39%)

/app/src/main/res/drawable-xhdpi/ic_qr_code.png -- 3.27kb -> 2.13kb (34.81%)
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png -- 6.07kb -> 3.97kb (34.54%)
/app/src/main/res/drawable-xxhdpi/ic_qr_code.png -- 6.25kb -> 4.32kb (30.86%)
/metadata/en-US/images/icon.png -- 33.36kb -> 23.19kb (30.47%)
/app/src/main/res/drawable-hdpi/ic_qr_code.png -- 2.62kb -> 1.86kb (29.11%)
/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png -- 4.00kb -> 2.95kb (26.2%)
/app/src/main/res/drawable-mdpi/ic_qr_code.png -- 1.55kb -> 1.17kb (24.7%)
/app/src/main/res/drawable/app_icon.png -- 143.85kb -> 113.38kb (21.18%)
/app/src/main/res/drawable/ic_aegis_iconx.png -- 19.38kb -> 15.30kb (21.04%)
/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png -- 2.21kb -> 1.96kb (11.42%)
/metadata/en-US/images/phoneScreenshots/screenshot4.png -- 186.71kb -> 177.50kb (4.93%)
/docs/diagram.svg -- 11.00kb -> 10.58kb (3.85%)
/app/src/main/res/mipmap-hdpi/ic_launcher_background.png -- 1.58kb -> 1.53kb (3.22%)
/metadata/en-US/images/phoneScreenshots/screenshot5.png -- 147.70kb -> 144.82kb (1.95%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-04-28 09:18:59 +00:00
Alexander Bakker a5d3de55a2 Add support for selecting SVG icons through the file selection dialog
Fixes #724
2021-04-14 22:52:00 +02:00
Alexander Bakker b195d0dadd Fix multiple icon rendering issues in card_icon
- Use software rendering on API <= 27
- Use ImageView instead of CircleImageView

Fixes #725
2021-04-14 21:43:59 +02:00
Alexander Bakker 7d3666a5d0 Make the password configuration dialog scrollable
Fixes #722
2021-04-14 17:33:16 +02:00
Alexander Bakker 61ac83b134 Release v2.0-beta1 2021-04-14 13:40:04 +02:00
Alexander Bakker 9c907cf14a Apply top margin to the first entry if there are no groups 2021-04-14 13:33:40 +02:00
Alexander Bakker 5f737582fb Fix syntax issue in arrays.xml 2021-04-14 12:56:31 +02:00
Alexander Bakker 89256dfef5 Update translations from Crowdin 2021-04-14 12:54:21 +02:00
Alexander Bakker 94b4c098de Update icons packs documentation 2021-04-14 12:15:19 +02:00
Alexander Bakker 1d848947d9 Only set the query if its non-empty when switching icon packs
This fixes an issue where the categories would be hidden when switching icon packs
2021-04-13 17:21:10 +02:00
Alexander Bakker 43ebe402ce Fix crash caused by incorrect cast to PreferencesFragment 2021-04-11 13:54:05 +02:00
Alexander Bakker ae0b00573f
Merge pull request #539 from alexbakker/iconpacks
Introduce support for icon packs
2021-04-10 10:50:36 +02:00
Alexander Bakker efb5b10a76
Merge pull request #716 from DerEnderKeks/fix-recent-apps-behavior
Fixed that app vanished from recent apps list after locking
2021-04-09 14:01:58 +02:00
Alexander Bakker 4f38988c0d Introduce support for icon packs 2021-04-07 17:28:08 +02:00
Alexander Bakker c977b9a064 Update dependencies 2021-04-03 11:24:13 +02:00
DerEnderKeks 5353e7c3b1 Changed method to finish activities when locking 2021-04-01 18:03:16 +02:00
DerEnderKeks b999ccc83b Fixed that app vanished from recent apps list after locking 2021-03-31 17:06:39 +02:00
Alexander Bakker 230f21b9f0 Update dependencies 2021-03-20 13:11:17 +01:00
Alexander Bakker 801e677928 Silence an overly enthousiastic linker check 2021-03-01 18:44:14 +01:00
Alexander Bakker 143b9a85b4 Update dependencies 2021-03-01 18:21:20 +01:00
Alexander Bakker a6ab669811 Don't crash when uiMode is set to UI_MODE_NIGHT_UNDEFINED 2021-02-21 17:08:05 +01:00
Alexander Bakker c7ef10367f Fix an issue where advanced fields were disabled inadvertently 2021-02-17 12:59:59 +01:00
Alexander Bakker 085e8e51dc
Merge pull request #688 from jhenninger/feature/receive-shared-image
Add support for creating entries from shared images
2021-02-17 12:01:17 +01:00
Johannes Henninger 167f2d6dad Add support for creating entries from shared images 2021-02-14 16:05:13 +01:00
Alexander Bakker e653e42455 Update dependencies 2021-02-14 16:03:30 +01:00
Alexander Bakker 158eb4609c Remove unused 'stateless' support code from AuthActivity 2021-02-13 19:15:30 +01:00
Alexander Bakker ca8f3e49ea Hide the vault wipe option in the menu of the import activity
Always showing the dialog can be confusing for users.
2021-02-08 19:11:57 +01:00
Alexander Bakker c3d9ab86c7 Improve the wording of a couple of strings 2021-02-08 18:55:23 +01:00
Alexander Bakker 441a943a9d Update dependencies 2021-02-08 18:46:56 +01:00
Alexander Bakker 293e2ddeb0 When importing, read the file from SAF on a background thread
Fixes issue with importing from Nextcloud. Close #673.
2021-02-07 13:12:41 +01:00
Alexander Bakker 2c8a64f943 Disable some fields if Steam OTP type is selected
Also, move some magic default OTP parameters to constants
2021-01-30 16:41:25 +01:00
Alexander Bakker bc6cb35dc0 Clean up unused variables 2021-01-27 20:44:47 +01:00
Alexander Bakker ad138e4a4c Fix behavior of the new entry highlight in case no scroll is needed 2021-01-27 20:42:39 +01:00
Alexander Bakker f4bdf4645b Hide some entry editing settings by default to reduce user confusion 2021-01-27 20:09:53 +01:00
Alexander Bakker fd9a387b4e Rename Filter -> Sort in menu and remove old references to Filter 2021-01-27 18:32:44 +01:00
Alexander Bakker 778000aa24 Minor fixes for group chips, remove remnants of filter menu item 2021-01-27 18:24:52 +01:00
Alexander Bakker 40fbe39474 Update list of third-party licenses 2021-01-27 14:00:27 +01:00
Alexander Bakker bda1a1d5af Add a dialog for Aegis' license 2021-01-27 13:54:11 +01:00
Alexander Bakker e6e2809c9c Fix the appearance of the toolbar in the scanner activity 2021-01-27 12:36:48 +01:00
Alexander Bakker b91355da47 Remove usage of HtmlCompat 2021-01-24 21:04:25 +01:00
Alexander Bakker 4bb5ee52d9 Fix disabled alert dialog button color by setting alpha using selector 2021-01-24 20:52:24 +01:00
Alexander Bakker de3fcfdb26 Fix the background color of the imported entries list 2021-01-24 20:44:01 +01:00
Alexander Bakker ae71febf10 Move import logic to separate activity to fix a couple of issues
Fixes #456.
Fixes #670.
2021-01-24 20:19:29 +01:00
Alexander Bakker 7be1a74cfd Force higher resolution for analysis and run it on a background thread 2021-01-24 15:02:02 +01:00
Alexander Bakker 22c93bf5c6 Show some additional warning info in the entry deletion dialog
Close #565.
2021-01-24 14:20:29 +01:00
Alexander Bakker 68436fba9c Rewrite layout of EditEntryActivity to not use TableLayout
This prevents excessive overdraw and fixes the UI tests
2021-01-24 12:53:29 +01:00
Alexander Bakker 44ff321f8f Remove pref_tools_group_title from all locales 2021-01-23 19:36:57 +01:00
Alexander Bakker d9d6733878 Improve preference organization and add summaries to the sections 2021-01-23 19:29:41 +01:00
Alexander Bakker eae31ef94b Switch from Appcompat to Material Components theme
Close #354.
2021-01-23 15:23:02 +01:00
Alexander Bakker a6bf3b7c87 Add bottomsheet for chips 2021-01-21 10:53:37 +01:00
Alexander Bakker c6cb390990 Fix the UI tests 2021-01-16 17:43:07 +01:00
Alexander Bakker f080eaa8f9 Add support for participating in Android's backup system
This adds an option for participating in Android's backup system. Two items are
backed up: the ``files/aegis.json`` file and the entire ``shared_prefs``
directory. The option is disabled by default and can only be enabled if
encryption is enabled as well.

I tested this with Local Transport and Seedvault. To test with Local Transport,
see: https://developer.android.com/guide/topics/data/testingbackup.
2021-01-16 16:19:25 +01:00
Alexander Bakker ef8c116bdc Split preferences into separate fragments
<img src="https://alexbakker.me/u/5phth0i1ga.png" width="300" />
2021-01-16 15:46:13 +01:00
Alexander Bakker 260a3b9c78
Merge pull request #651 from alexbakker/replace-fab
Replace the FAB with a bottom sheet dialog
2021-01-16 15:39:31 +01:00
Alexander Bakker a5ec7666ec
Merge pull request #647 from alexbakker/more-tests
Add some more tests
2021-01-16 15:39:02 +01:00
Alexander Bakker ff450c3edf
Merge pull request #644 from alexbakker/remove-acc-name-opt
Remove the "search in account names" option and do so by default
2021-01-16 15:37:08 +01:00
Alexander Bakker e6e179307d
Merge pull request #663 from alexbakker/fix-650
Explicitly opt out of WebView usage statistics collection
2021-01-16 15:36:36 +01:00
Alexander Bakker 2c0068bea7 Release v1.4.2 2021-01-16 15:27:00 +01:00
Alexander Bakker 6dcde38667
Merge pull request #664 from alexbakker/downgrade-zip4j
Downgrade zip4j to 2.6.0
2021-01-16 15:10:39 +01:00
Michael Schättgen ec1913c77a
Merge pull request #661 from alexbakker/fix-660
Use name() instead of toString() on StandardCharsets.UTF_8
2021-01-13 20:44:07 +01:00
Michael Schättgen 3e40cc9c8f
Merge pull request #655 from alexbakker/phonefactor-error
Show a clearer error message when encountering phonefactor:// URI's
2021-01-13 20:24:26 +01:00
Michael Schättgen 40d1e22079
Merge pull request #643 from alexbakker/documentsui-error
Simplify the auto lock block logic and show an error if DocumentsUI is missing
2021-01-13 20:22:57 +01:00
Michael Schättgen 38bbb60414
Merge pull request #652 from alexbakker/fix-authy-import
Don't rely on accountType to detect proprietary Authy tokens
2021-01-13 20:11:22 +01:00
Alexander Bakker 98d39ee399 Downgrade zip4j to 2.6.0
It looks like we broke the Authenticator Plus importer in
d660fbc6d1 by upgrading zip4j. So this patch
downgrades it again. I couldn't immediately find this issue in their issue
tracker, so it may be worth spending some time reporting this to them later.
2021-01-12 21:27:24 +01:00
Alexander Bakker e324f649ee Replace the FAB with a bottom sheet dialog
This also removes the dependency on ``com.getbase:floatingactionbutton``.
2021-01-10 14:49:24 +01:00
Alexander Bakker 4f8a0b9020 Add some more tests
This adds tests for all of the importers, a new scrypt test and some more OTP tests. More to come.
2021-01-10 14:47:27 +01:00
Alexander Bakker b78b22acbb Explicitly opt out of WebView usage statistics collection 2021-01-09 15:58:21 +01:00
Alexander Bakker 737b9da292 Use name() instead of toString() on StandardCharsets.UTF_8
Apparently toString() doesn't produce the same result on every platform.
2021-01-08 17:38:02 +01:00
deadmeu 1f0c51b45b Add dark theme variants of the fullscreen style 2021-01-08 00:27:16 +10:00
Alexander Bakker 1bd9cf3a3f Release v1.4.1 2021-01-04 18:59:47 +01:00
Alexander Bakker 0a6c89cd9d Show a clearer error message when encountering phonefactor:// URI's
Sometimes users get confused when they're trying to scan a Microsoft Authenticator QR code and think the error occurs because of a bug in Aegis.
2021-01-03 19:58:39 +01:00
Alexander Bakker 951241e95d Don't rely on accountType to detect proprietary Authy tokens 2021-01-02 14:55:26 +01:00
Alexander Bakker 1d44e05866 Remove the "search in account names" option and do so by default 2020-12-27 20:34:04 +01:00
Alexander Bakker 4482a21a54 Simplify the auto lock block logic and show an error if DocumentsUI is missing 2020-12-27 20:24:40 +01:00
Alexander Bakker 15e28abecd Update dependencies
This also disables the Jetifier, because we don't need it anymore.
2020-12-26 16:49:30 +01:00
Alexander Bakker 1748e2221f Release v1.4 2020-12-26 15:58:18 +01:00
Alexander Bakker b1b4c021cf Update translations from Crowdin 2020-12-26 15:41:34 +01:00
Michael Schättgen a27e3c6364
Merge pull request #642 from alexbakker/block-minimize-lock
Fix an issue where the app would lock when showing DocumentsUI
2020-12-26 15:36:48 +01:00
Michael Schättgen 8f7b152af4
Merge pull request #641 from alexbakker/fix-593-extra
Use GoogleAuthInfo.parseSecret for secrets from Google Authenticator
2020-12-26 15:23:13 +01:00
Michael Schättgen 39f18b79cb
Merge pull request #636 from alexbakker/libsu-mount-ns
Run libsu commands inside the global mount namespace
2020-12-26 15:18:28 +01:00
Michael Schättgen 9a81cccbe2
Merge pull request #623 from alexbakker/fixup-gauth-proto
Make the Google Authenticator Protobuf parser more complete
2020-12-26 15:18:00 +01:00
Michael Schättgen 2c6be39f88
Merge pull request #634 from alexbakker/fix-package-query
Explicitly define which packages (apps) we want to query
2020-12-26 15:15:00 +01:00
Alexander Bakker 6e5a80a000 Fix an issue where the app would lock when showing DocumentsUI 2020-12-26 13:22:40 +01:00
Alexander Bakker f012c7ce22 Use GoogleAuthInfo.parseSecret for secrets from Google Authenticator 2020-12-26 12:25:43 +01:00
Alexander Bakker 805a9001e1 Run libsu commands inside the global mount namespace
This ensures we're able to access other app's internal storage directories using libsu when running on Android 11 or newer.
2020-12-20 13:53:34 +01:00
Alexander Bakker 884a1d07c4 Explicitly define which packages (apps) we want to query
This is necessary to be able to see if the app a user wants to import from is installed.
See: https://developer.android.com/about/versions/11/privacy/package-visibility
2020-12-19 13:21:21 +01:00
Alexander Bakker e9f6371885 Display the password reminder popup on top instead of the bottom
This prevents the Android's autofill popup from occluding our popup
2020-12-12 13:44:23 +01:00
Alexander Bakker 6a5323b12b Make the Google Authenticator Protobuf parser more complete
I don't think Google Authenticator actually currently supports any of these
extra digit/algorithm options, but they're specified in the proto file, so we
should support them for completeness sake.
2020-12-07 21:28:27 +01:00
Alexander Bakker 735c086726 Release v1.4-beta2 2020-12-04 22:10:04 +01:00
Alexander Bakker 0b6da5a93c Prevent file provider name collision (for debug builds) 2020-12-04 22:03:58 +01:00
Alexander Bakker d24e1471a7 Release v1.4-beta1 2020-12-04 20:49:51 +01:00
Alexander Bakker 7ca072a29c Update translations from Crowdin 2020-12-04 20:29:55 +01:00
Alexander Bakker 0067c79dfa
Merge pull request #618 from alexbakker/backup-thread
Move the creation of exports/backups to a background thread
2020-12-04 10:48:03 +01:00
Alexander Bakker 4e198d2556 Move the creation of exports/backups to a background thread
This writes exports/backups to the cache directory first and then hands off to a
background thread to pipe the file to SAF. I'm cheating a bit, but it's the
easiest fix with our current architecture. In the future, we should skip the
first step by making VaultManager itself thread-safe.
2020-12-03 22:16:35 +01:00
Michael Schättgen f15a0018ef
Merge pull request #605 from alexbakker/highlight-on-add
After adding a new entry, scroll to it and highlight it
2020-12-03 21:48:48 +01:00
Alexander Bakker d121139676 After adding a new entry, scroll to it and highlight it 2020-11-30 20:08:09 +01:00
Jay bce0d2c044 "Tap to reveal": change min duration from 3 to 1 2020-11-24 14:26:16 +01:00
Michael Schättgen bf91917745
Merge pull request #604 from alexbakker/export-plain
Improve the export functionality in numerous ways
2020-11-08 21:18:50 +01:00
Michael Schättgen a91339de73
Merge pull request #603 from alexbakker/resize-qr-image
Resize images to a max res of 640x480 before scanning for QR codes
2020-11-07 21:06:11 +01:00
Michael Schättgen 5d9de7ac32
Merge pull request #602 from alexbakker/qr-multi-intent
Combine ACTION_PICK and ACTION_GET_CONTENT when selecting an image to scan
2020-11-07 20:51:26 +01:00
Alexander Bakker 5f2529ea33 Improve the export functionality in numerous ways
This patch improves the export functionality in the following ways:
1. Allow setting a password even if the Aegis vault is not encrypted
2. Display a scary warning when exporting an unencrypted vault
3. Support exporting to a Google Authenticator URI file
4. Option to use Android's share mechanism

<img src="https://alexbakker.me/u/375oh146vz.png" width="300" />
2020-10-30 23:03:10 +01:00
Alexander Bakker 69196ddbcc Display some help text in the importer selection dialog 2020-10-30 16:11:53 +01:00
Michael Schättgen e14a61dbf6 Add panic trigger which deletes vault
Add guardianproject fdroid signing key and minor review improvements

Add minor review fixes

Add panic trigger which deletes vault

Add guardianproject fdroid signing key and minor review improvements
2020-10-30 11:46:28 +01:00
Michael Schättgen e8f94968c9
Merge pull request #600 from alexbakker/fix-593
Strip " " and "-" when parsing secrets
2020-10-29 22:08:58 +01:00
Michael Schättgen 8b7e5d265b
Merge pull request #592 from alexbakker/update-deps
Update dependencies
2020-10-29 22:03:26 +01:00
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.
2020-10-25 15:01:39 +01:00
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.
2020-10-25 14:48:56 +01:00
Alexander Bakker 5a9da45a8e Strip " " and "-" when parsing secrets 2020-10-24 14:25:10 +02:00
Alexander Bakker cac13b082e Bump target SDK to 30 and update dependencies 2020-10-22 15:11:45 +02:00
orangenbaumblatt 33ff7da7af Show toast message if backup was created successfully 2020-10-04 01:11:21 +02:00
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.
2020-09-21 18:09:07 +02:00
Michael Schättgen 52d2713482
Merge pull request #564 from alexbakker/improve-auto-lock
Improve auto lock and make it more customizable
2020-08-26 16:51:40 +02:00
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">
2020-08-26 14:20:09 +02:00
Michael Schättgen 31d382d6ad Minor color improvements for dark themes 2020-08-16 18:22:16 +02:00
Alexander Bakker 141f491ca7
Merge pull request #571 from michaelschattgen/feature/wipe-entries
Add checkbox dialog to wipe vault before import
2020-08-16 17:58:21 +02:00
Michael Schättgen c0bbe50996
Merge pull request #572 from alexbakker/fix-159
Prevent a crash on rotation while a ProgressDialogTask is still running
2020-08-16 15:59:13 +02:00
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
2020-08-16 15:41:51 +02:00
Michael Schättgen 1d00a2d8d6
Merge pull request #569 from alexbakker/slot-tests
Add tests for the Slot classes
2020-08-16 15:40:37 +02:00
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.
2020-08-16 15:20:43 +02:00
Michael Schättgen 0f6b0dddbe Add checkbox dialog to wipe vault before import
Only show dialog when vault contains entries

Add improvements from review
2020-08-16 15:20:34 +02:00
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.
2020-08-15 18:38:24 +02:00
Alexander Bakker 4c86e154c1 Add tests for the Slot classes 2020-08-15 18:07:34 +02:00
Alexander Bakker a45c834b9c Add UI tests for deep links 2020-08-15 17:10:37 +02:00
Alexander Bakker b746ca0c6e Ignore deep link intents if the given URI is null 2020-08-15 17:10:33 +02:00
Alexander Bakker 7d38bc9b71
Merge pull request #567 from michaelschattgen/feature/group-manager-improvement
Add empty state for GroupManagerActivity
2020-08-13 19:18:49 +02:00
Alexander Bakker 9557b60c93
Merge pull request #566 from michaelschattgen/feature/fix-fab
Fix hidden FAB when list changes
2020-08-13 19:05:31 +02:00
Michael Schättgen 227b5fd87c Improve GroupManagerActivity 2020-08-13 18:16:23 +02:00
Michael Schättgen 7d063104dd Fix hidden FAB when list changes 2020-08-13 13:06:20 +02:00
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
2020-08-12 17:32:04 +02:00
Michael Schättgen 171c774b21
Merge pull request #562 from alexbakker/activity-test-rule
Don't use deprecated ActivityTestRule in UI tests
2020-08-12 17:31:52 +02:00
Alexander Bakker 97944aac88 Replace use of android:tint with app:tint to fix lint errors 2020-08-12 13:14:37 +02:00
Alexander Bakker 83c1914ddc Don't use deprecated ActivityTestRule in UI tests 2020-08-12 13:00:55 +02:00
Alexander Bakker d660fbc6d1 Update Gradle and dependencies 2020-08-12 12:54:13 +02:00
Alexander Bakker 35b5ce9d17 Release v1.3 2020-08-10 19:10:44 +02:00
Alexander Bakker 762fb9bccd Update translations from Crowdin 2020-08-10 19:08:47 +02:00
Alexander Bakker c3d38c18a3 Update the list of licenses of our dependencies 2020-08-10 18:49:53 +02:00
Alexander Bakker 28fcd68b72 Convert pref_backups_versions_summary to a plurals definition 2020-08-08 12:15:52 +02:00
Michael Schättgen 9bbc2886c2
Merge pull request #503 from shihern/master
Improve usability of drag-and-drop feature
2020-08-06 12:13:03 +02:00
Connor Lim 5886462d2c Improve usability of drag-and-drop feature 2020-08-07 00:20:38 +08:00
Alexander Bakker 233eeb6aa1 Replace some string definitions with plurals definitions 2020-08-05 13:28:23 +02:00
Alexander Bakker e5d162be9b Update translations (from Crowdin) 2020-08-05 12:00:08 +02:00
Isaac Maier 59e8c23a01 Grammar fix (setup -> set up) 2020-08-04 14:06:21 -04:00
Alexander Bakker 9e4313e138 Release v1.3-beta2 2020-08-02 12:29:01 +02:00
Alexander Bakker 02e01723b2 Invert PIN keyboard preference if statement 2020-08-02 12:27:25 +02:00
Alexander Bakker 874f5e9058 Remove merge conflict marker from styles.xml 2020-08-01 19:50:18 +02:00
Alexander Bakker 7518408554 Release v1.3-beta1 2020-08-01 18:30:13 +02:00
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">
2020-08-01 14:09:58 +02:00
Michael Schättgen 9d44d6abb2
Merge pull request #540 from alexbakker/fix-nav-bar
Set the correct navigation bar color pre API 27
2020-08-01 14:03:39 +02:00
Michael Schättgen 42c308bc8f
Merge pull request #545 from alexbakker/clarify-pass-reminder
Rephrase the password reminder message to be a bit clearer
2020-08-01 14:03:21 +02:00
Michael Schättgen 20fb531f91
Merge pull request #526 from alexbakker/localize-everything
Make all remaining hardcoded strings translatable
2020-08-01 14:00:32 +02:00
Michael Schättgen b8b3da4f85
Merge pull request #537 from alexbakker/support-proprietary-authy
Support importing proprietary tokens from Authy
2020-08-01 14:00:20 +02:00
Michael Schättgen 7e403c2af6
Merge pull request #529 from alexbakker/fix-bioprompt-mixup
Fix behavior of AuthActivity under certain conditions
2020-08-01 13:34:09 +02:00
Michael Schättgen be0529a0c8
Merge pull request #527 from alexbakker/fix-131
Automatically focus the EditText when showing text/password dialogs
2020-08-01 13:31:07 +02:00
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.
2020-08-01 13:14:49 +02:00