Commit graph

2670 commits

Author SHA1 Message Date
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
misaochan
ffa47a7646 Increment target SDK to 25 2017-07-13 02:38:55 +10:00
misaochan
1b04d95c72 Merge branch 'master' of https://github.com/misaochan/apps-android-commons 2017-07-13 02:34:18 +10:00
Dmytro Vodnik
f3d7465fef fix for #748
that fields doesnt popup because they was shown only after onAuthCookieAcquired fired
2017-07-12 12:28:53 +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
misaochan
705f6af734 Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-07-11 16:12:09 +10:00
Josephine Lim
e132012afc Merge pull request #766 from psh/nearby-list
Converted nearby list to recycler view
2017-07-11 15:53:39 +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
misaochan
b735f62bf9 Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-07-10 19:22:56 +10: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
31b12ba399 Merge pull request #764 from whym/travis
Attempts to reduce timeout (for Travis-CI)
2017-07-07 01:07:08 +10: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
Yusuke Matsubara
4281cd3027 Attempts to reduce timeout (for Travis-CI) 2017-07-05 22:04:24 +09: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
Josephine Lim
c07f924b3d Merge pull request #761 from whym/locale-name
Move values-roa-tara to values-b+roa+tara
2017-07-04 15:40:52 +10: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
misaochan
3a70ebbd6f Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-06-30 02:28:51 +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