Commit Graph

1209 Commits (06437132b579ad931b486794b504f8a1fb2f9636)

Author SHA1 Message Date
Alexander Bakker 0d34f0749d Use DayNight as the default theme
This reduces the chance that we flashbang the user when they launch the
app. The issue remains on older Android versions that don't natively
support dark mode, but I don't think that's fixable.

Activities override the theme based on the user's settings, so this
change only has effect while the app is launching.
11 months ago
Michael Schättgen f44fe389d7 Release v3.0.1 11 months ago
Michael Schättgen 49a2b5d34d
Merge pull request #1323 from alexbakker/glide-no-res
Don't use Glide to load drawable resources
11 months ago
Michael Schättgen 006815d36b
Merge pull request #1322 from alexbakker/new-battle-net
Add support for importing from the new Battle.net app
11 months ago
Alexander Bakker 3962d50fa6 Use Android color reference for android:colorBackground in AMOLED theme
My best guess is that API 28 and below somehow interpret ``#000000`` to mean
either ``@null`` or transparent for ``android:colorBackground``.
11 months ago
Alexander Bakker 9815e510df Don't use Glide to load drawable resources
Loading drawables using Glide while the size of the ImageView
is not known yet appears to result in a blurry mess.
11 months ago
Alexander Bakker f9f37d30b2 Release v3.0 11 months ago
Alexander Bakker 4c4acf0cd0 Update translations from Crowdin 11 months ago
Alexander Bakker 4311bd9bd8 Add support for importing from the new Battle.net app 11 months ago
Alexander Bakker 60c72d48ee Switch to AboutLibraries for the third-party license list
The previous library we were using is unmaintained and can't be
customized to match the Material 3 theme.
11 months ago
Michael Schättgen 8912d75870 Fix padding unlock button 12 months ago
Alexander Bakker 4c28bf2a12 Make the code color white for AMOLED
Co-authored-by: Michael Schättgen <michael@schattgen.me>
12 months ago
Alexander Bakker 45ced0de60 Fix various minor inconsistencies in entry list item offsets
This patch addresses the following:
- More consistent offsets between entries in the list, especially in
  relation to the action bar and the error card.
- Consistent correct application of card shapes when switching between
  favoriting and unfavoriting entries.
- Removal of CompactDividerDecoration. We no longer uses dividers, so
  this is no longer needed.
12 months ago
Michael Schättgen bf7c60d620 Fix shape of favorited entries 12 months ago
Alexander Bakker 6fc9cd5a71
Merge pull request #1310 from michaelschattgen/feature/last-used
Add ability to sort based on last used timestamp
12 months ago
Michael Schättgen 9bae4d6bbc Add ability to sort based on last used timestamp 12 months ago
Alexander Bakker 2b2cac1ada
Merge pull request #1308 from michaelschattgen/fix/ui-inconsistencies
Fix a couple UI inconsistencies
12 months ago
Michael Schättgen f1e14e6645 Fix a couple UI inconsistencies 12 months ago
Michael Schättgen 52ecf12576 Fix copied text visibility 12 months ago
Alexander Bakker 8995626d16 Apply dark background colors when combining AMOLED and dynamic colors
Previously, the dark background colors would not be applied for this
combination of settings.

Unfortunately, I couldn't find a way to avoid some duplication in
themes.xml.
12 months ago
Michael Schättgen cffe15735c
Merge pull request #1302 from alexbakker/fix-cam-btn-color
Set the correct color for the camera switch button
12 months ago
Alexander Bakker c5b8ee9215 Set the correct color for the camera switch button 12 months ago
Alexander Bakker 2e44a81c69 Use MaterialColors.getColor instead of our own helper
I set CompactDividerDecoration to transparant, because that was already
effectively the case. I think we can remove this class entirely, but
I'll do that in a separate PR.
12 months ago
Alexander Bakker f76d84ef87 Release v3.0-beta1 12 months ago
Alexander Bakker 3d59114230 Update translations from Crowdin 12 months ago
Michael Schättgen 22c9ab7c03
Merge pull request #1295 from alexbakker/intro-init-crash
Don't initialize VaultManager after the intro unless saving succeeds
12 months ago
Michael Schättgen f8ad3d16fc
Merge pull request #1297 from alexbakker/entry-move-anim
Restore entry list item animations
12 months ago
Michael Schättgen fbd3bf3ff5
Merge pull request #1296 from alexbakker/shown-entries-bold
Only bold number of shown entries if found in the translated string
12 months ago
Alexander Bakker 8bbbe3611a Don't initialize VaultManager after the intro unless saving succeeds
In rare cases where writing to disk fails after the intro, a crash could
occur if the user presses "Done" again. VaultManager would have been
initialized, and trying to initialize it again would result in a crash.
12 months ago
Michael Schättgen 2d0e201060
Merge pull request #1294 from alexbakker/load-vaultfile
Load vault file on demand instead of juggling it around in-memory
12 months ago
Michael Schättgen b59350337f
Merge pull request #1293 from alexbakker/disable-unlock-button
Disable the unlock button until the slot decryption task is done
12 months ago
Michael Schättgen 6d73e5101c
Merge pull request #1278 from alexbakker/fix-1077
Pass down the root shell to every SuFile for the Authy importer
12 months ago
Michael Schättgen d16d56c4b0
Merge pull request #1263 from alexbakker/icon-suggestion-prio
Prioritize normal icon issuer matches over inverse matches
12 months ago
Alexander Bakker fcde086ae3 Material 3
Co-authored-by: Michael Schättgen <michael@schattgen.me>
12 months ago
Alexander Bakker 0e2fa929e6 Restore entry list item animations
This fixes an issue where the entry list items no longer animated upon
move, insert, delete, etc.

