Commit graph

2118 commits

Author SHA1 Message Date
addshore
eb58a847b1 Create AccountUtil class 2017-05-14 15:19:57 +02:00
addshore
a1d8008901 Refactoring in LoginActivity 2017-05-14 15:19:57 +02:00
addshore
1a288176bb Cleanup WikiAccountAuthenticator logic
Some of this logic comes from the wikipedia app,
and basically makes sure that we return 'nice' objects
everywhere rather than lots of null.

There is one note left in the class about the getAuthTokenLabel
method and the fact that we should probably return something
there
2017-05-14 15:19:57 +02:00
addshore
ea051c119a Add 2fa to login activity
Fixes #328
2017-05-14 15:19:57 +02:00
neslihanturan
1d0dad9e1a Merge pull request #575 from maskaravivek/crashFix
Fix Crash issue when GPS location is not available
2017-05-14 16:00:02 +03:00
Josephine Lim
c669769e4d Merge pull request #573 from maskaravivek/mapInfoDialog
Map info dialog with width issue fixed
2017-05-14 14:58:13 +02:00
maskara
fd72e45930 Fix Crash issue when GPS location is not available 2017-05-14 14:42:30 +02:00
maskara
198f3daf44 Fix Info dialog width issue 2017-05-14 14:27:42 +02:00
neslihanturan
ec387bf3c3 Merge pull request #572 from maskaravivek/mapInfoClick
Close fragment when tapped on the empty section
2017-05-14 15:25:00 +03:00
maskara
ec0da2f4af Close fragment when tapped on the empty section 2017-05-14 13:53:37 +02:00
Josephine Lim
815837ab91 Merge pull request #567 from sandarumk/set_upload_limit
Set upload limit
2017-05-14 13:52:20 +02:00
Josephine Lim
04e5432f13 Merge pull request #571 from neslihanturan/switchMapThemeNoConflict
Remove conflicts
2017-05-14 13:30:05 +02:00
Neslihan
bb47332a37 Remove conflicts 2017-05-14 14:26:16 +03:00
Josephine Lim
e651aca20d Merge pull request #569 from maskaravivek/mapViewFixes
Showing an overlay dialog when a nearby item is tapped
2017-05-14 13:07:05 +02:00
maskara
cce8715fad Showing an overlay dialog when a nearby item is tapped 2017-05-14 11:49:25 +02:00
Josephine Lim
3a92de0c21 Merge pull request #564 from tobias47n9e/master
Get coordinate template when parsing image page
2017-05-14 10:20:17 +02:00
Tobias Schönberg
e299536c8a Code style 2017-05-14 10:00:17 +02:00
Dinu Kumarasiri
7050efc996 Fix Codecy Failures
Fix Codecy Failures

Fix Codecy Failures
2017-05-14 00:03:44 +02:00
Dinu Kumarasiri
28ca9ec394 Apply the upload limit 2017-05-13 17:30:44 +02:00
Dinu Kumarasiri
6feed8cab1 Add a new preference to set the upload limit 2017-05-13 17:24:02 +02:00
Dinu Kumarasiri
93b867af4f Change the Title in 'My Uploads' to 'My Recent Uploads' 2017-05-13 17:23:25 +02:00
Tobias Schönberg
94b19f27b9 Move coordinate logic to LatLng class 2017-05-13 17:22:09 +02:00
Tobias Schönberg
6b30e5e297 Code style, Codacy fixes 2017-05-13 16:21:08 +02:00
Tobias Schönberg
c6a2f2c7ea Get coordinate template when parsing image page
Currently the image detail view does not display the
coordinates.
This commit adds the coordinate template to the
parser and displays the results rounded to 4 digits.
2017-05-13 16:09:01 +02:00
Josephine Lim
81d23a3b94 Merge pull request #563 from commons-app/prehackCleanup
Prehack cleanup
2017-05-13 15:46:28 +02:00
Josephine Lim
500490f6a9 Merge pull request #562 from neslihanturan/optimisingNearby
Optimising nearby
2017-05-13 15:34:51 +02:00
Neslihan
200625dcca bug fix 2017-05-13 15:22:20 +03:00
Neslihan
59ad9c5c91 Fix Codacy issues 2017-05-13 15:14:25 +03:00
Neslihan
2dafd88a6c Fix Codacy issues 2017-05-13 15:07:30 +03:00
Neslihan
fc2557d47f Fix map fragment 2017-05-13 14:11:20 +03:00
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