Commit graph

545 commits

Author SHA1 Message Date
YuviPanda
75d9a9f618 Inherit About and Welcome screen from SherlockActivity
GitHub: https://github.com/wikimedia/apps-android-commons/pull/38
Change-Id: I3d75d6a23dfbb3787c3f68e013f02bad05097729
2013-07-26 21:54:36 +00:00
YuviPanda
5f3132718e Split up contributions related code into separate classes
A controller introduced to deal with common code for picking images
from the gallery or camera. We should probably start using similar
controller methods elsewhere.

Splitting this particular one up because I'll be using it elsewhere

GitHub: https://github.com/wikimedia/apps-android-commons/pull/39
Change-Id: Idc393414be921d9a0fd54fcb3e2dcd676d8cc08b
2013-07-26 02:42:03 +05:30
YuviPanda
27f4fe1481 Add Campaign Activity, Fragment and Fetcher
Exposed as a separate launcher icon. Will add more cohesive UI in
the future

Change-Id: I9f15a9ac850d636d72b4892f2b5153f7e2b8ba28
2013-07-26 01:48:27 +05:30
YuviPanda
0be6e87d5e Add Campaign & CampaignContribution classes
Change-Id: Ib300e32b0d8146321b661ab5feb20ba9714bfd52
2013-07-26 01:48:24 +05:30
YuviPanda
3465dc044c Update Support SDK to v18
Change-Id: I48b6c53719bf0e26eb9d667db72dea49ba5ebdb1
GitHub: https://github.com/wikimedia/apps-android-commons/pull/37
2013-07-24 18:29:06 +00:00
YuviPanda
bbf5e5af68 Re-organize classes to be a bit more organized
Change-Id: Ie3500c4520a09be28f1856447e66265dd499a680
GitHub: https://github.com/wikimedia/apps-android-commons/pull/36
2013-07-23 13:46:53 +00:00
Translation updater bot
3bab3be4a0 Localisation updates from http://translatewiki.net.
Change-Id: Iebcb3d08fa9f79d59ea77fbf246ff416ead5eaa2
2013-07-22 15:44:46 +00:00
YuviPanda
f0999f8012 Add Prateek to CREDITS
He did the new icons

Change-Id: I062723d247f62d0403430da8111081500f2970ca
GitHub: https://github.com/wikimedia/apps-android-commons/pull/34
2013-07-22 11:20:34 +00:00
YuviPanda
4687739bb5 Remove defunct androlog properties file
Change-Id: I5e2efee87fadd3391f2653e2e980dc178a8f6d77
GitHub: https://github.com/wikimedia/apps-android-commons/pull/33
2013-07-22 11:06:27 +00:00
Brion VIBBER
74958c65cb Merge "Scroll down to show some new categories when they turn up" 2013-07-18 17:49:40 +00:00
Brion VIBBER
5092e8326f Merge "Added new launcher icons" 2013-07-18 17:37:55 +00:00
Prateek Saxena
39acadebc6 Added new launcher icons
GitHub: https://github.com/wikimedia/apps-android-commons/pull/28
Change-Id: I82a2c657e82bda6d401d3e2e2eb7af93faf2ad31
2013-07-18 17:27:51 +00:00
YuviPanda
89d91d6867 Scroll down to show some new categories when they turn up
Change-Id: I91431721ba504a27c9d902bcf0a2f21fa3b9d938
GitHub: https://github.com/wikimedia/apps-android-commons/pull/32
2013-07-18 00:24:47 +00:00
YuviPanda
e0d567d5c2 Bump Version number and Update CHANGELOG
Change-Id: I24e35675eff39fb39cc5363ec4277cf1e18c2c04
GitHub: https://github.com/wikimedia/apps-android-commons/pull/31
2013-07-16 19:26:46 +00:00
YuviPanda
0c381ed928 Do not crash when trying to upload multiple files
Change-Id: Ibe4fe6b7518f9634fc0d9ce8bda9ccbd9ee9c30d
GitHub: https://github.com/wikimedia/apps-android-commons/pull/30
2013-07-16 16:17:53 +00:00
Translation updater bot
d5c90801c5 Localisation updates from http://translatewiki.net.
Change-Id: I6144cec8c24d6f7f1065b8084b7e5d49b7e85eb2
2013-07-14 21:25:03 +00:00
YuviPanda
2503fd11d2 Increase Volley disk cache to 16MB
16MB ought to be enough for everyone, especially since it
does not count any full size images

