Commit graph

56 commits

Author SHA1 Message Date
Ujjwal Agrawal
86878fb62d Add feature to Browse commons via app (#1716)
* Search activity, image search fragment added

* Removed explore icon xml

* Updated Javadocs for search Activity and Navigation Base Activity

* SearchImageItem class updated

* Javadocs added for search activity

* removed redundant code and added javadocs for search image modules

* Javadocs added for updateImageList  method

* Rename featuredImage to explore

* Fixed null query issue

* changed cisibility to gone in case of successful Fetch

* Consolidate the networking libraries - drop volley in favor of OkHttp

* Extracted a few networking related items into a new Dagger module and finished the process of mocking the main component for tests.

* Refactoring to extract GpsCategoryModel and ensure single-responsibility-principle is maintained in CategoryApi.

* fixed featured image back bug

* Localisation updates from https://translatewiki.net.

* Javadocs added

* Add option to set image as wallpaper (#1535)

* Add option to set image as wallpaper

* Added java docs

* Toast message on setting the wallpaper successfully

* Localisation updates from https://translatewiki.net.

* SearchHistory Fragment added

* Search History Item added

* Content Provider, RecentSearchesDao added

* Database version changed to 7 and added methods for find, save ,..

* Delete icon deleted

* Reverted changes in gradle files

* Reverted changes in gradle files 2

* Optimized Improts

* reverted refractor for container name

* Refactored packagename, changed name to query in POJO class.

* Updated lastUsed to lastSearched

* Javadocs updated

* Check if user has been in search page for 5 seconds if yes then save it to history

* If else indentation updated

* added import in test

* edittext replaced with Searchview

* RxSearchview added

* Added support for API 21+

* Snackbar removed on success

* Improved code

* Pagination added

* Removed unnecessary toast

* Comment added in method

* Support for landscape mode added

* Fixed screen rotation issue on Explore and Search activity

* Clear focus added

* Delete all function added in Content Provider and called from fragment

* Scrollbar Recyclerview added

* Share Icon changed to 32 dp and back button added in explore, search activity.

* Removed unnecessary code

* Wrote and run tests for Recent Searches
 (creating db, migrating from versions, deletion, finding,..

* Category Search Fragment added

* Adapter factory added

* Renderer added

* Improvements

* Viewpager adapter added

* Updated XML

* Improvements in category card design

* tabs colors changed

* renamed images to media

* Java docs improved

* Javadoc added for setTabs

* JavaDoc for ViewPagerAdapter added

* Refreshed listview after delete

* Added mediaContainer

* Fixed ghost issue in image search fragment

* Ghost issue for categories fixed

* Removed Calling API call onback press

* Category Details activity added

* Menu added in category details activity

* back button added

* back button bugs

* Improvements in category images fragment

* JavaDoc added for some methods

* trimming added, Tab layout hided, recent searches refreshed

* SubCategory list fragment added, API added to extract subCategory Details

* API params updated to get more precise results

* Javadocs added for MWAPI method

* Pagination removed

* Fix API for fetching images inside category

* Parent category API added

* Fix #1704

* Fix #1704 corrected

* Fix #1702

* Fix #1702 and #1704

* added try catch statements

* Optimimzed imports

* loops replaced with Functions

* Javadocs for various methods added

* Fix java docs for Dao

* Javadocs for various methods added

* Fix java docs for Dao

* More javadocs added for explore Feature

* Javadocs added

* Javadocs added

* Improvements in indentation (#1739)
2018-07-24 10:17:24 +03:00
Vivek Maskara
bcbf0db1ff Add option to set image as wallpaper (#1535)
* Add option to set image as wallpaper

* Added java docs

* Toast message on setting the wallpaper successfully
2018-05-30 20:11:36 +10:00
neslihanturan
32d36944fc
Revert "Wmhack2018 (#1536)" (#1539)
This reverts commit 01cb9ccd70.
2018-05-19 23:02:29 +03:00
Elliott Eggleston
01cb9ccd70 Wmhack2018 (#1536)
* Add new activity to manifest

* Create review activity layout base

* Add a new menu item to drawer for peer review

* Add a top menu with randomizer icon to review activity

* Add strings for review button

* Add activity to ActivityBuilderModule for injection

* Add a new drawer item to start review acitivty

* Create base of the Review Activity

* Add fragment pager

* Add new fragment for injection

* Create a fragment pager layout

* Wikimedia hackathon 2018 (#1533)

* First draft of fn to get random recent image

* Use log entries for requests to beta, try to connect refresh button

FIXME: runs http request on main thread, breaks

* Tweak button connection

* Add ReviewController class

* Fix fragments

* Wmhack2018 (#1534)

* tiny fixes

* Load pictures into activities

* Re-use same class for all review fragments (#1537)

And try to add pager indicator

* [WIP] category check

* [WIP] add on-click actions to ReviewActivity

* [WIP] add SendThankTask

* Make it beautiful

* Use standalone category extraction code in MediaDataExtractor

* Add categories to category review page
2018-05-19 23:00:06 +03:00
Ujjwal Agrawal
693c37f2ec Updated share feature (#1474) 2018-05-04 12:56:13 +03:00
Vivek Maskara
b108dff460
Merge branch 'master' into featuredImages 2018-04-19 23:44:33 +05:30
Mansi Agarwal
120130bfc7 Share feature (#1338)
* added share app feature in About

* added share app feature in About

* a small fix
2018-03-29 00:52:53 +05:30
Vivek Maskara
463673f942
Merge branch 'master' into featuredImages 2018-03-24 12:46:38 +05:30
Jatin Rao
2ec6855d89 Reformated code 2018-03-21 19:51:16 +05:30
Jatin Rao
dcc3ea0679 Fix for issue #1317 Dividing nav bar into sections 2018-03-21 19:36:06 +05:30
Vivek Maskara
50d9cff8c6
Merge branch 'master' into directNearbyUploadsNew 2018-03-21 17:54:03 +05:30
neslihanturan
a617b09af8 Remove refresh button and its actions 2018-03-07 23:08:18 +03:00
Vivek Maskara
4c3513b442
Merge pull request #1211 from tshradheya/1195-give-toast-message
Give toast when trying to upload image without giving a Title #1195
2018-03-03 19:23:10 +05:30
neslihanturan
8e8472800b Remove show list FAB, since using multple fabs is not recommended. Use list button in menu instead 2018-03-02 23:36:22 +05:30
neslihanturan
e70b8b2e6a Add overlay menu items and functions 2018-03-02 23:27:02 +05:30
neslihanturan
08cf0990ce Remove toggle view code 2018-03-02 23:22:51 +05:30
Meghna Gupta
2b96b03ce7 Replacement of tutorial icon in navigation drawer 2018-02-28 17:02:05 +05:30
Shradheya Thakre
8ce0a6d6d4 Enables submit button by default 2018-02-26 14:12:49 +08:00
maskara
e6e981ed20 Change location of notifications item in the hamburger menu 2018-02-24 02:16:21 +05:30
Yusuke Matsubara
e01c06e6a2 Use different labels for different buttons (toggle vs refresh) 2018-02-06 10:21:06 +09:00
maskara
d78c7befbd Revert "Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI""
This reverts commit d253db5444.
2018-01-21 14:54:25 +05:30
misaochan
d253db5444 Revert "Merge pull request #1024 from neslihanturan/displayNotificationsUI"
This reverts commit 031e53c988, reversing
changes made to 0aa20effe0.

revert UI notifications
2018-01-16 18:52:25 +10:00
neslihanturan
5e6fb44f90 Change nav item string 2018-01-10 15:14:04 +03:00
neslihanturan
c1a1562c18 Add star icon for featured images 2018-01-10 01:07:16 +03:00
neslihanturan
48c7a0372e Prepare base for new activity 2018-01-09 18:16:17 +03:00
neslihanturan
3af6eaf852 Add notification item to navigation bar 2017-12-20 19:10:25 +03:00
Paul Hawke
accd7edb7d Merge branch 'master' into login-screen-improvement 2017-10-10 22:13:25 -05:00
Martin Entwistle
30104af6a0 Introduced a view mode and shared preference to determine which style of view to use. 2017-10-10 22:21:40 +01:00
Paul Hawke
e416a0f48d Simplified the style.xml to remove items that remain constant across day/night mode. 2017-10-09 18:47:44 -05:00
Paul Hawke
97bbd51e13 Removed the popup and nav-drawer item relating to developer plans. 2017-08-24 22:19:43 -05:00
Neslihan
07102c04e9 Add developer plans to nav drawer 2017-07-26 14:29:56 +03:00
Mikel
5d2e06e9a7 Use vector icons for nearby-map markers #621 2017-07-15 07:51:47 +02:00
veyndan
ae78930808 Make the drawer prettier 2017-06-28 21:39:10 +01:00
maskara
4823486139 Add popup menu in nearby info dialog 2017-05-20 13:09:16 +02:00
maskara
09cd596ff6 Integrated navigation drawer in the contributions activity 2017-05-16 11:57:07 +02:00
Neslihan
784b51e29d Add icon to map 2017-05-12 13:53:47 +03:00
veyndan
d77d5cb40a Make refresh icon for nearby places white (closes #483) 2017-04-17 18:47:50 +01:00
veyndan
95da8e7c5f Place Feedback menu item below Settings
As per https://material.io/guidelines/patterns/settings.html#settings-placement
2017-03-24 00:42:20 +00:00
veyndan
a9f2b82c57 Give a more intuitive ordering to the menu items 2017-03-21 13:13:25 +00:00
Neslihan
7e256175dc Move theme checkbox to settings activity 2017-03-18 01:49:19 +03:00
Neslihan
231448c765 Make toggle buttons visible again 2017-03-16 17:37:54 +03:00
Neslihan
65753550e3 Add (black)Material icons for light theme 2017-03-16 16:55:18 +03:00
Neslihan
1df98efb27 Merge remote-tracking branch 'upstream/master' into addThemeToggle 2017-03-16 15:19:58 +03:00
Josephine Lim
816a234187 Merge pull request #436 from maskaravivek/materialIcons
Fixes #380: Use Material Icons
2017-03-16 20:06:59 +10:00
maskara
7d4ddd9e5b Fixes #380: Use Material Icons 2017-03-16 10:33:01 +05:30
Neslihan
72c2205f51 Attempt 2 to set layout for menu item (putting toggle button to right side) 2017-03-15 19:12:26 +03:00
Neslihan
a2f98748d7 Attempt 1 to set layout for menu item (putting toggle button to right side) 2017-03-15 19:10:15 +03:00
Neslihan
23aa691275 Prepare xml files 2017-03-15 18:58:57 +03:00
nextLane
f2a3c5ff24 Adding refresh UI 2017-03-12 00:25:04 +05:30
Adam Jones
ab3ef33c10 Check ShareActionprovider is not null 2017-03-09 00:11:01 +00:00