Commit graph

5668 commits

Author SHA1 Message Date
Ayan Sarkar
52912087d6
[GSoC] Full Screen Mode (#5032)
* Gesture detection implemented

* Left and right swipe

* Selection implemented

* onDown implemented

* onDown implemented

* FS mode implemented

* OnSwipe doc

* Scope cancel

* Added label in Manifest
2022-08-20 19:21:36 +09:00
Ayan Sarkar
a6c51a75a8
[GSoC] Hide/Unhide actioned pictures and change numbering (#5012)
* Changed numbering of marked images

* Hide Unhide implemented

* Test fixed

* Improved speed for database operation

* Improved speed for database operation

* Changed progress dialog

* Improved hiding speed

* Test fixed

* Fixed bug

* Fixed bug and improved performance

* Fixed bug and improved performance

* Test fixed

* Bug fixed

* Bug fixed

* Bug fixed

* Bug fixed

* Bug fixed

* Code clean up

* Test hiding images

* Test hiding images

* Test hiding images

* Code clean up and test fixed

* Fixed layout

* Fixed bug

* Bug fixed

* Renamed method

* Documentation added explaining logic

* Documentation added explaining logic
2022-08-20 18:19:27 +09:00
Ayan Sarkar
5559282c1a
[GSoC] Added Bubble Scroll (#5023)
* Library added

* Bubble scroll implemented

* Left and right swipe

* Requested changes
2022-08-03 22:45:59 +09:00
Ayan Sarkar
40323be3a0
[GSoC] Insert and Remove Images from not for upload (#4999)
* Inserted and marked images as not for upload

* Documentation added

* Test delete

* Implemented remove from not for upload

* Test fixed

* Requested changes done

* Added tests for new lines in existing classes
2022-06-29 16:10:23 +09:00
translatewiki.net
3bb3908eeb Localisation updates from https://translatewiki.net. 2022-06-22 11:04:49 +09:00
translatewiki.net
a872fe1ce6 Localisation updates from https://translatewiki.net. 2022-06-22 11:04:49 +09:00
translatewiki.net
a6e1f33ea2 Localisation updates from https://translatewiki.net. 2022-06-22 11:04:49 +09:00
ayans
9d06f154a7 Requested changes done 2022-06-18 17:15:30 +05:30
ayans
ab7edc4cd2 Rest of the work and documentation 2022-06-14 23:09:22 +05:30
ayans
71a83385e7 Database created 2022-06-13 11:59:50 +05:30
ayans
1be640f6b8 Project Initiated by creating helper classes for database operations 2022-06-13 09:49:10 +05:30
translatewiki.net
05641b0c3d Localisation updates from https://translatewiki.net. 2022-06-09 13:02:18 +02:00
translatewiki.net
faeb394a65 Localisation updates from https://translatewiki.net. 2022-06-06 13:02:37 +02:00
translatewiki.net
80f820b7e2 Localisation updates from https://translatewiki.net. 2022-06-02 13:02:43 +02:00
translatewiki.net
3547361c9e Localisation updates from https://translatewiki.net. 2022-05-30 13:02:20 +02:00
Dharun kumar
6e9f60fd86
Removed CommonsContributions empty files and folders (#4982) 2022-05-30 16:19:09 +09:00
96fbcb92e5
fix #4940 (#4986) 2022-05-30 16:14:40 +09:00
c5b527f450
fix #4971 (#4974) 2022-05-29 12:01:03 +09:00
HCH
ffbfdabb3a
fix commons-app#4978 (#4979) 2022-05-29 11:51:13 +09:00
translatewiki.net
be5827c2c7 Localisation updates from https://translatewiki.net. 2022-05-26 13:02:26 +02:00
Nicolas Raoul
68540a0e0a
Update library to new version that handles older Java VMs (#4975)
Fixes #4972 I believe.
2022-05-26 17:02:11 +10:00
Ben Mills
78bfd0986c
Content description for UI elements -- accessibility (#4935)
* Started from welcome layout to main layout adding content descriptions

* Adds UI description section to strings.xml and adds a few content descrpitions

* Consolidates UI strings to top of file

* fixes nearby typos

* Removes content descriptions that clash with pr #4766

* Removes unused elements and reverts out-of-scope changes

* Restores pic-of-the-day content description

Co-authored-by: joshuamccluskey <jpiff57@gmail.com>
2022-05-24 14:36:06 +03:00
translatewiki.net
e47d057bfe Localisation updates from https://translatewiki.net. 2022-05-23 13:02:08 +02:00
translatewiki.net
325a09d93a Localisation updates from https://translatewiki.net. 2022-05-16 13:01:48 +02:00
AlexMahlon
d8724f4541
Fixes #4934. Enforces Wikimedia character blocklisting on media titles. (#4955) 2022-05-15 19:33:08 +09:00
d647c0674e
disable dialog display (#4954) 2022-05-13 17:50:35 +09:00
translatewiki.net
1d4a89d89e Localisation updates from https://translatewiki.net. 2022-05-12 13:01:43 +02:00
translatewiki.net
262517a70f Localisation updates from https://translatewiki.net. 2022-05-09 13:01:50 +02:00
translatewiki.net
75dcc6b7a7 Localisation updates from https://translatewiki.net. 2022-05-05 13:01:51 +02:00
Ayan Sarkar
a16dca9f56
[Fixes Bug]: After moving between tabs on Bookmark fragment, Bookmarks never loads (#4951)
* Fixed the issue added tests

* Added requested changes
2022-05-05 10:08:56 +03:00
translatewiki.net
932991e060 Localisation updates from https://translatewiki.net. 2022-05-02 13:01:54 +02:00
Benard Mathu
6ad70932c5
Refactor: notification models (#4866)
* Refactor: move notification modesl to data.models.notification

* Refactor: move notification models to notifications/models
2022-04-28 18:23:44 +03:00
Benard Mathu
8cdcd0f7c2
Refactor: RecentSearch model (#4857)
* Refactor: move recent search to data.models

* Refactor: move search models to explore/models
2022-04-28 17:57:17 +03:00
Benard Mathu
d37cdef3c4
Refactor: Campaign model (#4852)
* Refactor: move Campaign.kt to data.models

* Refactor: move campaign models to campaign/models
2022-04-28 17:35:07 +03:00
HCH
b2a901b9b3
Fixes #4942 Change category extraction algorithm (#4943)
* updated addCategory()method

* update addCategory()method

* add unit test for none category

* add comments to addCategory()method

* update comments

* update comments for addCategory()method
2022-04-28 23:21:45 +09:00
translatewiki.net
79086fe942 Localisation updates from https://translatewiki.net. 2022-04-28 13:02:01 +02:00
bf82fcc8d3
change description extraction algorithm (#4938)
The original algorithm uses comma to separate descriptions which causes bugs when there are comma inside description.
The algorithm is changed to repeatedly matching string patterns of `{{languageCode|desciption}}`
2022-04-28 17:34:02 +10:00
Madhur Gupta
36510a4301
Fix Instrumentation Tests (#4832)
* Fix AboutActivity Instrumentation Tests

* Fix WelcomeActivity Instrumentation Tests

* Fix SearchActivity Instrumentation Tests

* Fix SignupTest Instrumentation Tests

* Fix LoginActivityTest Instrumentation Tests

* Fix SettingsActivity Instrumentation Tests

* Fix LoginActivity Instrumentation Tests

* Update loginUser

* Add logoutUser

* Fix logoutUser

* Update github action to use env variables

* Fix github action to use env variables

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Remove scroll

* Add wait time

* Fix keyboard issue

* Disable animation

* Enable animation

* Enable animation

* Disable animation

* Fix compile error

* Remove AVD Cache

* Set timezone and dns

* Add AVD cache

* Add API level

* Update API level to 24

* Add sleep timer

* Add scroll

* Remove logout

* Ignore some tests

* update logout

* update logout

* Fix scroll layout problem

* Fix scroll layout problem

* Ignore orientation test

* Update tests

* Update tests

* Update API level to 29

* Change device and API level to 27

* Use AndroidJUnit4

* Change API to 28

* Try with macos

* Use nested scrollview

* Update Profile Activity Test

* Update Profile Activity Test

* Turn off rotation

* Change device

* Remove failing test

* Change API to 24

* Add rotation lock for failing test

* Change API to 24

* Add sleep

* Remove text

* Remove child

* Force rotation on back press

* Force open more sheet

* Change device to pixel 5

* Change device to 13.5inch

* Update tests

* Ignore failing test

* Use linux

* Update tests

* Use repo secrets instead

* Add mainactivity tests

* Remove content description

* Different workflows for PR and branch, PR workflow will need maintainer approval to prevent secrets getting leaked

* Run instrumentation tests only for push and not for PRs

* Fix FileNotFound Exception

* Update MainActivity and Profile tests

* Fix coverage path issue

* Add wait time for map to load

* Open contribution

* Update settings tests

* Update main activity tests

* Fix failing test

* Fix failing test

* Increase login time

* Separate settings test

* Update review tests

* Ignore uploadCancelledAfterLocationPickedTest

* Update MainActivity Tests

* Update UploadCancelledTest

* Update UploadCancelledTest

* Update device

* Fix Init release error

* Fix failing test

* Fix failing test

* Try with long click

* Update UploadCancelledTest.kt

* Fix Leaderboard Test

* Update testContributions

* Set GPS coordinates

* Add zoomControllers to excludes

* Add ExploreActivityTest

* Remove failing condition

* Merge tests

* Remove failing test

* Remove failing test

* Fix failing test

* Fix failing test

* Update AboutActivityTest.kt

* Update jacoco.gradle
2022-04-26 21:09:15 +10:00
neslihanturan
0df272c250
The issue related directory is removed (#4946) 2022-04-26 20:53:10 +10:00
Benard Mathu
7fa3ff0eee
Refactor: Bookmark model (#4851)
* Bookmark: moved model to data.models package

* Refactor: move bookmark models to bookmark/models
2022-04-26 12:34:14 +03:00
Arin Modi
1ae013d2b3
Fixed #4906 : Peer review: "thank the contributor" should show snackb… (#4914)
* Fixed #4906 : Peer review: "thank the contributor" should show snackbar instead of notification

* changes the snackbar to toast

* added the tests

* minor changes

* minor changes - 2
2022-04-25 22:48:43 +03:00
translatewiki.net
11bc72c514 Localisation updates from https://translatewiki.net. 2022-04-25 13:02:05 +02:00
translatewiki.net
e7a9ba9ad9 Localisation updates from https://translatewiki.net. 2022-04-21 13:02:00 +02:00
Pratham Pahariya
d7ad3b934d
#4730 - Nothing happens on clicking media in the Contribution tab of User's Profile (#4736)
* enable clicking on contributions in user's profile

* Added null condition

* Added Comments

Co-authored-by: Pratham2305 <Pratham2305@users.noreply.github.com>
2022-04-18 16:17:40 +03:00
translatewiki.net
7579c1aa16 Localisation updates from https://translatewiki.net. 2022-04-18 13:01:47 +02:00
f492d95014
Fix #4930 : change the nearby bookmark icon color (#4932)
The original black icon cannot be seen in the dark theme. The color is changed to orange so that it is visible in both themes.
2022-04-14 21:30:39 +09:00
Ayan Sarkar
17ac591233
Fixed the issue added tests (#4933) 2022-04-14 21:29:14 +09:00
translatewiki.net
31d63d1a2a Localisation updates from https://translatewiki.net. 2022-04-14 13:02:01 +02:00
neslihanturan
ee1bf4b5b6
Explore nearby pictures (#4910)
* Add map fragment for explore and search

* Create structure of explore map by defining view and user action interfaces to presenter

* Add methods to map start, bottom sheet and permission

* Make the simple map visible

* Imitate methods from nearby map for permission needed and non needed map initialisation operations, however, needs to be tested and reactor

* a level of abstraction

* update media params to include coordinates

* Implement pageable presenter to explore

* Create Root fragment for map and media

* Iplement two presenter one for map operations, the other for pageable operations

* Construct general structure for both explore with search query and just by location

* fix injection issue

* Make default explore work with zoom level

* increase offscreen page limit with newly added fragment

* Make two distinct api calls for search with and without query

* Before trying to use same presenter for both search with and without query

* Add notes for Madhur

* Add Madhur's fixes for binding

* Call serch with and without query from the same spot

* partially solve zoom issue

* Make tab view unswipble while map is being used on search activity

* make viewpager unswipable while map is being used

* Code cleanup and reverting unnecessry edits

* Add search this area methods

* Implement search this area button functionality

* Fix search this area button, current location FAB and bottom attribution UI elements

* Add marker click action

* Solve bookmarkdao injection issue

* Make display bottom sheet details on marker click

* remove label and set bottom sheet behavior

* Remove irrelevan buttons like wikidata and article buttons

* Cancel bookmark feature for commons images for know, needs to be thought

* Add search this area button

* Add location off dialog

* Implement back button for explore map fragment while not on search activity

* Make thumbnails visible, they need some styling though

* Make gridle views even more beautiful

* Remove classes added to support query

* Remove query related code from Reach Activity

* Solve two progressbar issue

* Remove query related ekstra codes

* Remove not needed anymore callback

* Make medai details work

* Remove all old removed code dependencies

* Solve initial load takes too long issue

* Solve current position track

* Add placeholder for possible load issues

* Add red stroke to bitmap

* Add borders to rectangles

* Change media details text to details

* Fix file name extension anf File: prefix

* Fix some code style issues

* Fix some style issues

* Fix style issues

* Fix build issue

* Fix test about etMediaListFromSearch

* Fix test issue with Seacrh Activity

* Fix conflict mark
2022-04-14 18:28:17 +10:00
Ayan Sarkar
7655562272
Fixes 4922 : Crash when trying to edit description (in Media details) (#4929)
* DescriptionEditActivity handled

* Minor change

* Minor changes
2022-04-11 21:14:26 +09:00