Change-Id: I35121eb0d9949f7cbe254220f64ec879d163204c
GitHub: https://github.com/wikimedia/apps-android-commons/pull/27
2013-07-11 00:00:57 +00:00
YuviPanda
19f9aed040 Do not leak a TypedArray instance
Change-Id: Ifea85ed88b7054af7b7f8c36ab90cdf9fca36597
GitHub: https://github.com/wikimedia/apps-android-commons/pull/26
2013-07-10 21:59:27 +00:00
YuviPanda
81e79cf096 Make thumbnails load faster by loading smaller Thumbnails
GitHub: https://github.com/wikimedia/apps-android-commons/pull/25
Change-Id: I0af540a1d84348a7a3e67c6037cd509b88b84b21
2013-07-10 20:44:59 +00:00
Brion Vibber
35736733c3 Fix for 'download' on media detail page on Honeycomb
DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED is
documented as appearing in 3.0 (api 11) but causes a crash on
a GoogleTV 2 (Honeycomb-based) device.

Skipping it for Honeycomb as we do for Gingerbread; your media
goes into the 'Downloads' directory and can be found there, but
there's no notification on completion.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/24
Change-Id: I4b5b0c0ffc0d9bfa8d1ff524d531022ba8f3f9f8
2013-07-10 01:07:22 +00:00
Translation updater bot
1b6d74f7ca Localisation updates from http://translatewiki.net.
Change-Id: I4163b07b1154ee20bac2ef1a204ac048eec252ad
2013-07-08 07:38:02 +00:00
YuviPanda
62e0605ddd Apply same styles as Gingerbread to Honeycomb
Bug: 50871

Change-Id: I3c4016c7ef1ba18cb39e4def9a96bed2c720c584
GitHub: https://github.com/wikimedia/apps-android-commons/pull/22
2013-07-06 22:03:15 +00:00
Ragesoss
a9a7935828 switch to correct mailTo address for crash reports
The crash reports were pointed at mobile-feedback-l@wikimedia.org,
which does not exist. Change to the correct address,
mobile-feedback-l@lists.wikimedia.org

Change-Id: Ibfe09713c81ce4310e0c63cbc47afdf878e70113
2013-07-03 15:54:26 -04:00
Translation updater bot
838e356eb5 Merge "Localisation updates from http://translatewiki.net." 2013-07-01 20:05:22 +00:00
YuviPanda
c6e8d99f98 Updated CHANGELOG and bumped version number
Change-Id: I02817491da68bcf005fad784150a1fa4134b39d4
2013-07-01 22:12:07 +05:30
YuviPanda
d3f45fe9cd Revert "Use non-beta icons, add icon assets under scratch"
This reverts commit 811a23c17f.

Wait until final release for 'new' icons

Change-Id: Iccf32bb8d616f39da6f5d01ff18d360ead73ebdc
2013-07-01 22:11:52 +05:30
Translation updater bot
a3a1981033 Localisation updates from http://translatewiki.net.
Change-Id: I9e7df009e5e99049ffe1f58bcfb23cd4a6da5a22
2013-06-30 16:55:22 +00:00
Brion Vibber
6c97d3e01b Bug 48995: Add acceptable use 'tutorial' to app
Initial port of the acceptable use tutorial from iOS app. This version uses static images and is not yet animated. Indicator circles on the pager are done using Apache-licensed https://github.com/JakeWharton/Android-ViewPagerIndicator -- imported via maven. Currently the tutorial launches when we reach the login screen (as when first installing the app or creating a new account from system settings). You can either 'back' out of it or page through and hit the 'yes' button.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/20
Change-Id: Ibc444102e28a55bfa7bbae601ff0c56268a0c7dd
2013-06-24 14:24:38 -07:00
Translation updater bot
d1ee62d08c Localisation updates from http://translatewiki.net.
Change-Id: I57c836735a9535277f3a6a00f2bcf31d46e7912e
2013-06-24 13:48:06 +00:00
YuviPanda
032d1164a5 Do not dismiss progress dialog when user taps outside in LoginActivity
Change-Id: Ib3954655871532ac01df0cd428ae09e9f0551855
GitHub: https://github.com/wikimedia/apps-android-commons/pull/21
2013-06-20 19:48:59 +00:00
YuviPanda
00c0ccea49 Display summary line for license with current license text
Change-Id: Id7f524f46ef336046978766131b896f3147f0a54
GitHub: https://github.com/wikimedia/apps-android-commons/pull/19
2013-06-18 18:50:28 +00:00
YuviPanda
48a2363051 Add icons to menu items (Gingerbread support)
Change-Id: I96bf3e2bb74ae3c0503d10a33064e865e42f97ad
GitHub: https://github.com/wikimedia/apps-android-commons/pull/18
2013-06-18 18:04:59 +00:00
YuviPanda
55525bc100 Allow users to select preferred license for their contributions
Needs some UI love on both selection & intimation, but works otherwise

