Skip to content

Shift contributions to use Room DB #3324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ashishkumar468
Copy link
Collaborator

Description (required)

Tests performed (required)

Tested betaDebug on Samsung S7

* Added Room Dependency
* Shifted ContributionsDao to use RoomDB
Copy link

@tests-checker tests-checker bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add tests to make sure this change works as expected?

@maskaravivek
Copy link
Member

@ashishkumar468 Is this PR ready for review?

@ashishkumar468 ashishkumar468 changed the title [WIP]Shift contributions to use Room DB Shift contributions to use Room DB Feb 23, 2020
@ashishkumar468
Copy link
Collaborator Author

Hi @maskaravivek @neslihanturan. This PR is up for testing. Please help with the same

Copy link
Member

@maskaravivek maskaravivek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tested the PR but the changes look good to me.

Excited to finally have room integrated into our app. :)

@codecov-io
Copy link

codecov-io commented Feb 24, 2020

Codecov Report

Merging #3324 into master will decrease coverage by 0.11%.
The diff coverage is 8.44%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master   #3324      +/-   ##
===========================================
- Coverage      7.75%   7.64%   -0.12%     
- Complexity        0     298     +298     
===========================================
  Files           256     255       -1     
  Lines         11351   11178     -173     
  Branches        927     900      -27     
===========================================
- Hits            880     854      -26     
+ Misses        10404   10254     -150     
- Partials         67      70       +3
Impacted Files Coverage Δ Complexity Δ
...w/commons/contributions/ContributionsContract.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...r/free/nrw/commons/contributions/Contribution.java 0.94% <ø> (ø) 1 <0> (+1) ⬆️
...e/nrw/commons/di/ContentProviderBuilderModule.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...r/free/nrw/commons/contributions/MainActivity.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...n/java/fr/free/nrw/commons/CommonsApplication.java 1.06% <0%> (+1.06%) 1 <0> (+1) ⬆️
...ommons/contributions/ContributionsListAdapter.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...n/java/fr/free/nrw/commons/upload/UploadModel.java 23.57% <0%> (-0.17%) 4 <0> (+4)
...java/fr/free/nrw/commons/upload/UploadService.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...commons/contributions/ContributionsRepository.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...s/contributions/model/DisplayableContribution.java 0% <0%> (ø) 0 <0> (ø) ⬇️
... and 34 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47155d1...1181a81. Read the comment docs.

@neslihanturan
Copy link
Collaborator

Hey @ashishkumar468 thanks a lot , this is the first screen I get on both fresh install and existing one:

image

@ashishkumar468
Copy link
Collaborator Author

Hi @neslihanturan That's wierd, I am able to see the contributions for prodDebug,
device-2020-02-24-205722
Can you paste the relevant logs?

@neslihanturan
Copy link
Collaborator

Here @ashishkumar468


2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule.provideOkHttpClient(android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule.java:73)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.proxyProvideOkHttpClient(fr.free.nrw.commons.di.NetworkingModule, android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule_ProvideOkHttpClientFactory.java:44)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:29)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:11)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object dagger.internal.DoubleCheck.get() (DoubleCheck.java:47)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at fr.free.nrw.commons.CommonsApplication fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.injectCommonsApplication(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1442)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.inject(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1393)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void fr.free.nrw.commons.CommonsApplication.onCreate() (CommonsApplication.java:146)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1118)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5791)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1661)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.os.Looper.loop() (Looper.java:164)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
2020-02-24 18:45:45.861 8055-8055/? I/zygote: Caused by: java.lang.ClassNotFoundException: Didn't find class "org.conscrypt.ConscryptHostnameVerifier" on path: DexPathList[[zip file "/data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/base.apk"],nativeLibraryDirectories=[/data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/lib/x86, /data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.internal.platform.android.SocketAdapter okhttp3.internal.platform.android.ConscryptSocketAdapter.buildIfSupported() (ConscryptSocketAdapter.kt:64)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void okhttp3.internal.platform.AndroidPlatform.<init>() (AndroidPlatform.kt:45)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported() (AndroidPlatform.kt:239)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.findPlatform() (Platform.kt:211)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.access$findPlatform(okhttp3.internal.platform.Platform$Companion) (Platform.kt:179)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void okhttp3.internal.platform.Platform.<clinit>() (Platform.kt:180)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void okhttp3.OkHttpClient.<init>(okhttp3.OkHttpClient$Builder) (OkHttpClient.kt:219)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient okhttp3.OkHttpClient$Builder.build() (OkHttpClient.kt:955)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule.provideOkHttpClient(android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule.java:73)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.proxyProvideOkHttpClient(fr.free.nrw.commons.di.NetworkingModule, android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule_ProvideOkHttpClientFactory.java:44)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:29)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:11)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object dagger.internal.DoubleCheck.get() (DoubleCheck.java:47)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at fr.free.nrw.commons.CommonsApplication fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.injectCommonsApplication(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1442)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.inject(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1393)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void fr.free.nrw.commons.CommonsApplication.onCreate() (CommonsApplication.java:146)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1118)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5791)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1661)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.os.Looper.loop() (Looper.java:164)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
2020-02-24 18:45:45.861 8055-8055/? I/zygote:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
2020-02-24 18:45:45.862 8055-8055/? I/zygote: Rejecting re-init on previously-failed class java.lang.Class<okhttp3.internal.platform.ConscryptPlatform$configureTrustManager$1>: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/conscrypt/ConscryptHostnameVerifier;
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.android.SocketAdapter okhttp3.internal.platform.android.ConscryptSocketAdapter.buildIfSupported() (ConscryptSocketAdapter.kt:64)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.internal.platform.AndroidPlatform.<init>() (AndroidPlatform.kt:45)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported() (AndroidPlatform.kt:239)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.findPlatform() (Platform.kt:211)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.access$findPlatform(okhttp3.internal.platform.Platform$Companion) (Platform.kt:179)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.internal.platform.Platform.<clinit>() (Platform.kt:180)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.OkHttpClient.<init>(okhttp3.OkHttpClient$Builder) (OkHttpClient.kt:219)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient okhttp3.OkHttpClient$Builder.build() (OkHttpClient.kt:955)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule.provideOkHttpClient(android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule.java:73)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.proxyProvideOkHttpClient(fr.free.nrw.commons.di.NetworkingModule, android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule_ProvideOkHttpClientFactory.java:44)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:29)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:11)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object dagger.internal.DoubleCheck.get() (DoubleCheck.java:47)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at fr.free.nrw.commons.CommonsApplication fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.injectCommonsApplication(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1442)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.inject(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1393)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void fr.free.nrw.commons.CommonsApplication.onCreate() (CommonsApplication.java:146)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1118)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5791)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1661)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.os.Looper.loop() (Looper.java:164)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
2020-02-24 18:45:45.862 8055-8055/? I/zygote: Caused by: java.lang.ClassNotFoundException: Didn't find class "org.conscrypt.ConscryptHostnameVerifier" on path: DexPathList[[zip file "/data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/base.apk"],nativeLibraryDirectories=[/data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/lib/x86, /data/app/fr.free.nrw.commons-gNiKEhVJoEd3fc87cuoF3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.android.SocketAdapter okhttp3.internal.platform.android.ConscryptSocketAdapter.buildIfSupported() (ConscryptSocketAdapter.kt:64)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.internal.platform.AndroidPlatform.<init>() (AndroidPlatform.kt:45)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.AndroidPlatform$Companion.buildIfSupported() (AndroidPlatform.kt:239)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.findPlatform() (Platform.kt:211)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.internal.platform.Platform okhttp3.internal.platform.Platform$Companion.access$findPlatform(okhttp3.internal.platform.Platform$Companion) (Platform.kt:179)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.internal.platform.Platform.<clinit>() (Platform.kt:180)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void okhttp3.OkHttpClient.<init>(okhttp3.OkHttpClient$Builder) (OkHttpClient.kt:219)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient okhttp3.OkHttpClient$Builder.build() (OkHttpClient.kt:955)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule.provideOkHttpClient(android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule.java:73)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.proxyProvideOkHttpClient(fr.free.nrw.commons.di.NetworkingModule, android.content.Context, okhttp3.logging.HttpLoggingInterceptor) (NetworkingModule_ProvideOkHttpClientFactory.java:44)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at okhttp3.OkHttpClient fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:29)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object fr.free.nrw.commons.di.NetworkingModule_ProvideOkHttpClientFactory.get() (NetworkingModule_ProvideOkHttpClientFactory.java:11)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object dagger.internal.DoubleCheck.get() (DoubleCheck.java:47)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at fr.free.nrw.commons.CommonsApplication fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.injectCommonsApplication(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1442)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void fr.free.nrw.commons.di.DaggerCommonsApplicationComponent.inject(fr.free.nrw.commons.CommonsApplication) (DaggerCommonsApplicationComponent.java:1393)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void fr.free.nrw.commons.CommonsApplication.onCreate() (CommonsApplication.java:146)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.Instrumentation.callApplicationOnCreate(android.app.Application) (Instrumentation.java:1118)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.handleBindApplication(android.app.ActivityThread$AppBindData) (ActivityThread.java:5791)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.-wrap1(android.app.ActivityThread, android.app.ActivityThread$AppBindData) (ActivityThread.java:-1)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1661)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.os.Looper.loop() (Looper.java:164)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
2020-02-24 18:45:45.862 8055-8055/? I/zygote:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
2020-02-24 18:45:45.867 8055-8055/? D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2020-02-24 18:45:45.887 8055-8055/? D/SoLoader: init exiting
2020-02-24 18:45:46.080 8055-8060/? I/zygote: Do full code cache collection, code=106KB, data=105KB
2020-02-24 18:45:46.081 8055-8060/? I/zygote: After code cache collection, code=81KB, data=68KB
2020-02-24 18:45:46.083 8055-8060/? I/zygote: Do partial code cache collection, code=81KB, data=50KB
2020-02-24 18:45:46.085 8055-8060/? I/zygote: After code cache collection, code=81KB, data=50KB
2020-02-24 18:45:46.085 8055-8060/? I/zygote: Increasing code cache capacity to 512KB
2020-02-24 18:45:46.085 8055-8060/? I/zygote: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.<init>()
2020-02-24 18:45:46.169 8055-8055/? I/AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
2020-02-24 18:45:46.282 8055-8107/? V/OkHttp: --> GET https://tools.wmflabs.org/urbanecmbot/commonsmisc/uploadsbyuser.py?user=Flanoz
2020-02-24 18:45:46.282 8055-8107/? V/OkHttp: --> END GET
2020-02-24 18:45:46.291 8055-8113/? I/OkHttpJsonApiClient: Url https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Flanoz
2020-02-24 18:45:46.294 8055-8113/? V/OkHttp: --> GET https://tools.wmflabs.org/urbanecmbot/commonsmisc/feedback.py?user=Flanoz
2020-02-24 18:45:46.294 8055-8113/? V/OkHttp: --> END GET
2020-02-24 18:45:46.345 8055-8120/? D/OkHttp: --> GET https://commons.wikimedia.org/w/api.php?format=json&formatversion=2&errorformat=plaintext&action=query&meta=notifications&notformat=model&notlimit=max&notwikis=wikidatawiki%7Ccommonswiki%7Cenwiki&notfilter=%21read
2020-02-24 18:45:46.350 8055-8122/? D/OpenGLRenderer: HWUI GL Pipeline
2020-02-24 18:45:46.353 8055-8120/? D/CookieManager: Domain:commons.wikimedia.org
2020-02-24 18:45:46.364 8055-8123/? D/CrashJobIntentService: onHandleWork
2020-02-24 18:45:46.364 8055-8123/? W/CrashJobIntentService: Root directory doesn't exist
2020-02-24 18:45:46.479 8055-8128/? V/OkHttp: --> GET https://tools.wmflabs.org/urbanecmbot/commonsmisc/uploadsbyuser.py?user=Flanoz
2020-02-24 18:45:46.479 8055-8128/? V/OkHttp: --> END GET

