Aditya Wasan
d9d18069ab
ci: remove instrumentationTest step and run action on ubuntu-latest
...
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
2021-05-22 20:05:55 +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
cdf8e76ac6
meta: add an ignore-revs file and document its use
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:34 +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
2fcb285e27
spotless: don't set the ratchetFrom option
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-15 15:40:20 +05:30
Harsh Shandilya
f25dabc5e7
Bump Robolectric, Gradle and kotlinx.coroutines ( #1408 )
2021-05-15 06:59:35 +00:00
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
36e23c4cb5
build: bump kgp-leak-patcher
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:35 +05:30
Harsh Shandilya
67cd6c02a1
gradle: update core-ktx, material and recyclerview-selection
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:34 +05:30
Harsh Shandilya
a9cf7d645d
build: bump zxing-android and move to MavenCentral
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:34 +05:30
Harsh Shandilya
7050f0ea40
build: switch to Spotless for formatting
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
00e0881e47
build: fix Crowdin plugin resolving variables eagerly
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
2ab47ca6ad
build: remove deprecated IR toggle
...
It's enabled by default in Kotlin 1.5.0
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:33 +05:30
Harsh Shandilya
c56784a742
build: remove unused JCenter include
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:32 +05:30
Harsh Shandilya
144b120692
github: cleanup and better document PR workflow skip logic
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 11:52:32 +05:30
Harsh Shandilya
565cd32d79
github: bump actions/github-script to v4.0.2
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-09 09:32:08 +05:30
Harsh Shandilya
2f335e300a
github: bump reactivecircus/android-emulator-runner to v2.16.0
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07 19:05:41 +05:30
Harsh Shandilya
9d4a490c44
build: bump gradle-maven-publish-plugin to 0.15.1
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-07 19:05:40 +05:30
Harsh Shandilya
0f465d4b95
Upgrade Kotlin and AndroidX dependencies ( #1402 )
2021-05-06 06:53:53 +00:00
Harsh Shandilya
db77ceccad
Fix incorrect changelog entries ( #1401 )
2021-05-02 22:58:38 +05:30
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
2fab258bc0
openpgp-ktx: accept emails without a TLD
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 11:14:08 +05:30
Harsh Shandilya
ec7daf895e
build: trigger a Crowdin build before syncing strings
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 07:36:18 +05:30
Harsh Shandilya
fb110e5a9a
github: fix crowdin workflow naming
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-02 06:35:17 +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
77d1a616de
build: bump AndroidX Activity, Core, and Fragment ( #1394 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-22 00:05:49 +02: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
Aditya Wasan
7a532302e3
Use correct time to find TOTP secret ( #1387 )
2021-04-18 10:08:54 +00:00
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
77abe7ee2c
format-common: initial API for PasswordEntry
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 04:03:17 +05:30
Harsh Shandilya
931cc052a8
format-common: add baseline module
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-04-18 03:01:14 +05:30