Commit Graph

1325 Commits (3e3df919b28cb22302a521338906805af005ee2a)

Author SHA1 Message Date
Alexander Bakker 6cb58789a2
Merge pull request #1483 from michaelschattgen/fix/single-copy-reveal
Prevent copying when revealing code
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
Alexander Bakker 7e1daf731f Trim spaces from the search filter 6 months ago
Alexander Bakker 99e633d61a Replace CircleImageView with ShapeableImageView 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
Michael Schättgen 4ddc42ea51 Fix sizing inconsistency of the dots in hidden view 6 months ago
Alexander Bakker a46c816167
Merge pull request #1447 from michaelschattgen/feature/hide-account-name-tiles
Add ability to hide account name in tiles mode
7 months ago
Michael Schättgen 71c0ad2a08 Add ability to hide account name in tiles mode 7 months ago
Alexander Bakker 010e2628e8 Add an extra check before showing the password reminder popup
This is another attempt to fix a rare crash we're seeing in the
developer console:

```
Exception android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
  at android.view.ViewRootImpl.setView (ViewRootImpl.java:1423)
  at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:408)
  at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:148)
  at android.widget.PopupWindow.invokePopup (PopupWindow.java:1583)
  at android.widget.PopupWindow.showAsDropDown (PopupWindow.java:1430)
  at android.widget.PopupWindow.showAsDropDown (PopupWindow.java:1386)
  at com.beemdevelopment.aegis.ui.AuthActivity.lambda$showPasswordReminder$5 (AuthActivity.java:253)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:211)
  at android.os.Looper.loop (Looper.java:300)
  at android.app.ActivityThread.main (ActivityThread.java:8294)
  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:1028)
```
7 months ago
Alexander Bakker db4c738c8f Update dependencies 7 months ago
Alexander Bakker 655881e852 Make the export dialog scrollable
Reported by @valentinb102 on Matrix.
7 months ago
Alexander Bakker 29eccaf9cf
Merge pull request #1429 from r3dh3ck/fix/preferences_result_location
Remove preferences result
7 months ago
r3dh3ck f796e4542a Remove preferences result 7 months ago
Alexander Bakker a10693e79e Expand the number of cases covered under the slot exclusion tests 7 months ago
Alexander Bakker b76e7a369c
Merge pull request #1424 from r3dh3ck/fix/biometric_slot_stripping
Strip a biometric slot when a backup is made
7 months ago
Alexander Bakker 4ea19a2b7a Don't enforce backup versioning if versionsToKeep <= 0 7 months ago
Alexander Bakker 6a67ca43e4
Merge pull request #1433 from r3dh3ck/feature/infinite_backups
Infinite backups
7 months ago
r3dh3ck fc8cdc6502 Implement infinite backups 7 months ago
Alexander Bakker 27a723205e
Merge pull request #1437 from michaelschattgen/fix/duplicate-dialog
Fix showing duplicate time sync dialogs
7 months ago
Michael Schättgen 7d76be577d Fix showing duplicate time sync dialogs 7 months ago
r3dh3ck 62f25d9ae9 Strip a biometric slot when a backup is made 7 months ago
Michael Schättgen e53688d30d Fix datetime parsing in Audit Log 7 months ago
Michael Schättgen ec237ecb4e
Merge pull request #1349 from InfiniteCoder06/feature-multi-group
Support for Adding Multiple Groups
7 months ago
Michael Schättgen 8960ffffb4 Release v3.1.1 7 months ago
Praveen Kumar 2e9efa0617
Support for Adding Multiple Groups 7 months ago
Alexander Bakker 2050d29236
Merge pull request #1393 from michaelschattgen/feature/hide-keyboard-on-scroll
Hide keyboard on scroll when search field is focused
7 months ago
Michael Schättgen c1ffe4a23e Hide keyboard on scroll when search field is focused 7 months ago
Michael Schättgen 52f8c709b5
Merge pull request #1432 from alexbakker/fix-1417
Simplify approach for animating advanced entry settings
7 months ago
Alexander Bakker 94d1cc6608 Simplify approach for animating advanced entry settings
This slightly simplifies the approach we use to animate the advanced
entry settings into view, by defaulting its alpha to 0 and setting it to
VISIBLE before the animation starts. That way, we're not dependent on
"animation ended" callbacks that apparently don't fire in all cases.

