Commit Graph

1609 Commits (de74daef3381c7100d423e304811c12aba5c19c0)
 

Author SHA1 Message Date
Alexander Bakker 0573dbb2fc
Merge pull request #1509 from michaelschattgen/fix/secret-multiline
Make secret multiline
5 months ago
Michael Schättgen 7753b482b1 Make secret multiline 5 months ago
Alexander Bakker cc5ce485b1 Add support for importing FreeOTP 2 backups
I've held off on this in the past, because I was concerned about the
security issues related to Java object deserialization. To circumvent
that, I've written a parser that understands just enough of the Java
Object Serialization format to parse FreeOTP 2 backups.

Unfortunately there are a number of issues in FreeOTP 2 that may result in
corrupt backups. The importer warns the user about this and tries to
salvage as many entries as possible.
5 months ago
Alexander Bakker 9131cae944 Use DiffUtil for the RecyclerView of the entry list
Gets rid of all of the custom logic we had for notifying the
RecyclerView about changes in the entry list. This will allow for more
simplifications in the future around non-persisted changes to state in
the entry list.

A neat side effect is that any filtering/ordering changes in the entry
list are now also animated: https://alexbakker.me/u/4a4ie5yzpj.mp4

This touches the fundamentals of the entry list, so lots of careful
testing required.
5 months ago
Alexander Bakker 08d900c0c0 Rename onAssignEntriesResult to onAssignIconsResult 5 months ago
Alexander Bakker 24d3d0ae8f
Merge pull request #1503 from michaelschattgen/fix/locale-marshmallow
Fix visibility of locale setting on Marshmallow
5 months ago
Michael Schättgen 45831e117c Fix visibility of locale setting on Marshmallow 5 months ago
Alexander Bakker c559ed9e56 Add NEW_GROUP placeholder type for group models to fix the build 5 months ago
Alexander Bakker 8e3279bb7e
Merge pull request #1498 from michaelschattgen/feature/single-tap-group
Change group filter to a single selection
5 months ago
Michael Schättgen 7ea2f5c4a5 Change group filter to a single selection 5 months ago
Alexander Bakker 9ef3315a70
Merge pull request #1497 from michaelschattgen/feature/assign-groups
Add ability to easily assign groups
5 months ago
Michael Schättgen 4a9f189897 Add ability to easily assign groups 5 months ago
Alexander Bakker 92de13b176
Merge pull request #1494 from michaelschattgen/feature/show-code-expiration
Show when codes are about to expire
5 months ago
Michael Schättgen 1e383463ae Show when codes are about to expire
Co-authored-by: Alexander Bakker <ab@alexbakker.me>
5 months ago
Alexander Bakker dbaec2d83f Use getQuantityString instead of getQuantityText for import_partial_export_anyway 5 months ago
Alexander Bakker 257a40eefa Remove some unused resources (and increase severity of check) 5 months ago
Alexander Bakker baa8068d51 Redefine "import_partial_export_anyway" as a quantity string 5 months ago
Alexander Bakker d433957c2f Remove usage of deprecated PreferenceManager 5 months ago
Alexander Bakker 6a54650635 Format multiple string substitutions in positional format
This resolves the following lint error: "Multiple substitutions
specified in non-positional format of string resource"
5 months ago
Alexander Bakker bab59e8d04 Update dependencies 5 months ago
Alexander Bakker 83689a4c59
Merge pull request #1499 from michaelschattgen/fix/text-field-caps
Fix capitalization of multiple text fields
5 months ago
Alexander Bakker 356fa8a36e
Merge pull request #1470 from sigmundxia/master
Add support for Ente Auth import
5 months ago
Sigmund Xia 58002c31ef Add support for Ente Auth import 5 months ago
Michael Schättgen d81d741fee Fix capitalization of multiple text fields 5 months ago
Alexander Bakker 17f106f70d
Merge pull request #1492 from michaelschattgen/fix/google-auth-proto
Fix batch_index in Google Authenticator export
5 months ago
Michael Schättgen 91b632b9cf Fix batch_index in Google Authenticator export 5 months ago
Alexander Bakker 8b8e071831
Merge pull request #1479 from michaelschattgen/feature/group-chipgroup
Improve group filters
6 months ago
Michael Schättgen 9c151d83c1 Improve group filters 6 months ago
Michael Schättgen e63ec4d1e8
Merge pull request #1490 from alexbakker/fix-pack-crash
Fix a crash that could occur when deleting a broken icon pack import
6 months ago
Alexander Bakker f8603395fa Fix a crash that could occur when deleting a broken icon pack import
The following crash could occur when trying to import an icon pack for
which an empty folder still exists on disk:

