Commit graph

672 commits

Author SHA1 Message Date
Nahid Fatma
8ef99caa81 Use previous Title/Description option added (#2713)
* Use previous Title/Description option added

* Update UploadActivity.java

* add previous title/description option modified

* declaration of Descripton object moved within the loop

* spinner position gets adjusted according to the description's language

* prev Title/Desc option for multiple upload added

* Tooltip for previous title/description button added

* UI and other resolved issues
2019-04-18 23:32:10 +10:00
Madhur Gupta
84637c5fed Adjusted the gravity of SKIP THIS IMAGE Fixed #2848 (#2849) 2019-04-16 12:40:54 +03:00
Adam Jones
5d299b1511 Simplify welcome layouts (#2741)
* Simplify welcome layouts

* Add landscape layouts

* Reformat welcome layouts

* Rename string resources
2019-04-16 12:35:42 +03:00
Madhur Gupta
a838962f49 Added Quick Launch Icon to the Home Screen Widget #1296 (#2862) 2019-04-11 18:32:11 +10:00
Madhur Gupta
02ad3b2dc8 Fixed Padding for FAB in nearby #2779 (#2780)
* Fixed Padding for FAB in nearby #2779

* Fixed Padding for Location FAB in nearby

* Fixed Extra Padding
2019-04-02 14:34:22 +03:00
Adam Jones
835b7979ff Remove unused/duplicate drawables (#2733) 2019-04-02 13:36:27 +03:00
Silky Priya
49ec2921c5 Fix pageindicator style issues(#2811) 2019-04-02 12:45:52 +03:00
Vivek Maskara
dcbf076965
Update master with backend overhaul branch (#2829)
* Beginnings of integration with Wikipedia client library. (#2642)

* Remove remaining unnecessary API version check.

* Roll up sleeves.

* Add and integrate the beginnings of app adapter.

* Remove vestigial event logging logic.

Event logging is no longer used in this app.

* Beginnings: remove StringUtils and associated redundancies.

* Remove redundant capitalize() method.

* Remove redundant urlEncode() method.

* Remove redundant (and incomplete) language lists.

* Remove redundant usages of SimpleDateFormat.

* Remove redundant json type adapter.

* Remove redundant MW error model classes.

* Rip out redundant MW model classes.

* Pass SessionManager into AppAdapter instead of injecting.

* Wire up more of the AppAdapter.

* Remove redundant Gson initialization and type adapters.

* Rip out PageTitle.

This was being used in some slightly incorrect/unexpected ways.

* Don't need static WikiSite.

* Bump data client library version

* Bump library version and fix build

* Fix tests

* Fix build

* Fix media of the day

* With fixes in recently modified APIs
2019-04-02 08:35:22 +05:30
Silky Priya
874e761691 Add information icons to explan peer review activity (#2783) 2019-03-29 23:06:20 +00:00
Vivek Maskara
0bf63f50b3 Replace remaining AsyncTask with RxAndroid (#2681) 2019-03-28 21:10:47 +00:00
Madhur Gupta
7c77530c2e Refactor LoginActivity #2690 (#2775)
* Refactor LoginActivity #2690

* Fixed Error cannot find symbol
2019-03-28 15:19:49 +03:00
Adam Jones
4071d66d45 Remove duplicate information icon resources (#2734) 2019-03-28 13:28:17 +05:30
Madhur Gupta
995de60ca2 Fix #2771: Location of Checkbox in Permission Request Dialog (#2772) 2019-03-27 22:39:21 +00:00
Madhur Gupta
e14a9c17b2 Added Title to the Pic of the Day App Widget (#2758) 2019-03-27 14:04:58 +03:00
Vanshika Arora
c1a941eaae Modified scroll behaviour of review activity (#2732) 2019-03-25 23:39:44 +00:00
Vanshika Arora
cbab7dd303 Resolves Reloading of image on moving to next question in peer review (#2709) 2019-03-23 22:06:12 +00:00
Vanshika Arora
c17a1f90ad Fix #2677: Adjusted position of level number in achievements activity (#2695) 2019-03-21 19:22:58 +00:00
Silky Priya
a32ba452ec Include previous Wikimedia hackathon (2018) task, peer review, to codebase (#2602)
* 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

* Add some category stuff back in to review (#1538)

* Use standalone category extraction code in MediaDataExtractor

* Add categories to category review page

* Change category question text sizes

* Call randomizer whenever the activity is ready

* Add progressbar

* [WIP] add DeleteTask.askReasonAndExecute

* Fix refresh button string

* Typo: "nominate *for* deletion"

* Add formatting to categories and put them in the same textView

* Pass context and adapters as parameters to controller

* Add actions to controller

* Make everyting work

* Add another fragment to thank

* Fix npe

* Add missing execute method

* Some codes

* Add a funy text

* More random recent image selection (#1542)

time-based randomness is biased - if someone uploaded 100 images in
hour, one week ago, and I select a random point in time, their last
image is way more likely to come up than anything else.

With this, there is still bias towards choosing one of the last N
in any burst of uploads (where N is the number of recent changes
fetched) but it's a bit better than before.

* Create Revision class

* Add meaningluf strings

* Error handling for review image/category fetch (#1543)

* Add information layout for username and filename

* Use Single to get firstRevision

* try to add username and filename

* Ensure caption is shown on every review fragment

* Fix build

* Fixes missing import

* Change button text,show current category, add skip image button

* Modify texts, fix night mode issues

* Positive Wording

* fix landscape issue

* Add checkbox popup,rewording

* Spelling Correction

* Fix merge

* Remove commented out code, use lambda

* Simplify toolbar include
2019-03-21 15:05:23 +03:00
Madhur Gupta
d72bd446fe Added information dialog to Statistics #2599 (#2683) 2019-03-20 14:12:20 +03: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
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
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
Shubham Pinjwani
31c688860d Fix #1850: Show media talk page in media details (#2560) 2019-03-17 17:11:34 +00:00
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
Vivek Maskara
57e685cf6c Fix #2593: Migrate to androidX (#2594)
* Update dependencies and migrate to androidX
* Make gradle properties tidy
2019-03-16 11:22:37 +00:00
Adam Jones
5b1b0037c3 Fix #2197: Fix color of links on about page in night mode (#2604) 2019-03-16 12:02:42 +05:30
Madhur Gupta
68014f69eb Fix #2524: Move 'Images via Nearby Places' to top of secondary achievements list (#2579)
* Moved Images via Nearby Places to top, fixes #2524
* Resolved Merge conflicts
2019-03-15 23:02:52 +00:00
Tim Borisenko
b46ea0aba8 Fix #2186: Standardize tab theming across app, and fix related night mode issues (#2227) 2019-03-15 19:48:18 +00:00
Silky Priya
503887673b Label wraps in Achievements (#2577)
* Support long text

* make text right aligned in rtl layout
2019-03-13 12:19:59 +05:30
Silky Priya
9d03274e2f Change place bookmarks buttons color (#2570)
* change bookmarks row button color

* different button color for dark and light mode

* Resolve Merge Conflict
2019-03-12 00:34:09 +05:30
Silky Priya
0a3d8c09a7 Effective UI in nightmode (#2574)
* change bookmarks row button color

* achievement_background

* Change UI for nightmode

* revert first commit, change color of buttons in bottom_sheet in night mode
2019-03-11 21:38:44 +05:30
Ronan Brigdale
480c05b2f3 Fix Lint Issues #171: Fix numerous errors/warnings (#2537) 2019-03-10 23:55:35 +05:30
Oluwadara Abijo
d9fa31242f Wrap and enlarge title edit text (#2572) 2019-03-10 23:48:36 +05:30
Vanshika Arora
3295c6d972 resolved issue with german in no_notification (#2569) 2019-03-10 11:43:04 +05:30
Vanshika Arora
8733b7f315 fixed campaign layout for right to left languages (#2550)
* fixed campaign layout for right to left languages

* alignment
2019-03-09 10:43:24 +05:30
Silky Priya
b673527467 achievements in right-to-left layout (#2557) 2019-03-09 10:42:46 +05:30
Silky Priya
32752c2d1e Fab in landscape (#2559)
* fix fab in landscape orientation

* fixes fax in landscape orientation
2019-03-09 10:42:26 +05:30
srinivas1729
0c2ae1df18 Fix #2139: Now showing "Upload your media" text properly (#2539)
* "Upload your media..." text was being shown while contributions were
  still being loaded. Fixed things to show after load is finished and no
  contributions are present. Also updated text string since UI now uses
  FAB button for uploads (no camera/gallery) icons any more.
* Removed waitingMessage in ContributionsListFragment and from layout
  since its never VISIBLE, only GONE.
2019-03-06 00:36:08 +05:30
Madhur Gupta
ef6fd9f292 Fix Bug #2477 (#2488) 2019-02-27 01:58:15 +05:30
Vanshika Arora
105e5d7894 Made nearby notification also visible to right-to-left languages (#2365)
* Fixed Issue #2334

* resolved gradle changes

* changed gragle.wrapper
2019-02-27 01:55:27 +05:30
Ronak Lakhotia
01a7526477 Fix code quality issues (#2359)
* Minor changes

* Fix more errors

* Revert change

* Minor error fix

* Remove unused import

* Merge branch 'master' of github.com:commons-app/apps-android-commons into lint-errors

# Conflicts:
#	app/src/main/java/fr/free/nrw/commons/media/MediaDetailFragment.java

* Minor changes

* Undo changes

* Undo performclick
2019-02-22 14:51:58 +05:30
Zhao Gang
9882d24651 Clean up placeholders in media detail fragment fields(Fixed #2471) (#2500)
Remove placeholders and let these descriptions only shown in Android
Studio layout preview. Use plain text in tools:text attributes so
relative string values can also be removed and ease the translation work.
2019-02-22 11:13:31 +05:30
Josephine Lim
b698d14172 Merge branch '2.10-release' 2019-02-18 19:13:24 +10:00
Vivek Maskara
083a7a80f0 Fix notification click (#2474) 2019-02-18 21:52:10 +13:00