Commit graph

179 commits

Author SHA1 Message Date
Translation updater bot
a384050b98 Localisation updates from https://translatewiki.net.
Change-Id: Ifa33434911c959f0e072dce2565cef35f241af9c
2013-12-17 08:51:41 +00:00
Translation updater bot
d12332ae16 Localisation updates from https://translatewiki.net.
Change-Id: Ia36964a0616e18a3aef74cf4541e1361653a2ff8
2013-12-05 22:00:44 +00:00
Translation updater bot
0ea993a101 Localisation updates from https://translatewiki.net.
Change-Id: Ia0c77aa14b2b6969671b16a1bc7c81b40a101f8e
2013-12-02 08:24:56 +00:00
Translation updater bot
d1b4fd404e Localisation updates from http://translatewiki.net.
Change-Id: I994ab5a45f0e93128bd50b139a045305df00a7f2
2013-11-21 06:38:32 +00:00
Translation updater bot
e2750ea361 Localisation updates from http://translatewiki.net.
Change-Id: I3b01419f3525b87b3044281df7811148e84a5667
2013-11-19 06:41:57 +00:00
Translation updater bot
8601c9dc86 Localisation updates from http://translatewiki.net.
Change-Id: Ia596e5fb095acda3e799ff8ded6b136e2e17de7b
2013-11-04 16:03:24 +00:00
Translation updater bot
99ec897e41 Localisation updates from http://translatewiki.net.
Change-Id: Iae3455ce271b8b9151f0fc63d7178be6cdbe8f94
2013-10-27 19:16:39 +00:00
YuviPanda
da8db5a2ca Add refresh button only for Campaigns
Temp. hack to let people see new images when they come through

Change-Id: I986bc274ccebd53fef75dbaeffcdff891a4f77bf
2013-10-23 20:07:07 +05:30
Brion Vibber
e46a1fac88 UI matching in detail view to iOS version
* ListView -> LinearLayout for categories
* Add labels for fields
* Cool transparent rectangles!
* Padding adjustments...
* Darken image when scrolling detail panel up
* Placeholders for empty desc, license fields

Change-Id: I0e4c4348e741af3560d455ee4b793c2743626fbf
2013-10-21 14:47:26 -07:00
Translation updater bot
5e1fa56f36 Localisation updates from http://translatewiki.net.
Change-Id: I90f75515b63fd9bd9c5cb2c5699ef1ee748068a2
2013-10-19 19:36:26 +00:00
Brion VIBBER
e9b1218a88 Merge "Update Github repo address" 2013-10-18 18:17:17 +00:00
Brion VIBBER
786e1eb580 Merge "Merge branch 'campaigns'" 2013-10-18 18:07:21 +00:00
YuviPanda
1bc0b781d1 Fix which menu items get displayed at which state
Only show actions that are applicable to each state.
Also clarify that 'abort' actually only 'deleted' failed
uploads. We have no way to abort an in-progress upload yet

Change-Id: I2c18273e603e3ca6b1e03f83b7404e96b6d8bad0
2013-10-16 02:13:54 +05:30
YuviPanda
064dbb0df6 Merge branch 'campaigns'
Conflicts:
	commons/res/values/strings.xml
	commons/src/main/java/org/wikimedia/commons/Media.java

Change-Id: Ib8c74cbf88630f11b3fbfee903800e7acf7b2fd4
2013-10-15 22:54:03 +05:30
Translation updater bot
b7c1f44d1e Localisation updates from http://translatewiki.net.
Change-Id: I525dda76b79e20e1c82a7411ad9b2cee2f526612
2013-10-14 08:52:22 +00:00
Timothy Gu
168b09918e Update Github repo address
Signed-off-by: Timothy Gu <timothygu99@gmail.com>

Change-Id: I5c3c834956ef2e9c51c8b2f404f620a2d8cbc364
2013-10-11 20:36:30 -07:00
Brion Vibber
9206e78e34 Merge "Extract and show license key" 2013-10-09 21:09:13 +00:00
Brion Vibber
4c45c88ade Extract and show license key
List of available licenses is pre-extracted from UploadWizard
MediaWiki extension. This should eventually be switched to use
some live query to the site configuration.

The license display is more or less localizable, for known templates.
Unrecognized templates specified as parameters to {{self}} will be
recognized (unlocalized) but others may not be.