```
Exception java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 1
  at jdk.internal.util.Preconditions.outOfBounds (Preconditions.java:64)
  at jdk.internal.util.Preconditions.outOfBoundsCheckIndex (Preconditions.java:70)
  at jdk.internal.util.Preconditions.checkIndex (Preconditions.java:266)
  at java.util.Objects.checkIndex (Objects.java:359)
  at java.util.ArrayList.remove (ArrayList.java:511)
  at com.beemdevelopment.aegis.ui.views.IconPackAdapter.removeIconPack (IconPackAdapter.java:38)
  at com.beemdevelopment.aegis.ui.fragments.preferences.IconPacksManagerFragment.removeIconPack (IconPacksManagerFragment.java:158)
  at com.beemdevelopment.aegis.ui.fragments.preferences.IconPacksManagerFragment.lambda$importIconPack$3 (IconPacksManagerFragment.java:133)
  at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage (AlertController.java:167)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8762)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:604)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
```

To reproduce on a debug build of Aegis with the latest aegis-icons
imported into the app, run the following commands and then try to import
the same aegis-icons ZIP again:

```
$ adb shell
$ su
# rm -r /data/data/com.beemdevelopment.aegis.debug/files/icons/c1018b93-4e8c-490a-b575-30dde62a833e/20230523/*
```
6 months ago
Alexander Bakker df30e42318
Merge pull request #1481 from michaelschattgen/feature/reorder-groups
Add ability to reorder groups
6 months ago
Alexander Bakker 6cb58789a2
Merge pull request #1483 from michaelschattgen/fix/single-copy-reveal
Prevent copying when revealing code
6 months ago
Alexander Bakker eb6e26a8e4
Merge pull request #1482 from michaelschattgen/feature/rounded-progressbar
Make progressbar rounded on the right side
6 months ago
Michael Schättgen 8c1cc9a475 Prevent copying when revealing code 6 months ago
Michael Schättgen aab046ca04 Make progressbar rounded on the right side 6 months ago
Michael Schättgen d40e619cab Add ability to reorder groups 6 months ago
Alexander Bakker 0046e8827e Release v3.2 6 months ago
Alexander Bakker 5640b8be83 Update translations from Crowdin 6 months ago
Alexander Bakker 3bc3448b5c
Merge pull request #1468 from michaelschattgen/feature/add-search-behavior
Add preference to change search behavior
6 months ago
Michael Schättgen 7472e32b25
Merge pull request #1466 from alexbakker/fix-audit-log-crash
Account for audit log entries that reference deleted entries
6 months ago
Michael Schättgen 3425256c29 Add preference to switch search behavior 6 months ago
Alexander Bakker b92956dece Account for audit log entries that reference deleted entries
This fixes the following crash I noticed in the developer console:

```
Exception java.lang.AssertionError:
  at com.beemdevelopment.aegis.util.UUIDMap.getByUUID (UUIDMap.java:127)
  at com.beemdevelopment.aegis.vault.VaultRepository.getEntryByUUID (VaultRepository.java:229)
  at com.beemdevelopment.aegis.ui.fragments.preferences.AuditLogPreferencesFragment.lambda$onViewCreated$0 (AuditLogPreferencesFragment.java:70)
  at androidx.lifecycle.LiveData.considerNotify (LiveData.java:133)
  at androidx.lifecycle.LiveData.dispatchingValue (LiveData.java:151)
  at androidx.lifecycle.LiveData.setValue (LiveData.java:309)
  at androidx.lifecycle.LiveData$1.run (LiveData.java:93)
  at android.os.Handler.handleCallback (Handler.java:959)
  at android.os.Handler.dispatchMessage (Handler.java:100)
  at android.os.Looper.loopOnce (Looper.java:232)
  at android.os.Looper.loop (Looper.java:317)
  at android.app.ActivityThread.main (ActivityThread.java:8592)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878)
```
6 months ago
Michael Schättgen 20c5236cfa
Merge pull request #1467 from alexbakker/trim-search
Trim spaces from the search filter
6 months ago
Alexander Bakker 7e1daf731f Trim spaces from the search filter 6 months ago
Michael Schättgen 2add8aab14
Merge pull request #1464 from alexbakker/shapeableimageview
Replace CircleImageView with ShapeableImageView
6 months ago
Alexander Bakker 99e633d61a Replace CircleImageView with ShapeableImageView 6 months ago
Michael Schättgen 7ce72e046a
Merge pull request #1465 from alexbakker/vendor-jcenter-libs
Vendor TextDrawable and TrustedIntents
6 months ago
Alexander Bakker 991da65af0 Vendor TextDrawable and TrustedIntents
These were the only two libraries we were still getting from JCenter,
which was permanently shut down recently: https://jfrog.com/blog/jcenter-sunset/
6 months ago
Alexander Bakker 9eae773efb
Merge pull request #1458 from michaelschattgen/fix/hidden-dots-size
Fix sizing inconsistency of the dots in hidden view
6 months ago
Michael Schättgen 4ddc42ea51 Fix sizing inconsistency of the dots in hidden view 6 months ago