@ashishkumar468
Copy link
Collaborator Author

ashishkumar468 commented Feb 24, 2020

Hi @neslihanturan. The logs you have added do not provide much information, I have pushed the changes with logs, can you fetch the latest changes and add the logs again with the filter on ContributionsPresenter

@neslihanturan
Copy link
Collaborator

2020-02-24 19:04:25.530 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: fetch  Contributions
2020-02-24 19:04:25.537 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: last fetch timestamp: 1582559148655
2020-02-24 19:04:25.538 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: fetching contributions: 
2020-02-24 19:04:28.190 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:A GNU edits wikipedia.svg
2020-02-24 19:04:28.192 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:A GNU edits wikipedia.svg passed filters
2020-02-24 19:04:28.198 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Cats are hugging.jpg
2020-02-24 19:04:28.198 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Cats are hugging.jpg passed filters
2020-02-24 19:04:28.200 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:A GNU edits wikipedia.svg
2020-02-24 19:04:28.200 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:A GNU edits wikipedia.svg passed filters
2020-02-24 19:04:28.202 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Only for test purposes.jpg
2020-02-24 19:04:28.202 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Only for test purposes.jpg passed filters
2020-02-24 19:04:28.211 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Bridal veil falls 2.jpg
2020-02-24 19:04:28.212 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Bridal veil falls 2.jpg passed filters
2020-02-24 19:04:28.214 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Ships side by side.jpg
2020-02-24 19:04:28.215 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Ships side by side.jpg passed filters
2020-02-24 19:04:28.218 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Wikipedia Turkey Tuesday Meetings Dec24 2019.jpg
2020-02-24 19:04:28.218 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Wikipedia Turkey Tuesday Meetings Dec24 2019.jpg passed filters
2020-02-24 19:04:28.221 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kadin meclisleri 6264.jpg
2020-02-24 19:04:28.222 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kadin meclisleri 6264.jpg passed filters
2020-02-24 19:04:28.224 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Üniversite kadın meclisleri.jpg
2020-02-24 19:04:28.224 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Üniversite kadın meclisleri.jpg passed filters
2020-02-24 19:04:28.226 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kadin cinayetlerini durduracağız platformu eylem.jpg
2020-02-24 19:04:28.226 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kadin cinayetlerini durduracağız platformu eylem.jpg passed filters
2020-02-24 19:04:28.228 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kadın cinayetlerini durduracağız platformu bayrak.jpg
2020-02-24 19:04:28.228 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kadın cinayetlerini durduracağız platformu bayrak.jpg passed filters
2020-02-24 19:04:28.230 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Viola 3.jpg
2020-02-24 19:04:28.231 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Raibow over Marmaris.jpg
2020-02-24 19:04:28.231 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Raibow over Marmaris.jpg passed filters
2020-02-24 19:04:28.233 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Populus 2.jpg
2020-02-24 19:04:28.234 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Populus 2.jpg passed filters
2020-02-24 19:04:28.235 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Viola 2.jpg
2020-02-24 19:04:28.236 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Viola 2.jpg passed filters
2020-02-24 19:04:28.238 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Bozhöyük village, Marmaris.jpg
2020-02-24 19:04:28.238 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Bozhöyük village, Marmaris.jpg passed filters
2020-02-24 19:04:28.240 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:View from Sile.jpg
2020-02-24 19:04:28.240 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:View from Sile.jpg passed filters
2020-02-24 19:04:28.242 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Sea fog.jpg
2020-02-24 19:04:28.243 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Sea fog.jpg passed filters
2020-02-24 19:04:28.245 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Canals in Marmaris.JPG
2020-02-24 19:04:28.246 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Canals in Marmaris.JPG passed filters
2020-02-24 19:04:28.247 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Canals of Marmaris.JPG
2020-02-24 19:04:28.248 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Canals of Marmaris.JPG passed filters
2020-02-24 19:04:28.250 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Emergency button .JPG
2020-02-24 19:04:28.251 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Emergency button .JPG passed filters
2020-02-24 19:04:28.253 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kadikoy subway security stickers.JPG
2020-02-24 19:04:28.253 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kadikoy subway security stickers.JPG passed filters
2020-02-24 19:04:28.255 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Marmaris 2.JPG
2020-02-24 19:04:28.256 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Marmaris 2.JPG passed filters
2020-02-24 19:04:28.257 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Tavsantepe-Kadikoy subway direction arrows.JPG
2020-02-24 19:04:28.258 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Tavsantepe-Kadikoy subway direction arrows.JPG passed filters
2020-02-24 19:04:28.259 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kadikoy direction signboard.jpg
2020-02-24 19:04:28.259 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kadikoy direction signboard.jpg passed filters
2020-02-24 19:04:28.260 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Tavsantepe-Kadikoy subway line.JPG
2020-02-24 19:04:28.260 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Tavsantepe-Kadikoy subway line.JPG passed filters
2020-02-24 19:04:28.261 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Chess pieces.JPG
2020-02-24 19:04:28.262 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Chess pieces.JPG passed filters
2020-02-24 19:04:28.263 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:A dog yawning.JPG
2020-02-24 19:04:28.265 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:A dog yawning.JPG passed filters
2020-02-24 19:04:28.269 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Sack of walnuts.jpg
2020-02-24 19:04:28.270 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Sack of walnuts.jpg passed filters
2020-02-24 19:04:28.271 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Churchkhela.JPG
2020-02-24 19:04:28.272 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Churchkhela.JPG passed filters
2020-02-24 19:04:28.278 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Beach umbrellas.JPG
2020-02-24 19:04:28.279 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Beach umbrellas.JPG passed filters
2020-02-24 19:04:28.280 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Dried fruit shop.jpg
2020-02-24 19:04:28.281 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Dried fruit shop.jpg passed filters
2020-02-24 19:04:28.282 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Testing Commons app.jpg
2020-02-24 19:04:28.282 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Melbourne ship view 2.jpg
2020-02-24 19:04:28.282 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Melbourne ship view 2.jpg passed filters
2020-02-24 19:04:28.283 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Melbourne ship view .jpg
2020-02-24 19:04:28.284 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Melbourne ship view .jpg passed filters
2020-02-24 19:04:28.285 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Melbourne ship view.jpg
2020-02-24 19:04:28.285 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Melbourne ship view.jpg passed filters
2020-02-24 19:04:28.286 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Melbourne view.jpg
2020-02-24 19:04:28.286 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Melbourne view.jpg passed filters
2020-02-24 19:04:28.287 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Türkan Saylan Kültür Merkezi.jpg
2020-02-24 19:04:28.288 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Türkan Saylan Kültür Merkezi.jpg passed filters
2020-02-24 19:04:28.288 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Bagel seller.jpg
2020-02-24 19:04:28.289 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Bagel seller.jpg passed filters
2020-02-24 19:04:28.290 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Triangular bungalow on seaside.jpg
2020-02-24 19:04:28.290 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Triangular bungalow on seaside.jpg passed filters
2020-02-24 19:04:28.292 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Haydarpaşa.jpg
2020-02-24 19:04:28.293 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Haydarpaşa.jpg passed filters
2020-02-24 19:04:28.295 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:CarrefourSA Maltepe Park.jpg
2020-02-24 19:04:28.296 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:CarrefourSA Maltepe Park.jpg passed filters
2020-02-24 19:04:28.297 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Esenkent (Istanbul Metro).jpg
2020-02-24 19:04:28.297 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Esenkent (Istanbul Metro).jpg passed filters
2020-02-24 19:04:28.298 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Soğanlık (Istanbul Metro).jpg
2020-02-24 19:04:28.298 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Soğanlık (Istanbul Metro).jpg passed filters
2020-02-24 19:04:28.299 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Kartal (Istanbul Metro).jpg
2020-02-24 19:04:28.300 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Kartal (Istanbul Metro).jpg passed filters
2020-02-24 19:04:28.301 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Surp Takavor Kilisesi.jpg
2020-02-24 19:04:28.305 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Surp Takavor Kilisesi.jpg passed filters
2020-02-24 19:04:28.306 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Rexx Sineması.jpg
2020-02-24 19:04:28.307 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Rexx Sineması.jpg passed filters
2020-02-24 19:04:28.307 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Genetic Information Research Institute 2.jpg
2020-02-24 19:04:28.308 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Jellick Field.jpg
2020-02-24 19:04:28.308 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Centre de Recerca Matemàtica 3.jpg
2020-02-24 19:04:28.309 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Centre de Recerca Matemàtica 3.jpg passed filters
2020-02-24 19:04:28.309 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Centre de Recerca Matemàtica 2.jpg
2020-02-24 19:04:28.309 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Centre de Recerca Matemàtica 2.jpg passed filters
2020-02-24 19:04:28.310 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Centre de Recerca Matemàtica.jpg
2020-02-24 19:04:28.311 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Centre de Recerca Matemàtica.jpg passed filters
2020-02-24 19:04:28.313 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Streets of Barcelona 2.jpg
2020-02-24 19:04:28.313 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Streets of Barcelona 2.jpg passed filters
2020-02-24 19:04:28.314 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Flock of goats.jpg
2020-02-24 19:04:28.315 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Flock of goats.jpg passed filters
2020-02-24 19:04:28.315 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Old wood house.jpg
2020-02-24 19:04:28.316 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Old wood house.jpg passed filters
2020-02-24 19:04:28.319 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Old entrance of a wood home.jpg
2020-02-24 19:04:28.321 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Old entrance of a wood home.jpg passed filters
2020-02-24 19:04:28.322 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Old wood window 2.jpg
2020-02-24 19:04:28.322 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Old wood window 2.jpg passed filters
2020-02-24 19:04:28.323 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Surveillance camera.jpg
2020-02-24 19:04:28.324 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Surveillance camera.jpg passed filters
2020-02-24 19:04:28.325 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Dried Vegetables.jpg
2020-02-24 19:04:28.325 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Dried Vegetables.jpg passed filters
2020-02-24 19:04:28.326 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Luminaire of mosque.jpg
2020-02-24 19:04:28.327 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Luminaire of mosque.jpg passed filters
2020-02-24 19:04:28.327 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Pumpkins on greengrocer.jpg
2020-02-24 19:04:28.328 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Pumpkins on greengrocer.jpg passed filters
2020-02-24 19:04:28.328 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Special bread from Turkey.jpg
2020-02-24 19:04:28.329 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Special bread from Turkey.jpg passed filters
2020-02-24 19:04:28.329 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Locks on the bridge.jpg
2020-02-24 19:04:28.329 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Locks on the bridge.jpg passed filters
2020-02-24 19:04:28.330 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Entrance of St Spyridon Monastery.jpg
2020-02-24 19:04:28.331 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Entrance of St Spyridon Monastery.jpg passed filters
2020-02-24 19:04:28.332 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Candles of St Spyridon Monastery.jpg
2020-02-24 19:04:28.332 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Candles of St Spyridon Monastery.jpg passed filters
2020-02-24 19:04:28.333 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Wood pieces view.jpg
2020-02-24 19:04:28.333 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Wood pieces view.jpg passed filters
2020-02-24 19:04:28.334 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Wooden old house.jpg
2020-02-24 19:04:28.334 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Wooden old house.jpg passed filters
2020-02-24 19:04:28.335 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Street of Heybeliada.jpg
2020-02-24 19:04:28.335 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Street of Heybeliada.jpg passed filters
2020-02-24 19:04:28.336 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Path in nature.jpg
2020-02-24 19:04:28.337 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Path in nature.jpg passed filters
2020-02-24 19:04:28.337 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Boats on sea.jpg
2020-02-24 19:04:28.338 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Boats on sea.jpg passed filters
2020-02-24 19:04:28.338 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Colorful protest poster.jpg
2020-02-24 19:04:28.339 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Colorful protest poster.jpg passed filters
2020-02-24 19:04:28.339 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Creative protest poster.jpg
2020-02-24 19:04:28.340 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Creative protest poster.jpg passed filters
2020-02-24 19:04:28.341 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Feminist protest from Turkey.jpg
2020-02-24 19:04:28.341 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Feminist protest from Turkey.jpg passed filters
2020-02-24 19:04:28.342 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Prague handwork bazaar.jpg
2020-02-24 19:04:28.342 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Prague handwork bazaar.jpg passed filters
2020-02-24 19:04:28.347 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 47.jpg
2020-02-24 19:04:28.348 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 46.jpg
2020-02-24 19:04:28.349 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 45.jpg
2020-02-24 19:04:28.350 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 44.jpg
2020-02-24 19:04:28.350 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 43.jpg
2020-02-24 19:04:28.350 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 42.jpg
2020-02-24 19:04:28.355 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 41.jpg
2020-02-24 19:04:28.356 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 40.jpg
2020-02-24 19:04:28.356 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 39.jpg
2020-02-24 19:04:28.357 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 38.jpg
2020-02-24 19:04:28.357 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 37.jpg
2020-02-24 19:04:28.358 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 36.jpg
2020-02-24 19:04:28.358 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 35.jpg
2020-02-24 19:04:28.359 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 34.jpg
2020-02-24 19:04:28.359 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 33.jpg
2020-02-24 19:04:28.360 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 32.jpg
2020-02-24 19:04:28.361 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 31.jpg
2020-02-24 19:04:28.362 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 30.jpg
2020-02-24 19:04:28.363 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 29.jpg
2020-02-24 19:04:28.364 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 28.jpg
2020-02-24 19:04:28.364 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 27.jpg
2020-02-24 19:04:28.365 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 26.jpg
2020-02-24 19:04:28.365 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 25.jpg
2020-02-24 19:04:28.366 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 24.jpg
2020-02-24 19:04:28.367 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 23.jpg
2020-02-24 19:04:28.367 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 22.jpg
2020-02-24 19:04:28.368 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 21.jpg
2020-02-24 19:04:28.369 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 20.jpg
2020-02-24 19:04:28.370 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 19.jpg
2020-02-24 19:04:28.370 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 18.jpg
2020-02-24 19:04:28.375 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 17.jpg
2020-02-24 19:04:28.376 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 16.jpg
2020-02-24 19:04:28.377 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 15.jpg
2020-02-24 19:04:28.377 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 14.jpg
2020-02-24 19:04:28.378 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 13.jpg
2020-02-24 19:04:28.378 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 12.jpg
2020-02-24 19:04:28.378 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 11.jpg
2020-02-24 19:04:28.379 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 10.jpg
2020-02-24 19:04:28.379 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 9.jpg
2020-02-24 19:04:28.380 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Test 9.jpg passed filters
2020-02-24 19:04:28.381 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Horizontal black mock-up.png
2020-02-24 19:04:28.382 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Vertical black mock-up.png
2020-02-24 19:04:28.382 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Horizontal white mock-up.png
2020-02-24 19:04:28.383 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Vertical white mock-up.png
2020-02-24 19:04:28.383 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 10.jpg
2020-02-24 19:04:28.384 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 9.jpg
2020-02-24 19:04:28.384 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Test 9.jpg passed filters
2020-02-24 19:04:28.385 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 9.jpg
2020-02-24 19:04:28.386 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Test 9.jpg passed filters
2020-02-24 19:04:28.387 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 12.jpg
2020-02-24 19:04:28.387 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 11.jpg
2020-02-24 19:04:28.388 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 10.jpg
2020-02-24 19:04:28.388 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 9.jpg
2020-02-24 19:04:28.389 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Test 9.jpg passed filters
2020-02-24 19:04:28.400 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Test 8.jpg
2020-02-24 19:04:28.400 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Deneme 2.jpg
2020-02-24 19:04:28.401 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Deneme 2.jpg passed filters
2020-02-24 19:04:28.402 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Prague John Lennon Wall.jpg
2020-02-24 19:04:28.403 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Prague John Lennon Wall.jpg passed filters
2020-02-24 19:04:28.404 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Colorful crochet.jpg
2020-02-24 19:04:28.405 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Colorful crochet.jpg passed filters
2020-02-24 19:04:28.406 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Friendly pidgin.jpg
2020-02-24 19:04:28.406 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Friendly pidgin.jpg passed filters
2020-02-24 19:04:28.420 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Painting from John Lennon Wall.jpg
2020-02-24 19:04:28.421 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Painting from John Lennon Wall.jpg passed filters
2020-02-24 19:04:28.422 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Street art painting.jpg
2020-02-24 19:04:28.422 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Street art painting.jpg passed filters
2020-02-24 19:04:28.423 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Commemorative plaque for Dr. Jan Krejciho .jpg
2020-02-24 19:04:28.423 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Commemorative plaque for Dr. Jan Krejciho .jpg passed filters
2020-02-24 19:04:28.424 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:A group of birds.jpg
2020-02-24 19:04:28.425 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:A group of birds.jpg passed filters
2020-02-24 19:04:28.430 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Water goblin statue.jpg
2020-02-24 19:04:28.431 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Water goblin statue.jpg passed filters
2020-02-24 19:04:28.432 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Door of St. Peter and Paul Cathedral.jpg
2020-02-24 19:04:28.433 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Door of St. Peter and Paul Cathedral.jpg passed filters
2020-02-24 19:04:28.435 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Vysehrad stairs.jpg
2020-02-24 19:04:28.436 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Vysehrad stairs.jpg passed filters
2020-02-24 19:04:28.437 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Cesky Yacht Club.jpg
2020-02-24 19:04:28.437 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Cesky Yacht Club.jpg passed filters
2020-02-24 19:04:28.438 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Old bricks window arches.jpg
2020-02-24 19:04:28.438 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Old bricks window arches.jpg passed filters
2020-02-24 19:04:28.440 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Spider web at night.jpg
2020-02-24 19:04:28.440 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Spider web at night.jpg passed filters
2020-02-24 19:04:28.441 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Old boats 2.jpg
2020-02-24 19:04:28.442 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Old boats 2.jpg passed filters
2020-02-24 19:04:28.443 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Wien Geiselbergstrasse s-bahn station graffiti 2.jpg
2020-02-24 19:04:28.443 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Wien Geiselbergstrasse s-bahn station graffiti 2.jpg passed filters
2020-02-24 19:04:28.444 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Wien Geiselbergstrasse s-bahn station graffiti.jpg
2020-02-24 19:04:28.444 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Wien Geiselbergstrasse s-bahn station graffiti.jpg passed filters
2020-02-24 19:04:28.445 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Somethiny.jpg
2020-02-24 19:04:28.445 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:New set - 2.jpg
2020-02-24 19:04:28.445 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:New set - 1.jpg
2020-02-24 19:04:28.446 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Cne.jpg
2020-02-24 19:04:28.446 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:K 2.jpg
2020-02-24 19:04:28.446 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Round gate.jpg
2020-02-24 19:04:28.447 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Round gate.jpg passed filters
2020-02-24 19:04:28.447 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Cine Dore.jpg
2020-02-24 19:04:28.448 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Cine Dore.jpg passed filters
2020-02-24 19:04:28.448 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Door 4.jpg
2020-02-24 19:04:28.448 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Image File:Door 4.jpg passed filters
2020-02-24 19:04:28.449 8527-8527/fr.free.nrw.commons D/ContributionsPresenter: Received image File:Food 8.jpg

