Commit graph

215 commits

Author SHA1 Message Date
YuviPanda
6a99255a1e Upgrade version of UIL 2013-03-15 16:11:40 +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
f768ce4756 Moved "success toast" from generic UploadTask 2013-03-15 03:28:11 +05:30
YuviPanda
c57d00dda5 Remove some Log lines that were spamming the log 2013-03-14 03:46:08 +05:30
YuviPanda
87b81005ab Use Apache HTTPClient for EventLogging
Using different HTTP implementations in different parts of the code
is asking for trouble
2013-03-14 01:13:17 +05:30
YuviPanda
b9f6c65f45 Refactored StartUploadActivity to it's own separate class 2013-03-13 16:02:16 +05:30
YuviPanda
10b7a97f66 Do not crash if Android doesn't know the mimetype of the file 2013-03-13 14:14:57 +05:30
YuviPanda
0978a2c11a Make sure that notifications do not display the file extension 2013-03-13 01:57:58 +05:30
YuviPanda
bee70b58ab Never show file extension in display title of images 2013-03-13 01:55:32 +05:30
YuviPanda
625339cb51 Append extension in code rather than leave it to the server
This fixes problems where titles have a '.' in them
2013-03-11 16:11:25 +05:30
YuviPanda
7d8bf155c8 (hopefully) fix random crashes caused by reading parcelable wrong 2013-03-06 19:30:14 +05:30
YuviPanda
dd6f6c45a1 Properly encode EventLogging and other methods being sent out
Upgrading java-mwapi to upgrade http-fluent with unicode fixes

Bug: 41773
2013-03-02 06:24:19 +05:30
YuviPanda
63177ec529 Minor string resource fixups 2013-03-02 04:51:07 +05:30
YuviPanda
74c7928997 Rudimentary ogg uploading support
Requires that the file already be in ogg format.
Can not be picked from inside the app. You need to use 'share'
feature from some other app to send it to this
Has display oddities. No thumbnails
2013-03-01 22:08:15 +05:30
YuviPanda
203aa6721d (Bug 45437) Retain creator & desc information across restarts
Also contains proper code for doing incremental upgrades of the
database schema
2013-02-28 02:13:57 +05:30
YuviPanda
e324206930 Update EventLog with appropriate wiki name
Helps differentiate between testwiki & commons
2013-02-28 00:04:26 +05:30
YuviPanda
e05f55dbff (Bug 45401) Fix crash in older versions of Android 2013-02-27 23:10:38 +05:30
YuviPanda
d2ab678f23 (Bug 45401) Make transparent images have a white background
Also switches to ViewHolder pattern for better performance
2013-02-27 17:18:14 +05:30
YuviPanda
629f222ccb Switch to using UIL for Share activity as well
Should fix the OOM issues and be in general more reliable
2013-02-27 16:14:08 +05:30
YuviPanda
05828958fc (Bug 45472) Consider network failure during a sync request a 'soft'
error
2013-02-27 07:03:01 +05:30
YuviPanda
61ed62c6b3 (Bug 45453) Make Title required in Share dialog 2013-02-27 06:21:45 +05:30
YuviPanda
78ba373c80 Do not enable 'Login' button if either password or username is empty 2013-02-27 05:43:06 +05:30
YuviPanda
b84d00330e (Bug 45370) Improve Error messages on Login Screen 2013-02-27 05:31:33 +05:30
YuviPanda
f2a3666e0e Revert "Throw if no accounts are found"
This reverts commit 12488c01d4.

Throws in the Login screen. Stupid idea.
2013-02-27 05:01:06 +05:30
YuviPanda
12488c01d4 Throw if no accounts are found
Should crash than put out bogus 'User:null' source tags
2013-02-27 03:46:01 +05:30
YuviPanda
df95f4791a (Bug 45404) Add {{subst:unc}} to all uploads 2013-02-27 02:28:35 +05:30
Matthew Flaschen
a2f63f17c7 Add newlines to Information tag so it is easier to edit. 2013-02-25 19:29:50 -05:00
YuviPanda
fcd13c9a71 (Bug 45372) COMMIT to the database at lesser intervals 2013-02-26 01:55:25 +05:30
YuviPanda
6cba1556ab Horrible hack to keep page state during screen rotates 2013-02-25 17:47:16 +05:30
YuviPanda
2649014416 Guard against a potential NPE 2013-02-24 01:53:57 +05:30
YuviPanda
64e67d3ce0 Make CREATOR for parcelable items static 2013-02-23 22:01:20 +05:30
YuviPanda
4eb11454bd Slight refactoring of MediaDetailProvider 2013-02-23 21:56:52 +05:30
YuviPanda
7f1ab39683 Show loading progress for images in detail view 2013-02-23 16:47:13 +05:30
YuviPanda
b6400139ae Add 'view in browser' action to detail page 2013-02-23 16:26:33 +05:30
YuviPanda
48b6e5cc53 Show only contextually appropriate actions in Contributions
Camera / From Gallery only on Contributions List view
Share only on Detail View
2013-02-23 15:40:44 +05:30
YuviPanda
95320396a5 Add appropriate 'CREATOR' field to Media class for Parcelable 2013-02-23 15:21:25 +05:30
YuviPanda
ef0c192cd2 Add Share button to image Details page 2013-02-23 14:52:15 +05:30
YuviPanda
2e421b5d60 Don't dispose of services if they don't need disposing
Was causing random crashes intermittently because we were trying
to unbind services that were not bound.
2013-02-23 02:26:27 +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
0be55faffd Show number of contributions in activity subtitle 2013-02-22 18:32:01 +05:30
YuviPanda
700bfee178 Add proper 'up' affordance behavior 2013-02-22 17:41:29 +05:30
YuviPanda
f5279d634e Retreive all contributions ever, not just first 500 2013-02-22 16:59:17 +05:30
YuviPanda
606e3391f5 Retain position of Contributions grid across Activity destroys
Doesn't 'jump' to start when rotation changes
2013-02-22 01:45:15 +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
de39502292 Moved Media and Contributions to be Parcelable 2013-02-21 21:04:45 +05:30
YuviPanda
9476ec6484 Start using Fragments appropriately 2013-02-21 12:14:53 +05:30
YuviPanda
540b760c76 Cleanup of ContributionsActivity to stop using Cursor directly 2013-02-21 10:04:12 +05:30
YuviPanda
b37f1f3b21 Add appropriate User Agent 2013-02-20 20:27:20 +05:30
YuviPanda
a89e2c8214 Add Device / Platform / App info to EventLogging 2013-02-20 19:22:23 +05:30