Commit graph

2572 commits

Author SHA1 Message Date
Dmitry Brant
94e0e5e254 Always remove TextWatcher when finished with it. 2017-05-26 16:06:14 -04:00
Dmitry Brant
1809475fea Don't require Activity to be passed into UploadController. 2017-05-26 15:34:10 -04:00
Dmitry Brant
8255bac32e Don't store Activity instance in adapter. 2017-05-26 15:15:43 -04:00
Dinu Kumarasiri
40c1ea375a Merge pull request #681 from dbrant/crash2
Fix crash when uploading multiple photos.
2017-05-26 23:35:37 +05:30
Dmitry Brant
5923e9ad4a Fix crash in PhotoDisplayAdapter. 2017-05-26 13:35:40 -04:00
Josephine Lim
be62646fbe Merge pull request #677 from Deskana/unusedimports
Remove unused imports
2017-05-27 02:10:12 +10:00
Josephine Lim
39ddcd1577 Merge pull request #675 from tobias47n9e/feature/nearby-view
Vertically center nearby list loading icon
2017-05-27 02:07:31 +10:00
Deskana
14326ae3d0 Fix usage of deprecated function String.fromHtml(String)
String.fromHtml(String) is now deprecated. This patch fixes that by adding a method to Utils that selects the appropriate function based on the user's platform.
2017-05-26 13:52:01 +01:00
Deskana
7a8e04eec1 Simplify if statements
This patch simplifies a few if statements by replacing them with returns, which helps improve code readability and simplicity.
2017-05-26 11:16:22 +01:00
Deskana
4b7011a725 Remove redundant call to String.format() in CategoryModifier
This patch removes a call to String.format that can be replaced with a
literal string which is much clearer.
2017-05-26 11:08:02 +01:00
Deskana
767878f194 Remove unused imports
This patch removes imports across the codebase that are unused to improve
code maintainability and cleanliness.
2017-05-26 11:02:56 +01:00
Deskana
9b26465b1d Remove redundant field in SettingsActivity
There is a field that is set in SettingsActivity that is never used at all.
This patch removes that field to improve performance and code tidiness.
2017-05-26 10:55:53 +01:00
Tobias Schönberg
d545c9b0ef Vertically center nearby list loading icon
The loading icon of the nearby places list is currently
at the very top of the view.
This commit vertically centers the loading icon.
2017-05-25 17:47:18 +02:00
Tobias Schönberg
db5dbbfdfd Fix crash of nearby list when the places list is null
Currently the NearbyController crashes when it is called with a
places list that is null. This is caused by the NearbyMapFragment
not handling this state correctly.
This commit adds tests for an empty list and null, which reproduce
the problem. An early return in the NearbyController can make
the tests pass, but might not be the best solution for this issue.
2017-05-24 22:15:38 +02:00
Vivek Maskara
67dfa170d2 Merge pull request #666 from whym/tests
Espresso: match with resource names in settings screen
2017-05-24 19:31:23 +05:30
Yusuke Matsubara
28d73d2b96 Espresso: match with resource names in settings screen
Apparently this is more robust (especially for SDK version 25)
2017-05-21 21:38:35 +09:00
Josephine Lim
aeb66492d6 Merge pull request #664 from sandarumk/replace_upload_with_home
Replace upload with home
2017-05-21 12:33:04 +02:00
Josephine Lim
35bead1302 Merge pull request #663 from maskaravivek/guava
Adding support for Guava library
2017-05-21 12:31:29 +02:00
Dinu Kumarasiri
471403d7c3 Replace upload with home 2017-05-21 12:30:54 +02:00
maskara
43d841bdf3 Adding support for Guava library 2017-05-21 12:25:28 +02:00
Josephine Lim
e89369afc0 Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-05-21 11:49:26 +02:00
translatewiki.net
1d2ba94c56 Localisation updates from https://translatewiki.net. 2017-05-21 09:52:06 +02:00
Nicolas Raoul
1e7f7974e3 Merge pull request #660 from domdomegg/bulktranslationfixes
Bulk translation fixes
2017-05-21 10:59:24 +09:00
Adam Jones
fdb0db9cb3 Fix ellipsis characters 2017-05-21 00:10:38 +01:00
Adam Jones
b872ba011d Fix github url 2017-05-21 00:09:53 +01:00
Adam Jones
b92d8e03e8 Fix spaces 2017-05-21 00:08:21 +01:00
Josephine Lim
920efcdbab Merge pull request #648 from whym/importorder
Change import order (coding style)
2017-05-20 19:25:17 +02:00
Josephine Lim
5653d2df75 Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-05-20 19:14:39 +02:00
Vivek Maskara
0e71e817b6 Merge pull request #641 from sandarumk/fix_lint_issues
Fix lint issues
2017-05-20 19:11:07 +02:00
Josephine Lim
0a94c9c0ba Merge pull request #647 from dbrant/rotate1
Fix showing local image if fetching thumbnail fails.
2017-05-20 16:03:37 +02:00
Dmitry Brant
39e24b1863 Don't put local URI into thumbnail cache. 2017-05-20 15:32:41 +02:00
Josephine Lim
b3215b1e78 Merge pull request #645 from maskaravivek/overlayMenu
Add popup menu in nearby info dialog
2017-05-20 15:23:35 +02:00
Josephine Lim
e7bfd40cc4 Merge pull request #637 from dr0ptp4kt/harmonize-licenses-with-upload-wizard
Remove unused interface license message strings
2017-05-20 15:22:19 +02:00
Yusuke Matsubara
58c9e1d09e Change import order (coding style) 2017-05-20 20:51:57 +09:00
maskara
75f3fe4ed6 Fixed codacy issues 2017-05-20 13:43:47 +02:00
Dmitry Brant
5fc684fcc5 Fix showing local image if fetching thumbnail fails. 2017-05-20 13:41:23 +02:00
Dinu Kumarasiri
4a1c7300ee Merge remote-tracking branch 'origin/fix_lint_issues' into fix_lint_issues 2017-05-20 13:34:56 +02:00
Dinu Kumarasiri
1dbe1fe636 Fix codecy issues 2017-05-20 13:34:51 +02:00
maskara
4da88b41ea Added width and height to dimens file 2017-05-20 13:33:23 +02:00
maskara
4823486139 Add popup menu in nearby info dialog 2017-05-20 13:09:16 +02:00
Dinu Kumarasiri
9be1c65dd1 remove Gradle build update 2017-05-20 13:07:01 +02:00
Fotis Tsalampounis
7d5f5853e5 Updated target sdk version to 25
The camera crash bug does not seem to exist anymore. Another fix probably solved this issue too.
2017-05-20 14:05:02 +03:00
Josephine Lim
d07c0947a7 Merge pull request #643 from misaochan/master
Versioning and changelog for v2.4
2017-05-20 12:52:28 +02:00
Josephine Lim
47b452af52 Update changelog.md 2017-05-20 12:45:32 +02:00
Josephine Lim
bc09ee4bba Versioning for v2.4 2017-05-20 12:32:27 +02:00
Josephine Lim
7b4734d3ad Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-05-20 12:31:56 +02:00
Dinu Kumarasiri
7629e00f33 Fix merge conflicts 2017-05-20 12:28:39 +02:00
Adam Baso
05515ab80c Merge branch 'master' into harmonize-licenses-with-upload-wizard 2017-05-20 05:22:49 -05:00
Josephine Lim
a518ad0b44 Merge pull request #640 from ftsalamp/master
Removed getSupportActionBar command
2017-05-20 12:20:47 +02:00
Josephine Lim
a352104635 Merge remote-tracking branch 'refs/remotes/commons-app/master' 2017-05-20 12:20:19 +02:00