Commit graph

1841 commits

Author SHA1 Message Date
Vivek Maskara
5cfe709281 Fix view util methods to always execute on UI thread (#1728) 2018-07-22 18:51:41 +03:00
albendz
7b5b9169db Fix preview crash on local files during upload (#1696)
* Try to get the localized version of the wikipedia article before defaulting to the English version.

Tested with Spanish on physical Android device.

Other notes:
Difficulties building with gradle due to dexcount plugin: https://github.com/KeepSafe/dexcount-gradle-plugin/issues/234. In testing, disabled the plugin.

* Update article fetch to not include unnecessary SERVICE line

* Add checks for local file, check for string length
2018-07-22 17:43:33 +03:00
neslihanturan
faee423105
Merge pull request #1596 from tanvidadu/imageLicense
Introducing a brief exp of Image License
2018-07-22 15:33:55 +03:00
neslihanturan
b4d556a648
Merge pull request #1573 from seannemann21/show-block-status
Show Block Status if use is blocked
2018-07-22 15:29:05 +03:00
Vivek Maskara
25b463901f Fix conflict between different product flavors (#1726)
* Fix conflict between different product flavors so that beta and prod apps could coexist

* Fix category content provider
2018-07-20 02:03:28 +10:00
ShridharGoel
a083373285
Merge branch 'master' into master 2018-07-17 20:16:42 +05:30
misaochan
f1f41e59f7 Merge remote-tracking branch 'refs/remotes/origin/2.8-release' 2018-07-11 00:45:02 +10:00
Vivek Maskara
2d831c089d
Merge pull request #1644 from misaochan/fix-automatic-location
Remove current location retrieval from upload process entirely
2018-07-07 22:50:41 +05:30
Vivek Maskara
b2a150a3ae Fix issue where Wikidata edits were not happening (#1682)
* Added logs to debug wikidata edits

* Minor changes in logs
2018-07-05 20:13:37 +10:00
misaochan
107729cdf0 Merge remote-tracking branch 'refs/remotes/origin/2.8-release'
# Conflicts:
#	app/build.gradle
2018-07-05 01:00:51 +10:00
Vivek Maskara
306f23d1e2 Force login when no active session is found while uploading an image (#1684)
* Force login when no active session is found while uploading an image

* Updated not logged in message
2018-07-04 00:29:26 +10:00
Shridhar Goel
90705996a8 Fixes crash when uploading image via share without logging in 2018-06-28 19:57:11 +05:30
ShridharGoel
05def522af
Merge branch 'master' into master 2018-06-28 18:40:08 +05:30
Shridhar Goel
e7270783e4 Fixed crash when uploading image via share without login 2018-06-28 16:10:36 +05:30
seannemann21
c0d86b76e8
Merge branch 'master' into show-block-status 2018-06-25 14:41:47 -04:00
misaochan
43d9f0db07 Merge branch 'master' of https://github.com/commons-app/apps-android-commons 2018-06-23 20:35:17 +10:00
misaochan
54246fda6b Merge remote-tracking branch 'refs/remotes/origin/2.8-release' 2018-06-23 20:35:10 +10:00
misaochan
b5161d64a6 Remove location constant from ShareActivity 2018-06-23 20:13:15 +10:00
misaochan
3ab3b028c4 Optimize imports in ShareActivity 2018-06-23 20:11:31 +10:00
misaochan
798bcbad7f Tidy onRequestPermissionsResult 2018-06-23 20:11:00 +10:00
misaochan
4340d655c4 Remove snackbar from ShareActivity 2018-06-23 20:10:26 +10:00
misaochan
4a5257c2c7 Optimize FileProcessor 2018-06-23 20:07:06 +10:00
misaochan
be5c05435e Remove prefs var in GPSExtractor 2018-06-23 20:04:47 +10:00
misaochan
fe3dda18ce Remove boolean useGPS entirely 2018-06-23 20:03:13 +10:00
misaochan
0b58e28ba5 Remove LocationListener from GPSExtractor 2018-06-23 20:01:58 +10:00
misaochan
7d3e3ae668 Fix other GPSExtractor vars, logs and imports 2018-06-23 20:01:36 +10:00
misaochan
0fd77a1c60 Remove context in other constructor 2018-06-23 20:00:50 +10:00
misaochan
927ceb9aba Remove unnecessary context var 2018-06-23 19:59:19 +10:00
misaochan
df7a944c78 Remove unused methods in GPSExtractor 2018-06-23 19:53:03 +10:00
dlsrks1021
e8b2dd7163 remove unused imports (#1606) 2018-06-21 07:28:27 +09:00
misaochan
801fea631f No need to unregisterLocationManager() as it should never be registered 2018-06-19 20:54:28 +10:00
misaochan
fa238b94aa Do not display Snackbar to get location permissions 2018-06-19 20:52:42 +10:00
misaochan
e8925f5a02 Add TODO 2018-06-19 20:36:01 +10:00
misaochan
371580bf5e Always return null if image has no EXIF data 2018-06-19 20:34:52 +10:00
misaochan
0b0c01d3ac Always return false for gpsPreferenceEnabled() 2018-06-19 20:33:10 +10:00
Tanvi Dadu
ac2de1a1fe back button functionality (#1517) 2018-06-19 18:06:55 +10:00
Vivek Maskara
18b0517fc7 Fix crash while uploading image with whitespace title (#1636) 2018-06-19 17:53:26 +10:00
Vivek Maskara
1dc0a7c257 Fix resource not found exception with null checks (#1628) 2018-06-14 19:12:46 +10:00
Madhur Gupta
2cfbb67f1c Added Basic Pic Of the Day App Widget (#1523)
* Added Basic Pic Of the Day App Widget

* Added Java Lib for XML to JSON

* Added missing json library from xml to json

* Undone formatting

* Consolidate the networking libraries - drop volley in favor of OkHttp

* Extracted a few networking related items into a new Dagger module and finished the process of mocking the main component for tests.

* Refactoring to extract GpsCategoryModel and ensure single-responsibility-principle is maintained in CategoryApi.

* Updated PicOfDayAppWidget class to parse HTML

* fixed featured image back bug

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

* Javadocs added

* Add option to set image as wallpaper (#1535)

* Add option to set image as wallpaper

* Added java docs

* Toast message on setting the wallpaper successfully

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

* Add dependencies to com.android.support.test.rules and runner

Needed for ActivityTestRule used in SettingsActivityTest

* Added Basic Pic Of the Day App Widget

* Added Java Lib for XML to JSON

* Added missing json library from xml to json

* Undone formatting

* Updated PicOfDayAppWidget class to parse HTML
2018-06-14 19:10:52 +10:00
misaochan
887f152be8 Merge remote-tracking branch 'refs/remotes/origin/2.8-release' 2018-06-12 19:45:57 +10:00
misaochan
699d150fed Merge remote-tracking branch 'refs/remotes/origin/2.7.x-release' 2018-06-12 19:43:21 +10:00
Sean Nemann
22a5178e04 Updated comments and method headers to clarify that the block status being checked within AuthenticatedActivity refers to the Wikimedia Commons block status of the user 2018-06-11 13:07:54 -04:00
Tony Afula
7f02524522 Add comments to parameters for sorting featured images 2018-06-11 17:46:58 +09:00
Tony Afula
8d62103bd4 add parameters to sort featured images by order of recency 2018-06-11 17:46:58 +09:00
Josephine Lim
1adb052705
Revert "Fix issue #1332 : Contribution Image auto/manual refresh if fetching fails" (#1609)
* Revert "Modify allow_gps_summary string (#1608)"

This reverts commit 3b6c94c8d6.

* Revert "Fix issue #1332 : Contribution Image auto/manual refresh if fetching fails"

This reverts commit 5aba7459bd.
2018-06-11 16:53:23 +10:00
neslihanturan
b3b45679bc
Merge pull request #1592 from misaochan/fix-failed-uploads
Attempt to fix failed uploads
2018-06-07 22:39:12 +03:00
tanvidadu
a934d24a2d Introducing a brief exp of Image License 2018-06-07 15:22:07 +05:30
misaochan
e7d3584b8d Add forceLogin to case where authentication fails during upload 2018-06-07 16:48:32 +10:00
misaochan
a458b8ad06 Merge branch 'master' of https://github.com/commons-app/apps-android-commons 2018-06-06 18:59:37 +10:00
misaochan
5c479b5624 Merge remote-tracking branch 'refs/remotes/origin/2.7.x-release' 2018-06-06 18:59:29 +10:00