Commit graph

1668 commits

Author SHA1 Message Date
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
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
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
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
misaochan
a9ae072c73 Merge remote-tracking branch 'refs/remotes/commons-app/master' into upload-overhaul-fork
# Conflicts:
#	app/src/main/java/fr/free/nrw/commons/upload/ShareActivity.java
2018-06-05 18:28:41 +10:00
maskara
ed5cc82fa2 Check for null entity ID 2018-06-05 00:28:49 +05:30
misaochan
90334edd32 Remove unnecessary class 2018-06-04 19:45:10 +10:00
misaochan
b4f2404045 Remove unnecessary vars 2018-06-04 19:41:44 +10:00
misaochan
c9ae7176c0 Optimize formatting and imports 2018-06-04 19:40:49 +10:00
misaochan
4e1bf80361 Fix comments 2018-06-04 19:30:18 +10:00
misaochan
147367d75f Get decimal coords to pass into startUpload() 2018-06-04 19:25:29 +10:00
misaochan
4db5dfb5d8 Merge remote-tracking branch 'refs/remotes/commons-app/master' into upload-overhaul-fork 2018-06-04 18:57:30 +10:00
Vivek Maskara
f7c57c03ba Log P18 edits with custom tag (#1583)
* Log P18 edits by adding custom tag to the edits

* Add javadocs
2018-06-04 17:50:50 +10:00
maskara
edaa0dd05a Fix build 2018-06-01 01:15:28 +05:30
Vivek Maskara
0e86741cc4
Merge branch 'master' into wikidataEdits 2018-05-31 10:02:38 +05:30
Vivek Maskara
4815e93fc9 Make P18 edits to corresponding wikidata entity on uploading from Nearby (#1495)
* Localisation updates from https://translatewiki.net.

* Integrate API for displaying featured images (#1456)

* Integrate API for displaying featured images

* Add pagination and refactor code so that it can be reused for category images

* Add license info to the images

* Fix author view

* Remove unused values

* Fix minor issues with featured images

* Fix null license url issue

* Remove some log lines

* Fix back navigation issue

* fix tests

* fix test inits

* Gracefully handling various error situations

* Added java docs

* Update pull_request_template.md (#1476)

* Update pull_request_template.md

* Remove Javadocs mention

* Added required/optional notes

* resolves #1464 : MediaDataExtractor is making inefficient (redundant) server calls (#1496)

* Open map of place where picture was taken (#1360)

* Intent to map added

*  Merge conflicts resolved

*  Added the functionality to hide FAB incase of null coordinate

*  Merge Conflict resolved

*  Improve pr quality

* Improve Quality

*  Added nested FAB animations

* Nested FAB implemented

*  Improve Quality

*  Added up arrow

*  Javadocs Added

* Add nearby tutorial (#1467)

* Add dependency for MaterialShowcase

* Add actionview class to get a reference to material showcase

* Create a NearbyMaterialShowcaseSequence class

* Apply sequence steps

* Add first three steps of nearby showcase

* Add sequence id constants to make sure they will be displayed only once

* Add last step of sequence to explain plus fab

* Create an object to prevent customize all sequences every time

* Fix typo

* Code cleanup

* Add strings to strings.xml

* Code cleanup

* Revert irrelevant change

* Revert irrelevant change

* Remove showcaseview for recenter button

* Use single showcaseView instead of sequence

* Add single showcase view insted of sequence to be able to edit text style

* Make sure it will be displayed only once

* Cleanup

* Update strings

* Change dismiss text style

* CONTRIBUTING: fix formatting of the gist of the guidelines (#1453)

* CONTRIBUTING: fix formatting of the gist of the guidelines

First level headings for a gist seems to be overkill.

So, replace first level headings with an ordered-list which
sounds more meaningful.

* CONTRIBUTING: specify clearly that 'blame' is a feature of "Git"

The contributing file specifies about the ability to know who wrote
something without the need of @author javadoc tags but incorrectly
attributes the feature to GitHub.

Correctly attribute the feature to where it belongs, Git, and specify
the name of the feature to help users easily take advantage of it.

* Feature/switch to butterknife (#1494)

* Implemented butterknife in MediaDetailFragment [issue #1491]

* Implemented butterknife in MediaDetailPagerFragment [[issue #1491]]

* post merge upstream master wip [[issue #1491]]

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

* Bug fix #1504 (#1506)

* Bug fix #1504

* Filtered messages with ConnectException [issue #1504]

* A generalised message for exceptions in Nearby Activity [issue #1504]

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

* Fix security exception crash while accessing network location provider (#1498)

* Fix security exception crash while accessing network location provider

* Added java docs

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

* Log P18 edits to wikidata corresponding wikidata entity on uploading a nearby image

* Added java docs

* Fix test build

* Refresh nearby

* Refresh nearby list on successful edit

* Java docs

* Make authenticated wikidata edits

* Updated toast message to show entity name that was edited
2018-05-31 11:00:17 +10:00