People can pick from CC BY-SA, CC BY, or CC0. The commons templates
are set using {[self}}, which I think is good enough.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/14
Change-Id: Iffca6f75c63de6fbe61c4dc41b93dd5f692065a5
2013-06-18 08:43:17 -07:00
YuviPanda
86a39e9d13 Better rounding for width, avoids pixelation in large displays
Bug: 49718

Change-Id: I67541852b9bcb20fbb4b0af4b3900f2af4ace7bc
GitHub: https://github.com/wikimedia/apps-android-commons/pull/15
2013-06-18 08:16:43 -07:00
Brion VIBBER
e05053933d Merge "Fix crash on Android 2.3 caused by missing method" 2013-06-18 15:00:35 +00:00
YuviPanda
c4cca36fb9 Remove Machine specific IML files
Change-Id: Icc59a5738f522f601e68dde6a080a5d4c37b0a85
GitHub: https://github.com/wikimedia/apps-android-commons/pull/17
2013-06-18 14:46:42 +00:00
YuviPanda
1f61f310e1 Fix crash on Android 2.3 caused by missing method
Bug: 49716

Change-Id: I34d34fbefc98a943d55dc6beb6c116f0f7f5e29c
GitHub: https://github.com/wikimedia/apps-android-commons/pull/16
2013-06-18 14:38:42 +00:00
YuviPanda
052439a2d5 Merge "Persist width & height to Parcelables" 2013-06-18 01:12:26 +00:00
Brion Vibber
e6ef53429d bug 47671 -- don't show crashy photo button if no camera present
We were crashing when trying to take a photo if no camera was
present on the device, since no activity can be found for the
camera intent and an exception is thrown.

Work around this by simply checking if the device has a camera
via the package manager feature checks, and hiding the menu item
if relevant.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/13
Change-Id: I635946ed32cf768917db4a8dff0058061e45e6ec
2013-06-17 22:21:36 +00:00
Translation updater bot
2256c34947 Merge "Localisation updates from http://translatewiki.net." 2013-06-17 21:49:40 +00:00
YuviPanda
b6d3a3f7c6 Persist width & height to Parcelables
Makes sure value is persisted when passing from an activity to
another

Change-Id: I9ad12bd794cb3bceb7cf94246bc40f4b80d4815b
GitHub: https://github.com/wikimedia/apps-android-commons/pull/12
2013-06-17 21:19:46 +00:00
YuviPanda
b0bc8d0532 Add a progress bar to display upload progress, instead of just text
Change-Id: Id858ce3e508031435f7ceda3b2ffe2372b0c5510
GitHub: https://github.com/wikimedia/apps-android-commons/pull/11
2013-06-17 17:48:50 +00:00
Brion VIBBER
0d70ec6f80 Merge "Maintain max width / height info to speed up image downloading" 2013-06-17 17:41:49 +00:00
YuviPanda
305e076dbf Maintain max width / height info to speed up image downloading
If we ever download an image's original, we'll save its width and
height. This ensures that we don't try to fetch thumbnails that are
larger than the image itself too often, reducing 500s and improving
performance much.

TODO: Save image's width / height during upload process itself

GitHub: https://github.com/wikimedia/apps-android-commons/pull/8
Change-Id: Ice11cfabab96999b0d07b965d4515b47c1fff428
2013-06-17 16:59:31 +00:00
Translation updater bot
48e603e743 Localisation updates from http://translatewiki.net.
Change-Id: I0626c903aebb0f99f7943c830d90dce78f0a9b82
2013-06-17 11:27:56 +00:00
YuviPanda
848203a9aa Add .gitreview
Change-Id: I0174f574e46a3d16e31e2684189cadaeb1853a18
GitHub: https://github.com/wikimedia/apps-android-commons/pull/10
2013-06-17 10:44:28 +00:00
YuviPanda
94ba7d4e69 Merge "Fix download title to make more sense" 2013-06-16 12:41:53 +00:00
YuviPanda
4de5c124e1 Do not crash in details view if we try to view local image
Makes sure that if we don't have an image set, we just do nothing
rather than crash badly

Change-Id: Id1947be4cda1dff1610c69213d7ada986c6a9c67
GitHub: https://github.com/wikimedia/apps-android-commons/pull/9
2013-06-14 14:34:56 +00:00
YuviPanda
65a01c4459 Disallow newlines in multiple upload edit title window
Bug: 46761

Change-Id: Ieb948364bee8828937bc488549d1dbf5ce7b6cd6
GitHub: https://github.com/wikimedia/apps-android-commons/pull/7
2013-06-13 20:33:44 +00:00
YuviPanda
12fac7ef35 Fix download title to make more sense
Set title to file name, and description to app name

Change-Id: I68778959cf9b6abd42b223c4866387c4880fd835
GitHub: https://github.com/wikimedia/apps-android-commons/pull/6
2013-06-13 19:58:26 +00:00