Commit graph

61 commits

Author SHA1 Message Date
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
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
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
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
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
d8299d4ddf RTL: use start/end properties as well as left/right 2013-05-21 09:59:08 -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
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
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
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
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
YuviPanda
f721b163d1 Prevent upload status from overlapping with the title of upload
Bug: 47458
2013-04-24 01:24:14 +05:30
YuviPanda
b62f14c7c7 Add minimal About activity 2013-04-09 22:54:14 +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
264483838c Add descriptive text to tell people how to skip categorization 2013-03-30 05:33:48 +05:30
YuviPanda
0176995612 Show explanatory text when no categories are found for search text 2013-03-30 04:52:35 +05:30
YuviPanda
cdbd24ad2b Make categories search line single line
Multi line probably just confuses the code badly
2013-03-30 04:06:19 +05:30
YuviPanda
de5968d75e Add proper categorization view on post upload 2013-03-30 03:52:56 +05:30
YuviPanda
1816f792f8 Separate ShareView into an activity + a fragment 2013-03-28 04:13:50 +05:30
YuviPanda
8462b4bec1 Design mofifications to single share view 2013-03-27 19:34:46 +05:30
YuviPanda
780af9d07d Initial cut of Modifications syncing
Provides one naive modifier (which blindly adds categories).
Provides a sync service & a content provider. Insert appropriate
items into the  content provider and wait for the sync to happen.

Sync currently likes to 'fail early' rather than recover.

Blank post upload activity also present, simply adds random category
to the page that was uploaded. Will need appropriate UI
2013-03-27 18:12:49 +05:30
YuviPanda
f7882e916d Fix theming on Share Window to look appropriate
Bug: 46543
2013-03-26 00:44:55 +05:30
YuviPanda
2976268291 Fix styling on 2.3
Also switch to Holo Dark, which is what we wanted anyway
2013-03-20 15:11:50 +05:30
YuviPanda
4977e0a800 Add editable swipeable multiple upload view
Major changes everywhere. Uses MediaDetailFragment for editing.
2013-03-20 01:17:17 +05:30
YuviPanda
154a559b86 Refactor the multiple uploads list view into a fragment 2013-03-17 03:51:15 +05:30
YuviPanda
e50f50cabc Added basic Multiple Upload support
Still needs work - needs detail view, categories & base description
2013-03-15 04:39:09 +05:30
YuviPanda
9aebac8c23 (Bug 45360) Restrict file names to 2 lines at most 2013-02-27 07:34:49 +05:30
YuviPanda
0ecbe5c605 (Bug 45393) Replace login subtitle with just the app name 2013-02-27 07:28:38 +05:30
YuviPanda
61ed62c6b3 (Bug 45453) Make Title required in Share dialog 2013-02-27 06:21:45 +05:30
YuviPanda
b84d00330e (Bug 45370) Improve Error messages on Login Screen 2013-02-27 05:31:33 +05:30
YuviPanda
909defefcf Do not use explicit labels for Title & Description in Share 2013-02-26 03:22:18 +05:30
YuviPanda
7f1ab39683 Show loading progress for images in detail view 2013-02-23 16:47:13 +05:30
YuviPanda
e44dd21023 Add fastscroll to Contributions View 2013-02-23 14:17:54 +05:30
YuviPanda
1be187bb87 Always center the Login layout 2013-02-23 14:17:01 +05:30
YuviPanda
d7d1de9504 Made LoginView Scrollable 2013-02-23 13:57:02 +05:30
YuviPanda
48b292ed25 Show sequence numbers in the background as images load in list
Idea from ragesoss
2013-02-23 02:24:22 +05:30
YuviPanda
6e3ee460a6 Minor style changes to the 'Share' screen 2013-02-22 19:21:32 +05:30
YuviPanda
ea6da19d3c Minor stylistic fixes 2013-02-22 00:47:40 +05:30
YuviPanda
0cb11284ff Add minimal detail view as a fragment 2013-02-21 21:09:04 +05:30
YuviPanda
9476ec6484 Start using Fragments appropriately 2013-02-21 12:14:53 +05:30
YuviPanda
1ec9be01f8 Fix to make notifications not crash in 2.3
This removes the progressbar from the notifications on 2.3, which
is much less than ideal. However after blindly debugging for about
a week, I couldn't really figure out a way to make custom views
in Notifications work across both platforms. So this will have
to do until I figure a proper way out.
2013-02-19 12:24:48 +05:30
YuviPanda
ee35a5c1d0 Minor size modifications to fit with 48 based android grid 2013-02-18 15:02:45 +05:30
YuviPanda
636132290c Removed unneccessary listView in LoginView 2013-02-17 11:54:35 +05:30
YuviPanda
d53a8e6f89 Visual fixes for GridView in 2.3 2013-02-07 04:25:59 +05:30
YuviPanda
95c659afca Make contribution thumbnails square on grids (sortof) 2013-02-02 23:42:22 +05:30