Commit graph

2745 commits

Author SHA1 Message Date
Vivek Maskara
68ae11e37f Use central auth token only for cross wiki calls (#2318)
* Use central auth token only for cross wiki calls

* Fix tests

* Add test for wikidata edit token
2019-01-25 18:14:41 +10:00
Vivek Maskara
de9611821b Fix version number for alpha builds (#2325) 2019-01-24 23:32:16 +05:30
Vivek Maskara
ddc83f1f22 Fix nearby crash due while loading (#2315) 2019-01-24 18:21:28 +10:00
Vivek Maskara
e389a95592 Fix log file not being attached (#2316)
* Fix log file not being attached

* Add filter for email clients
2019-01-24 18:21:07 +10:00
Vivek Maskara
53e186df9a Fix achievements response parsing (#2323) 2019-01-24 18:20:41 +10:00
Vivek Maskara
532ab8aeae Fix uploads getting stuck (#2309)
* Fix uploads getting stuck

* Fix test

* Use single instance of Gson across the app

* More logs to help debug upload failure

* Add request identifier

* wip

* Fix issues with image quality check dialogs
2019-01-24 17:56:18 +10:00
translatewiki.net
07f9af19f5 Localisation updates from https://translatewiki.net. 2019-01-21 09:54:22 +01:00
Shridhar Goel
aac0b7c52f Fix #2312: Prevent crash when internet connection is not available (#2320)
* Fixes crash when internet connection is not available

* Fixes crash when internet connection is not available

* Remove unused imports
2019-01-20 01:47:52 +05:30
translatewiki.net
071eab6302 Localisation updates from https://translatewiki.net. 2019-01-17 10:49:03 +01:00
Vivek Maskara
559127dfa3 Fix app stuck and memory issues while uploading images (#2287)
* Do not use an image array to store all bitmap pixels at once

* Extract image preprocessing to a different service and use computation thread

* Add java docs

* Cleanup code to remove temp file logic

* Add logs in upload flow

* Fix tests

* Fix more tests
2019-01-16 18:32:25 +02:00
Vivek Maskara
21f82dd346 Use fresco image loader instead of glide (#2282) 2019-01-16 21:17:28 +05:30
Shubham Pinjwani
5cda35c5f5 Prevent app from crashing on retry(#2256) (#2264)
* Prevent app from crashing on retry(#2256)

* Prevent app from crashing on retry(#2256)
2019-01-16 08:47:52 +05:30
Shubham Pinjwani
e93564fb79 Improved Result of the quiz activity for smaller screens(#2010) (#2304)
* Improved Result of the quiz activity for smaller screens(#2010)

* added scroll view
2019-01-15 21:27:54 +05:30
translatewiki.net
b2038ac017 Localisation updates from https://translatewiki.net. 2019-01-14 09:30:54 +01:00
Vivek Maskara
d4fa9cfa45 Use wrapper for interacting with shared preferences (#2288)
* Use wrapper for accessing shared preferences across the app

* Use Json kv store for storing place object

* Fix tests

* Fix test failure

* Fix UI tests
2019-01-14 00:13:21 +05:30
vanshikaarora
1b7b909107 #2192 scroll issue resolved (#2290) 2019-01-13 16:00:33 +05:30
translatewiki.net
28bfb04f0c Localisation updates from https://translatewiki.net. 2019-01-10 08:45:01 +01:00
Adam Jones
1560540c72 Fix #2044 by not stopping MainActivity when looking at notifications (#2102) 2019-01-08 22:47:06 +05:30
Vivek Maskara
164ef9bcac Use image picker to pick images for upload (#2278)
* Use image picker to pick images for upload

* Consolidate storage permissions in Upload activity

* With proper request codes for image upload

* Use constants for upload limits

* Check for request code while handling requests

* Let fragment initiate the camera/gallery instead of activity

* Delete unused external storage utils
2019-01-09 02:26:46 +10:00
Ajinkya Korde
b05b302e65 Fix #2215 Added BetaCheckerUtil class and made necessary changes (#2274)
* Fix #2215 Added BetaCheckerUtil class and made necessary changes

* Fix #2215 Fixed formatting error in LogSender class

* Fix #2215 Renamed BetaCheckerUtil to ConfigUtils

* Fix #2215 Fixed formatting in CommonsApplicationModule
2019-01-08 01:01:00 +05:30
translatewiki.net
cd322d2f57 Localisation updates from https://translatewiki.net. 2019-01-07 10:04:32 +01:00
Supriya
2b45194379 Fix #2250: Make version number copyable in About screen (#2273)
* Make version number copyable

* Resolve Travis build fail

* Revert "Make version number copyable"

This reverts commit c3f435423a.

* Revert "Resolve Travis build fail"

This reverts commit 20e70b21fb.

* Add gen folder to gitignore
2019-01-06 01:28:45 +05:30
sp2710
dabcd43a5b Removed default license settings, and implemented selecting last selected license as default licence(#2170) (#2218)
* Removed default license settings, and implemented selecting last selected license as default licence(#2170)
* Replace settings license tests with recent upload limit test
2019-01-04 15:26:39 +00:00
Adam Jones
f5c8e7ad93 Fix #2214: Use Utils.isDarkTheme for consistency (#2268) 2019-01-04 18:25:31 +10:00
Vivek Maskara
e773a82206 Handle null URI while uploading picture (#2262)
* Handle null URI while uploading picture

* Modify cache method to never return null path

* Fix tests
2019-01-04 18:21:55 +10:00
vanshikaarora
e69c03cf83 fixed issue #2154 for achievements activity (#2087)
* fixed issue #2065 for achievements activity

* updates for issue #2154

* removed unwanted comments and undo gradle changes

* added strings to strings.xml

* changes made after reviews

* review changes

* build issues resolved

* Undo changes in gradle properties
2019-01-03 21:25:13 +05:30
translatewiki.net
10e57bd8d0 Localisation updates from https://translatewiki.net. 2019-01-03 16:38:22 +01:00
neslihanturan
bedc53b0ca Fixes #2062 Nearby: My position does not move (#2235)
* Add method to check if current location marker is in visible region or not

* Ignore postion track updates if current location marker is not in the visible region

* Fix unnecessary progess bar issue
2019-01-04 00:28:11 +10:00
Vivek Maskara
a4a037a577 Use large heap size for commons app (#2261) 2019-01-04 00:16:16 +10:00
Kaartic Sivaraam
ed51d8b871 Rephrase misleading statement shown when skipping login (#2249)
* Rephrase misleading statement shown when skipping login

The previous statement was misleading as it could also
mean that the user could never upload pictures if he
skips login. This not the case because after skipping
the login he could login again if he wants to upload
pictures.

Clarify it by using a statement which states that he
would have to login in future in case he wants to
upload pictures.

* Rephrase with a better statement

The old statement doesn't read so well.
Rephrase it with a  better statement.
2019-01-04 00:07:45 +10:00
Vivek Maskara
be98a56ba0 Improve text for receiving shared images (#2266) 2019-01-04 00:05:00 +10:00
Vivek Maskara
465e232c67 Open gallery on gallery button click (#2267) 2019-01-03 12:18:36 +05:30
Vivek Maskara
a48a09a785 Use dexter for requesting storage permissions (#2258)
* Use dexter for requesting storage permissions

* minor changes

* Fix minor issue
2019-01-02 18:11:19 +02:00
Vivek Maskara
2ea6bd7f65 With more information while sending logs (#2222)
* With more information while sending logs

* With java docs and unit tests

* Changes based on code review
2019-01-03 01:12:08 +10:00
Adam Jones
5317063689 Fix night mode issues with search and categories (#2213) 2019-01-01 16:25:46 +05:30
DylanRobson
55113b3018 Fix issue #2164 Links open with handleWebUrl. (#2220)
* AboutActivity links now open with the in-app tabbed browser.
* UploadActivity license and policy links now open with the in-app tabbed browser.
2019-01-01 16:21:33 +05:30
Zhao Gang
af291a5fcc Fix #2163: Hide subtitle message when uploading a single image (#2169)
* Hide subtitle message when uploading a single image (#2163)

* updateSubtitleVisibility: Javadoc and replace if with ternary operator

* updateSubtitleVisibility: change findViewById to BindView

* Remove null checks for views

Null check is not required while binding views with butterknife.
2019-01-01 16:08:12 +05:30
Adam Jones
5c8a0cdd93 Add WhiteSearchBarTheme to styles.xml (#2211) 2019-01-01 15:55:34 +05:30
translatewiki.net
774436ce7b Localisation updates from https://translatewiki.net. 2018-12-31 17:52:23 +01:00
translatewiki.net
da36d2cda3 Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
Kaartic Sivaraam
ecc05c1ca4 Bring back the label for multiple upload intent (#2221)
In the upload revamp, commit f607c1c1 (Multiple uploads with over haul (#1968), 19 Nov 2018),
kept back the label for the single upload intent but removed the label for the multiple upload
intent.

Correct it and bring back the label for the multiple upload intent thus giving a more useful
label for the intent, again.
2018-12-25 13:31:17 +05:30
Shridhar Goel
b447612cc5 Fix #2200: Prevent app from closing while navigating to Home (#2204)
* Fix #2200 Prevent app from closing while navigating to Home
* Add workaround for reorder activity Android bug in some API levels
2018-12-22 13:27:47 +00:00
Adam Jones
493fa6b721 Fix okay buttons in alert dialogs (#2206) 2018-12-21 17:30:36 +02:00
Adam Jones
96d540372a Improve search UI (#2189)
* Improve search UI

* Undo irrelevant parts of commit
2018-12-21 17:24:48 +02:00
Adam Jones
ef517042e3 Update mapbox sdk (#2176) 2018-12-21 16:41:02 +02:00
Adam Jones
fb3136ab19 Spelling mistake fixes (#2151)
* Spelling mistake fixes

* Spelling mistake fix
2018-12-21 15:20:52 +02:00
Adam Jones
d31574f6cd Fix #2197: Links on about page in night mode are correct color (#2199) 2018-12-21 14:26:30 +02:00
Adam Jones
d7e73c37e6 Refactor and add tests to LengthUtils (#2201) 2018-12-21 14:23:53 +02:00
Adam Jones
f04503bb3e Lint issues (#2114)
* Dangling Javadoc comments

* Replace for loop with foreach

* Explicit type can be replaced with <>

* Anonymous type can be replaced with lambda

* Lambda can be replaced with method reference

* Remove redundant methods

* Use capital L for long literals

* Remove unnecessary StringBuilder
2018-12-21 13:09:04 +02:00
Hariharan
8e967a3698 UploadController: Added support for using author names. Fixes #1707. (#1856)
* UploadController: Added support for using author names. Fixes #1707.

* Minor PR tidy-up

* Reword preference item

* Null check to pass startUpload test
2018-12-21 12:52:59 +02:00