Commons app mirror
Find a file
Ashish Kumar 99c6f5f105
Shift contributions to use Room DB (#3324)
* 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/*
2020-03-10 00:13:20 +03:00
app Shift contributions to use Room DB (#3324) 2020-03-10 00:13:20 +03:00
design Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
gradle/wrapper #3469 Update Gradle Play Publisher to resolve issues with travis build (#3470) 2020-03-06 23:07:53 +10:00
script/style Bump max line length to 140 characters in Checkstyle rules (#1590) 2018-06-05 19:33:51 +10:00
update-license-info Merge "commons" into the project root directory 2016-07-02 16:48:57 +09:00
.gitignore Shift contributions to use Room DB (#3324) 2020-03-10 00:13:20 +03:00
.travis.yml #3476 Use individual test commands on CI instead of check (#3477) 2020-03-09 12:16:28 +00:00
build.gradle #3469 Update Gradle Play Publisher to resolve issues with travis build (#3470) 2020-03-06 23:07:53 +10:00
CHANGELOG.md Update changelog.md 2020-01-30 02:18:04 +10:00
CONTRIBUTING.md CONTRIBUTING: create a new further reading section 2018-06-25 21:11:11 +05:30
COPYING Relicense to Apache License 2013-04-23 21:16:43 +05:30
CREDITS edited CREDITS file (#3145) 2019-08-28 21:00:42 +09:00
dependency-injection.md Use JSON SPARQL query for fetching nearby places (#2398) 2019-02-06 10:40:30 +05:30
find-broken-strings-variables.sh Updated path 2016-10-26 19:56:49 +09:00
gitutils.gradle Fix for issue #1157 Added try-catch block in getBuildVersion function in gitutils.gradle … (#1158) 2019-01-03 20:18:42 +05:30
gradle.properties Gradle 5 update (#3023) 2019-06-17 16:52:26 +05:30
gradlew Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
gradlew.bat Update gradle from 4.0-rc-1 to 4.0.1 2017-07-19 17:14:37 +09:00
ISSUE_TEMPLATE.md Update issue and PR templates (#1972) 2018-11-05 11:31:15 +02:00
nr-commons.keystore.enc Automate releases (part 1) (#2111) 2018-12-14 21:07:03 +05:30
play.p12.enc Integrate gradle play publisher for automatic alpha releases (#2116) 2018-12-14 23:53:05 +05:30
PULL_REQUEST_TEMPLATE.md Update issue and PR templates (#1972) 2018-11-05 11:31:15 +02:00
README.md Added Appetize badge (#2866) 2019-05-08 11:21:33 +03:00
RELEASE-CHECKLIST.md Update RELEASE-CHECKLIST 2013-04-27 00:58:19 +05:30
settings.gradle Merge "commons" into the project root directory 2016-07-02 16:48:57 +09:00
sign.sh Fix Codacy Issues + remove unused patch 2017-03-23 17:51:13 +00:00

Wikimedia Commons Android app

Build status Preview the app

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons. Download the app here, or view our website.

Initially started by the Wikimedia Foundation, this app is now maintained by grantees and volunteers of the Wikimedia community. Anyone is welcome to improve it, just choose among the open issues and send us a pull request :-)

Get it on F-Droid Get it on Google Play

Documentation

We try to have an extensive documentation at our wiki here at Github:

Contributors

Thank you all for your work!


misaochan

yuvipanda

neslihanturan

maskaravivek

translatewiki

nicolas-raoul

psh

brion

whym

domdomegg

akaita

veyndan

ujjwalagrawal17

dbrant

sandarumk

tobias47n9e

tanvidadu

hismaeel

tshradheya

diddypod

prxjeen

addshore

knight-shade

ashishkumar468

siebrand

Bluesir9

Jatin0312

mashawan

ford-prefect

seantnemann

.. and many more.

License

This software is open source, licensed under the Apache License 2.0.