Commit graph

92 commits

Author SHA1 Message Date
translatewiki.net
7d238dc65b Localisation updates from https://translatewiki.net. 2018-11-26 07:52:48 +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
Victor-Bonin
80a9c94653 Feature #1756 : Bookmark System (#1935)
* Add bookmark star images

* Add bookmark item in navigation menu

* Add Activity for bookmarks

* Implement bookmarks viewpager

* Bookmark object and bookmarkDao

* Implement Bookmark Picture Fragment and Controller

* Implement image detail bookmark menu action UI

* contentProvider + config + dao rework

* Fix Dao and Content Provider crashes

* Link bookmark controllers and dao

* Implement bookmark location fragment, controller

* Add bookmark icon to location items

* Add empty bookmark list behavior and refactoring

* bookmarkLocation dao and contentProvider

* Fix bookmarks location crashes

* Rename and refactor classes

* Implement location list refresh

* Fix picture list update
When user come back from detail picture fragment, it solve the refresh bug.

* full test coverage

* Refactor bookmarks classes

* Fix bookmarks pictures loading

* Fix bookmark locations list display

* Java Documetation

* Fix Code review quality

* Fix DB version update

* Remove forgotten todo

* Update bookmark activity base class
Change from AuthenticatedActivity to BaseNavigationActivity
2018-10-26 02:54:22 +11:00
translatewiki.net
419ae7f7f3 Localisation updates from https://translatewiki.net. 2018-10-25 10:16:51 +02:00
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
17116a77cd Localisation updates from https://translatewiki.net. 2018-09-13 10:52:21 +02:00
translatewiki.net
099dce4f95 Localisation updates from https://translatewiki.net. 2018-09-10 08:17:47 +02:00
translatewiki.net
2efd39bd14 Localisation updates from https://translatewiki.net. 2018-09-03 08:08:46 +02:00
translatewiki.net
73d5eb54f8 Localisation updates from https://translatewiki.net. 2018-08-20 08:06:30 +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
b0e962c85c Localisation updates from https://translatewiki.net. 2018-08-02 10:12:47 +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
e872e5b82e Localisation updates from https://translatewiki.net. 2018-07-23 09:32:17 +02:00
translatewiki.net
fa6353b3ef Localisation updates from https://translatewiki.net. 2018-07-05 13:41:02 +02:00
translatewiki.net
0092451357 Localisation updates from https://translatewiki.net. 2018-06-28 07:19:17 +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
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
970704334b Localisation updates from https://translatewiki.net. 2018-04-23 08:51:06 +02:00
translatewiki.net
8b765109ca Localisation updates from https://translatewiki.net. 2018-04-19 09:18:13 +02:00
translatewiki.net
7b150f78a8 Localisation updates from https://translatewiki.net. 2018-04-12 09:10:26 +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
fe1f0b52ab Localisation updates from https://translatewiki.net. 2018-03-19 20:56:20 +01:00
translatewiki.net
45aab1ce76 Localisation updates from https://translatewiki.net. 2018-02-22 12:06:27 +01:00
translatewiki.net
f6c6d87eb2 Localisation updates from https://translatewiki.net. 2018-02-19 08:56:11 +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
813cb1093e Localisation updates from https://translatewiki.net. 2018-01-18 08:29:22 +01:00
translatewiki.net
64ad937258 Localisation updates from https://translatewiki.net. 2018-01-08 09:00:02 +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
0aa20effe0 Localisation updates from https://translatewiki.net. 2017-12-21 08:24:43 +01:00
translatewiki.net
d52844b7e1 Localisation updates from https://translatewiki.net. 2017-12-18 17:39:11 +01:00
translatewiki.net
6877b27715 Localisation updates from https://translatewiki.net. 2017-12-14 08:25:29 +01:00
translatewiki.net
fdca8a158f Localisation updates from https://translatewiki.net. 2017-12-04 09:19:07 +01:00