The XML diff looks a bit scary, but it basically just removes a
wrapping ``RelativeLayout`` that appears to not be necessary.
7 months ago
Alexander Bakker f7862dcdf0 Initialize the group chip properly after unlocking Aegis
This fixes an issue introduced by
46e1421c28 where the group chip would not
show after unlocking Aegis. This happened because the activity result is
received *after* ``onStart``. When we were using ``onResume``, it was
the other way around.
7 months ago
Michael Schättgen d1695aa712 Bump versioncode
because play store
8 months ago
Michael Schättgen f1ff402db4 Release v3.1.1-beta1 8 months ago
Alexander Bakker 46e1421c28 Start auth/intro activities from onStart to work around an Android bug 8 months ago
Jules Kerssemakers edf2201fb3 Clarify FreeOTP+ import needs JSON, not URI-format 8 months ago
Jules Kerssemakers 327f97c51d
DatabaseImporter: add overlooked FreeOTP "1.x"-only
Include the '(1.x)' qualifier directly in the import-source selection dropdown to avoid raising false expectations.

See also:
- #1204, where the 1.x-hint was introduced
- #1084: tracking issue for 2.x support
- https://github.com/freeotp/freeotp-android/issues/381
  FreeOTP-issue to reconsider the brittle serialised java format used by 2.x
8 months ago
Michael Schättgen 29ebe31f8a Release v3.1 8 months ago
Michael Schättgen 372bbaa3fb Release v3.1-beta 9 months ago
Michael Schättgen 2165ac4b2b Update translations from Crowdin 9 months ago
Michael Schättgen 46ceeeafb9
Merge pull request #1364 from michaelschattgen/fix/edit-entry-scroll
Make EditEntryActivity scrollable again
9 months ago
Michael Schättgen 2b2c4fc0ce Make EditEntryActivity scrollable again
Co-authored-by: Alexander Bakker <ab@alexbakker.me>
9 months ago
Michael Schättgen 2864f9b30c
Merge pull request #1391 from alexbakker/fix-1329
Save the vault when saving group filter right after a vault version bump
9 months ago
Alexander Bakker c17f30b89e
Merge pull request #1354 from InfiniteCoder06/bug-scrolling
Fix Scrolling in BottomSheet
9 months ago
Praveen Kumar 9c07b981d4 Fix scrolling in bottom sheet for groups 9 months ago
Alexander Bakker 2b69dc3a84 Save the vault when saving group filter right after a vault version bump 9 months ago
Alexander Bakker ee1dd322b8
Merge pull request #1357 from michaelschattgen/feature/audit-log
Add audit log
9 months ago
Alexander Bakker 56285eb468
Merge pull request #1352 from InfiniteCoder06/bug-spacing
Fix Spacing Issue With Name
9 months ago
Praveen Kumar 7e8b86ecf5 Fix spacing issue with entry name 9 months ago
Alexander Bakker ea09c67027
Merge pull request #1383 from NWuensche/master
Update change of Code Digit Grouping
9 months ago
codeall9 65a57f2b9c Remember group selection after screen rotate
Solution:
Restore _groupFilter as _prefGroupFilter in order to reapply correct filter after screen rotate
9 months ago
nwuensche 40f630170c Update change of Code Digit Grouping 10 months ago
Alexander Bakker 2b04ae0622
Merge pull request #1370 from michaelschattgen/fix/icon-packs-assign
Fix icon pack selector in AssignIconsActivity
10 months ago
codeall9 802d449bfb
Fix AppearancePreferencesFragment title after locale changed
root cause:
the `_prefTitle` is saved in `CharSequence`

solution:
we only able to store `CharSequence` since `Preference.getTitleRes` is removed in AndroidX. As a workaround, we update the title again on Fragment.onStart()
10 months ago
Michael Schättgen 69126242bd Fix icon pack selector in AssignIconsActivity 10 months ago
Michael Schättgen dee881bc05
Merge pull request #1347 from InfiniteCoder06/refractor-groups
Renaming of Groups
11 months ago
Michael Schättgen 171da34b13 Start working on audit logs 11 months ago
Praveen Kumar a582c2053c
Renaming of Groups 11 months ago
Alexander Bakker 9b96bbde54 Adjust R8 settings for easier retracing of stacktraces in release builds 11 months ago
Alexander Bakker 559e68e0d2 Stop analyzing password strength if it becomes longer than 64 chars
This should help reduce the chance that zxcvbn4j explodes on a password
input.

I also took the opportunity to deduplicate related code a bit.
11 months ago
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