Commons app mirror
Find a file
Ashish Kumar 7a5dc77057 Refactor uploads (#2981)
* Feature/refractor uploads [WIP] (#2887)

* Fix duplicate param information (#2515)

* Bug fix issue #2476 (#2526)

* Added wikidataEntityID in all db versions, handled db.execSql via method runQuery

* Versioning and changelog for v2.10.2 (#2531)

* Update changelog.md

* Versioning for v2.10.2

* Update changelog.md

* Bugfix/issue 2580 (#2584)

* Corrected string placedholders in certain string files

* Corrected string placedholders in certain string files[Bug fix #2580]

* Bug Fix #2585 (#2647)

* Bug Fix #2585
* Added null checks on view in SearchImageFragment when updating views from external sources
* Disposed the disposables in SearchActivity and SearchImageFragment when no longer in active lifecycle

* use FragmentUtils to verify fragment active state

* Bug Fix issue #2648 (#2678)

* Bug Fix issue #2648
* Handled external storage permission before file download

* * Removed redudant check for permission in MediaDetailPagerFragment (Dexter already does that)
* Removed duplicate code in PermissionUtil$checkPermissionsAndPerformAction, used the existing function with conditional extra parameters

* string name typo correction

* BugFix issue #2652 (#2706)

* Addded null check on bookmark before operating on it

* BugFix issue #2711 (#2712)

* Added null checks in OkHttpJsonApiClient$searchImages MwQueryResponse

* BugFix #2718 (#2719)

* Handled null auth cookies

* Fix #2791: NPE when nominating for deletion and leaving screen (#2792)

* Bug Fix issue #2789 (#2790)

* Handled Illegal State Exception for non existent appropriate view parents in ViewUtils$showShortSnackbar

* BugFix #2720 (#2831)

BugFix deprecated licenes #2720

* ui fixes, wip, upload

* *Issue #2886, BugFix #2832[wip]
* updated UploadActivity code
* modified ui
* Updated UploadPresenterTest

* * updated interfaces names to follow names suffixed with Contract
* added test cases

* card view elevation

* view pager disabled swipe

* bug fix, duplicate image

* used existing non-swipable view pager

* Avoid image view resize with keyboard, added adjustPan and stateVisible as softinputMode for UploadActivity

* retain UploadBaseFragment instances on orientation changes

* * Added test cases for UploadMediaPresenter
* Injected io and main thread schedulers

* categories presenter test cased wip

* Added CategoriesPresenter test

* * Added the logic to show open map (with to be uploaded image's coordinates while uploading image)

* codacy suggested changes * added java docs

* Added travis_wait fot android-wait-for-emulator

* ranamed interface onResponseCallback to Callback

* * Added api to delete picture in UploadModel
* cleanUp in UploadModel. once upload has been initiated
* Removed unused methods from UploadModel and the corresponding test class

* * Added tests for UploadPresenter
* Travis suggested changes
* Addded copy previous title and description

* * Made the upload add descriptions visible when keyboard visible
* add description request focus only when user manually requests it

* Added JavaDocs, review suggested changes

* Fix dagger injection

* use DialogUtil to show info in descriptions

* use activity context for DialogUtil

* Minor changes

* Bug fix, reduced the add description edit text clickable bound (#2973)

* Bugfix/uploads (#3000)

* merged with master

* BugFix IllegalStateException
* setRetainState(true), not required with FragmentStatePagerAdapter
* Increase the ViewPager's Offscreen Limit, we want all the fragments to be active

* BugFix, clear selected categoris for previous upload session
* Clear Selected Categories
* Addded JavaDocs for CategoriesModel

* Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java

* Added class level JavaDoc UploadRemoteDataSource

* Added class level JavaDoc for UploadRepository

* Added JavaDocs for ThumbnailsAdapter

* Added JavaDocs for MediaLicensePresenter, CategoriesPresenter

* Removed null check on category query
* Show default catgeories based on image title and gps location when category text empty
* Allow search for empty category search

* Attached image scale listener to upload media image

* Bug fix, reduced the add description edit text clickable bound

* Fix memory leak (#3001)

* Bugfix/uploads (#3002)

* merged with master

* BugFix IllegalStateException
* setRetainState(true), not required with FragmentStatePagerAdapter
* Increase the ViewPager's Offscreen Limit, we want all the fragments to be active

* BugFix, clear selected categoris for previous upload session
* Clear Selected Categories
* Addded JavaDocs for CategoriesModel

* Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java

* Added class level JavaDoc UploadRemoteDataSource

* Added class level JavaDoc for UploadRepository

* Added JavaDocs for ThumbnailsAdapter

* Added JavaDocs for MediaLicensePresenter, CategoriesPresenter

* Removed null check on category query
* Show default catgeories based on image title and gps location when category text empty
* Allow search for empty category search

* Attached image scale listener to upload media image

* Bug fix, reduced the add description edit text clickable bound

* Added tooltip in Title in UploadMediaFragment

* BugFix recent categories

* Updated test methods

* Bugfix/uploads (#3011)

* merged with master

* BugFix IllegalStateException
* setRetainState(true), not required with FragmentStatePagerAdapter
* Increase the ViewPager's Offscreen Limit, we want all the fragments to be active

* BugFix, clear selected categoris for previous upload session
* Clear Selected Categories
* Addded JavaDocs for CategoriesModel

* Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java

* Added class level JavaDoc UploadRemoteDataSource

* Added class level JavaDoc for UploadRepository

* Added JavaDocs for ThumbnailsAdapter

* Added JavaDocs for MediaLicensePresenter, CategoriesPresenter

* Removed null check on category query
* Show default catgeories based on image title and gps location when category text empty
* Allow search for empty category search

* Attached image scale listener to upload media image

* Bug fix, reduced the add description edit text clickable bound

* Added tooltip in Title in UploadMediaFragment

* BugFix recent categories

* Updated test methods

* Avoid memory leak, free the adpater in MediaLicenseFragment.onDestroyView

* bugfix/uploads (#3012)

* merged with master

* BugFix IllegalStateException
* setRetainState(true), not required with FragmentStatePagerAdapter
* Increase the ViewPager's Offscreen Limit, we want all the fragments to be active

* BugFix, clear selected categoris for previous upload session
* Clear Selected Categories
* Addded JavaDocs for CategoriesModel

* Code Formatting in app/src/main/java/fr/free/nrw/commons/upload/UploadModel.java

* Added class level JavaDoc UploadRemoteDataSource

* Added class level JavaDoc for UploadRepository

* Added JavaDocs for ThumbnailsAdapter

* Added JavaDocs for MediaLicensePresenter, CategoriesPresenter

* Removed null check on category query
* Show default catgeories based on image title and gps location when category text empty
* Allow search for empty category search

* Attached image scale listener to upload media image

* Bug fix, reduced the add description edit text clickable bound

* Added tooltip in Title in UploadMediaFragment

* BugFix recent categories

* Updated test methods

* Avoid memory leak, free the adpater in MediaLicenseFragment.onDestroyView

* BugFix Illegal State Exception in ViewpPagerAdapter

* Remove irrelevant comment

* merge conflict with strings (#3016)
2019-06-14 01:09:41 +05:30
app Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
captures Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
design Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
gradle/wrapper Update to Gradle 5 (#2860) 2019-06-13 16:43:51 +01: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 Include release notes with alpha releases (#2571) 2019-03-10 16:10:49 +05:30
.travis.yml Edit travis config to have travis integration (#2990) 2019-06-04 20:52:25 +05:30
build.gradle Update to Gradle 5 (#2860) 2019-06-13 16:43:51 +01:00
CHANGELOG.md Merge 2.10 with master & Fixed merge conflicts (#2844) 2019-04-04 03:09:54 +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 Update credits.md 2018-09-07 02:49:58 +10: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 Update to Gradle 5 (#2860) 2019-06-13 16:43:51 +01:00
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.