Commit graph

528 commits

Author SHA1 Message Date
misaochan
77b8ab0c4c Minor changes
As per @Niedzielski's feedback
2015-12-23 20:57:36 +13:00
misaochan
b7ebd202f3 Minor fixes 2015-12-23 20:34:24 +13:00
misaochan
54dedf2cfd Added synchronized to getQueue() 2015-12-23 20:06:20 +13:00
misaochan
3797d0d5cd Added Category model and extracted categories 2015-12-23 17:58:04 +13:00
misaochan
9a1d10fe8f Minor changes 2015-12-23 16:01:12 +13:00
misaochan
8b062147bc Added documentation for UrlBuilder helper class
(sorry, previous commit was misnamed)
2015-12-22 17:02:37 +13:00
misaochan
f01b0aa840 Added documentation for helper UrlBuilder class 2015-12-22 17:00:42 +13:00
misaochan
44890bee3d Added comment 2015-12-22 16:53:46 +13:00
misaochan
5df7c231c0 URL with extracted coords passed to APICalls 2015-12-22 16:51:58 +13:00
misaochan
506c2ab624 Added incomplete APICalls class
To make http requests to API
TODO: Find out how to construct Category models
2015-12-22 16:40:47 +13:00
misaochan
9066c7da34 Implemented UrlBuilder static class
To build URL for MediaWiki API query
2015-12-22 15:07:00 +13:00
misaochan
ee2eb417f4 Final fixes 2015-12-19 00:30:58 +13:00
misaochan
b16032eb84 Adding FilePathConverter class
(Dunno why this wasn't included in previous commit...)
2015-12-18 16:21:59 +13:00
misaochan
ac83480915 Refactored to put URI conversions in its own class
Instead of lumping it with GPS extraction code
2015-12-18 16:21:20 +13:00
misaochan
87b23b8494 Final changes
Re-enabled uploading code (previously disabled for debugging purposes)
2015-12-18 15:43:54 +13:00
misaochan
8f724e461e Altered coord string to format required by API 2015-12-18 15:33:25 +13:00
misaochan
875e1556f7 More double-related fixes 2015-12-18 15:25:16 +13:00
misaochan
3ffcb8fd57 Converted Floats and Doubles to double where possible 2015-12-18 15:21:00 +13:00
misaochan
5a4251fe55 Fixed minor issues 2015-12-18 14:53:51 +13:00
misaochan
7804546ae3 Added decimal coord conversion 2015-12-18 13:39:06 +13:00
misaochan
131b9815af Minor fixes 2 2015-12-17 19:33:57 +13:00
misaochan
204115de44 Minor fixes 2015-12-17 19:10:05 +13:00
misaochan
966ff386cd Fixed refactor problem
ImageProcessing class should work now.

TODO: Add conversion method
2015-12-17 17:35:24 +13:00
misaochan
e74ead1655 Attempt at tidying code into a new class
getContentResolver() method does not work
2015-12-16 18:18:45 +13:00
misaochan
c5fd006dd5 Successfully displayed latitude of image
TODO: Tidy up code and put in coordinate conversion method
2015-12-16 17:50:09 +13:00
misaochan
ba5fb3bb55 Attempt at implementing exifInterface
Modified ShareActivity to try and implement exifInterface on the image
file.
2015-12-16 17:31:52 +13:00
misaochan
eed0f49ce8 Removed upload capability for easier debugging
App doesn't actually upload files, so can submit same file over and
over. Needed for debugging. Will restore upload functionality prior to
release
2015-12-15 20:01:10 +13:00
misaochan
99b986537f Attempt at fixing error in logcat
E/ImageLoader(3260): Permission Denial: opening provider
com.android.providers.media.MediaDocumentsProvider from
ProcessRecord{19b604c1 3260:fr.free.nrw.commons/u0a53} (pid=3260,
uid=10053) requires android.permission.MANAGE_DOCUMENTS or
android.permission.MANAGE_DOCUMENTS
2015-12-15 17:16:57 +13:00
misaochan
0e9737426d Tidied up ShareActivity.java
Var declarations at top, constructor and other methods below
2015-11-24 19:05:15 +13:00
misaochan
c7ccd514ad Removed override
@Override not allowed when implementing interface method
2015-11-13 02:18:10 +13:00
misaochan
70a43bba38 Fixed error with versionName 2015-11-09 18:10:16 +13:00
misaochan
05e82f0c40 Removed .apk file 2015-11-09 17:51:38 +13:00
misaochan
91763f62dd Removed residual Campaigns code
Not sure why some got left behind. Didn't throw any errors until today.
2015-11-06 16:15:30 +13:00
misaochan
8ce73d0a48 Rearranging ContributionsActivity code
Rearranging with variable declarations on top and methods below to make
it clearer (previous code has variable declarations in between methods)
2015-11-04 19:25:53 +13:00
misaochan
2a660ca0c2 New APK 2015-10-30 18:56:02 +13:00
misaochan
b4b03522e5 Includes APK and changes version in manifest 2015-10-30 18:56:01 +13:00
misaochan
d0e9b8ae9a Modified UploadController 2015-10-29 21:50:29 +13:00
misaochan
a519b82761 Modified ShareActivity 2015-10-29 21:49:27 +13:00
misaochan
7ad697bf98 Modified DBOpenHelper 2015-10-29 21:48:42 +13:00
misaochan
29e2621a6d Modified ContributionsListFragmen 2015-10-29 21:48:11 +13:00
misaochan
cfdd4b2752 Modified ContributionController 2015-10-29 21:46:49 +13:00
misaochan
fff3cf05a9 Removed campaigns folder and modified ContributionsActivity 2015-10-29 21:44:40 +13:00
misaochan
4876501d50 Resolves merge conflict 2015-10-28 15:52:09 +13:00
misaochan
3972ab9fd3 Revert "Removed dead code behind Campaigns feature"
This reverts commit c64a64c905.

Conflicts:

	commons/src/main/java/fr/free/nrw/commons/contributions/ContributionsListAdapter.java

Changed version number

In preparation for uploading to Google Play
2015-10-28 15:00:44 +13:00
misaochan
6225e04f9a Fixed extra semicolon 2015-10-21 19:58:39 +13:00
misaochan
c64a64c905 Removed dead code behind Campaigns feature
- Removed entire Campaigns folder and associated classes
- Removed associated code in other classes (mostly that test for
campaign == null). I am assuming we want  to keep the behaviour where
campaign == null (ie campaigns are disabled) and discard the behaviour
where campaign != null
- Refactored code to fix spacing
2015-10-21 19:29:08 +13:00
misaochan
235d290252 Removes extra Campaigns shortcut
Removes extra Campaigns shortcut that is created when the app is
installed
2015-10-21 18:49:02 +13:00
misaochan
04ee167c64 Added "sign up" button
Fixes #6
2015-10-20 23:33:58 +13:00
misaochan
ad88bb3929 Changed directory to fr/free/nrw/commons
Fixes issue #14
2015-10-15 18:41:19 +13:00
Josephine Lim
3c2ff3d9d7 Removed usage tracking preference option in Settings layout file 2015-10-04 23:59:21 +13:00