Commit graph

6386 commits

Author SHA1 Message Date
YuviPanda
e6a8f4d626 Cleanup contributions state when service starts.
This will clean up stale 'Uploading' or 'Queued' entries that
failed to do so because of service crashes
2013-02-08 17:34:50 +05:30
YuviPanda
297f3277de Tap to retry failed uploads implemented
UploadService can now be bound to as a local service. Yay!
2013-02-08 16:34:41 +05:30
YuviPanda
91aa440eac Refactor a little bit to avoid too much Intent passing around 2013-02-08 03:08:52 +05:30
YuviPanda
9ea843b8a9 Make UploadService a Service rather than an IntentService 2013-02-08 02:57:38 +05:30
YuviPanda
df950dec50 Added qq translation strings & removed unused strings
Using qq instead of qqq because Android doesn't support 3 letter
language codes
2013-02-07 23:24:06 +05:30
YuviPanda
ba76b5fe0f Remove dead code 2013-02-07 04:26:10 +05:30
YuviPanda
d53a8e6f89 Visual fixes for GridView in 2.3 2013-02-07 04:25:59 +05:30
YuviPanda
af73954cd1 Include tracking template on all uploads 2013-02-07 03:50:37 +05:30
YuviPanda
1986b2455c Do not add duplicate photos when syncing 2013-02-07 03:39:46 +05:30
YuviPanda
b8dd312869 Save canonical filename of uploaded files
Also display filenames in a 'pretty'ier way
2013-02-06 19:16:51 +05:30
YuviPanda
b4c1c2a06c Change DOWNLOAD to UPLOAD appropriately in constants
I am a geraffe
2013-02-06 17:08:27 +05:30
YuviPanda
b4bdff5fc1 Added GPLv2 COPYING file
Copied from mediawiki/core
2013-02-06 16:40:49 +05:30
YuviPanda
9f51fdf9b4 Re-jiggle sort order of contributions 2013-02-06 03:37:05 +05:30
YuviPanda
eb3f0a4d1c Name the sync adapter for contributions 2013-02-06 03:26:07 +05:30
YuviPanda
859065f2d9 Enable contributions sync provider by default! 2013-02-06 03:21:43 +05:30
YuviPanda
eac6807fe3 Added Sync Provider for syncing previous contributions 2013-02-06 03:05:01 +05:30
YuviPanda
4abf3156e7 Enforce signin before my contributions is visible 2013-02-04 19:38:38 +05:30
YuviPanda
546e7a1276 Updated IDEA project file 2013-02-04 03:02:28 +05:30
YuviPanda
23af3c16ce Support for content URIs that do not report their size
Also brought back ACTION_GET_CONTENT - people should pick from wherever
they want!
2013-02-04 03:01:51 +05:30
YuviPanda
399609a9d3 Only pick images that we are 100% sure we can upload
Means nothing that is synced to picasa, etc
2013-02-04 02:46:21 +05:30
YuviPanda
cff7ff8437 Add clarifying comment 2013-02-04 02:14:30 +05:30
YuviPanda
959cff3ae2 Show upload progress in my contributions
Abandoned local broadcast based approach, and 'went with the flow'.
Now have a 'transferred' column in sqlite database & the
content provider
2013-02-04 01:28:30 +05:30
YuviPanda
d1f0539bbe Fixed typo when checking for upload success 2013-02-04 01:26:21 +05:30
YuviPanda
59caee38a9 Show failed uploads in my contributions 2013-02-04 00:34:59 +05:30
YuviPanda
a57d0316f8 Have 'Pick from Camera' work on Non-Samsung phones
Implement hack laid out in http://stackoverflow.com/a/5054673/17865

Thanks to Reedy & ragesoss for testing!
2013-02-03 01:58:55 +05:30
YuviPanda
ad0377a20a Added ACRA error reporting (via Email) 2013-02-03 00:09:01 +05:30
YuviPanda
95c659afca Make contribution thumbnails square on grids (sortof) 2013-02-02 23:42:22 +05:30
YuviPanda
35d9e8f69c Adjustmenst for better experience in tablets 2013-02-02 23:33:19 +05:30
YuviPanda
d319132c1b Avoid loading the same image multiple times.
Prevents 'flashing' when content of a list item changes
2013-02-02 22:48:30 +05:30
YuviPanda
9139f29716 Switch to Dark Action Bar theme 2013-02-02 20:48:53 +05:30
YuviPanda
9724bfd8f5 Sort images in my contributions as people would expect them to 2013-02-02 20:01:39 +05:30
YuviPanda
006558ccd3 Add support for uploading pictures taken from camera 2013-02-02 17:49:38 +05:30
YuviPanda
999b8a0c0e Added menu option to Upload from Gallery 2013-02-02 17:12:33 +05:30
YuviPanda
86711188e1 Moved strings in code back to strings.xml 2013-02-02 16:17:17 +05:30
YuviPanda
bc036c929d Minor cosmetic changes 2013-02-02 15:39:43 +05:30
YuviPanda
569143e44b Indentation fixing.
Unsure how it got so out of whack to begin with
2013-02-02 15:30:01 +05:30
YuviPanda
da92ec7235 Show uploaded date in my contributions 2013-02-02 15:22:25 +05:30
YuviPanda
fe47b00081 Use Android Universal Image Loader library for loading images 2013-02-02 13:31:27 +05:30
YuviPanda
6c7997fdfa Remove dividers between Contributions 2013-02-02 12:58:22 +05:30
YuviPanda
d8c6c304fd Set title for launcher activity appropriately 2013-02-02 03:19:51 +05:30
YuviPanda
822f4eff50 Show contributions only after user has logged in 2013-02-02 02:36:11 +05:30
YuviPanda
1ac8d3d879 Show images of your contributions (from current device) 2013-02-02 02:30:51 +05:30
YuviPanda
d128e74fc8 Add missing layout file for my contributions 2013-02-02 01:58:30 +05:30
YuviPanda
dff41ae33d Cleanup styles, remove redundant ones. Fix My Contributions title 2013-02-02 01:58:10 +05:30
YuviPanda
e914568f6e Show my contributions when someone taps the Ongoing Notification 2013-02-02 01:45:44 +05:30
YuviPanda
384f3dd166 Fix potential SQL Injection hole 2013-02-01 02:49:27 +05:30
YuviPanda
6228c613b7 Typo Fix 2013-02-01 02:49:13 +05:30
YuviPanda
2260078fa7 Added working (sortof) My Contributions screen
Uses CursorLoader to appropriately load and update stuff as
things change. Need to update UI to show things properly.

Also refactored things a fair bit.
2013-02-01 02:23:29 +05:30
YuviPanda
d1b088581f Use Filename as key for content URI, not id 2013-01-30 23:26:22 +05:30
YuviPanda
64e16ad1cc Add missing DbOpenHelper class (required by prev. commit) 2013-01-30 22:30:42 +05:30