Change-Id: I9df5fe807798a191a3bb0a45464760c75f19e366
2013-10-09 11:17:16 -07:00
Translation updater bot
d58c473726 Localisation updates from http://translatewiki.net.
Change-Id: I4f163709b5f3cb264a6695bf8fc491f87153d0c3
2013-10-07 19:46:01 +00:00
Translation updater bot
cb842cc540 Localisation updates from http://translatewiki.net.
Change-Id: I937f2b05bb052e39902f4ef79a576f5bfd6003d5
2013-10-07 19:45:33 +00:00
Translation updater bot
4ccdf3510c Localisation updates from http://translatewiki.net.
Change-Id: Iaaa732ca6119ff3455b36f0a484d0773c01f0001
2013-10-05 21:47:28 +00:00
Translation updater bot
8ac76533a6 Localisation updates from http://translatewiki.net.
Change-Id: I1a340698cb73978c059d0b4a50a187cd067e1637
2013-09-26 12:12:22 +00:00
YuviPanda
2503f54731 Use a SyncProvider to sync all Campaigns
The SyncService constantly deletes and re-creates the campaigns
in the background to make sure they are up to date

FIXME: Handle deleted or renamed campaigns

Change-Id: I5d03995ada219481ea38887a8ea6d59fa11d2ac8
2013-09-17 11:44:30 -07:00
Translation updater bot
0055c74756 Localisation updates from http://translatewiki.net.
Change-Id: Id611e0609d6f0e84693b6ade7ec660f012e625f8
2013-09-09 18:49:26 +00:00
Translation updater bot
a12434ad2b Localisation updates from http://translatewiki.net.
Change-Id: Ib7d9801c2dbbfc998e41e3e24b181227188464c8
2013-09-02 18:54:11 +00:00
Brion Vibber
4df8ec8fa9 Media detail page redone as a "slide-up" panel.
Loads and displays default or English description, and categories.
No caching of this info yet.

Scrollable pane is a ListView, with the title/desc/category label
in a 'header' view along with a spacer view. The height of the spacer
is set dynamically to the height of the total fragment minus 48dp,
giving room for an initially-visible title section and a little
spillover so you can see it's scrollable.

Clicking on a category in the cats list opens the category page in
an external web browser. In the future this should open the category
within the app, but we don't have a per-cat view yet.

Description and category list are not yet editable.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/41
Change-Id: I46d0a77481dbe64a268a72f3efe49ae72168541f
2013-08-27 03:51:14 +05:30
YuviPanda
c5042b0066 Explicitly mention version of CC licenses
Change-Id: Iccf82225f9f50b427380f790a2fd0fc25ca024ca
2013-08-21 01:04:42 +05:30
Translation updater bot
4fa4a741d7 Localisation updates from http://translatewiki.net.
Change-Id: I6e2af960708364621a31ea349baaea9d02597ebd
2013-07-30 17:43:09 +00:00
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
Translation updater bot
3bab3be4a0 Localisation updates from http://translatewiki.net.
Change-Id: Iebcb3d08fa9f79d59ea77fbf246ff416ead5eaa2
2013-07-22 15:44:46 +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
Translation updater bot
d5c90801c5 Localisation updates from http://translatewiki.net.
Change-Id: I6144cec8c24d6f7f1065b8084b7e5d49b7e85eb2
2013-07-14 21:25:03 +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
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
Translation updater bot
838e356eb5 Merge "Localisation updates from http://translatewiki.net." 2013-07-01 20:05:22 +00:00
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
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
Translation updater bot
2256c34947 Merge "Localisation updates from http://translatewiki.net." 2013-06-17 21:49:40 +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
Translation updater bot
48e603e743 Localisation updates from http://translatewiki.net.
Change-Id: I0626c903aebb0f99f7943c830d90dce78f0a9b82
2013-06-17 11:27: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
154411b15b Add subtle way to show people where uploads are going to
Says 'testwiki' or 'commonswiki' at the bottom of About

Change-Id: I757bb5820985e950476e1c9b4d274e35dfcc7b96
GitHub: https://github.com/wikimedia/apps-android-commons/pull/5
2013-06-12 23:34:11 +00:00
YuviPanda
57888260ec Volley images
Add support for using Volley to load remote images instead of UIL

1. Gives us Caching
2. Load images at full resolution, rather than hardcode them. This is done by trying to fetch an image at highest width possible for the particular view. If it 500s, we assume that the image is smaller than the requested width and just request the full size image
3. Created a MediaWikiImageView, to which you can pass a Media object and it will display it. Takes care of sizing, etc. Optionally you can also specify a view to use as the 'loading' view.

TODO:
Loading from content:// URIs still use UIL. Need to write a Volley HTTP Stack that can fake responses for content:// URIs.

GitHub: https://github.com/wikimedia/apps-android-commons/pull/1
Change-Id: Ia21a7b19fefa552d5a0b013085d0f5f1f80dc5ff
2013-06-12 20:44:57 +00:00
Brion Vibber
a28fc9a6ff Work around compilation failure with % encoding in strings 2013-06-10 14:06:31 -07:00