Harsh Shandilya
1ade4eaf64
Cleanup dependency declarations and upgrade to Kotlin 1.6.0 ( #1565 )
2021-12-02 19:09:54 +00:00
Harsh Shandilya
fc211418c4
Implement workarounds for Dependabot to update dependencies ( #1552 )
2021-11-30 12:26:05 +00:00
Harsh Shandilya
d129d5e580
Ensure logger is installed when requested ( #1549 )
2021-11-23 20:31:55 +05:30
Harsh Shandilya
0fad4d24b5
build: apply kotlin-common
convention plugin where applicable
2021-11-16 00:22:17 +05:30
Harsh Shandilya
51956be665
Update dependencies ( #1540 )
2021-11-13 17:50:15 +05:30
Harsh Shandilya
bbadf4a68d
Upgrade dependencies ( #1537 )
...
* app: use MaterialAlertDialogBuilder for preference dialogs
* build: upgrade all dependencies
2021-11-08 10:54:01 +05:30
Harsh Shandilya
67e70e5936
Cleanup extra content handling ( #1536 )
...
* BasicBottomSheet: remove unnecessary custom background
Fixes: 88c9a0d487
("app: refactor M3 themes and styles")
* FieldItemAdapter: fix typo ClipBoard -> Clipboard
* FieldItemAdapter: fix RV binding idempotency
* app: refactor FieldItemAdapter population logic
* DecryptActivityV2: wire in missing 'show password' toggle
2021-11-07 20:50:25 +05:30
Harsh Shandilya
223960d8d3
Fix password saving for V2 backend ( #1534 )
2021-11-04 23:28:40 +05:30
Harsh Shandilya
52f4ce06f5
Allow unauthenticated HTTPS Git access ( #1533 )
2021-11-03 20:32:53 +05:30
Aditya Wasan
2cf3ddf2aa
Revert "app: add dynamic colors support to Compose"
...
This reverts commit 2a9d2177a5
.
2021-11-03 18:09:38 +05:30
Harsh Shandilya
2a9d2177a5
app: add dynamic colors support to Compose
2021-11-03 16:02:58 +05:30
Harsh Shandilya
3fc5f17920
app: remove unused M2 resources
2021-11-03 15:51:50 +05:30
Harsh Shandilya
60271ef853
app: move autofill dataset to M3 color tokens
2021-11-03 15:51:50 +05:30
Harsh Shandilya
2b87376b58
app: remove explicit style from FolderCreationDialogFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
a0fb14d207
app: fix hard-coded themes and colors in WelcomeFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
44e61c0c31
app: fix hard-coded themes and colors in RepoLocationFragment
2021-11-03 15:51:49 +05:30
Harsh Shandilya
5db43de6b2
app: fix hard-coded themes and colors in KeySelectionFragment
2021-11-03 15:51:48 +05:30
Harsh Shandilya
c6d45fc056
app: fix hard-coded themes and colors in CloneFragment
2021-11-03 15:51:48 +05:30
Harsh Shandilya
32d941d352
app: fix hard-coded themes in BasicBottomSheet
2021-11-03 15:51:48 +05:30
Harsh Shandilya
96170019fe
app: fix hard-coded themes in ProxySelectorActivity
2021-11-03 15:51:47 +05:30
Harsh Shandilya
8757e44272
app: fix hard-coded colors in AutofillPublisherChangedActivity
2021-11-03 15:51:47 +05:30
Harsh Shandilya
7e2a91733f
app: fix hard-coded colors in AutofillFilterView
2021-11-03 15:51:46 +05:30
Harsh Shandilya
5f08c63bc7
app: fix filename for AutofillFilterView
2021-11-03 15:51:46 +05:30
Harsh Shandilya
88c9a0d487
app: refactor M3 themes and styles
2021-11-03 15:51:46 +05:30
Harsh Shandilya
f8ad1c97fd
app: make toolbars match system bars
2021-11-03 15:51:45 +05:30
Harsh Shandilya
9a00e68ab6
app: fix system bars theming
2021-11-03 15:51:45 +05:30
Harsh Shandilya
fc662bfd25
app: remove unnecessary layout nesting
2021-11-03 15:51:44 +05:30
Harsh Shandilya
4f2383dd88
app: fix background colors for onboarding flow
2021-11-03 15:51:44 +05:30
Harsh Shandilya
f9e4e7da8a
app: remove unnecessary suppression
2021-11-03 15:51:44 +05:30
Harsh Shandilya
4a50f3fb6d
app: switch back to buttons for SSH config screen
2021-11-03 15:51:43 +05:30
Harsh Shandilya
f8088f0f44
app: switch to M3 APS theme
2021-11-03 15:51:43 +05:30
Harsh Shandilya
3c6ddc9cda
app: remove invalid color references
2021-11-03 15:51:43 +05:30
Harsh Shandilya
f1502bd389
app: fix tints for all drawables
2021-11-03 15:51:42 +05:30
Harsh Shandilya
822b4db83f
app: don't use non-null assertion for supportActionBar
2021-11-03 15:07:01 +05:30
Harsh Shandilya
eb1ed0bbd1
app: enable dynamic colors
2021-11-03 15:07:00 +05:30
Harsh Shandilya
2ee48cdab6
app: switch M3 to Manrope typeface
2021-11-03 15:07:00 +05:30
Harsh Shandilya
0834c979a5
app: add Material3 themes
2021-11-03 15:07:00 +05:30
Harsh Shandilya
22ed045ea7
Upgrade dependencies ( #1526 )
...
* gradle: upgrade all dependencies
* github: replace gradle-cache-action with official gradle-build-action
* github: update wrapper-validation-action
2021-10-28 07:04:29 +05:30
Harsh Shandilya
aac74ae451
Switch new PGP backend to use PGPainless ( #1522 )
...
* crypto-pgpainless: init
* crypto-pgpainless: add an opinionated CryptoHandler impl
* app: migrate to crypto-pgpainless
* crypto-pgp: remove
* github: remove now unused instrumentation tests job
* crypto-common: fixup package names
* wip(crypto-pgpainless): add `PGPKeyPair` and `PGPKeyManager`
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
(cherry picked from commit 02d07e9e797a8600cc8c534a731dfffcc44cfdde)
* crypto-pgpainless: use hex-encoded key IDs
* crypto-pgpainless: replace legacy Gopenpgp-generated key file
* crypto-pgpainless: fix CryptoConstants source set
* crypto-pgpainless: fix tests
* crypto-pgpainless: reinstate PGPKeyManager tests
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-23 17:02:50 +05:30
Harsh Shandilya
21c8653e68
Fix proguard rules which prevent whole program minification ( #1521 )
2021-10-20 11:41:21 +05:30
Harsh Shandilya
6df3ba0083
Upgrade plugin dependencies and fix Javadoc generation ( #1517 )
...
* build: upgrade all plugins
* autofill-parser/openpgp-ktx: apply Dokka plugin
* Move repository configuration to settings.gradle.kts
* Replace deprecated lintOptions
* Reorder repositories
2021-10-09 13:13:14 +05:30
Harsh Shandilya
99586970a1
Cleanup and improve CI checks ( #1511 )
2021-10-03 12:39:24 +00:00
(´⌣`ʃƪ)
2cef6a5bb4
Replace Timber with logcat ( #1509 )
...
* Replace Timber with logcat (#1505 )
* Add extension for asLog which takes a message param
Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2021-10-03 14:02:15 +05:30
Harsh Shandilya
571ab4e78e
Gopenpgp related fixes ( #1503 )
...
* app: rename new crypto activities
(cherry picked from commit 89be012f995b878affb7e7a592750e130c7f0f2c)
* app: allow alt backends to work without OpenKeychain
(cherry picked from commit 7bf9f01e5ef7bb24700ce3f242e5aabbabbff09e)
* app: rename ENABLE_GOPENPGP to ENABLE_PGP_V2_BACKEND
2021-09-14 22:37:55 +05:30
github-actions[bot]
30cb8cfceb
strings: sync with crowdin ( #1498 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2021-09-04 04:11:09 +00:00
Harsh Shandilya
f00a53c29b
Bump dependencies for Kotlin 1.5.30 ( #1497 )
2021-09-03 17:49:05 +05:30
Yash Garg
3c8b700f7e
Fix auto-focus issue on Dialogs with TextInputFields ( #1492 )
2021-08-27 20:12:29 +00:00
Harsh Shandilya
8c56a1d7b8
Update AndroidX deps ( #1491 )
2021-08-24 16:03:29 +00:00
Harsh Shandilya
1738364d2f
Make password generator parameter changes reactive ( #1480 )
...
* Make XkPassword generator reactive
* Handle empty strings
* Make password generator reactive
* Sync changelog for 1.13.5 release
* Add to changelog
2021-08-08 13:06:26 +05:30
Harsh Shandilya
6004addf62
Upgrade Compose and other AndroidX libraries ( #1477 )
...
* app: re-enable Compose
* app: remove inapplicable lint suppression
* gradle: bump AndroidX dependencies
2021-08-05 02:11:31 +05:30
Harsh Shandilya
403bb383b5
Upgrade to AGP 7.0.0 ( #1474 )
2021-07-29 09:54:31 +00:00
Harsh Shandilya
392ad847bf
Cleanup and fix CI tests ( #1464 )
2021-07-19 16:31:37 +05:30
Harsh Shandilya
921e9f96b9
Refactor TOTP implementation and expand SteamGuard hacks ( #1460 )
...
* UriTotpFinder: commonize query parameter handling
* gitignore: add more IDEA files
* TotpFinder: add `findIssuer`
* PasswordEntry: don't eagerly fetch TOTP related fields
* format-common: expand SteamGuard workaround
* CHANGELOG: add SteamGuard workaround
2021-07-17 03:13:16 +05:30
Harsh Shandilya
fd6d0e52fc
Upgrade dependencies and temporarily disable Compose ( #1457 )
2021-07-15 06:44:05 +00:00
Harsh Shandilya
6e4ffe2902
Add initial implementation of Gopenpgp-backed PGP ( #1441 )
2021-07-11 17:22:26 +00:00
github-actions[bot]
262d7c4a86
Sync localisations from Crowdin ( #1445 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2021-06-26 04:53:55 +00:00
Harsh Shandilya
29041cf561
Misc updates ( #1440 )
2021-06-20 12:00:55 +05:30
Harsh Shandilya
7bbdfcf6f6
Remove LeakCanary from snapshot builds ( #1435 )
2021-06-07 17:18:17 +00:00
Harsh Shandilya
fbb4dafc1c
gradle: update AndroidX dependencies ( #1430 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-06-04 11:30:30 +05:30
Harsh Shandilya
f769968bdc
Fix 'View generated SSH key' option showing when not applicable ( #1426 )
...
* RepositorySettings: only show preference when available
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* RepositorySettings: update 'View generated SSH key' preference after generating
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-31 11:47:35 +05:30
Harsh Shandilya
7f7c0e7cb1
app: replace getEncryptedProxyPrefs with injection
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 11:43:57 +05:30
Harsh Shandilya
5e9a91a3b8
app: replace some uses of getEncryptedGitPrefs
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 11:43:54 +05:30
Harsh Shandilya
434329268a
BasePgpActivity: inject settings through Hilt
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:29:43 +05:30
Harsh Shandilya
0027710465
app: use unsafeLazy everywhere
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:21:00 +05:30
Harsh Shandilya
6388bc7ac9
extensions: add unsafeLazy
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 02:20:58 +05:30
Harsh Shandilya
3f20678d79
autofill-parser: remove Bromite from supported browsers ( #1423 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-26 21:03:08 +05:30
Aditya Wasan
373a46f73a
Add compose dependencies ( #1421 )
...
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-25 09:45:26 +00:00
Harsh Shandilya
6f453cc27c
app: use PasswordEntry#extraContentString
for editing
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 18:21:41 +05:30
Harsh Shandilya
790b7c94d3
Tweak git server config screen UI and remove unused resources ( #1419 )
...
* themes: tweak Chip text appearance
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app: tweak git server settings UI
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* app: remove unused resources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 14:04:01 +05:30
Harsh Shandilya
f2ad7e489f
lint: one bug fixed and another takes its place
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 22:16:52 +05:30
Harsh Shandilya
50b481f304
app: cleanup PasswordRepository
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:35:10 +05:30
Harsh Shandilya
f66652cbc6
Tweak documentation and drop unused import
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:14:21 +05:30
Aditya Wasan
a2741cd871
docs: Document qualifiers
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:56 +05:30
Aditya Wasan
1583c4c600
app: lazily initialize hiltEntryPoint to make sure that activity is available before we use appContext
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:55 +05:30
Aditya Wasan
1ae961e51c
test: remove context parameter
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:54 +05:30
Aditya Wasan
521f4772d7
spotless: fix formatting
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:54 +05:30
Aditya Wasan
d45bb753cf
test: update MigrationsTest to run on JVM
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:53 +05:30
Aditya Wasan
c3f8de99be
app: refactor GitSettings and ProxyUtils and inject them using hilt
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:53 +05:30
Aditya Wasan
47099c723b
di: add context and preferences module
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 17:24:49 +05:30
SphericalKat
9fcbde2f07
chore(format): format code using spotless
...
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-22 13:41:51 +05:30
SphericalKat
49d8183917
fix(tests): return null/default values from faked android sdk
...
fixes behaviour of getFilesDir
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:45:34 +05:30
SphericalKat
bd09190786
refactor(extension): remove PreferenceManager dependency for getting preferences
...
should help when using faked SharedPreferences
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:21:53 +05:30
SphericalKat
f377510afb
chore(build): add mock shared preference dependency
...
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-05-17 14:19:02 +05:30
Harsh Shandilya
285bf9d929
Move file reads in RV adapters to a background dispatcher
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:48:05 +05:30
Harsh Shandilya
7e2eb2425e
all: reformat with Spotless again
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
859dc008bc
Upgrade Gradle and androidx.annotation
( #1407 )
2021-05-12 16:11:32 +05:30
Aditya Wasan
e6e52b3594
Show current copy timeout in settings ( #1404 )
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-11 20:04:12 +00:00
Harsh Shandilya
a57c013619
app: update GpgIdentifier tests
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 11:33:21 +05:30
Harsh Shandilya
905e45c50a
strings: sync with crowdin
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 06:34:59 +05:30
Harsh Shandilya
f834c754e6
Refactor openpgp-ktx to leverage coroutines ( #1398 )
...
* openpgp-ktx: leverage coroutines for async IPC
* Unwind nested dispatchers
* Fix name shadowing warning
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-30 23:22:01 +05:30
Harsh Shandilya
4880e1db27
Upgrade to Kotlin 1.5 ( #1397 )
...
* build: upgrade Kotlin to 1.5.0 and Hilt to 2.35.1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: address kotlin.time.seconds deprecation
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* autofill-parser/openpgp-ktx: require Kotlin 1.5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* all: address string method deprecations
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: disable NewApi lint
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-28 10:27:14 +05:30
Harsh Shandilya
d3bc28c1c3
Do not ASCII armor files when encrypting ( #1396 )
2021-04-25 09:17:40 +00:00
Harsh Shandilya
a5b6dfc106
Support creating pinned shortcuts directly ( #1393 )
...
* CHANGELOG: update for pinning support
* PasswordFragment: support pinning
* PasswordStore: use `PasswordItem#createAuthEnabledIntent`
* PasswordItem: add `createAuthEnabledIntent` API
* DecryptActivity: remove last changed time
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21 18:10:19 +05:30
Harsh Shandilya
6ff01f5e1e
Refactor app shortcut handling ( #1392 )
2021-04-21 18:07:35 +05:30
Harsh Shandilya
53c3431ef0
Enable StrictMode in debug logging builds ( #1391 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-21 08:06:47 +00:00
Harsh Shandilya
213778122c
Migrate some tests to Robolectric ( #1389 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-19 17:13:12 +05:30
Harsh Shandilya
7710ca9024
Remove hand-rolled CoroutineScope and fix inverted conditions ( #1386 )
2021-04-18 08:45:45 +00:00
Harsh Shandilya
a3ebcfcc62
app: switch to format-common's PasswordEntry
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:22:52 +05:30
Harsh Shandilya
a0fdd6ddc3
app: configure Hilt and desugaring
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:03:17 +05:30
Harsh Shandilya
cfbdb5f92a
Update to Gradle 7.0 ( #1381 )
2021-04-12 12:08:06 +00:00