Commit graph

166 commits

Author SHA1 Message Date
translatewiki.net
c2addd902a Localisation updates from https://translatewiki.net. 2018-11-29 17:48:02 +01:00
translatewiki.net
38891269fa Localisation updates from https://translatewiki.net. 2018-11-22 07:25:01 +01:00
Vivek Maskara
f607c1c14d Multiple uploads with over haul (#1968)
* Added new upload activity that receives shared files from the gallery.  Cards show and hide, plus titles are correct.  Displayed thumbnails for the shared images

* Better handling of the view paging plus error handling for required fields.

* Code cleanup to make things more readable.

* Extracted a model from the category search fragment that can possibly be shared with the new upload activity.

* Added category selection to the combined upload screen.

* Cleanup before the home-stretch on the GUI.

* Adding license selection.

* Fixed build warnings + cleanup

* Start to support the dark theme.

* Work in progress to add quality checking.

* Fixing merge.

* GPSExtractor: optimized away the EXifInterface object

* Implemented submit functionality, temporarily fixed jacoco crash by disabling DUMMY UploadView object.

* Implemented uploading of categories along with the picture. The category screen now displays GPS and recent categories when nothing is searched.

* Implemented caching of files. Did some work on picture quality detection.

* Implemented too dark picture detection.

* Added a side card for zoom and map buttons along with pretty animations for stuff.

* Added duplicate image on commons checking and fixed files not getting proper file extensions in several places.

* Added support for map button and switched in-app upload buttons to UploadActivity

* Pretty pretty animations!

* Implemented zoom functionality for th background image. Just pinching on the image works instead of requiring buttons.

* Added multi-language descriptions with categories by region.

* Reimplemented the duplicate title checker and implemented a check against putting the same language twice in the description.

* Javadocs for Description and UploadPresenter, plus some general cleanup.

* Small code changes.

* Implemented login checks for the Upload screen.

* Implement receiving data from Nearby.

* Feature/permissions library (#1855)

* Added permission for Dexter, the runtime permission handling library

* [Preparing fir issue #1773] Added a utility function which would take the user to app settings screen where he could manually give us the required permission

* Added an alert dialog with positive and negative callback [Preparing fir issue #1773]

* Improvements in the way External Storage Permission is handled in MultipleShareActivity[Bug fix #1697]
1. Used dexter to handle the external storage permission
2. Behaviour changes : When user tries to share(uppload) images to commons via MultipleShareActivity, following decision tree is followed
	a. If the app has permission for external storage, normal upload operation is followed
	b. If the app does not has the permission for external storage, dexter is used to ask for the same
	c. If the user gives us the required permission, normal upload flow is proceeded
	d. If the doesnot gives us the required permission a rationale dialog is shown with the appropriate message to let him know why we need the permission
	e. If he presses okay, steps a-c are followed and if he presses cancel, we close the app.
	f. If while asking for permission, the user chooses never ask again, then next time he tries to upload an image via MSA, the rational dialog follows the app setting screen where he could manually give us the required permission and the onActivityResult of same is handled

* Added a Constants class to handle request and result codes from one place and other related constants common to the all app elements

* replaced hardcoded strings ok and cancel in DialogUtil to string resources

* init permission rationale dialog in activities onCreate

* Code formatting, updated access modifiers wherever required, added javadocs for new methods created

* *shifted constants to app class
*Added JavaDocs in PermissionUtils

* removed class REQUEST_CODES from CommonsApplication and instead put the enclosing constants in the App class itself

* Made Codacy happy.

* Abstarcted permission acquisition into new class DexterPermissionObtainer

* Fixed Nearby upload detection

* Migrated bad picture detection from AsyncTask to RxJava.

* Removed ShareActivity and related dead code

* Removed dead or duplicate code from FileProcessor

* Added info button to title EditText

* Fixed the add description button not disappearing.
Added "Starting Upload" toast.
Added link to the license on final screen.
Made it so that the map button is hidden when image lacks gps coords.

* Support in app multiple uploads

* Minor changes to fix build

* Changes to fix pending issues with upload flow

* Fix display of similar image fragment

* When uploading several files at once the date is missing #1854 (#2)

* Bug fix issue #1854
* updated ContributionsDao to save create date, which it was not doing currently [it was instead saving current date]
* UploadItem accepts are dateCreated param
* Added a function in UploadModel, getFileCreatedDate which tries to fetched the file creaction date from all possible content providers.

* Fix pending issues in upload flow

* Make multiple uploads work for Google Photos

* Fix default state for upload activity

* Fix keyboard state for license screen

* Fix descriptions for uploads

* wip

* Fix language spinner
2018-11-19 17:00:32 +05:30
translatewiki.net
01112081ba Localisation updates from https://translatewiki.net. 2018-10-29 07:58:48 +01:00
translatewiki.net
099dce4f95 Localisation updates from https://translatewiki.net. 2018-09-10 08:17:47 +02:00
translatewiki.net
4baabab960 Localisation updates from https://translatewiki.net. 2018-08-23 08:13:52 +02:00
translatewiki.net
7a43c59c80 Localisation updates from https://translatewiki.net. 2018-08-17 14:55:10 +02:00
translatewiki.net
2fdcddd977 Localisation updates from https://translatewiki.net. 2018-08-13 08:08:25 +02:00
translatewiki.net
56675c91a4 Localisation updates from https://translatewiki.net. 2018-08-09 09:20:21 +02:00
translatewiki.net
6f86299a90 Localisation updates from https://translatewiki.net. 2018-08-06 07:15:25 +02:00
translatewiki.net
3e5a6634cf Localisation updates from https://translatewiki.net. 2018-07-30 08:18:28 +02:00
translatewiki.net
93b5c23ac8 Localisation updates from https://translatewiki.net. 2018-07-26 10:02:34 +02:00
translatewiki.net
d3f8ffa308 Localisation updates from https://translatewiki.net. 2018-07-02 07:54:40 +02:00
translatewiki.net
f6c18c6480 Localisation updates from https://translatewiki.net. 2018-06-18 07:54:02 +02:00
translatewiki.net
b76746c853 Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +02:00
translatewiki.net
8cd8baf49c Localisation updates from https://translatewiki.net. 2018-06-04 07:53:59 +02:00
translatewiki.net
ac8bb10a14 Localisation updates from https://translatewiki.net. 2018-05-28 10:51:54 +02:00
translatewiki.net
e3ba7403c4 Localisation updates from https://translatewiki.net. 2018-05-25 11:42:49 +02:00
translatewiki.net
6ab6a21e40 Localisation updates from https://translatewiki.net. 2018-05-10 10:11:14 +02:00
translatewiki.net
8a06aa5c14 Localisation updates from https://translatewiki.net. 2018-04-26 07:51:15 +02:00
translatewiki.net
2de9a1fe08 Localisation updates from https://translatewiki.net. 2018-04-09 08:15:46 +02:00
translatewiki.net
74dc2fd0fd Localisation updates from https://translatewiki.net. 2018-04-05 09:15:25 +02:00
translatewiki.net
165850bf62 Localisation updates from https://translatewiki.net. 2018-03-29 09:04:37 +02:00
translatewiki.net
bb552faba3 Localisation updates from https://translatewiki.net. 2018-03-22 08:07:35 +01:00
translatewiki.net
fe1f0b52ab Localisation updates from https://translatewiki.net. 2018-03-19 20:56:20 +01:00
translatewiki.net
fc61836bc1 Localisation updates from https://translatewiki.net. 2018-02-08 09:53:49 +01:00
Carlos Valencia
696f3744e1 Fixed problem where strings files were accepting multiple variables but no order was specified (#1116) 2018-02-01 18:41:46 +09:00
translatewiki.net
72cddbf684 Localisation updates from https://translatewiki.net. 2018-01-29 09:02:59 +01:00
translatewiki.net
06c2501687 Localisation updates from https://translatewiki.net. 2018-01-25 05:15:00 +01:00
translatewiki.net
d96acd8c87 Localisation updates from https://translatewiki.net. 2018-01-04 10:05:26 +01:00
translatewiki.net
0f96c2f1d7 Localisation updates from https://translatewiki.net. 2018-01-01 15:23:37 +01:00
translatewiki.net
6877b27715 Localisation updates from https://translatewiki.net. 2017-12-14 08:25:29 +01:00
translatewiki.net
1bd782f408 Localisation updates from https://translatewiki.net. 2017-10-19 08:59:24 +02:00
translatewiki.net
4154a7c9d2 Localisation updates from https://translatewiki.net. 2017-10-12 08:34:10 +02:00
Paul Hawke
7dd3dced35 Fixed merge conflicts 2017-09-26 22:33:59 -05:00
translatewiki.net
fece67e0f9 Localisation updates from https://translatewiki.net. 2017-09-25 07:14:07 +02:00
Paul Hawke
c3d6d0eb44 Merge branch 'master' into lint-cleanup 2017-09-23 13:27:07 -05:00
translatewiki.net
1253f76e01 Localisation updates from https://translatewiki.net. 2017-09-14 07:15:25 +02:00
translatewiki.net
ae0e051227 Localisation updates from https://translatewiki.net. 2017-08-28 07:37:25 +02:00
translatewiki.net
64c3d402ca Localisation updates from https://translatewiki.net. 2017-08-07 07:19:49 +02:00
translatewiki.net
55e4f0592b Localisation updates from https://translatewiki.net. 2017-07-31 14:55:55 +02:00
translatewiki.net
f73a9f15fc Localisation updates from https://translatewiki.net. 2017-07-22 13:06:02 +02:00
translatewiki.net
b0f877f218 Localisation updates from https://translatewiki.net. 2017-07-03 07:33:38 +02:00
translatewiki.net
9e0792f1e2 Localisation updates from https://translatewiki.net. 2017-06-08 07:39:30 +02:00
translatewiki.net
687c3be49f Localisation updates from https://translatewiki.net. 2017-06-01 09:28:02 +02:00
translatewiki.net
d05714d3db Localisation updates from https://translatewiki.net. 2017-05-29 07:48:12 +02:00
translatewiki.net
1d2ba94c56 Localisation updates from https://translatewiki.net. 2017-05-21 09:52:06 +02:00
Adam Jones
fdb0db9cb3 Fix ellipsis characters 2017-05-21 00:10:38 +01:00
Adam Baso
05515ab80c Merge branch 'master' into harmonize-licenses-with-upload-wizard 2017-05-20 05:22:49 -05:00
translatewiki.net
6a5629186b Localisation updates from https://translatewiki.net. 2017-05-20 10:51:38 +02:00