Commit graph

928 commits

Author SHA1 Message Date
addshore
5fe95813df Simplify boolean expressions 2017-05-13 13:01:45 +02:00
addshore
f019aa2865 Don't create local vars when returning straight away 2017-05-13 13:01:05 +02:00
addshore
85182e3fb7 Stop unnecesary unboxing of values 2017-05-13 12:53:00 +02:00
addshore
5f6f67d3e2 Use switch statements instead of long if elseifs 2017-05-13 12:52:22 +02:00
addshore
6b75810f37 Collapse try blocks 2017-05-13 12:51:43 +02:00
Neslihan
0901e67853 Optimise unnecesarry method call 2017-05-13 13:41:53 +03:00
Josephine Lim
a99ae9e8bb Merge pull request #560 from commons-app/prehack2faError
Detect when 2FA is needed and error nicely
2017-05-13 12:28:51 +02:00
addshore
e8bbbe78d8 Detect when 2FA is needed and error nicely
Fixes #507
2017-05-13 12:03:40 +02:00
Vivek Maskara
676583b6ec Merge pull request #558 from neslihanturan/nearbyMap
Nearby map
2017-05-13 09:41:57 +02:00
Neslihan
c906d6d3d4 Fix Codacy issues 2017-05-12 19:12:39 +03:00
Neslihan
ed32ebbb62 Fix Codacy issues 2017-05-12 19:05:20 +03:00
Neslihan
f9fd354d00 Fix Codacy issues 2017-05-12 18:55:29 +03:00
Neslihan
08501b9348 Organize imports 2017-05-12 18:45:33 +03:00
Neslihan
470ad29380 Fix double click to map icon and refresh icon click 2017-05-12 18:42:02 +03:00
Neslihan
f6ac8fd1a5 Display nearby places on the map 2017-05-12 17:55:21 +03:00
Dinu Kumarasiri
516a5839a3 Merge pull request #557 from misaochan/upload_limit
Add logs for checking uploads limit
2017-05-12 16:40:38 +02:00
Josephine Lim
111c09bac5 Add logs to ContributionsSyncAdapter 2017-05-12 22:33:54 +08:00
Neslihan
c2e018ae9e Nearby places displayed on the map 2017-05-12 17:13:06 +03:00
Josephine Lim
5274984682 Merge pull request #550 from commons-app/prehackLogin
Use clientlogin API module
2017-05-12 21:32:56 +08:00
Udit
a5dc7f79c1 Fix - zero quantity in messages doesn't work in English #343 (#546) 2017-05-12 22:31:13 +09:00
addshore
d1a395689a Merge pull request #554 from whym/license-exception
Show failed value on license-related RuntimeException
2017-05-12 15:23:53 +02:00
neslihanturan
d5f50e8626 Merge pull request #553 from maskaravivek/mapView
Added support for MapView in Nearby
2017-05-12 16:02:59 +03:00
addshore
d38dde0ec4 Use clientlogin API module
This is the first step to allowing 2 factor authentication #328.
This uses the new API module clientlogin instead of the login module.

We still report the same set of errors in a 'nice' way with real
error messages, how ever there are lots more that can probably be
handled, for example #507.
2017-05-12 14:36:58 +02:00
Yusuke Matsubara
040d99638c Show failed value on license-related RuntimeException 2017-05-12 21:31:10 +09:00
maskara
01948c4316 Codacy fixes 2017-05-12 14:30:54 +02:00
maskara
6118b57295 Added support for MapView in Nearby 2017-05-12 13:50:25 +02:00
Vivek Maskara
5ef4777130 Merge pull request #549 from neslihanturan/mapİconToNearby
Add icon to map
2017-05-12 13:43:56 +02:00
Neslihan
784b51e29d Add icon to map 2017-05-12 13:53:47 +03:00
Adam Jones
d9afd0e4bf Improve code style 2017-05-10 23:16:35 +01:00
Adam Jones
0c5e0869b5 Check in SingleUploadFragment that spinner position is valid before applying 2017-05-10 22:51:33 +01:00
srv-twry
654471c098 Added 'Up navigation' for settings activity 2017-05-10 00:38:58 +05:30
Adam Jones
b08a0a3964 Remove unused code in settingsFragment 2017-05-08 00:30:56 +01:00
Yusuke Matsubara
559381d7f7 Fix initial emptiness of Nearby list + refactoring 2017-04-21 21:15:51 +09:00
veyndan
d33935c70f Use Timber for logging 2017-04-17 16:41:56 +01:00
Josephine Lim
052d0c9c8e Merge pull request #500 from veyndan/htmltextview
Define a custom TextView that displays HTML
2017-04-17 23:47:55 +10:00
Josephine Lim
fe41169bd6 Merge pull request #512 from veyndan/scope
Reduce scope of places field
2017-04-17 19:45:35 +10:00
Yusuke Matsubara
66261a169e Remove localization from formatting coordinates 2017-04-17 09:36:15 +09:00
veyndan
2df1cdfbd9 Reduce scope of places field 2017-04-16 21:35:09 +01:00
Yusuke Matsubara
87b3132d21 Keep obsolete license values to prevent crashe after upgrade 2017-04-16 12:45:16 +09:00
Yusuke Matsubara
5e47a9b3ab Merge pull request #489 from veyndan/string
Use getString(…) with formatArgs
2017-04-15 10:51:29 +09:00
Josephine Lim
08f300ef65 Merge pull request #497 from whym/wikidata-query
Switch Nearby to Wikidata Query
2017-04-15 00:15:02 +10:00
veyndan
ce1e293d87 Define a custom TextView that displays HTML 2017-04-14 15:02:33 +01:00
Yusuke Matsubara
8731987385 Generate Nearby list using Wikidata Query
Plus,
* remove duplicate location service manager
* add option to switch data sources of Nearby
* faster sorting of places
* minor coding style improvents
2017-04-14 17:38:45 +09:00
veyndan
b9eafa66b9 Add ActionBar to About screen 2017-04-13 17:40:10 +01:00
Yusuke Matsubara
411bfb3df8 Disable ACRA on debug builds 2017-04-13 19:03:16 +09:00
veyndan
9d656768aa Use getString(…) with formatArgs 2017-04-12 19:12:58 +01:00
Josephine Lim
24a3225280 Merge pull request #475 from veyndan/illegal-state
Don't have default values when obtaining item from spinner
2017-04-06 01:29:03 +10:00
Josephine Lim
314055b2ff Merge pull request #478 from domdomegg/updateSettings
Create SettingsFragment
2017-04-04 23:30:16 +10:00
maskara
58cf539fa0 More codacy fixes 2017-04-04 11:37:51 +05:30
maskara
94e9d2ff0e More codacy fixes 2017-04-02 22:49:38 +05:30