Here is probably more related logs. And here is the version of the app, just to verify: 2.12.3-debug-ashishkumar468-refactor/contributions-to-room~6ed757c63

@neslihanturan
Copy link
Collaborator

Hey @ashishkumar468 , reporting regarding your latest changes. First upload works well, then second upload fails. Retry button doesnt help. Here are the logs:

2020-03-06 18:18:05.631 1450-1450/? I/boot-pipe: done populating /dev/random
2020-03-06 18:18:12.872 26540-28746/fr.free.nrw.commons D/OkHttp: <-- HTTP FAILED: java.net.SocketTimeoutException: timeout
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService: Exception during upload
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService: java.net.SocketTimeoutException: timeout
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:662)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:671)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:142)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:99)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:105)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:82)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:37)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at fr.free.nrw.commons.OkHttpConnectionFactory$CommonHeaderRequestInterceptor.intercept(OkHttpConnectionFactory.java:62)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService:     at fr.free.nrw.commons.OkHttpConnectionFactory$UnsuccessfulResponseInterceptor.intercept(OkHttpConnectionFactory.java:68)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:215)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at okhttp3.RealCall.execute(RealCall.kt:66)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at retrofit2.OkHttpCall.execute(OkHttpCall.java:188)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:42)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.Observable.subscribe(Observable.java:12267)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:34)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.Observable.subscribe(Observable.java:12267)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.operators.observable.ObservableMap.subscribeActual(ObservableMap.java:32)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.Observable.subscribe(Observable.java:12267)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.operators.observable.ObservableScalarXMap.tryScalarXMapSubscribe(ObservableScalarXMap.java:96)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.operators.observable.ObservableFlatMap.subscribeActual(ObservableFlatMap.java:51)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.Observable.subscribe(Observable.java:12267)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
2020-03-06 18:18:12.877 26540-28739/fr.free.nrw.commons W/UploadService:     at java.lang.Thread.run(Thread.java:764)
2020-03-06 18:18:12.882 1580-2267/? D/NuPlayerDriver: stop(0xabb21620)

