apps-android-commons/app/src/main/res
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
..
anim Add icons to FABs 2018-03-02 23:18:07 +05:30
color Make list bottom sheet closed default 2018-03-02 23:38:03 +05:30
drawable Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
drawable-hdpi Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
drawable-ldpi Fix possible crashes due to misplaced vector drawables. (#1894) 2018-09-10 18:19:08 +10:00
drawable-mdpi Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
drawable-xhdpi Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
drawable-xxhdpi Simplify welcome layouts (#2741) 2019-04-16 12:35:42 +03:00
drawable-xxxhdpi Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
layout Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
layout-land Simplify welcome layouts (#2741) 2019-04-16 12:35:42 +03:00
layout-xlarge Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
menu Fix #2915 Refractor feature Review (#2916) 2019-04-24 15:52:12 +03:00
mipmap-anydpi-v26 Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
mipmap-hdpi Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
mipmap-mdpi Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
mipmap-xhdpi Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
mipmap-xxhdpi Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
mipmap-xxxhdpi Update app icon (Fixes #868) (#2022) 2018-12-17 11:13:46 +05:30
values Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
values-ab Fix #2655: Remove unused strings (#2684) 2019-03-21 18:47:25 +00:00
values-af Fix #2655: Remove unused strings (#2684) 2019-03-21 18:47:25 +00:00
values-ais Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ar Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-arc Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-as Localisation updates from https://translatewiki.net. 2018-01-18 08:29:22 +01:00
values-ast Localisation updates from https://translatewiki.net. 2019-05-17 12:13:00 +02:00
values-az Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-azb Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-b+be+tarask Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-b+hif+Latn Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-b+kk+Cyrl Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-b+nds+NL Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-b+roa+tara Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
values-b+sr+Latn Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-b+tg+Cyrl Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ba Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-bcl Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-bg Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-bn Localisation updates from https://translatewiki.net. 2019-06-06 17:52:19 +02:00
values-br Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-bs Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ca Localisation updates from https://translatewiki.net. 2019-04-29 17:26:12 +02:00
values-ce Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ckb Multiple uploads with over haul (#1968) 2018-11-19 17:00:32 +05:30
values-cs Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-csb Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-cy Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-da Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-de Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-diq Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-dty Multiple uploads with over haul (#1968) 2018-11-19 17:00:32 +05:30
values-el Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-eo Localisation updates from https://translatewiki.net. 2019-05-27 16:34:33 +02:00
values-es Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-eu Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-fa Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-fi Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-fo Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-fr Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-frp Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-frr Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-fur Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-gl Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-gu Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-haw Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-he Remove dead translations 2017-07-26 16:07:47 +01:00
values-hi Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-hr Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-hrx Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-hsb Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-hu Localisation updates from https://translatewiki.net. 2019-05-20 13:41:58 +02:00
values-hy Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-hyw Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ia Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-id Fixed problem where strings files were accepting multiple variables but no order was specified (#1116) 2018-02-01 18:41:46 +09:00
values-in Localisation updates from https://translatewiki.net. 2019-04-04 19:57:33 +02:00
values-is Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-it Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-iw Localisation updates from https://translatewiki.net. 2019-05-23 14:10:29 +02:00
values-ja Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ji Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
values-jv Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ka Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-kab Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-kjp Localisation updates from https://translatewiki.net. 2018-12-13 09:02:03 +01:00
values-km Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
values-kn Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ko Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-ko-rKP Localisation updates from https://translatewiki.net. 2019-05-23 14:10:29 +02:00
values-krc Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ksh
values-ku Localisation updates from https://translatewiki.net. 2018-06-21 08:15:39 +02:00
values-kum Localisation updates from https://translatewiki.net. 2018-05-25 11:42:49 +02:00
values-ky Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-la Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-lag Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-land Sets the proper width to Navigation drawer in portrait and landscape mode. 2018-03-11 10:52:09 +05:30
values-lb Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-lez Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-li Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-lrc Localisation updates from https://translatewiki.net. 2019-03-25 18:57:07 +01:00
values-lt Localisation updates from https://translatewiki.net. 2019-05-17 12:13:00 +02:00
values-lv Localisation updates from https://translatewiki.net. 2019-03-07 16:07:39 +01:00
values-mg Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-mk Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-ml Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-mn Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-mnw Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
values-mr Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ms Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-mt Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-my Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-nb Localisation updates from https://translatewiki.net. 2019-05-20 13:41:58 +02:00
values-ne Localisation updates from https://translatewiki.net. 2019-03-07 16:07:39 +01:00
values-nl Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-oc Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-or Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
values-pa Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-pl Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-pms Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ps Localisation updates from https://translatewiki.net. 2018-05-25 11:42:49 +02:00
values-pt Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-pt-rBR Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-qq Localisation updates from https://translatewiki.net. 2019-06-10 20:17:37 +02:00
values-ro Refactor uploads (#2981) 2019-06-14 01:09:41 +05:30
values-ru Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-sah Localisation updates from https://translatewiki.net. 2019-04-18 16:57:09 +02:00
values-sat Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-sd Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-sh Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-si Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
values-sk Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
values-skr Localisation updates from https://translatewiki.net. 2019-06-03 17:25:14 +02:00
values-sr Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-su Localisation updates from https://translatewiki.net. 2019-05-27 16:34:33 +02:00
values-sv Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-sw Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-ta Fix tamil translation of app name (#1679) 2018-07-01 00:47:09 +10:00
values-tcy Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-te Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
values-th Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-tr Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-ug Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
values-uk Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
values-ur Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-vi Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-xmf Localisation updates from https://translatewiki.net. 2019-04-04 19:57:33 +02:00
values-yi Fixed problem where strings files were accepting multiple variables but no order was specified (#1116) 2018-02-01 18:41:46 +09:00
values-yue Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
values-zgh Localisation updates from https://translatewiki.net. 2018-03-19 20:56:20 +01:00
values-zh Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
values-zh-rCN Fixed problem where strings files were accepting multiple variables but no order was specified (#1116) 2018-02-01 18:41:46 +09:00
values-zh-rTW Localisation updates from https://translatewiki.net. 2019-06-13 20:02:26 +02:00
xml Image EXIF/XMP metadata removal routine (#2863) 2019-06-04 15:38:01 +03:00