Commit graph

133 commits

Author SHA1 Message Date
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
Siebrand Mazeland
e11c1f2a73 Localisation updates from http://translatewiki.net. 2013-06-10 08:45:09 +00:00
Brion Vibber
e24ce770f1 Fix localizable formatted strings in About screen, part 1.
We can't use formatted strings directly because it breaks with
our localization tools. Grab an HTML string and turn it into
a formatted string.

Localized versions will have to be updated still, but that should
happen automatically at TWN.
2013-05-26 12:52:13 +02:00
Brion Vibber
0b00a9f54e Merge pull request #28 from brion/killbeta
Kill beta labeling; include icon assets in scratch
2013-05-26 02:10:09 -07:00
Brion Vibber
f24e013db3 i18nize 'Download' menu item 2013-05-21 15:43:51 -07:00
Brion Vibber
811a23c17f Use non-beta icons, add icon assets under scratch 2013-05-21 14:13:03 -07:00
Brion Vibber
2219717857 Remove unused extra icon 2013-05-21 14:03:02 -07:00
Brion Vibber
d8299d4ddf RTL: use start/end properties as well as left/right 2013-05-21 09:59:08 -07:00
Brion Vibber
a5017bbd58 LTR and RTL versions of standard 'send now' action bar icon 2013-05-21 09:31:43 -07:00
Brion Vibber
85428d28b0 Delete bogus unused 'upload' icons
Accidentally added these while adding the 'download' icons.
They are dupes of the download icons, not upload icons. :P
2013-05-20 14:16:41 -07:00
Brion Vibber
ca92bd6a90 Fix title text color in detail view on Gingerbread
Text color wasn't being set on the EditText, defaulted to black on Gingerbread.
Set to white to match the list.
2013-05-20 11:34:56 -07:00
Brion Vibber
c0a405c3c7 Disable spell suggestions in non-editable title view on detail page 2013-05-20 11:26:42 -07:00
Siebrand Mazeland
772a5280f9 Localisation updates from http://translatewiki.net. 2013-05-20 09:36:33 +00:00
Brion Vibber
5b761ea132 Open license page in browser when tapping on license line 2013-05-17 13:39:43 -07:00
Brion Vibber
eac7fdb575 Briefly mention CC-BY-SA on the upload info page! 2013-05-17 13:25:15 -07:00
Brion Vibber
2cb1c3afc8 Move all menu items into main action bar or overflow menu
We were using a split action bar, putting 2-3 buttons at the bottom
of the screen. This unfortunately makes it easy to hit the home/
back/etc buttons on the phone when going for the bottom area, plus
I just don't like it. ;) Taking it out for now.
2013-05-16 14:18:54 -07:00
Brion Vibber
5be2d939ea "Download" menu button on image detail page.
Saves original file into the SD card "Downloads" directory via
Android's DownloadManager service.

On Gingerbread the notification vanishes after downloda, but we
force the gallery to reindex the downloads area so you can still
manually bump over to Gallery.

On ICS/JB the notification hangs around and can be used to open
the saved file directly.

Note that on Gingerbread we have to download over HTTP because
DownloadManager didn't support HTTPS.

Included copy of stock 'upload' icon, flipped it for 'download'.
2013-05-16 13:13:34 -07:00
Siebrand Mazeland
12c9529bb5 Localisation updates from http://translatewiki.net. 2013-05-12 18:42:54 +00:00
Brion Vibber
7e113eb16d Merge pull request #16 from brion/delete-failed
Retry and delete buttons for failed items
2013-05-10 15:46:18 -07:00
Brion Vibber
e171d22fea Tweak input boxes so the IME doesn't eat fullscreen in landscape
android:imeOptions="flagNoExtractUI"
Will make screencasts suck less since they get forced to landscape...
2013-05-09 16:16:52 -07:00
Brion Vibber
d7ea80437a Add menu items for 'retry' and 'abort' on detail view 2013-05-09 15:18:18 -07:00
Siebrand Mazeland
ce66748950 Localisation updates from http://translatewiki.net. 2013-05-09 13:40:58 +00:00
Brion Vibber
5b8990be0e Localize messages for first sync / no images 2013-05-06 11:53:31 -07:00
Brion Vibber
04a1555082 Work in progress: waiting for first sync msg 2013-04-29 14:15:11 -07:00
Siebrand Mazeland
06ba377eb0 Localisation updates from http://translatewiki.net. 2013-04-28 17:49:46 +00:00
YuviPanda
e1d76e302d Mention changed LICENSE in about page 2013-04-27 00:36:00 +05:30
Brion Vibber
c37b18509d Fix flash of descriptive text before recent cats shown
Switch from hiding the "skip" text after looking up cats,
to hiding it initially and showing it after doing the local
search for recent cats.
2013-04-25 15:45:01 -07:00
Brion Vibber
e0e7f056d2 Merge pull request #9 from brion/recentcats
Store and show recently-used categories list
2013-04-25 10:28:34 -07:00
YuviPanda
f721b163d1 Prevent upload status from overlapping with the title of upload
Bug: 47458
2013-04-24 01:24:14 +05:30
Brion Vibber
a9b431cde0 Add XML/manifest bits for internal category content provider 2013-04-23 06:57:09 -07:00
Siebrand Mazeland
9288aec9d6 Localisation updates from http://translatewiki.net. 2013-04-21 12:29:15 +00:00
Siebrand Mazeland
34419ce68f Localisation updates from http://translatewiki.net. 2013-04-14 11:56:11 +00:00
YuviPanda
6a82b3e8e4 Make share target title to be app name 2013-04-11 02:40:38 +05:30
YuviPanda
11b1b272d4 Remove settings icon from menu
Looked very ugly on 2.3
2013-04-11 02:17:25 +05:30
YuviPanda
d76541ceec Add way to send feedback via email 2013-04-10 00:16:53 +05:30
YuviPanda
1d603cd9eb Add missing preferences xml file 2013-04-09 22:56:31 +05:30
YuviPanda
b62f14c7c7 Add minimal About activity 2013-04-09 22:54:14 +05:30
Siebrand Mazeland
73226fcd95 Localisation updates from http://translatewiki.net. 2013-04-07 17:09:31 +00:00
YuviPanda
1b89d96943 Add a settings screen, with a preference to disable tracking 2013-04-07 18:11:07 +05:30
Siebrand Mazeland
c429b7649d Localisation updates from http://translatewiki.net. 2013-04-07 10:36:50 +00:00
YuviPanda
b667bcb9d5 Trim whitespace in one of the messages 2013-04-01 18:45:32 +05:30
Siebrand Mazeland
7f34831388 Localisation updates from http://translatewiki.net. 2013-04-01 12:58:54 +00:00
YuviPanda
2ae198e74d Make explanatory category text work for both singular and plural
It is important that this text is localized, but since we can not
do localizations of plurals, I'm just making a copy edit
2013-03-31 09:48:50 +05:30
YuviPanda
da6e035878 Add post-upload categorization to Multiple Upload
Some of the related changes snuck in last commit too
2013-03-31 09:17:21 +05:30
YuviPanda
87c09c344b Move Multiple upload menu handling code to Fragment 2013-03-31 08:41:58 +05:30
YuviPanda
55fa11f6d0 Set title of categorization activity appropriately 2013-03-30 05:37:02 +05:30
YuviPanda
264483838c Add descriptive text to tell people how to skip categorization 2013-03-30 05:33:48 +05:30