@ashishkumar468
Copy link
Collaborator Author

Hey @neslihanturan , the error logs show timeout, does the retry not work as in does it not actually retries the upload?

@neslihanturan
Copy link
Collaborator

Sorry I cant get the question :( What I did is clicking on retry button after it failed.

@ashishkumar468
Copy link
Collaborator Author

Sorry I cant get the question :( What I did is clicking on retry button after it failed.

I meant what happens when you retry?

@neslihanturan
Copy link
Collaborator

it fails again

@ashishkumar468
Copy link
Collaborator Author

Anyways its a timeout issue, related to the network connection strength. This would happen on master as well, not related to this PR :)

@neslihanturan
Copy link
Collaborator

Then I canceled the upload and tried to upload it again. It failed again. I guess my connection is okay

@ashishkumar468
Copy link
Collaborator Author

Then I canceled the upload and tried to upload it again. It failed again. I guess my connection is okay

Yes, but we have a timeout in our network client, and it does not just depend on your network connection, its a file upload operation, this is the relevant log
java.net.SocketTimeoutException: timeout

2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService: Exception during upload
2020-03-06 18:18:12.876 26540-28739/fr.free.nrw.commons W/UploadService: java.net.SocketTimeoutException: timeout

@ashishkumar468
Copy link
Collaborator Author

Hey @neslihanturan , I just tried two uploads and they seem to work fine
https://drive.google.com/open?id=1AlGAnLOWsIIbsY-XFHJuEcpXLZexqUQu

Just an FYI, I have not played around with the way files are uploaded in this PR, only the local db has changed

* Typo in Contributions
* ReasonBuilderTest (create media object instead of mocking)
* Use global Gson object instead of creating a new one in Converters
@macgills
Copy link
Contributor

macgills commented Mar 9, 2020

This comment might've got lost in the flood of comments from myself @ashishkumar468

@ashishkumar468
Copy link
Collaborator Author

Hey, @neslihanturan I have addressed all the comments, please have a look. Thanks to @macgills for helping me out with the Dagger part.

Copy link
Collaborator

@neslihanturan neslihanturan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @ashishkumar468 , it works during my tests :)

