Commit graph

6409 commits

Author SHA1 Message Date
YuviPanda
1ec9be01f8 Fix to make notifications not crash in 2.3
This removes the progressbar from the notifications on 2.3, which
is much less than ideal. However after blindly debugging for about
a week, I couldn't really figure out a way to make custom views
in Notifications work across both platforms. So this will have
to do until I figure a proper way out.
2013-02-19 12:24:48 +05:30
YuviPanda
5396541f4e Stop leaking Service Connections! 2013-02-19 12:10:13 +05:30
YuviPanda
640a1da961 Update to latest version of Support Library 2013-02-19 12:09:36 +05:30
YuviPanda
ffaac44f3a Removed dead constants (killed by prior commit) 2013-02-19 01:57:07 +05:30
YuviPanda
34eb356108 Add EventLogging for Login success / failure 2013-02-19 01:20:59 +05:30
YuviPanda
6e2c3341b7 Fix bug causing in-progress uploads to be marked as failed 2013-02-18 16:27:25 +05:30
YuviPanda
2df1b1b02f Remove dead code for ActionBar overlay 2013-02-18 15:42:22 +05:30
YuviPanda
6b20dcecb1 Make UploadService a purely bound service 2013-02-18 15:42:22 +05:30
Yuvi Panda
5c8c5848cf Merge pull request #3 from atdt/master
Two tiny nits: don't send isValid; rename 'schema_rev' to 'scid'.
2013-02-18 01:49:42 -08:00
Ori Livneh
0b0af4fd04 Rename 'schema_rev' => 'scid'
For convenience, the documentation and code for EventLogging refer
to (schema_name, revision_ID) pairs as 'SCIDs'. It'd be nice (but
not required) if android-commons stuck to this convention, too.
2013-02-18 01:45:23 -08:00
Ori Livneh
d607324ecc Drop 'isValid' optional field from EventLog
I laughed when I saw it, but anyhow 'isValid' is deliberately not marked as
'required'; you should only set if if you are performing client-side validation
of data, which you're not.
2013-02-18 01:45:23 -08:00
YuviPanda
ee35a5c1d0 Minor size modifications to fit with 48 based android grid 2013-02-18 15:02:45 +05:30
YuviPanda
0c5996c4ec Remove useless Hello World string 2013-02-18 14:00:35 +05:30
YuviPanda
c1afe3f61e Fix for apostrophe's in qq messages 2013-02-17 12:27:01 +05:30
YuviPanda
9e622b4809 Remove non-two-letter language code translations
Causes problems with Android builds
2013-02-17 12:25:03 +05:30
YuviPanda
636132290c Removed unneccessary listView in LoginView 2013-02-17 11:54:35 +05:30
YuviPanda
0dbe8de0f9 Minor fix to EventLogging code 2013-02-17 11:50:08 +05:30
Siebrand Mazeland
b00e592629 Localisation updates from http://translatewiki.net. 2013-02-16 05:10:44 +00:00
YuviPanda
5271cc57d1 Initial cut of EventLogging support 2013-02-15 18:19:49 +05:30
Siebrand Mazeland
27ad2a6443 Localisation updates from http://translatewiki.net. 2013-02-11 18:04:30 +00:00
Siebrand Mazeland
67b184b186 Merge pull request #2 from Nikerabbit/master
Messages check
2013-02-11 04:16:54 -08:00
Niklas Laxström
b7603f7793 Quick sanitization on messages 2013-02-11 13:43:18 +02:00
YuviPanda
ea509a7847 Abstract out the handler code in UploadService
Should make building other services much easier
2013-02-10 00:44:34 +05:30
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