mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
* Part of #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/*
41 lines
686 B
Text
41 lines
686 B
Text
# IDEA files
|
|
*.iml
|
|
*.iws
|
|
*.ipr
|
|
.idea
|
|
app/src/main/gen/*
|
|
|
|
# Gradle
|
|
.gradle
|
|
local.properties
|
|
/.gradle
|
|
/build
|
|
/app/build
|
|
|
|
# IDE / Text editor files
|
|
.nb-gradle
|
|
.nb-gradle-properties
|
|
*.sw[op]
|
|
*~
|
|
*.sublime-*
|
|
.textmate
|
|
.java-version
|
|
|
|
# OS files
|
|
*.DS_Store
|
|
Thumbs.db
|
|
app/gradle/wrapper/gradle-wrapper.jar
|
|
app/gradlew
|
|
app/gradlew.bat
|
|
app/gradle/wrapper/gradle-wrapper.properties
|
|
|
|
# related to release notes
|
|
app/src/prodRelease/play/release-notes/*
|
|
|
|
#related to OpenCV
|
|
/libraries/opencv/build
|
|
app/src/main/jniLibs
|
|
#Below removes all the HTML files related to OpenCV documentation. The documentation can be otherwise found at:
|
|
#https://docs.opencv.org/3.3.0/
|
|
/libraries/opencv/javadoc/
|
|
captures/*
|