Commit graph

2186 commits

Author SHA1 Message Date
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
3ae105df92
Configure Spotless for all projects and tweak Dagger flags (#1427) 2021-06-01 09:35:05 +00:00
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
1446947811
format-common: remove weirdly worded comment
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 12:36:49 +05:30
Harsh Shandilya
5f83d6f2ff
format-common: don't use hard-coded currentTimeMillis in TOTP logic
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 12:36:25 +05:30
Harsh Shandilya
0de22d7f60
contributing: document unsafeLazy
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-30 11:49:44 +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
4bc023ce3b
gradle: bump deps
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-28 21:30:53 +05:30
Harsh Shandilya
c161afccea
idea: untrack some files
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-27 04:33:02 +05:30
Harsh Shandilya
52ea59275e
openpgp-ktx: fix compilation warnings
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-27 04:31:31 +05:30
Harsh Shandilya
a740cb570a
build: escalate warnings to errors
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-05-27 04:29:13 +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
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