Commit graph

1108 commits

Author SHA1 Message Date
Josephine Lim
53d6792f5b Merge pull request #763 from psh/master
Refactoring the API calls
2017-07-16 02:27:50 +10:00
translatewiki.net
be3dbc6afe Localisation updates from https://translatewiki.net. 2017-07-15 16:52:38 +02:00
Paul Hawke
8e47f82de6 Merge remote-tracking branch 'upstream/master' 2017-07-15 06:16:31 -05:00
Josephine Lim
0da51457d0 Merge pull request #771 from tised/#739_issue
fix for #739
2017-07-14 02:17:48 +10:00
Josephine Lim
2e388c0d5e Merge pull request #772 from tised/#708_issue
fix for #708
2017-07-14 01:12:52 +10:00
Josephine Lim
350f9bb697 Merge pull request #773 from tised/#657_issue
improvements for #657 issue
2017-07-14 01:10:34 +10:00
Dmytro Vodnik
0ce99bc10e improvements for #657 issue 2017-07-13 16:26:07 +03:00
Yusuke Matsubara
d241d36d66 Add PageTitle class to canonicalize page names 2017-07-13 18:29:30 +09:00
Dmytro Vodnik
397b4fa586 fix for #708 2017-07-13 12:23:15 +03:00
Dmytro Vodnik
719b30be85 fix for #739 2017-07-13 12:04:51 +03:00
Paul Hawke
c3649d3efd Merge remote-tracking branch 'upstream/master' 2017-07-11 08:06:55 -05:00
Josephine Lim
691acbf983 Merge pull request #768 from tised/#733_#732_fix
fix for #733,732 issue
2017-07-11 16:30:10 +10:00
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
Dmytro Vodnik
869790900b fix for #733,732 issue
The problem is that onCreate of content resolver are calling before even Apllication onCreate, so that fields may be null which caused crashes
2017-07-10 17:31:32 +03:00
Paul Hawke
9387d31cb6 Improvements based on codacy-bot feedback. 2017-07-09 17:52:50 -05:00
Paul Hawke
6ccc608a1e Converted nearby list to recycler view and fixed a few issues pointed out by static code analysis. 2017-07-09 17:33:24 -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