Commit graph

4665 commits

Author SHA1 Message Date
translatewiki.net
a1a65d0832 Localisation updates from https://translatewiki.net. 2019-03-21 10:56:28 +01:00
Adam Jones
268ba07648 Convert instrumentation tests to Kotlin (#2689)
* Convert SettingsActivityTest to Kotlin

* Convert NavigationBaseActivityTest to Kotlin

* Convert UploadTest to Kotlin
2019-03-21 10:26:36 +05:30
Madhur Gupta
0612519e1c Add sign-up button instrumentation test (#2687) 2019-03-20 23:10:31 +00:00
Vanshika Arora
fc7399cae7 Extend WelcomeActivityTest (#2666) 2019-03-20 20:13:43 +00:00
Madhur Gupta
d72bd446fe Added information dialog to Statistics #2599 (#2683) 2019-03-20 14:12:20 +03:00
Vanshika Arora
309a51f46a Fix #2659: Nomination notification links to nomination page (#2667) 2019-03-20 08:32:00 +00:00
Adam Jones
a261dbb4fb Remove unused assets (#2676) 2019-03-20 08:43:12 +05:30
Zhao Gang
0afcce8919 Remove unused nearby map style code (#2672) 2019-03-19 21:36:33 +00:00
Dmitry Brant
8474c04c64 Fix crash(es) caused by failing to dispose Rx observables (#2669) 2019-03-19 21:08:04 +00:00
Vanshika Arora
38d39e08ac Work on resolving #2311 for viewing failed uploads (#2617) 2019-03-19 21:02:01 +00:00
Dmitry Brant
351109440f Fix memory leak(s). (#2674) 2019-03-19 19:59:33 +00:00
Dmitry Brant
d1ae88ca8b Fix crash on API 19 in Achievements screen. (#2673) 2019-03-19 19:48:55 +00:00
Dmitry Brant
09a93d1d3b Fix #2609: Fix padding of FloatingActionButtons across all APIs (#2675) 2019-03-19 19:42:56 +00:00
Zhao Gang
f4807a5e4b Remove BitmapUtils (fixed #2638) (#2665)
Use a TextView on top of badge image to show user's level.
2019-03-19 18:16:13 +03:00
Adam Jones
fd6c4821aa Standardize includes of toolbar (#2646) 2019-03-19 17:54:22 +03:00
Dmitry Brant
adf23c257f Improve extremely inefficient darkness-checking logic. (#2639)
* Improve extremely inefficient darkness-checking logic.

* Use ExifInterface from AndroidX instead of android.media.

* Fix false-positive detekt check.

* Fix false-positive detekt check.
2019-03-19 20:23:36 +05:30
Adam Jones
bc9d83a47c Create drawer_view.xml (#2645) 2019-03-19 17:49:45 +03:00
Adam Jones
cfb06f3103 Remove CustomEditText (#2640) 2019-03-19 17:42:01 +03:00
Vanshika Arora
3417d713d2 Fixes #97: Added metadata reader for reading exif data (#2581)
* initial commit

* initial commit

* reading 3 exif directories

* minor changes

* fixed unit tests

* reviwied requested changes

* minor changes

* minor changes
2019-03-19 19:08:42 +05:30
Dmitry Brant
8cd87ad148 Prevent memory leak(s) from QuizChecker. (#2656) 2019-03-19 20:36:14 +10:00
Shubham Pinjwani
3ceaaa9bb4 Fix #2212: Fix back button behaviour in explore views (#2650) 2019-03-18 23:59:58 +00:00
Jason Obeid
04d29fe5f2 Fix #2179: Update ACRA version and theme (#2219) 2019-03-18 23:50:44 +00:00
Dmitry Brant
a1063c2e08 Enable hardware acceleration. (#2654) 2019-03-18 21:16:45 +00:00
Bence Konya
66ba35a15f Fix #2205: Fix upload card view arrow direction error (#2653) 2019-03-18 21:03:51 +00:00
Adam Jones
db5290efcf Upload UI tests (#2626)
* Fix SettingsActivityTest

* Add test in SettingsActivity to set recent upload limit to 0

* Add tests to recent upload limit setting

* Simplify activity test rule

* Add UploadTest

* Log the URL where the file should be uploaded

* Generate an image file before testing uploads

* With runtime permissions

* With automatic login

* With automatic login

* Get test credentials from travis
2019-03-19 01:51:44 +05:30
Adam Jones
1040c2d5b1 #2643: Remove unused resource files (#2641)
* Remove unused resource files

* Remove unused layout files
2019-03-18 22:47:29 +05:30
Yusuke Matsubara
ee7af37d00 Stash upload (#2505)
* Introduce Single<UploadResult>

* Two stage upload process

- split upload process and use stash
- resolve filename conflict after upload not before
- use NotificationManagerCompat; add notification tag; assign temporaty stash file name
2019-03-18 21:07:29 +05:30
translatewiki.net
341f9614a7 Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
Adam Jones
0b6a1addfb Add WelcomeActivityTest (#2636)
* Add WelcomeActivityTest

* Convert WelcomeActivityTest to Kotlin
2019-03-18 11:21:22 +05:30
Shubham Pinjwani
38dc0c3fc8 Fix #2634: Prevent incorrect dialog from appearing if non-GPS location is enabled (#2635)
* Prevent dialog from appearing if location is enabled
* Update Javadoc
2019-03-17 20:41:46 +00:00
Shubham Pinjwani
31c688860d Fix #1850: Show media talk page in media details (#2560) 2019-03-17 17:11:34 +00:00
Adam Jones
3b7b6f91a2
Fix #2203: Require number of uploads not to have decimal (#2615) 2019-03-17 16:54:55 +00:00
Shridhar Goel
0b25730a18 Fix #2194: Updated Nearby ⓘ icon to include 'Search this area' feature (#2198) 2019-03-17 16:23:11 +00:00
Madhur Gupta
21f2e088fa Fix #2592: Overlapping text bug on tablet login screen (#2600) 2019-03-17 16:14:58 +00:00
Shridhar Goel
40568eccf8 Fix #2394: Prevent crash while navigating between Explore and Achievements (#2395) 2019-03-17 15:29:24 +00:00
Divyanshu Shukla
16df68a073 Fix #2246: Remove NPE in Nearby (#2247) 2019-03-17 15:20:17 +00:00
Adam Jones
d24bf20c80 Add NavigationBaseActivityTest (#2633) 2019-03-17 18:09:16 +05:30
Adam Jones
f983a99f45 Fix compiler warnings from Apache AvalonLogger (#2631) 2019-03-17 16:35:03 +05:30
Vanshika Arora
1a8a99997d modified activity_upload_bottom_card (#2630) 2019-03-17 16:12:53 +05:30
Brenda Jerop
8e8558ae6d Fix #2017: Explore shows featured images and mobile uploads (#2551) 2019-03-17 10:32:24 +00:00
Vanshika Arora
38dceddbf5 resolved issue #2542 with position of map icon (#2601)
* resolved issue #2542

* removed commented code
2019-03-17 15:42:57 +05:30
Adam Jones
d719a4a9d4 Add tests for PageTitle (#2624) 2019-03-17 11:22:37 +05:30
Adam Jones
cfade144d9 Refactor string sorting utils to remove dependency (#2623)
Also adds Javadocs, and simplifies calculateSimilarity
2019-03-17 11:21:45 +05:30
Adam Jones
701764d974 Fix tests in SettingsActivity (#2625)
* Fix SettingsActivityTest

* Add test in SettingsActivity to set recent upload limit to 0

* Add tests to recent upload limit setting

* Simplify activity test rule
2019-03-17 11:21:10 +05:30
Adam Jones
561f9ea23c Add more tests to StringSortingUtils (#2622)
* Add more tests to StringSortingUtils

* Add test with empty strings to improve coverage
2019-03-16 23:21:23 +05:30
Shubham Pinjwani
deb0a9874c Fix #2620: Prevent app from crash while visiting achievements in flight mode (#2621) 2019-03-16 17:06:54 +00:00
Vanshika Arora
9d55c1e8d7 Fix #2245: Correct back button behaviour from nearby fragment (#2301) 2019-03-16 16:27:25 +00:00
Vitaly V. Pinchuk
a26b62f51b Fix #1334: Refactor variable names of nearby_query.rq (#2583)
* all variables were refactored to camelCase
2019-03-16 21:09:39 +05:30
Shridhar Goel
a8fac9d160 Fix #2231: Explore recent searches list updates quickly (#2232) 2019-03-16 15:27:28 +00:00
Vivek Maskara
7cb87f3cab Consolidate shared prefs to a single store (#2613)
* Consolidate shared prefs to a single store
* Fix achievements activity
* Fix store usage
2019-03-16 13:56:56 +00:00