Commit graph

1093 commits

Author SHA1 Message Date
Paul Hawke
6f86b1871f Fixed NPE caused by not initializing the resultStatus field of UploadResult when on the happy-path. 2017-07-10 15:23:13 -05:00
Paul Hawke
883419844d Merge branch 'master' into master 2017-07-06 12:55:14 -05:00
Josephine Lim
7527d4e58e Merge pull request #762 from tobias47n9e/feature/update-mapbox
Update mapbox to 5.1
2017-07-06 23:33:37 +10:00
translatewiki.net
717ed6727c Localisation updates from https://translatewiki.net. 2017-07-06 11:07:50 +02:00
Paul Hawke
ddce34bc90 Shifted the ApacheHttpClientMediaWikiApiTest to run using Robolectric (as a unit test) rather than on-device. 2017-07-05 20:23:37 -05:00
Paul Hawke
c035b368c4 Added smoke test - run through a few api calls - to verify that the parameters are all correctly encoded and sent, and responses are parsed. 2017-07-05 19:29:48 -05:00
Paul Hawke
d64c1b51cc Refactoring to not expose the ApiResult and Apache HTTP implementation 2017-07-04 16:34:30 -05:00
Paul Hawke
599e7bb453 Consolidated media wiki api calls in a single place 2017-07-04 14:24:08 -05:00
Paul Hawke
5396fc6ed0 Optimized imports before starting 2017-07-04 14:23:13 -05:00
Paul Hawke
d53858f7d2 Gentle version bump and added the dexcount gradle plugin 2017-07-04 14:14:17 -05:00
Tobias Schönberg
501962d3c5 Update mapbox to 5.1 2017-07-03 22:38:00 +02:00
Yusuke Matsubara
0204e72e5c Move values-roa-tara to values-b+roa+tara
Fixes b0f877f218.

See also https://gerrit.wikimedia.org/r/#/c/362954/ and #349.
2017-07-03 22:58:43 +09:00
Josephine Lim
e7044c9dda Merge pull request #759 from veyndan/navigation-view-fix
Fix crashes where R.id.navigation_view wasn't found
2017-07-03 18:07:13 +10:00
Yusuke Matsubara
3da3fdf01c Merge pull request #753 from veyndan/redundant
Remove redundant call to method
2017-07-03 16:11:26 +09:00
veyndan
6c47fa3c89 Fix crashes where R.id.navigation_view wasn't found 2017-07-03 07:10:22 +01:00
translatewiki.net
b0f877f218 Localisation updates from https://translatewiki.net. 2017-07-03 07:33:38 +02:00
veyndan
3509b0a413 Remove redundant call to method 2017-06-30 20:19:25 +01:00
Yusuke Matsubara
b83c32f81e Merge pull request #742 from veyndan/place
Use an enum for the place description
2017-06-30 16:46:26 +09:00
Josephine Lim
81d0df07d0 Merge pull request #752 from veyndan/drawer
Make the drawer prettier
2017-06-30 16:16:17 +10:00
veyndan
5d6bada4c8 Use an enum for the place description 2017-06-29 15:11:24 +01:00
Adam Jones
57bdd1b5fc Replace proprietary app image (#751)
* Replace prropietary app image

See #740

* Align x of proprietary app screenshot properly with other image

* Compress PNGs
2017-06-29 11:43:07 +01:00
translatewiki.net
a69af5ec45 Localisation updates from https://translatewiki.net. 2017-06-29 07:50:09 +02:00
veyndan
ae78930808 Make the drawer prettier 2017-06-28 21:39:10 +01:00
Yusuke Matsubara
f8bb106b83 Merge pull request #745 from veyndan/string-sanitation
Simplify string sanitation logic
2017-06-28 09:15:10 +09:00
Yusuke Matsubara
63496e48d4 Merge pull request #744 from veyndan/builder
Prevent instantiation of a class with a builder
2017-06-25 17:35:02 +09:00
Vanethos
e18c628a04 Remove button (#718)
* Changed the "Use previous title/description" button so that it does not delete the title and description edit text fields if there is no previous data. https://github.com/commons-app/apps-android-commons/issues/503

* Changed the "Use previous title/description" button so that it does not delete the title and description edit text fields if there is no previous data.

* Changed the "Use previous title/description" button so that it does not delete the title and description edit text fields if there is no previous data.

* Split the if statement in two lines

* Move && to the beginning of the line

* Restore order of titleEdit and descEdit
2017-06-24 21:44:10 +10:00
veyndan
8c3adbbb97 Simplify string sanitation logic 2017-06-19 17:02:16 +01:00
veyndan
dc01dfa014 Prevent instantiation of a class with a builder 2017-06-19 16:23:09 +01:00
translatewiki.net
7e123464e6 Localisation updates from https://translatewiki.net. 2017-06-19 14:09:07 +02:00
Josephine Lim
1b2c327116 Merge pull request #737 from whym/test
Use localized message in NearbyActivityTest
2017-06-15 18:24:07 +10:00
translatewiki.net
5674ae186d Localisation updates from https://translatewiki.net. 2017-06-15 07:45:11 +02:00
Yusuke Matsubara
05e075556f Use localized message in NearbyActivityTest 2017-06-14 22:27:25 +09:00
Yusuke Matsubara
fd11c872b9 Fix coding style issues 2017-06-10 17:46:38 +09:00
Yusuke Matsubara
4f4388b04e Add test for FileUtils 2017-06-10 17:28:14 +09:00
Yusuke Matsubara
9c69539276 Share file with camera using cache and FileProvider
* Use cache instead of external storage to share file with camera
* Execute ExistingFileAsync after permission is granted
2017-06-10 16:47:37 +09:00
translatewiki.net
9e0792f1e2 Localisation updates from https://translatewiki.net. 2017-06-08 07:39:30 +02:00
misaochan
d5c4e59db5 Versioning 2017-06-05 17:02:12 +10:00
translatewiki.net
7c833aa8af Localisation updates from https://translatewiki.net. 2017-06-05 07:32:20 +02:00
Josephine Lim
bff00c988a Merge branch 'master' into check-location-permission 2017-06-04 13:55:10 +10:00
Vanethos
9b86da2fb7 Changed "WikiData Article" to "Wikidata item" as seen in https://github.com/commons-app/apps-android-commons/issues/670 2017-06-03 21:22:41 +01:00
misaochan
7d5469dcfa Add null check for nearbyAsyncTask 2017-06-03 12:40:27 +10:00
misaochan
8dc923f204 Add FIXME comment to temporary fix 2017-06-02 22:41:29 +10:00
misaochan
8e35b20874 Remove unneeded string 2017-06-02 18:34:44 +10:00
misaochan
6bdd4e64c0 Remove automatic Gradle changes from previous commit
Not sure wtf happened...
2017-06-02 18:32:13 +10:00
misaochan
8e059691f9 Tidy up code 2017-06-02 18:27:39 +10:00
misaochan
6091cc7465 Remove addToBackStack
We do not actually want users to go back to this fragment
2017-06-02 18:26:05 +10:00
misaochan
a8d302bdf3 Remove progress bar and add null check for locationManager 2017-06-02 18:17:23 +10:00
misaochan
c3d4b029c1 Fill out onCreateView in fragment 2017-06-02 18:17:10 +10:00
misaochan
c8a0142c3e Cancel AsyncTask and add backstack 2017-06-02 18:08:34 +10:00
misaochan
0beac41e4b Set fragment layout 2017-06-02 17:58:51 +10:00