Commit graph

254 commits

Author SHA1 Message Date
YuviPanda
b16d89fb49 Fix intermittent apparently random crash
I have no idea why this crashed. Adding a guard just in case
2013-03-30 05:33:52 +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
ff1a5aed1c Do not show all categories when filter is empty 2013-03-30 04:27:14 +05:30
YuviPanda
de5968d75e Add proper categorization view on post upload 2013-03-30 03:52:56 +05:30
YuviPanda
36f90b51e1 Prevent ModificationsSyncAdapter from looping forever 2013-03-29 15:37:46 +05:30
YuviPanda
7f720d1f3e Handle menu enabling / disabling appropriately 2013-03-28 04:24:14 +05:30
YuviPanda
8a7966687a Create a separate api object for modifications sync
This prevents the same HTTPClient being re-used across different
threads, causing problems

Long-term fix needed, however
2013-03-28 04:14:55 +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
03277af6cc Add EventLogging for Share attempts 2013-03-26 23:40:29 +05:30
YuviPanda
3bf1e3b913 Fix UploadService to have appropriately instantiable constructors 2013-03-22 02:10:28 +05:30
YuviPanda
67e3b645cb Do not hardcode service name in HandlerService 2013-03-21 23:47:14 +05:30
YuviPanda
cad50fb4c6 Set user name properly for multiple uploads! 2013-03-21 21:16:55 +05:30
YuviPanda
c5ac1651aa Cleanup Imports 2013-03-21 15:47:32 +05:30
YuviPanda
da2b77e4b0 Enure that db migrations are done properly 2013-03-21 00:52:04 +05:30
YuviPanda
408bb5bb70 Add isMultiple tracking parameter 2013-03-21 00:35:47 +05:30
YuviPanda
2e4264c16c Add constructor to StartUploadTask that takes a contribution 2013-03-21 00:35:26 +05:30
YuviPanda
90eb0d840d Slightly more robust uploading 2013-03-20 21:47:36 +05:30
YuviPanda
694a22c30d Fix source not being set, causing EL to fail 2013-03-20 21:44:32 +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
6a2f0e203c Properly check for action being sent 2013-03-20 14:28:10 +05:30
YuviPanda
b2db85ad06 Don't re-request authKey on screen rotates for AuthenticatedActivity 2013-03-20 14:03:42 +05:30
YuviPanda
afa5c2c956 Don't show up view / share actionbar items in edit mode 2013-03-20 04:59:39 +05:30
YuviPanda
20bd488fa4 Add 'UP' support to Multiple uploads 2013-03-20 04:49:40 +05:30
YuviPanda
d18533eb87 Prevent random crashes while paging through uploads list
TODO: I don't see why this happens. GRRRR
2013-03-20 04:44:38 +05:30
YuviPanda
dbca99f38e Hide softkeyboard when leaving uploads list view 2013-03-20 04:43:51 +05:30
YuviPanda
be215f1dda Avoid overlapping uploads list on multiple uploads activity 2013-03-20 03:41:04 +05:30
YuviPanda
45f05c2713 Hide menus for upload detail view 2013-03-20 02:47:10 +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
5ae337ca0f Move UIL Image Display Options building to common method 2013-03-17 18:42:49 +05:30
YuviPanda
da3e40b791 Make sequence numbers work for multiple uploads 2013-03-17 15:15:04 +05:30
YuviPanda
0fe1ef73e5 Do not crash multiple uploads screen on screen rotate 2013-03-17 03:59:04 +05:30
YuviPanda
154a559b86 Refactor the multiple uploads list view into a fragment 2013-03-17 03:51:15 +05:30
YuviPanda
ad89f2564f Minor additions to the Contribution DOM 2013-03-17 03:49:47 +05:30
YuviPanda
dbe178c33b Add a persistant 'tag' field to Media
These aren't persisted to disk
2013-03-17 03:49:08 +05:30
YuviPanda
519f639d21 Show file count in title for multiple uploads 2013-03-16 12:01:26 +05:30
YuviPanda
cce2932a5a Only leave foreground lock when absolutely no more uploads to do
This *might* fix the service dying prematurely in low memory
conditions.
2013-03-16 02:19:19 +05:30
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