Commit graph

4453 commits

Author SHA1 Message Date
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
02be443269 Merge branch '2.10-release' 2019-02-21 21:07:57 +10:00
Josephine Lim
a48e000e15 Merge branch 'master' of https://github.com/commons-app/apps-android-commons 2019-02-21 21:03:42 +10:00
Josephine Lim
51cf902573 Merge branch '2.10-release' 2019-02-21 21:03:33 +10:00
Josephine Lim
e9b696c553
Versioning and changelog for v2.10.1 (#2501)
* Update changelog.md

* Update build.gradle

* Versioning for v2.10.1

* Update changelog.md
2019-02-22 00:01:45 +13:00
Vanshika Arora
114a93201a Fixed issue #2369 (#2426) 2019-02-21 01:55:40 +05:30
Ashish Kumar
9c6e9bd017 updated test cases to support db upgrade in #2476 (#2497)
* updated test cases to support db upgrade in #2476

* fixed errors
2019-02-21 00:33:31 +05:30
Ashish Kumar
cd145efe91 Bug fix issue #2476 (#2495)
* Bug fix issue #2476
* Support db migrations from version 5

* support migration(alter table) for versions >5
2019-02-20 22:28:53 +05:30
RajatChandel
c89d21be42 fixed issue #2466 (#2485) 2019-02-20 20:16:52 +05:30
Amir E. Aharoni
fa7585bf94 Add a space before parentheses (#2490) 2019-02-20 20:16:27 +05:30
Vivek Maskara
546322ac35
Fix update date template based on date source (#2483) (#2492)
* Fix update date template based on date source

* Add javadocs
2019-02-20 20:14:19 +05:30
Vivek Maskara
3ba6c5990e Fix update date template based on date source (#2483)
* Fix update date template based on date source

* Add javadocs
2019-02-20 23:24:52 +13:00
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
translatewiki.net
6bedf54a43 Localisation updates from https://translatewiki.net. 2019-02-18 07:58:25 +01:00
Vivek Maskara
0ef60e050d
Revert "fixed. I have fixed the layout desingn of achivement activity (#2469)" (#2475)
This reverts commit c7e819d404.
2019-02-15 17:50:04 +05:30
Anike Nath
c7e819d404 fixed. I have fixed the layout desingn of achivement activity (#2469) 2019-02-15 17:39:31 +05:30
Anike Nath
628998e841 issue(#2449) solved. it was getting a null pointer exception (#2473) 2019-02-15 16:24:27 +05:30
chris-fo
83770ea484 Changes achievement icon for: Images via "Nearby Places" (#2463) 2019-02-15 03:00:35 +00:00
translatewiki.net
b5a479ce93 Localisation updates from https://translatewiki.net. 2019-02-14 09:07:01 +01:00
Vanshika Arora
635047ded2 Fixed issue #2291 (#2292)
* Fixed issue #2291

* resolved codacy issue

* settings

* removed unwanted commemts
2019-02-13 21:08:24 +05:30
Vivek Maskara
d1e9b2f801 Fix errors while making image quality checks (#2444) 2019-02-13 23:04:15 +13:00
Vivek Maskara
73bb0c52c9 Show wikidata edits done through the app (#2431)
* Show wikidata edits done through the app

* Minor changes based on code review
2019-02-13 05:58:22 +13:00
Josephine Lim
aee8839eea
Versioning and changelog for v2.10.0 (#2443)
* Update changelog.md

* Update build.gradle
2019-02-13 05:44:19 +13:00
Vivek Maskara
2bc0d41748 Fix date time issue for google photos (#2438) 2019-02-13 00:17:06 +13:00
Vivek Maskara
d86a3aad79 Handle null value for artist (#2436) 2019-02-11 21:23:30 +13:00
Shubham Pinjwani
0e2bd3ec0c update Notification count after notification is marked as read (#2423) 2019-02-11 09:16:10 +05:30
Vivek Maskara
5a6402cd07 Make nearby query faster (#2419)
* Make nearby query faster

* Fix query
2019-02-10 20:53:02 +05:30
Shubham Pinjwani
a9629c6f99 Added option in the action bar menu to view archived notifications (#2422)
* changed layout and implemented archived notificaitons feature

* set different texts for toolbar,menu option and no notification text in archived

* modified the startup intent for NotificationsActivity

* disabled swipe on archived

* commit

* fixed navigation drawer on notification activity

* handled on back pressed

* updated strings.xml

* removed TODO

* some minor changes

* set progress bar visibility

* some code quality changes

* commit

* some code quality changes

* removing unused import statements
2019-02-10 16:10:08 +05:30
translatewiki.net
cb3a570090 Localisation updates from https://translatewiki.net. 2019-02-07 15:54:04 +01:00
Vivek Maskara
f12837650a Use JSON SPARQL query for fetching nearby places (#2398)
* Use JSON response for nearby places

* Move okhttp calls to a different class

* wip

* Fetch picture of the day using JSON API

* Search images using JSON APIs

* tests

* Fix injection based on code review comments
2019-02-06 10:40:30 +05:30
Shubham Pinjwani
323527b3be Fixed notification card visiblity issue on media Detail Page (#2401) 2019-02-06 10:13:47 +05:30
Shubham Pinjwani
112f4ba15f Close Navigation Drawer on pressing back button(#2294) (#2295)
* Close Navigation Drawer on back pressed(#2294)

* some minor changes
2019-02-06 02:15:29 +05:30
Shubham Pinjwani
1d1088cfe5 Nearby map not loading on changing orientation issue solved(#2368) (#2372) 2019-02-06 02:10:57 +05:30
Vanshika Arora
2cd375a11b Progressbar in category and media fragment now doesn't overlaps the views (#2382)
* graddle changes

* scrolling fixed for both media and category
2019-02-06 02:06:59 +05:30
Shubham Pinjwani
535e93aa64 prevent any loading on changing orientation in nearby (#2385) 2019-02-06 02:00:43 +05:30
Shubham Pinjwani
29bea33035 hide the notification card if there's no nearby location (#2396)
* hide the notification card if there's no nearby location

* some minor changes
2019-02-06 01:59:44 +05:30
Vanshika Arora
ea45335b4f Copy text to clipboard on Long Click (#2411)
* Fixed issue #2405

* Final changes
2019-02-06 01:58:34 +05:30
Vanshika Arora
9867143099 Project build successful (#2412)
* Fixed issue #2285

* modified gradle.properties

* updation in build.gradle

* updated travis.yml
2019-02-06 00:37:32 +05:30
Vivek Maskara
bd9e629647 Use get content intent instead of pick (#2407) 2019-02-04 22:06:19 +13:00
translatewiki.net
8c12cc48e0 Localisation updates from https://translatewiki.net. 2019-02-04 08:57:03 +01:00
Vivek Maskara
52ab39381e Add module for file picker for camera and gallery uploads (#2375)
* Use easy image for image picker

* Do not use harcoded mime type

* Use uploadable file for image uploads

* Add picker files in filepicker module

* Remove redundant checks for file

* Make usage of file extensions consistent

* Add javadocs

* Fix tests

* Enable image upload using bookmark activity

* Fix multiple uploads

* Fix external image uploads

* Fix chooser intents

* Fix image quality checks

* Segregate internal and external upload intents

* Invoke all error messages from one place

* Minor changes

* Fix tests

* Add image processing service tests
2019-02-03 22:40:31 +02:00
Vivek Maskara
fb5a40bba5
Fix click of nearby list menu item (#2399) 2019-02-03 02:13:35 +05:30
Vanshika Arora
1b62ac4d2d Code to retrive unknown notification and UI (#2340)
* request change, changed notification icon

* Completed task 1 of the work

* commit changes

* commit changes

* updated notification class

* before notification id

* gradle reverted

* Minor changes to mark notifications as read

* commit changes

* delete on swipe

* notification count

* sipe to delete

* changes

* worked on changes requested

* commit changes

* Fix notification count

* reviewed changes

* round icon, swipe with icon

* Fix pending NPE issues with notifications

* final commit

* graddle changes

* removed changes for testing
2019-02-02 19:21:58 +05:30
Shubham Pinjwani
9451b00a15 Show bookmarked nearby locations differently (#2059) (#2349)
* Show bookmarked nearby locations differently (#2059)

* added custom bookmark marker

* passed value of bookmarkplacelist in tests

* update the nearby markers on clicking bookmark buttons
2019-02-02 19:13:42 +05:30
Vivek Maskara
16927057d0 Remove drawer layout from upload activity (#2380) 2019-02-01 23:31:28 +13:00
Vanshika Arora
f9adbbb48c Activity upload made full screen (#2370)
* graddle changes

* upload activity changes

* final commit
2019-01-31 15:41:11 +05:30
translatewiki.net
f6029be842 Localisation updates from https://translatewiki.net. 2019-01-30 23:38:57 +01:00
Vivek Maskara
35f1e84ff1 Use viewholder for populating contributions list (#2306)
* Use viewholder for populatiing contributions list

* Fix codacy issues

* Remove unused code
2019-01-30 12:06:15 +02:00