@neslihanturan neslihanturan merged commit 99c6f5f into commons-app:master Mar 9, 2020
@ashishkumar468 ashishkumar468 deleted the refactor/contributions-to-room branch March 10, 2020 04:36
maskaravivek added a commit to maskaravivek/apps-android-commons that referenced this pull request Apr 20, 2020
* Versioning

* Update changelog.md

* Optimize imports (commons-app#3272)

* Convert few model classes to kotlin (commons-app#3270)

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3231 "Nearby" always first puts me in Punta Arenas (commons-app#3271)

* Update tables from 10 to 11

* Remove unneeded changes

* Update strings.xml (commons-app#3285)

Improve share_text string for commons-app#3192.

* Localisation updates from https://translatewiki.net.

* color accent changed tto blue in dark theme (commons-app#3234)

* Localisation updates from https://translatewiki.net.

* Fix UI tests (commons-app#3297)

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Bugfix/null revision in review (commons-app#3309)

* Fixes commons-app#3305
 * Handle null firstRevision

* initialise explanation

* Fixes commons-app#3307 (commons-app#3308)

* Fixed positional argument format for string in "image_uploaded_by"

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* More natural language instead of a slash (commons-app#3318)

* Remove unnecessary space before colon (commons-app#3317)

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Versioning for v2.12.1

* Update changelog.md

* Localisation updates from https://translatewiki.net.

* CategoryItem: add javadocs to the file (commons-app#3332)

* Change tempalte character case from EXIF to Exif (commons-app#3330)

* Fixes commons-app#3335 (commons-app#3337)

Handled sqlitexception for adding existig column in app versions which already have COLUMN location_pic

* Issue 3236: Change nearby search text to white (commons-app#3331)

* Clear parent from customView if parent is not null

* Apply white search bar theme to nearby search

* Undo changes from bad merge

* Fix up tag formatting

* Versioning for v2.12.2

* Update changelog.md

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3320 (commons-app#3349)

* Fixes commons-app#3320
* Added SSL certificate for commons beta
* Asked OKHTTP client to use SSLContext from beta certificate
* Probable Fix of commons-app#3345

* Use ConfigUtils to verify flavor

* Fixes commons-app#3345 (commons-app#3350)

* Fixes commons-app#3345
* Trust all hosts for beta
* Added a custom NetworkFetcger for Fresco when on beta

* removed unused assets

* make TestCommonsApplication extend Application instead of Commons Application

* Fixes commons-app#3336 Hotfix: Coordinates of picture are not uploaded (commons-app#3339)

* Fixes commons-app#3336
 * Donot redact locatio by default

* Correction inn default tag save

* Use same key across application for managedExifTags

* Updated key name to avoid class cast in existing build

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3327: Trim whitespaces from title on upload (commons-app#3348)

Trim WhiteSpaces from Image-Title while upload

* Fixes: commons-app#3343 TextUtils.isEmpty creates problems when unit testing with Mockito (commons-app#3344)

* TextUtils: add mock textUtils for tests

* TextUtils: add more methods to mock for testing

* UploadControllerTest: fix the test resulting travis ci to fail

* Fixes: commons-app#3278: Add java docs to methods which have it missing (commons-app#3351)

* achievements/: add Javadocs

* actions/: add Javadocs

* WikiAccountAuthenticator: add Javadocs

* ReasonBuilder: add Javadocs

* di: Add javadocs to DI files

* bookmarks: add Javadocs to bookmarks files

* di: Added more Javadocs

* file: add Javadocs for file picker

* actions: add proper decription to the classes

* Fixes: commons-app#3179 Make category search non case-sensitive (commons-app#3326)

* CategoryClient: fix category search case-sensitivity by converting to lower case as MW api is inherently case-sensitive, the results obtained will be same

* CategoryItem: reverting javadoc changes

* CategoriesModel: make category search case-insensitive

* CategoryItem: fix whitespaces

* Add tests for case-insensitivity

* CategoryClientTest: add more test cases

* CategoryClientTest: fix travis ci test

* CategoriesModelTest: changes mage to CategoriesModel and tested

* Suggest and auto fill title and description based on image location (commons-app#3323)

* Suggest and auto fill title and description based on image location

* with java docs

* Versioning for v2.12.3

* Update changelog.md

* Localisation updates from https://translatewiki.net.

* Fix: Issue commons-app#3367 Bug: SoftKeyboard showing even after switching from nearby tab to contribution tab (commons-app#3368)

Hide keyboard when switched back from NearbyFragment to ContributionsListFragment

* Localisation updates from https://translatewiki.net.

* Adds a Test for Method A categories search (commons-app#3366)

* CategoriesModelTest: add methodA test for categories search

* CategoriesModelTest: use lateinit wherever possible

* CategoriesModelTest: make method name meaningful

* Fixes commons-app#3303 (commons-app#3322)

* Fixes commons-app#3303
* Refactor Nearby to alig lifecycle methods

* Pass updated place list to listfragment

* Added default zoom rate to mapbox

* Removed NearbyListFragmet and added the ui login to handle the same in NearbyParentFragment

* More code refactor
* Make BottomSheetList hideable
* onFragmentHide, hide the bottom sheets

* BigFix, Fragmet visibility, register/un-register camera move based on fragments lifecycke

* More code refactor
* Let the ExecutorUtil have non-ui thread
* Add Location Marker on non-ui thread (the non-ui stuffs)

* BugFixes
* Removed configchanges "orientation" from MainActivity in Manifest (That was messing with the fragment lifecycle)
* Some null checks
* Initialise lastknown location in onMapReady

* UI Fixes
* Adjusted UI to support dark and no-dark themes both (in nearby)
* Do not update map on Location Slightly changed

* Fix failing test case, let TestCommonsApplication extend Application instead of CommonsApplication

* start map view when nearby is visible

* start the map when NearbyFragmet is visible

* More bugfixes
* Added DUMMY view for NearbyPresenter's onDetach State
* Added a wrapper frame layout parent for MapView to preven it from drawing above other views

* More bugfixes (Fixes commons-app#3287)
* Gray out the un-selected markers from the nearby filter list

* BugFix, search this area should search the nearby places for the current camera position

* More BugFixes
* Handle null primitives with proxy
* Current location marker flow via permission flow

* onCameraMove should have null-check on NearbyController.latestSearchLocation instead of currentLocation

* Search for places around last focus location

* Handle location updates
* If the user is browsing the map, donot update the map with current location

* Fixes commons-app#3371 (commons-app#3372)

* Is UserBrowsing should first check if last known location is non-null before checkig if last location and current locations are close

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3382 Fixed Notification Message  Icon Background (commons-app#3383)

* changing background color of conditions in nearby as uniform (according to chip state) (commons-app#3365)

Signed-off-by: Mudit Jain <[email protected]>

* Fixes commons-app#3392 Fixed Nearby List Item Icon's Background (commons-app#3393)

* Hide Review for logged out users (commons-app#3390)

It makes sense to not show the review activity for logged
out users for the same reasons that we don't allow users
to upload images.

We're even considering to limit the review activity to users
with a particular level of achievement[1]. So, it's valid to
not show review activity for logged out users who don't
have achievements levels at all.

[1]: commons-app#2852

* Localisation updates from https://translatewiki.net.

* Fix commons-app#3191 Make the username along with the rewards icon clickable in the Navigation Drawer (commons-app#3401)

* Don't show the quiz pop-up twice (commons-app#3398)

* Avoid showing the quiz pop-up twice to the user

Due to the current flow of code it's possible that in
some cases the quiz pop-up is shown to the user twice.
This is unnecessary and unintentional.

So, change the logic in such a way that the quiz pop-up
would be never be shown twice to the user.

Fixes: commons-app#3281

* Quiz: remove unused parameters from methods

Some methods don't seem to be using the parameters that
they receive. So, just remove the unused parameters.

* Fixed minor Login Bug (commons-app#3373)

* Fixes commons-app#3197 Replace hardcoded dimensions with dimen resource values (commons-app#3402)

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3403 Add padding between privacy policy button and bottom of the screen (commons-app#3404)

Fixes commons-app#3403 Add padding between privacy policy button and bottom of the screen

* code-quality: remove CDATA and <u> tags from string.xml (commons-app#3310)

Remove CDATA and <u> tags from string resources. Instead use setUnderlinedText() method added in Utils to create underlined string resources.

* fix typo commons-app#3417 (commons-app#3418)

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3355 : Do not display pins at all when "Needs Photo" is selected (commons-app#3407)

* ic_custom_greyed_out_marker: removing grey marker

* NearbyParentFragment: changing function name and description

* change method name to hideAllMarkers

* Localisation updates from https://translatewiki.net.

* Fix commons-app#3416 Add snackbar on clicking add/remove from bookmarks (commons-app#3419)

* Added progress dialog for setting wallpaper (commons-app#3427)

* Added progress dialog for setting wallpaper

* Updated dialog strings

* Localisation updates from https://translatewiki.net.

* Fixed a type in NearbyParentFragment.java where significantly was written instead of slightly while adding a log using Timber (commons-app#3432)

* Fixes commons-app#814 Added App Shortcuts (commons-app#3381)

* Fixes commons-app#814 Added App Shortcuts

* removed Review app shortcut

* Added Adaptive icons

* Localisation updates from https://translatewiki.net.

* Replace functions in FileUtilsTest with ones from kotlin-stdlib (commons-app#2943)

* Fix commons-app#3091: Remove odd code in CategoryImagesListFragment (commons-app#3133)

* Moved some Java files to kotlin (commons-app#3439)

* Converted NetworkConnectionType.java to Kotlin

* Converted Urls.java to Kotlin and Updated AboutActivity

* Improved code quality

* Open external links in same activity (commons-app#3395)

It's common for users to expect that re-opening the app would
allow them to "continue where they left off". This also applies
for the case where they leave the app after opening an
external link. It's natural for them to expect that they would
see the webpage they left open when they re-open the app. This
doesn't happen for our app as we open custom tabs in a separate
activity. As a consequence, this makes the experience
un-intuitive.

Fix this by opening custom tabs in the same activity.

Fixes: commons-app#2944

Co-authored-by: Adam Jones <[email protected]>

* Update mapbox, gradle and android plugin versions (commons-app#3443)

* Localisation updates from https://translatewiki.net.

* Fix existing Espresso tests (commons-app#3450)

* Fix existing Espresso tests

* Convert class to kotlin

* Added Support for System Wide Dark Theme (commons-app#3460)

* Added Support for System Wide Dark Theme

* changed methods to private

* Moved Strings to strings.xml

* Used Dagger to reduce code repetition

* Changes made as per review suggestions

* Minor Changes

* Fixes as per suggestions

* Minor Fixes as per suggestion

* made the variables static

* removed irrelevant code

* Localisation updates from https://translatewiki.net.

* commons-app#3469 Update Gradle Play Publisher to resolve issues with travis build (commons-app#3470)

* commons-app#3469 Update Gradle Play Publisher to resolve issues with travis build - update GPP/Gradle and use jacoco-android fork with gradle 6.0 support

* commons-app#3469 Update Gradle Play Publisher to resolve issues with travis build - remove extraneous space

* Comment out application id from default config

* About page: Update logos (commons-app#3472)

* Fixes commons-app#3295: Ultimate achievement: Too many contributions (commons-app#3378)

* commons-app#3476 Use individual test commands on CI instead of check  (commons-app#3477)

* commons-app#3476 Use individual test commands on CI instead of check - use individual commands and narrow scope

* commons-app#3476 Use individual test commands on CI instead of check - fix indentation

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#3414:  For v2.13, Handle zoom in media details view (commons-app#3422)

* MediaDetailFragment: add zoom feature

* fragment_media_detail: add SimpleDrawee for Scroll picture

* ZoomableActivity: activity which facilitates zoom in

* activity_zoomable: xml for zoom activity

* zoomControllers: controllers for handling gesture and zooming

* MediaDetailFragment: fixing name of image variable

* MediaDetailFragment: display as per the aspect ratio of image

* add zoom activity to AndroidManifest

* fix travis ci faliure

* fix resizing of image

* Shift contributions to use Room DB (commons-app#3324)

* Part of commons-app#3127
* Added Room Dependency
* Shifted ContributionsDao to use RoomDB

* Save and Fetch contributions via RoomDAO

* Bugfixes, fixed test cases, injected schedulers for ContributionsPresenter

* removed stetho

* Fixed ReviewHelperTest cases

* Fixed test cases in DeleteHelperTest

* Fetch all contributions [TODO add pagination to use this, maybe later in a seperate PR]

* Update Schema false in AppDatabase

* removed parameter from fetchControbutions

* Added logs for fetch contributions

* Fixed test case ContributionsPresenter

* Added an autogenerate primary key, submit save contributions on executor

* fixed getItemAtPosition

* MainActivity Config changes +=orientation

* BugFixes
* Make AppDataBase Singleton
* Set _id as autogenerate primary key [replacing the previously used filename, seems like they are not unique]
* Replace Execxutor Utils with Subscribers on Singles in UploadService
* BugFix, Upload Progress

* Remove un-nescessary null check on contributions in ContributionsListAdapter

* removed ContributionsListFragment [not-implemeted]

* Review suggested changes
* removed un-nescessary null checks
* provide ContributionsDao
* Minor bug fixes

* wip

* delete existing contributions table (from the existing db) on upgrade

* remove un-nescessary null checks in test classes

* shifted media to be a local variable in ReviewHelperTest

* removed captured folder

* Dispose composite disposables in UploadService

* replaced size check with isEmpty ContributionsPresenter

* transform saveContributions to a Completable

* Addressed comments in review
* Typo in Contributions
* ReasonBuilderTest (create media object instead of mocking)
* Use global Gson object instead of creating a new one in Converters

* Provide Gson to Converters from the CommonsApplicationComponent

* use static method instead of field instead of static field to provide GSON in Converters

* Modified gitignore to exclude captures/*

* [WIP] Implemented Espresso tests for upload with multilingual descriptions (commons-app#2830)

* With more upload tests

* Fix tests

* Fix tests

* openStreetMap attribution enabled (commons-app#3485)

* commons-app#3445 Add codestyle to git  - import google java code style, use predefined styles for kotlin/xml (commons-app#3486)

* commons-app#3488 Delete app/prod folder - deleted (commons-app#3489)

* Added AboutActivityTest (commons-app#3475)

* Added AboutActivityTest

* Changes made as per suggestions

* Removed File to resolve conflict

* Removed hardcoded packagename

* Changes as per suggestion

* Removed Unrelated changes

* Fixed Build Issues

* Localisation updates from https://translatewiki.net.

* commons-app#3493 App freezes for 15 seconds when you press Next in UploadMediaDetailsFragment (commons-app#3499)

* commons-app#3493 App freezes for 15 seconds when you press Next in UploadMediaDetailsFragment - add apropriate schedulers and convert justs to fromCallable

* commons-app#3493 App freezes for 15 seconds when you press Next in UploadMediaDetailsFragment - remove test for removed functionality

* commons-app#3493 App freezes for 15 seconds when you press Next in UploadMediaDetailsFragment - replace kotlin with java

* Revert stopgaps related to beta server cert issue (commons-app#3396)

* Revert stopgaps related to beta server cert issue

The upstream issue with Commons beta server has been
fixed now[1]. So, there's no point in stopgapping
the issue anymore. So, revert the related changes.

This reverts fa87eb5
and df426f7 which
correspond to PRs commons-app#3350 and commons-app#3349 respectively.

[1]: https://phabricator.wikimedia.org/T243881#5861983

* Test-fix: fix the failing CI test

* Chek if getContext() is instanceOf CategoryImagesCallback and only then request more images

* commons-app#3471 Remove android.enableUnitTestBinaryResources - remove line (commons-app#3478)

* Change item background according to the theme (commons-app#3480)

* Change item  background according to the theme

* Change background colour of item on being selected

* Change background colors using XML selectors

* solved crashing problem in nomination button (commons-app#3522)

solved crashing problem in nomination button

solved crashing problem in nomination button

* author not shown bug (commons-app#3525)

* Localisation updates from https://translatewiki.net.

* Fixes commons-app#2238 scalebar added in map  (commons-app#3511)

* scalebar added in map

* changes reverted in .idea/Project.xml

* magic numbers replaced with constants for scalebar

* Default setting for scaling unit

* Default setting for scalebar refresh interval

* Reformatted code for adding scalebar

* dimen values for scalebar params

* Fix p18 issue For an item with P18 item, do not add another one (commons-app#3527)

* Add p18value variable to contrib

* set place.pic to candidate contribution

* Add p18 value to contrib

* Passes p18 value to wikidata upload service

* Checks if pic parameter of the wikidata item is empty or not. If not, it does not overrides the existing image, it is just a regular commons upload.

* Make public var private

* Make current tests pass

* Add test case for p18 value is not empty

* Fix wrong log message

* Add nonnul annotation and fix method javadoc

* commons-app#3524 Convert SpinnerLanguagesAdapter to kotlin - converted to kotlin (commons-app#3528)

* commons-app#3524 Convert SpinnerLanguagesAdapter to kotlin - converted to kotlin

* commons-app#3524 Convert SpinnerLanguagesAdapter to kotlin - add KDoc - rework logic - format

* Fixes commons-app#3464, App posts deletion request notifications ({{subst:idw}}) on the wrong user's talk page (commons-app#3495)

* Fixed commons-app#3464: App posts deletion request notifications ({{subst:idw}}) on the wrong user's talk page

* Fixed DeleteHelperTest.kt

* Fixed DeleteHelper tests and null-pointer exception

* Modified DeleteHelper makeDeletion() test

* Reverted unintentionally modified Project.xml

* Raising exception when nominating for deletion with empty creator name

* Fixed code style

* Fixed code style

* Fixes commons-app#3465 Use AndroidX Pref (commons-app#3521)

* [WIP] Fixes commons-app#3465 Use AndroidX Pref

* Deleted Unused Files

* Added singleLineTitle

* Updated Gradle Properties

* Migrated to Androidx

* Inline Variable change

* optimise imports

* Fixed Crash on empty input

* Add a dialog to prompt user if location is off in Nearby when L… (commons-app#3438)

* Fixes commons-app#3359 Duplicate Photos in Contributions Page (commons-app#3515)

* Fixes commons-app#3359
* Cache thumb url & imageUrl in local db
* Use Fresco's ImageRequest to show images in ContributionViewHolder[this was the issue, we should have always used this to show the image]
* Deleted DisplayableContribution (not needed anymore)
* Exposed abstract function in ContributionDao to updateContribution

* * Make position private in ContributionViewHolder
* Remove MediaDataExtractor from ContributionsFragment

* * Show placeholder image for Contributions while the image loads
* setHasStableId's ContributionsAdapter

* make Random variable private in ContributionViewHolder

* replace local variable-if-with ternary operator in ContributionViewHolder

* Fix indentation/formatting of ternary operator in ContributionViewHolder

* I might revert this commit[I have reasons]

* Create in-memory drawables in CVH's onBind, caches are bad, add mental overhead

* Revert "I might revert this commit[I have reasons]"

This reverts commit 627ac91.

* minor formatting changes, reverted 627ac91

* uh-oh missed semicolon, java

* minor formatting changes

* Fixes 3536 (commons-app#3537)

* Removed the focus change listener of the username edittext (commons-app#3538)

* Modify PR template (commons-app#3548)

* Localisation updates from https://translatewiki.net.

* Issue commons-app#3428: Swapped text in dialog buttons  (commons-app#3496)

* Issue commons-app#3428: Swapped text in dialog buttons because, according to Android Convention, they were opposite each other

* Fixed Issue commons-app#3428 so it actually works correctly now: Swapped text in dialog buttons because, according to Android Convention, they were opposite each other

* Made sure that all of the places where the two types of showAlertDialog accurately match up with the new position of positive and negative text on the dialog box
Also removed occurences of empty lambda expressions and used null instead

* modified deletThisPicture to be accurate lambda call

* reverted mistake where ellipses replaced the three dots

* commons-app#3532 Issue with gitignore - synchronise section with default plugin state (commons-app#3535)

* Fixes commons-app#3473 Changed Names and Order or Theme Options (commons-app#3556)

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes  (commons-app#3543)

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - refactor FileProcessor

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - refactor and rename GpsExtractor

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - convert ImageCoordinates to kotlin

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - convert FileProcessor to kotlin

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - minor reformatting

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - fix compilation and naming issues

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - remove empty test

* commons-app#3408 Refactoring the FileProcessor and GPSExtractor classes - set coordinates for upload item if user chooses it

* Change "Archived" notifications to "Read" notifications (commons-app#3554)

* Change archived to read

* Change string names

* Fix hardcoded string in similar image dialog (commons-app#3563)

Fixes commons-app#3557

* Change BiMap to HashMap (commons-app#3572)

* Change BiMap to HashMap

* Change containsKey to containsValue and delete BiMap.java

* Localisation updates from https://translatewiki.net.

* PULL_REQUEST_TEMPLATE: request only issue number (commons-app#3545)

For some time now, GitHub is showing cards when we hover over an issue
number which gives us a quick summary of the issue. The issue title is
shown in the card among other things.

Given that and the fact that we already require the issue number to be
specified in the pull request description, it's now moot to
ask the contributors to include the issue title in the pull request
description. So, let's remove this unnecessary burden from them.

* Fix title/desc not getting filled for nearby picture (commons-app#3577)

* Wiki itemname displaying in toast (commons-app#3569)

* Wiki itemname displaying in toast

* Wikidata label displaying in toast

* Wikidata label displaying in toast

* wikiItemName added to parcelable methods

* Wikidata label displayed in toast

* Wikidata label displayed in toast

* commons-app#3579 p18Value causes NPE in WikidataEditService createClaimWithLogging - add null check (commons-app#3580)

* Fixes commons-app#3494 (commons-app#3519)

* better names for the upload warning dialog buttons commons-app#3494

* Dialog button pt2

* dialog buttons pt3

* round 4..

Co-authored-by: Hdot <[email protected]>

* Fix auto zoom issue commons-app#3391 Zoom level gets reset at every second. (commons-app#3564)

* Add method to check if curr location marker is vsible or not

* Recenter map if users see their current location marker

* Add new methods to Contract

* Localisation updates from https://translatewiki.net.

* PULL_REQUEST_TEMPLATE: clarify that issue number needs to be replaced (commons-app#3599)

Some contributors seem to be missing the fact that they have to mention
the issue number right after `Fixes ` to ensure the corresponding issue
gets closed[1] when the PR gets merged.

Clarify this by using a better phrase that clearly states that they
have to replace the placeholder text with the issue number.

[1]: https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

* swipe away failed notification (commons-app#3598)

* issue-commons-app#3567: logos in about activity visible (commons-app#3592)

* Fixes commons-app#3479: Implement Progress Bar for Zoom Activity  (commons-app#3481)

* ZoomableActivity: add hierarchy to view for displaying progress bar

* CircularProgressBar: circular progress bar for ZoomableDraweeView

* ZoomableActivity: add indeterministic loading spinner

* activity_zoomable: add inderterministic Progressbar

* remove circular progressbar and make changes to controller listener

* Fixes commons-app#3575 (commons-app#3602)

* Donot show random colors as placeholders for contributions items
* Theme contributionsItem background as mainBackground from attributes

* Fixes commons-app#3611 (commons-app#3613)

* Properly generate Parcealables for Media & Contribution

* issue-commons-app#3606: cancel in translate goes back to about screen (commons-app#3610)

* Localisation updates from https://translatewiki.net.

* Fixed issue commons-app#3195 ordering contribution list (commons-app#3589)

* issue-commons-app#3195: order contribution list refactored

* issue-commons-app#3195: ordered contribution list

* exit app on back pressed in tutorial (commons-app#3597)

* exit app on back pressed in tutorial

* exit app from ongoing tutorial

* exit app on back press in tutorial

* Fixes commons-app#3466  No crash information in crash email (Gmail) (commons-app#3605)

* Send ACRA logs as file instead

* no need to set it true, default is true

* Fixed issue commons-app#3195 ordering contribution list (commons-app#3589)

* issue-commons-app#3195: order contribution list refactored

* issue-commons-app#3195: ordered contribution list

* Update wiki page links (commons-app#3608)

We've moved the documentation to a separate repo.

So, change the old links to point to the corresponding
places in the documentation repo.

* Fixes commons-app#3506: Image height remains zero for some time on bad network (commons-app#3513)

* optimise width loading

* amending as per the reviews

* aspect ratio updates after layout completion

* MediaDetailFragment: update aspect ratio using onGlobalLayoutListener

* remove unnecessary imports

* commons-app#3492 Add inspections to git - add inspection profile (commons-app#3631)

* commons-app#3628 Update Gradle Plugin - bump version (commons-app#3629)

* commons-app#3624 DateTimeFormat wrong - match pattern returned from servers (commons-app#3625)

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Copy place name on long click (commons-app#3609)

* Copy place name on long click

* Remove hard coded string

* Fixed logout problem commons-app#3547 (commons-app#3649)

* fixed logout problem

fixed logout problem

fixed logout problem

fixed logout problem

fixed logout problem

* added error handling on logout

* Fast scroll issue fixed (commons-app#3593)

* fast scroll fixed in explore activity

* fast scroll fixed in explore activity

* fast scroll issue in explore

* fastscroll removed from explore

* Converted DialogUtil to Kotlin (commons-app#3621)

* Converted DialogUtil to Kotlin

* Kotlin syntax and standard changes

* Removed ;

* Added missing null

* Added missing null

* Removed unnecessary code

* Reduced functions

* added let to customView

* reverted "let" changes

* reverted "let" changes

* removed if-statements

* replaced with "it"

* fixed overflow error

* Function rename

* Used named arguments

* Fix Typo

* single lined

* Update DialogUtil.kt

* changed default value

* ReviewController: remove call to review category notif builder while sending thanks (commons-app#3655)

* With data-client added as library module (commons-app#3656)

* With data-client added as library module

* Fix build

* Fixed username visible after logout bug (commons-app#3648)

* Localisation updates from https://translatewiki.net.

* commons-app#3630 [Library Discussion] Core-ktx (commons-app#3660)

* Convert download code to kotlin (commons-app#3665)

* Remove unused constructor (commons-app#3668)

* commons-app#3658 Throw exception instead of allowing nullable network models onError - peek response body and throw error (commons-app#3659)

* commons-app#3658 Throw exception instead of allowing nullable network models onError - peek response body and throw error

* commons-app#3658 Throw exception instead of allowing nullable network models onError - allow for more general error response catching

* Address code review comments (commons-app#3669)

* Fixes commons-app#3436 and commons-app#2881: Media Detail design Overhaul (commons-app#3505)

* ic_map_dark_24dp: map icon for white background

* ic_info_outline_dark_24dp: info icon for dark background

* MediaDetailFragment: update the spacer as per image aspect ratio

* fragment_media_detail: design overhaul

* fragment_media_detail: remove redundant background color statements

* make requested changes

* add dark mode support

* minor ui tweak

* white map icon in dark mode

* make rquested changes

* make requested changes to layout

* fix misalignment of category list

* subtle amendments

* convert comments to javadocs

* minor amendments

* minor changes

* add styles for media detail

* Media detail fragment refactored

* make suggested changes

* minor name fix

* fix the delete button border

Co-authored-by: Josephine Lim <[email protected]>
Co-authored-by: Manuel Alcaraz <[email protected]>
Co-authored-by: translatewiki.net <[email protected]>
Co-authored-by: neslihanturan <[email protected]>
Co-authored-by: Zoran Dori <[email protected]>
Co-authored-by: ANKIT <[email protected]>
Co-authored-by: Ashish Kumar <[email protected]>
Co-authored-by: Amir E. Aharoni <[email protected]>
Co-authored-by: Kshitij Bhardwaj <[email protected]>
Co-authored-by: Malcolm Smith <[email protected]>
Co-authored-by: Alicia <[email protected]>
Co-authored-by: Somanshu <[email protected]>
Co-authored-by: animeshk08 <[email protected]>
Co-authored-by: Madhur Gupta <[email protected]>
Co-authored-by: Mudit Jain <[email protected]>
Co-authored-by: Kaartic Sivaraam <[email protected]>
Co-authored-by: Yash Khare <[email protected]>
Co-authored-by: Aastha Bist <[email protected]>
Co-authored-by: gouri-panda <[email protected]>
Co-authored-by: Aryan Tyagi <[email protected]>
Co-authored-by: Veyndan Stuart <[email protected]>
Co-authored-by: Aristos Pasalidis <[email protected]>
Co-authored-by: Adam Jones <[email protected]>
Co-authored-by: Seán Mac Gillicuddy <[email protected]>
Co-authored-by: Anmol Gupta <[email protected]>
Co-authored-by: taakanksha <[email protected]>
Co-authored-by: Kaartic Sivaraam <[email protected]>
Co-authored-by: 318anushka <[email protected]>
Co-authored-by: Vitaly V. Pinchuk <[email protected]>
Co-authored-by: Fawziyah Alebiosu <[email protected]>
Co-authored-by: hudlerr <[email protected]>
Co-authored-by: Hdot <[email protected]>
Co-authored-by: Prince Amankwah <[email protected]>
Co-authored-by: Prince Amankwah <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor our content providers to adhere to modern standards
5 participants