Commit graph

5577 commits

Author SHA1 Message Date
Madhur Gupta
ecb43faef5
Add BookmarkListRootFragment Unit Tests (#4822) 2022-02-18 16:19:24 +10:00
Madhur Gupta
2fc33b0299
Add ZoomControllers Unit Tests (#4823)
* Add MultiPointerGestureDetector Unit Tests

* Add TransformGestureDetector Unit Tests
2022-02-18 16:19:17 +10:00
Madhur Gupta
52bdb56fb2
Add WikiAccountAuthenticator Unit Tests (#4827) 2022-02-18 16:19:11 +10:00
Madhur Gupta
9205f37605
Run Instrumentation tests and generates unified code coverage (#4828)
* Run instrumentation tests on CI and generate unified coverage report

* Fix ci

* Fix failing tests and use mac machine for HAXM

* Fix failing tests

* Fix coverage failure

* Try with ubuntu latest

* Change API level to 23

* Fix Failing Test

* Add prod APK generator workflow back
2022-02-18 16:18:29 +10:00
Devarsh Mavani
c6fda6dadb
Show progress when uploading image (#4831) 2022-02-18 12:44:16 +09:00
translatewiki.net
b56fd4c220 Localisation updates from https://translatewiki.net. 2022-02-17 13:01:39 +01:00
Madhur Gupta
01904bccdf
Add CustomOkHttpNetworkFetcher Unit Tests (#4826) 2022-02-17 17:06:36 +10:00
Arin Modi
863477aa02
Fixed 4794 : Added a functionality of remembering zoom level on map (#4817)
* Fixed 4794 : Added a functionality of remembering zoom level on map

* Added Required Changes

* Added Required Changes

* Added Required Changes

* Added Required Changes

* Added Required Tests for the RememberZoomLevel
2022-02-17 15:52:48 +09:00
Devarsh Mavani
755b216507
Show user current location (#4825) 2022-02-16 23:13:23 +09:00
Ayan Sarkar
27e3f20ba2
Fixes 4539 : When Wikidata has no description showing instance_of's label as a description (#4799)
* Showing instance_of's name as a description

* Indentation fixed

* DepictsClient Test added
2022-02-16 14:19:27 +09:00
Devarsh Mavani
c2bc5b4f23
Show Last Known Location in LocationPickerActivity (#4816)
* Show Last Known Location in LocationPickerActivity

* Removed extra empty line

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests

* Added tests
2022-02-16 00:44:46 +05:30
Madhur Gupta
458024bdee
Update MoreBottomSheetFragment Unit Tests (#4812)
* Update MoreBottomSheetFragment Unit Tests

* Fix failing tests
2022-02-15 19:40:34 +10:00
Madhur Gupta
4081bf6e61
Add concurrency, db, data and kvstore folder to exclude list (#4813)
* Add concurrency folder to exclude list

* Add kvstore to excludes

* Add db to excludes

* Add data to excludes
2022-02-15 19:40:27 +10:00
Madhur Gupta
fd0dbf4cfd
Add AccountUtil Unit Tests (#4814) 2022-02-15 19:40:13 +10:00
Madhur Gupta
dcf3aa8670
Add some more tests for NearbyParentFragment (#4815) 2022-02-15 19:40:03 +10:00
Madhur Gupta
272f59b217
Add tests for CommonsAppAdapter (#4818)
* Add tests for CommonsAppAdapter

* Remove robolectric dependency
2022-02-15 19:39:50 +10:00
Madhur Gupta
092079986a
Add UploadMediaDetailAdapter Unit Tests (#4819) 2022-02-15 19:36:31 +10:00
translatewiki.net
dea438c27c Localisation updates from https://translatewiki.net. 2022-02-14 13:01:43 +01:00
Ayan Sarkar
15fa93e8d0
Description and thumbnail is showing for the categories that are associated with Wikidata (#4803)
* Depiction.commons categories showing with description and thumbnail

* Test added

* Test added
2022-02-14 19:45:59 +09:00
Arin Modi
ecc6b1bf28
Fixed the issue #4806: Now, "Location Not Found" pop appears only one… (#4807)
* Fixed the issue #4806: Now, "Location Not Found" pop appears only one time

* Fixed the issue #4806: solved the small bug related to popups warning

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up

* Fixed the issue #4806: solved the small bug of : Location Not Found Pop Up
2022-02-13 22:49:49 +09:00
Devarsh Mavani
ab6bd8a682
Make caption field single line Issue#4795 (#4811) 2022-02-13 22:10:42 +09:00
Madhur Gupta
7afd0e843b
Add ExploreFragment Unit Tests (#4809) 2022-02-13 16:28:56 +10:00
Madhur Gupta
bababe757e
Add ExploreListRootFragment Unit Tests (#4810) 2022-02-13 16:25:15 +10:00
translatewiki.net
9f09b1353b Localisation updates from https://translatewiki.net. 2022-02-10 13:01:53 +01:00
Kaartic Sivaraam
e6c64b9368
GitHub issue forms (#4804)
* .github: move pull request template into .github directory

This keeps it out of the root directory. The main intention is
that keeping it out-of-root helps give it less attention which
is enough for the template.

* .github: add a issue form template for the app

This is based on the exisitng issue template of the app. It has
some additional tweaks done to update stale information.

* .github: add some more issue templates
2022-02-10 17:05:32 +10:00
Madhur Gupta
aab0bc1b36
Add UploadRepository Unit Tests (#4791) 2022-02-09 01:33:16 +10:00
Madhur Gupta
90b8d8c62e
Add CoordinateEditHelper Unit Tests (#4796) 2022-02-09 01:31:01 +10:00
Madhur Gupta
ebcbc6add3
Add DescriptionEditHelper Unit Tests (#4798) 2022-02-09 01:30:37 +10:00
RISHAV GUPTA
9c27f8510d
small changes (#4789) 2022-02-07 23:03:26 +09:00
translatewiki.net
769b295647 Localisation updates from https://translatewiki.net. 2022-02-07 13:01:35 +01:00
Ayan Sarkar
0e4755301e
Nearby tab accessible without GPS (#4771)
* Nearby accessible without GPS

* Java doc added

* Added NearbyParentFragment test

* Test added

* merged two method and tests updates
2022-02-05 21:16:08 +05:30
Ayan Sarkar
e135fea20d
Fixes 1848 : Option for adding location for those pictures which have no location (#4755)
* Location wizard

* Location wizard

* Minor fix

* message changed

* Test fail fixed

* Test fail fixed

* Test fail fixed

* last location triggered

* last location added

* Some test added

* Java docs added

* More java docs added
2022-02-05 09:56:59 +09:00
translatewiki.net
587ff3b54f Localisation updates from https://translatewiki.net. 2022-02-03 13:01:43 +01:00
Madhur Gupta
49274c5dbd
Update CI with latest versions, artifacts and caching (#4785)
* Auto generate apk after build is complete

* Add cache

* Fix syntax error

* Fix syntax error

* Fix artifact name not valid error
2022-02-03 15:52:57 +10:00
Madhur Gupta
ff8f067841
Add Unit Tests for CategoryEditSearchRecyclerViewAdapter (#4775)
* Add Unit Tests for CategoryEditSearchRecyclerViewAdapter

* Use mock context instead of robolectric context
2022-02-02 16:24:32 +10:00
Madhur Gupta
54676ba0d7
Add DescriptionEditActivity Unit Tests (#4773)
* Add DescriptionEditActivity Unit Tests

* Add assertion and verifications
2022-02-02 16:15:55 +10:00
Madhur Gupta
85d309e7eb
Add ReviewControllerTest (#4769)
* Add ReviewControllerTest

* Fix failing build

* Add test to cover more lines

* Add assertion and verifications
2022-02-02 16:14:39 +10:00
Madhur Gupta
9e38c33650
Add some more tests for SearchActivity (#4780) 2022-02-01 19:26:13 +10:00
Madhur Gupta
d77ae8e582
Add some more tests for NearbyController (#4778) 2022-02-01 19:25:49 +10:00
Rishi Kumar Ray
15d70bbe0a
Cancel previous ongoing runs in the PR/branch when you push new commits (#4783)
* added cancel previous build

* updated Cancel Workflow Action

* added cancel previous builds

* reverted unwanted changes
2022-02-01 13:16:15 +05:30
Ratnesh
873b4c500b
Show alert dialog card for sharing personal detail submission via email when clicking on the feedback menu. (#4772)
* Fixes #4732 Show alert dialog card for sharing personal detail submission via email when clicking on feedback menu.

* Show alert dialog card for sharing personal detail submission via email when clicking on feedback menu when user is logged in.

Add javadoc for the new methods
Update alert dialog message.
2022-01-31 23:16:02 +09:00
translatewiki.net
d0e14b7345 Localisation updates from https://translatewiki.net. 2022-01-31 13:01:31 +01:00
translatewiki.net
0042466b56 Localisation updates from https://translatewiki.net. 2022-01-27 13:01:48 +01:00
Ayan Sarkar
f162326e53
Fixed bug (#4763) 2022-01-25 21:38:37 +09:00
translatewiki.net
c637dba6b7 Localisation updates from https://translatewiki.net. 2022-01-24 13:01:53 +01:00
Ayan Sarkar
7e12d28557
Fixes 4497 : this a photo of place X: Do not ask if the item (depiction) is already selected for addition and the photo already has a caption (#4754)
* Dialog can't be dismissed

* Dialog can't be dismissed

* Nearby Place dialog can remember user preference

* Minor change

* Minor change

* Renamed the map
2022-01-20 23:34:44 +09:00
translatewiki.net
9afa686538 Localisation updates from https://translatewiki.net. 2022-01-20 13:01:55 +01:00
Ayan Sarkar
92957f4204
Displaying Category image and Description (#4531)
* API call done

* API call

* Image implementation done

* Gradle

* Java docs and code convention

* Description added

* Refactoring Category

* Refactoring Category

* Refactoring Category

* Description and thumbnail issue fixed

* Description and thumbnail issue fixed

* Minor issue fixed

* Minor issue fixed

* Server changed

* Logo changed

* Change in structure

* Fixed failed tests

* Fixed Test failed

* Optimized imports

* Dialog can't be dismissed

* Dialog can't be dismissed

* Resolved Conflicts

* UI fixed

* Added description and thumbnail in local DB

* Added description and thumbnail in local DB

* Test fixed

* Added

* Updated with latest master

* Test Updated with latest master

* Issue fixed

* Revert gradle changes

* Revert gradle changes

* Update gradle-wrapper.properties

* Require Api removed
2022-01-20 15:19:57 +09:00
Ayan Sarkar
0914eeea53
Fixed #4532 Items media in beta version are showing now (#4551)
* logs

* Issue resolved

* Logs removed

* Beta working

* Production GET call only for fetch images from depicted item

* Code convention maintained

* Code convention maintained

* Test resolved

* Java Docs added

* Quotes added
2022-01-19 18:10:55 +03:00
Pratham Pahariya
7bcaab2442
Fixes #53 - Suggest depicted country based on EXIF latitude/longitude (#4756)
* Fix - Suggest depicted country based on EXIF latitude/longitude

* Added null check and moved country suggestion to the end of the list
2022-01-19 20:28:38 +09:00