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
YuviPanda
f1ef106c8a
Remove actionbar from share dialog
2012-11-05 20:20:05 +05:30
YuviPanda
482b05d621
Add ticker text for notifications
2012-11-05 20:19:41 +05:30
YuviPanda
6d105f4844
Added ActionBarSherlock library compatiblity support
2012-11-05 20:17:53 +05:30
YuviPanda
f4fe37cee6
Added missing authenticator XML file
2012-11-05 20:15:18 +05:30
YuviPanda
da723d05ed
Properly set uploader service as foreground so it isn't killed
...
Commit sitting in a corner of the road near SICSR in a temple
2012-11-04 15:53:48 +05:30
YuviPanda
88cb714b02
Add date for {{Information}} template according to EXIF data
2012-11-03 15:24:56 +05:30
YuviPanda
b3f8bf815e
Add appropriate info and licensing templates
2012-11-03 04:08:11 +05:30
YuviPanda
f8c9dba049
Always flip the first character of username to be uppercase
2012-11-03 04:07:41 +05:30
YuviPanda
b939ec2137
Actually add updated java-mwapi
2012-11-03 03:54:14 +05:30
YuviPanda
3857a18cf2
Keep state about currently selected account in application
2012-11-03 03:54:03 +05:30
YuviPanda
11685e5ec1
(Bug 41703) Validate user tokens & re-login if necessary
...
Now we send out a request before every upload to check if
the user is logged in. If not, we re-login.
Need to study this more - this adds a little bit of extra latency
to every upload. But if the upload fails because of a login failure,
it will mean we'll have to re-upload the entire thing. Choices.
Also added a debug method to convert XML object to a String. Was
amazed at the power of Java being able to make such a complex task
accomplishable by a single line </s>
2012-11-02 23:22:29 +05:30
YuviPanda
496413da22
Rotate images appropriately in preview
...
Fixes #3
2012-10-27 05:56:00 +05:30
YuviPanda
eb8edb2f06
More accurate feedback about current status of upload!
2012-10-26 02:44:35 +05:30
YuviPanda
034fde1007
Display new notification when upload is complete
...
Full fix for issue #4
2012-10-26 00:02:31 +05:30
YuviPanda
111b618b2f
New icons from Shankar
...
Spacing seems a little off, however
2012-10-25 23:41:13 +05:30
YuviPanda
52b16d298e
Handle case when Authentication fails
2012-10-25 23:37:29 +05:30
YuviPanda
b85cc9c0e5
Change Activity Titles to appropriate names
...
Fixes #10
2012-10-17 21:29:58 +05:30
YuviPanda
388eed5aee
Fix bug causing Login to hang when called from another AsyncTask
2012-10-17 21:09:04 +05:30
YuviPanda
76fc431532
Properly retreive account from AccountManager for auth
2012-10-17 17:53:30 +05:30
YuviPanda
e3a2384956
Multiple upload notifications work!
...
And they are no longer ongoing! Fixes #5 and #6
2012-10-15 21:44:50 +05:30
YuviPanda
eacb733dd5
Update username field to not show suggestions
...
Also fixes #2
2012-10-15 15:09:56 +05:30
YuviPanda
247d8a9224
Dismiss progress dialog when login fails
...
Fixes #1
2012-10-15 15:03:45 +05:30
YuviPanda
802e6aa9ed
Added Commons AccountManager (Authentication Provider!)
...
Also updated version of java-mwapi to support cookie based auth
2012-10-15 00:42:13 +05:30
YuviPanda
d59b1700c8
Update progressbar less often
2012-10-14 15:43:53 +05:30
YuviPanda
6b40125982
Use much faster way of reading file length
2012-10-14 15:36:59 +05:30