Commit graph

97 commits

Author SHA1 Message Date
Vivek Maskara
7e44da84e0 Merge master (#3196)
* Localisation updates from https://translatewiki.net.

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

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

* Mapped values-en-gb to values-en-rGB (#3161)

Fixes "Error: Invalid resource directory name" bug.

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

* Removes the "Other" deletion option mentioned in #3174 (#3183)

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

* Renamed resource file to prevent build from failing (#3189)

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

* Removed some jargon/slang from strings.xml (#3162)

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

* solve issue Avoid 'form movements' in the login screen #1107 (#2936)

* Disabled review buttons while an image is being loaded (#3185)

* Disabled review buttons while an image is being loaded

* Added javadocs for the new methods

* Fix build
2019-11-06 17:44:46 +05:30
translatewiki.net
4eb5470471 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
0c3b00244f Localisation updates from https://translatewiki.net. 2019-06-27 18:16:27 +02:00
translatewiki.net
2837748540 Localisation updates from https://translatewiki.net. 2019-06-20 21:28:47 +02:00
translatewiki.net
ab783a445f Localisation updates from https://translatewiki.net. 2019-05-23 14:10:29 +02:00
translatewiki.net
4896e5992e Localisation updates from https://translatewiki.net. 2019-05-20 13:41:58 +02:00
translatewiki.net
54f6dd667f Localisation updates from https://translatewiki.net. 2019-05-13 14:29:38 +02:00
translatewiki.net
a4ac27d5d3 Localisation updates from https://translatewiki.net. 2019-05-09 16:54:18 +02:00
translatewiki.net
047059c490 Localisation updates from https://translatewiki.net. 2019-04-29 17:26:12 +02:00
translatewiki.net
c127bcfea4 Localisation updates from https://translatewiki.net. 2019-04-25 20:12:55 +02:00
translatewiki.net
987bf25921 Localisation updates from https://translatewiki.net. 2019-04-22 22:05:39 +02:00
translatewiki.net
a1ac7a0407 Localisation updates from https://translatewiki.net. 2019-04-11 17:43:18 +02:00
translatewiki.net
07c335e054 Localisation updates from https://translatewiki.net. 2019-04-04 19:57:33 +02:00
translatewiki.net
76e5a30fb5 Localisation updates from https://translatewiki.net. 2019-04-01 20:24:14 +02:00
translatewiki.net
fc3d24254c Localisation updates from https://translatewiki.net. 2019-03-25 18:57:07 +01:00
translatewiki.net
a1a65d0832 Localisation updates from https://translatewiki.net. 2019-03-21 10:56:28 +01:00
translatewiki.net
341f9614a7 Localisation updates from https://translatewiki.net. 2019-03-18 08:45:15 +01:00
translatewiki.net
80225360f8 Localisation updates from https://translatewiki.net. 2019-03-07 16:07:39 +01:00
translatewiki.net
831970112d Localisation updates from https://translatewiki.net. 2019-02-25 10:39:24 +01:00
translatewiki.net
b5a479ce93 Localisation updates from https://translatewiki.net. 2019-02-14 09:07:01 +01:00
translatewiki.net
10e57bd8d0 Localisation updates from https://translatewiki.net. 2019-01-03 16:38:22 +01:00
translatewiki.net
774436ce7b Localisation updates from https://translatewiki.net. 2018-12-31 17:52:23 +01:00
translatewiki.net
da36d2cda3 Localisation updates from https://translatewiki.net. 2018-12-27 10:46:23 +01:00
translatewiki.net
174e58c49f Localisation updates from https://translatewiki.net. 2018-12-17 08:49:29 +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
2ae362eb31 Localisation updates from https://translatewiki.net. 2018-10-22 07:53:43 +02:00
translatewiki.net
8526605765 Localisation updates from https://translatewiki.net. 2018-10-15 09:23:05 +02:00
translatewiki.net
69e4d96b89 Localisation updates from https://translatewiki.net. 2018-10-09 10:16:46 +02:00
translatewiki.net
1b7c72e192 Localisation updates from https://translatewiki.net. 2018-09-20 11:03:14 +02:00
translatewiki.net
402fc4e05d Localisation updates from https://translatewiki.net. 2018-09-17 08:04:37 +02:00
translatewiki.net
099dce4f95 Localisation updates from https://translatewiki.net. 2018-09-10 08:17:47 +02:00
translatewiki.net
73d5eb54f8 Localisation updates from https://translatewiki.net. 2018-08-20 08:06:30 +02:00
translatewiki.net
2fdcddd977 Localisation updates from https://translatewiki.net. 2018-08-13 08:08:25 +02:00
translatewiki.net
6f86299a90 Localisation updates from https://translatewiki.net. 2018-08-06 07:15:25 +02:00
translatewiki.net
b0e962c85c Localisation updates from https://translatewiki.net. 2018-08-02 10:12:47 +02:00
translatewiki.net
fa6353b3ef Localisation updates from https://translatewiki.net. 2018-07-05 13:41:02 +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
3f47d39cdf Localisation updates from https://translatewiki.net. 2018-06-07 08:05:24 +02:00
translatewiki.net
30e5312a14 Localisation updates from https://translatewiki.net. 2018-05-31 08:21:26 +02:00
translatewiki.net
e3ba7403c4 Localisation updates from https://translatewiki.net. 2018-05-25 11:42:49 +02:00
translatewiki.net
93b0db9ecd Localisation updates from https://translatewiki.net. 2018-05-14 08:13:34 +02:00
translatewiki.net
6ab6a21e40 Localisation updates from https://translatewiki.net. 2018-05-10 10:11:14 +02:00
translatewiki.net
96eae8c0a6 Localisation updates from https://translatewiki.net. 2018-05-07 07:54:16 +02:00
translatewiki.net
5ebaa7418e Localisation updates from https://translatewiki.net. 2018-04-30 08:19:57 +02:00
translatewiki.net
970704334b Localisation updates from https://translatewiki.net. 2018-04-23 08:51:06 +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