RecyclerView's DefaultItemAnimator automatically scales the animations
according to the user's settings.

Introduced in 9ff8efab69
12 months ago
Alexander Bakker 8951c19581 Only bold number of shown entries if found in the translated string
This should fix the following crash:

```
Exception java.lang.IndexOutOfBoundsException: setSpan (-1 ... 0) starts before 0
  at android.text.SpannableStringInternal.checkRange (SpannableStringInternal.java:499)
  at android.text.SpannableStringInternal.setSpan (SpannableStringInternal.java:199)
  at android.text.SpannableStringInternal.setSpan (SpannableStringInternal.java:186)
  at android.text.SpannableString.setSpan (SpannableString.java:60)
  at com.beemdevelopment.aegis.ui.views.EntryAdapter$FooterView.refresh (EntryAdapter.java:596)
```
12 months ago
Alexander Bakker 32e462bdce Load vault file on demand instead of juggling it around in-memory
This trades performance for making VaultManager a bit easier to reason
about.

This also fixes a rare crash that could occur if the user retries to unlock
the app after the previous attempt resulted in an error related to
parsing the vault. The vault file would no longer be present in memory
after the first attempt, causing the second attempt to crash the app.
12 months ago
Alexander Bakker 6bd8521661 Disable the unlock button until the slot decryption task is done
This prevents a crash that could occur when double tapping the Unlock
button.
12 months ago
Alexander Bakker 57ec695718 Pass down the root shell to every SuFile for the Authy importer
The issue was introduced in: 69f0bb4fbc
1 year ago
Michael Schättgen 224ec2553c
Merge pull request #1262 from alexbakker/glide-caching
Use the hash of entry icons as keys for Glide caching
1 year ago
Michael Schättgen 5acacf63e1
Merge pull request #1249 from alexbakker/2fas-schema4
Add support for importing 2FAS schema v4 backups
1 year ago
Alexander Bakker bfbb3ef2c4 Prioritize normal icon issuer matches over inverse matches
Icon packs may have very generic issuers for their icons (like [aegis-simple-icons](https://github.com/alexbakker/aegis-simple-icons)).
For example, this causes the icon assigning view to suggest the "C" icon for every
entry that contains a "c".

This patch addresses that by giving inverse matches (where the entry
issuer contains the icon issuer) a lower position in the suggested icons
list.
1 year ago
Alexander Bakker f1c9c6c5fc Use the hash of entry icons as keys for Glide caching
This is mostly a cleanup of the way we do Glide in-memory caching. It
also fixes a few minor issues along the way:

- Entry icon cache keys were based on entry UUID's. This could cause
  problems when changing an entry's icon.
- A TextDrawable could get replaced by the icon of a different entry
  when scrolling through the entry list quickly.
1 year ago
Michael Schättgen 566bcac3e0
Merge pull request #1236 from alexbakker/steam-xposed
Add support for importing decrypted Steam JSON blob
1 year ago
Alexander Bakker 4d729d1bef
Merge pull request #1204 from ranjeetchouhan/master
feat: Update references to FreeOTP and add version hint "1.x"
1 year ago
Ranjeet 1acb9db489 feat: Update references to FreeOTP and add version hint "1.x"
Co-authored-by: Alexander Bakker <ab@alexbakker.me>
1 year ago
Alexander Bakker 98bcdc7615 Update Gradle and dependencies 1 year ago
Alexander Bakker 7c1a954e4d Stop using deprecated startActivityAndCollapse(Intent) 1 year ago
Alexander Bakker a1d00b47fe
Merge pull request #1238 from cyb3rko/startactivityforesult-deprecation
Replace deprecated startActivityForResult
1 year ago
Niko Diamadis ca530f229b
Replace startActivityForResult with result launchers 1 year ago