Commit graph

93 commits

Author SHA1 Message Date
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
YuviPanda
de49db5999 Updated IntelliJ project file 2013-01-30 22:28:57 +05:30
YuviPanda
9540284b00 Added a Contributions Content Provider!
Also refactored Media class into a base class and a Contribution
subclass
2013-01-30 22:28:47 +05:30
YuviPanda
420ec8061c Show queued upload count only when it is > 1 2013-01-30 16:31:08 +05:30
YuviPanda
31f8aa4888 Pass correct length to the upload function 2013-01-30 15:33:54 +05:30
YuviPanda
71a9e2ce1c Add basic layout file for my contributions 2013-01-30 13:29:39 +05:30
YuviPanda
7919aa07a0 Refactor to send out Broadcasts events when uploading 2013-01-30 05:25:24 +05:30
YuviPanda
dd758a7964 Show count of uploads being queued up 2013-01-30 02:41:02 +05:30
YuviPanda
738cdd4c8a Have the Media class be parcelable 2013-01-30 00:27:47 +05:30
YuviPanda
96eff3fb38 Fixed bug causing delayed notification of uploading being in progress 2013-01-30 00:27:15 +05:30
YuviPanda
c9fea7e31c Do not undeploy before deploying to device by default 2013-01-29 19:30:00 +05:30
YuviPanda
6039cb3fea Fix performance problems with notifications freezing the phone.
I am a geraffe.
2013-01-29 14:39:04 +05:30
YuviPanda
da9fb88a73 (bug 44456)Setup themes to derive from ActionBarSherlock theme 2013-01-29 11:41:00 +05:30
YuviPanda
aab434d35e Do not force HTTP/1.0
Ryan_Lane updated the https servers to properly handle
Transfer-Encoding: Chunked. No need to force HTTP/1.0 anymore
2013-01-28 21:31:32 +05:30
YuviPanda
77aae7526e Update dependencies
New http-fluent fires progress listeners much less frequently
2013-01-28 21:26:19 +05:30
YuviPanda
b470ef7fc9 Remove Audio support for now 2013-01-28 15:43:00 +05:30
YuviPanda
1ca79137e6 Added README with Build instructions 2013-01-25 06:46:23 +05:30
YuviPanda
dc81ed61bf Add reference to Yuvi's Temperoary Repo
Since the com.google.android hosted at maven central appears
to be buggy
2013-01-25 06:29:49 +05:30
YuviPanda
0766643165 Upgrade version of Maven plugin. 2013-01-25 05:41:35 +05:30
YuviPanda
a640ba8fad Removed the integration tests 2013-01-25 05:06:32 +05:30
YuviPanda
e4e5bb6767 Back to sdk-deployer provided android jars 2013-01-25 03:54:12 +05:30
YuviPanda
431be11c7a Do not hardcode adk path 2013-01-25 03:44:24 +05:30
YuviPanda
de63f197cf Update to use Android JARs from Central 2013-01-25 03:34:49 +05:30
YuviPanda
3a313f3fb3 Mavenized (almost) everything - Transcode feature removed 2013-01-25 03:04:21 +05:30
YuviPanda
0a493dc8a1 Fix time travelling photo upload bug (again) 2013-01-25 03:04:21 +05:30
Yuvi Panda
88d360da54 Merge pull request #1 from ford-prefect/master
Minor JNI fix
2012-11-20 11:16:11 -08:00
Arun Raghavan
d34c8299cd Drop redundant init code from JNI side
GStreamer initialisation is done on the Java side before the transcode
API is called.
2012-11-20 23:59:41 +05:30
YuviPanda
ba151484b8 Make notification single line only 2012-11-19 01:23:13 +05:30
YuviPanda
252cc49e70 Merge remote-tracking branch 'ford/transcode'
Conflicts:
	src/org/wikimedia/commons/UploadService.java
2012-11-18 14:07:48 +05:30
Arun Raghavan
f25fc8870f Fix build instructions for native bits 2012-11-12 14:29:57 +05:30
Arun Raghavan
fcf14318de Return an error if transcode fails 2012-11-11 18:07:48 +05:30
Arun Raghavan
ab23fa3af5 Add wavparse to transcoder
Needed got reading wav files
2012-11-11 17:52:08 +05:30
Arun Raghavan
3500c5a5cb Drop GStreamer amc codecs temporarily
We don't use these yet, and init causes a crash on the Galaxy S3 running
Jelly Bean.
2012-11-11 17:36:17 +05:30
Arun Raghavan
8fae40f1e4 Fix upload progress callback in transcoder 2012-11-11 17:35:56 +05:30
YuviPanda
ec5bcfc48e First shot at getting progress for Transcoding 2012-11-11 16:48:54 +05:30
Arun Raghavan
7c828bd939 Fix upload file name
Server accepts .ogg only
2012-11-11 16:38:36 +05:30
Arun Raghavan
363cd8b3e7 Add progress reporting to transcoder 2012-11-11 16:38:22 +05:30
YuviPanda
836d35e708 Initial support for GStreamer Audio Encoding to Ogg 2012-11-11 15:10:09 +05:30
Arun Raghavan
81aacd7b11 Fix return value in transcode function 2012-11-11 15:05:42 +05:30
Arun Raghavan
46bd685388 Quote filenames in transcode pipeline
Needed for files with spaces in their names.
2012-11-11 13:15:55 +05:30
Arun Raghavan
af9dd0832f Add external storage read/write permissions
We need this in order to access files stored on MMC and to write out
(temporary files) before uploading. The latter will be done away with
once we hook up the trancode pipeline to directly provide encoded blocks
rather than writing to a file.
2012-11-11 12:25:40 +05:30
Arun Raghavan
e915be9208 First pass at adding transcode support
This does a hard-coded audio encode to vorbis-in-ogg. In the long term,
this should use encodebin and real encoding profiles.
2012-11-11 12:25:32 +05:30
YuviPanda
634f236f19 Fixed bug causing wrong time to show
TYPE SAFETY FOR THE FUCKING WIN FUCK YEAH
2012-11-10 18:32:08 +05:30
YuviPanda
efecef0a6c Handle network failures gracefully 2012-11-09 17:49:15 +05:30