Commit graph

436 commits

Author SHA1 Message Date
Devarsh Mavani
37070321d8
Init Commit (#4907) 2022-03-20 18:43:33 +09:00
Devarsh Mavani
fa0370438b
In app feedback (#4845)
* rebase

* Progress

* Completed UI and POST Request

* removed invalid string resource

* Removed unused code & Added string resources

* Resolved Code style issues

* Javadoc for getters & setters

* Codestyle fixes

* Minor Fixes

* wip

* Tests

* Comments

* Fixed Tests

* Minor changes

* minor change

* Comments

* Minor Fixes

* fixed tests

* Removed Butterknife

* Fixed tests

* Removed Unecessary strings

* Minor chnages

* Minor fix

* Minor changes

* Minor changes

* Implemented Suggestions

* Removed Redundant Toast
2022-03-20 12:10:25 +09:00
RISHAV GUPTA
6ea3198d65
Fixes : #4273 Add link to user guide in About (#4882)
* user guide added in about

* test added

* unit test added
2022-03-20 07:50:25 +05:30
Devarsh Mavani
103e2d546e
Review category issues (#4897)
* Ask for category only if exists in Peer Review

* Minor Fixes

* Fixed wrong categories issue

* Added comments

* Added comments

* Minor Changes

* Added test

* Tests

* Tests

* Tests
2022-03-17 19:12:30 +09:00
Arin Modi
7bc78f67ff
Remember last opened screen on app startup (Nearby or Contributions) (#4881)
* added required changes

* Fixed #4808 : Added the feature of opening last opened screen between Contribution & NearBy

* removed the unnecessary commits

* removed the unnecessary commits

* removed the unnecessary commits

* removed the unnecessary commits

* added test

* comments added
2022-03-16 18:09:54 +05:30
Devarsh Mavani
caad8644a3
Unit tests failing (#4889)
* tests

* fixed tests
2022-03-13 09:41:45 +09:00
Arin Modi
c626f97fb9
Fixed - #4844 : In peer review, deletion proposal is sent even if no reason is chosen (#4862)
* Fixed - #4844 : [Bug]: In peer review, deletion proposal is sent even if no reason is chosen

* Minor Changes

* Minor Fixes

* added required changes

* added required changes - 1

* Added Test For OK Button

* Minor Fixes
2022-03-07 17:52:04 +09:00
Jacob Fano
1405300fd5
Fixed #4784 : Inform users about unsupported features in beta flavor (#4834)
* Display toast and disable API in LeaderboardFragment beta flavor

* Display toast and disable API in AchievementsFragment beta flavor

* Removed unused Gravity import

* Added Toast appearance tests for AchievementsFragment

* Added Toast appearance tests for LeaderboardFragment

* Improve Context detection in Achievements+Leaderboard fragments to ensure Context found for Toast

* Add testOnCreateView for AchievementsFragment
2022-02-24 14:40:51 +09:00
Ayan Sarkar
18a9170691
Unit Tests for LocationPickerViewModel (#4846)
* LocationPickerViewModel Unit Tests added

* LocationPickerViewModel Unit Tests added
2022-02-23 00:00:37 +05:30
Devarsh Mavani
d81587b85a
Deletion Language is in english (#4841)
* Deletion Language is in english

* Added Tests

* Added Tests

* Added Tests
2022-02-22 11:45:35 +09:00
Ayan Sarkar
4a69bc55cd
Unit Tests for LocationPickerActivity (#4830)
* LocationPickerActivityUnitTests.kt class created

* Unit tests for LocationPickerActivity

* Unit tests for LocationPickerActivity

* Added verify

* verify added

* Minor changes

* Covered more lines

* Covered more lines

* addCredits test added
2022-02-20 11:37:32 +05:30
Arin Modi
68a0400b9f
Fixed #4793 : Remove the need to tap "Next" again (#4833)
* Fixed #4793 : Remove the need to tap "Next" again

* Fixed #4793 : Remove the need to tap "Next" again

* Fixed #4793 : Remove the need to tap "Next" again, Added Changes
2022-02-19 16:44:44 +09:00
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
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
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
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
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
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
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
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
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
06a347eee1
Fixes #4543 - Language selection: Search (#4744)
* initial changes

* add search feature for selecting language

* add search feature for selecting language

* upload issue fix

* minor improvement

* added test and updated settings language selection ui

Co-authored-by: Pratham2305 <Pratham2305@users.noreply.github.com>
2021-12-31 19:33:36 +09:00
Ayan Sarkar
38ed364423
Added bookmark Wikidata items option (#4515)
* classes

* Almost done

* All done but build fail

* All done but build fail

* Modifications

* Modifications

* Fixed

* string resource

* minor change

* Maintained code conventions

* Moving

* Exception handled

* id name changed

* Test fail fixed

* Bookmark is available from other activities

* Test fail fixed

* Documentation error fixed

* Test added

* Revert Project_Default.xml

* Minor Change

* Revert changes
2021-12-28 20:15:09 +09:00
KhyatiSaini
d38c3f1427
unformatted search text field for depicts and categories search field of upload wizard (#4724)
* unformatted search text field for depicts and categories search field of upload wizard

* fix tests by declaring search text field of type PasteSensitiveTextInputEditText
2021-12-17 14:02:58 +03:00
Ashish
a0ff15cdc2
Added advanced query support in Nearby (#4714)
* Added feature for advanced query options in Nearby

* Fix unit-tests coverage

* wip-tests

* Added log to identify if the nearby request is via an advanced query

* Rolledback test-dependency updates

* Fix tests

* build fix

* Added basic tests for relevant method in OkHttpJsonApiClient & NearbyController

* Added NearbyParentFragmentPresenter Tests

* Added AdvancedQueryFragment Unit Tests

* Added more tests for NearbyParentFragmentPresenter

* Reset ContributionsFragment with Upstream

* Overload method loadNearbyPlaces for CustomQuery

* Added more tests

* Added more tests

* Fixed tests for NearbyParentFragmentPresenter
2021-12-14 01:41:33 +10:00
Prince kushwaha
d4c7ec3a2e
added ReviewImageFragment Unittest (#4413)
* added ReviewImageFragment Unittest

* fix Unit test
2021-12-09 16:24:08 +03:00
Madhur Gupta
d1bf6d0e1d
Add CommonPlaceClickActions Unit Tests (#4674) 2021-12-06 23:28:58 +03:00
Ayan Sarkar
0269894c64
Fix 4615: Option for editing caption and description (#4672)
* DescriptionEditHelper implemented

* Description extracted

* Description editable

* No description condition handled

* Code cleanup

* Added javadocs

* toolbar added

* API call done

* Caption edit available

* Progress dialog added

* Log

* Problem with ButterKnife

* Caption is editable

* Removed unused import

* Manifest file reverted

* Manifest file reverted

* Manifest file reverted

* View binding added

* Post operation test added

* Java docs added

* Java docs added

* MediaDetailFragment unit tests added

* Test added
2021-12-06 22:50:54 +03:00
Madhur Gupta
5535353480
Add RecentSearchesFragment Unit Tests (#4675) 2021-11-06 12:57:23 +03:00