Commit graph

71 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
8a2931270c Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
4ca7c82e08 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
9d43181623 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
d58e3628d8 Localisation updates from https://translatewiki.net. 2019-10-17 01:54:46 +10:00
translatewiki.net
9124876a70 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
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
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
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
cd322d2f57 Localisation updates from https://translatewiki.net. 2019-01-07 10:04:32 +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
43c80e3fb0 Localisation updates from https://translatewiki.net. 2018-12-03 07:38:14 +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
8526605765 Localisation updates from https://translatewiki.net. 2018-10-15 09:23:05 +02:00
translatewiki.net
402fc4e05d Localisation updates from https://translatewiki.net. 2018-09-17 08:04:37 +02:00
translatewiki.net
6f86299a90 Localisation updates from https://translatewiki.net. 2018-08-06 07:15:25 +02:00
translatewiki.net
b76746c853 Localisation updates from https://translatewiki.net. 2018-06-14 12:20:38 +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
80a97c5037 Localisation updates from https://translatewiki.net. 2018-05-17 08:24:27 +02:00
translatewiki.net
96eae8c0a6 Localisation updates from https://translatewiki.net. 2018-05-07 07:54:16 +02:00
translatewiki.net
8a06aa5c14 Localisation updates from https://translatewiki.net. 2018-04-26 07:51:15 +02:00
translatewiki.net
8b765109ca Localisation updates from https://translatewiki.net. 2018-04-19 09:18:13 +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
fe1f0b52ab Localisation updates from https://translatewiki.net. 2018-03-19 20:56:20 +01:00
translatewiki.net
f6c6d87eb2 Localisation updates from https://translatewiki.net. 2018-02-19 08:56:11 +01:00
translatewiki.net
a47ae6c7fe Localisation updates from https://translatewiki.net. 2018-02-12 08:25:46 +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
06c2501687 Localisation updates from https://translatewiki.net. 2018-01-25 05:15:00 +01:00
translatewiki.net
64ad937258 Localisation updates from https://translatewiki.net. 2018-01-08 09:00:02 +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
5916e669e8 Localisation updates from https://translatewiki.net. 2017-11-27 07:54:21 +01:00
translatewiki.net
10ac64d556 Localisation updates from https://translatewiki.net. 2017-11-02 08:09:48 +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
d4a89afafd Localisation updates from https://translatewiki.net. 2017-09-04 08:58:05 +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
a69af5ec45 Localisation updates from https://translatewiki.net. 2017-06-29 07:50:09 +02:00