Commit graph

1768 commits

Author SHA1 Message Date
Harsh Shandilya
b2b1e92b45
format-common: make PasswordEntry#extraContentString public API
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 18:21:02 +05:30
Harsh Shandilya
e04371d64a
gradle: downgrade AppCompat to stable
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-23 18:11:52 +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
8f4cab4917
build: upgrade AGP
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 22:13:29 +05:30
Harsh Shandilya
38bf9d2123
format-common: replace deprecated functions
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 21:23:47 +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
8c6297d56f
github: add environment variables to crowdin workflow
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:34:53 +05:30
Harsh Shandilya
35571fcfba
github: use team reference in codeowners
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:29:04 +05:30
Harsh Shandilya
055b3478c5
gradle: bump AndroidX dependencies
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-22 20:24:42 +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
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