Commit graph

176 commits

Author SHA1 Message Date
YuviPanda
91e0f8cff2 Make template remover more robust
marktraceur pointed out that my previous code will fail at
{{echo|{}} which is, unsurprisingly, valid wikitext
2013-04-11 00:19:09 +05:30
YuviPanda
125275548f Remove results of {{subst:unc}} when adding categories
Also contains a braindead Template remover. Doesn't even handle
identified edge cases, much less unidentified ones.
2013-04-10 19:11:28 +05:30
YuviPanda
d76541ceec Add way to send feedback via email 2013-04-10 00:16:53 +05:30
YuviPanda
b62f14c7c7 Add minimal About activity 2013-04-09 22:54:14 +05:30
YuviPanda
32983db9c2 Track changes to the preference for tracking changes
Yo Dawg, etc, etc.
2013-04-07 18:48:34 +05:30
YuviPanda
1b89d96943 Add a settings screen, with a preference to disable tracking 2013-04-07 18:11:07 +05:30
YuviPanda
3ba54daf4f Turn EventLogging *on* by default 2013-04-07 17:03:13 +05:30
YuviPanda
06a0fb9028 Add a boolean pref to disable EventLogging based tracking 2013-04-07 16:47:06 +05:30
YuviPanda
72b351b21a Minor case fix to be consistent across template parameters 2013-04-07 16:47:05 +05:30
YuviPanda
53db4a13a0 EventLogging network failure is silently ignored
EventLogging failing should never cause a hard crash, so ignore for now.

Bug: 46847
2013-04-07 16:47:05 +05:30
YuviPanda
e6305dffc3 Automatiaclly turn on the Modifications Content provider
Is a hack, needs a proper fix at some time
2013-04-03 00:31:05 +05:30
YuviPanda
53ffac92b2 Fix ghost keyboard issue with multiple uploads 2013-04-03 00:11:02 +05:30
YuviPanda
f7ec318179 Remove RuntimExceptions on transient errors 2013-04-02 21:21:50 +05:30
YuviPanda
8bed027e4e Fix crash on 2.3 during categorization 2013-04-02 20:51:27 +05:30
YuviPanda
1d1e7f9245 Add Categorization EventLogging 2013-04-02 04:02:26 +05:30
YuviPanda
5e45cb2bd4 Disable the multi upload photos view while adding categories
Was causing unneccessary interaction and state corruption
2013-04-02 02:49:14 +05:30
YuviPanda
da6e035878 Add post-upload categorization to Multiple Upload
Some of the related changes snuck in last commit too
2013-03-31 09:17:21 +05:30
YuviPanda
87c09c344b Move Multiple upload menu handling code to Fragment 2013-03-31 08:41:58 +05:30
YuviPanda
02658588df Dismiss keyboard between title & categorization fragment
The keyboard stays on, but the keys go to the wrong window
2013-03-31 03:20:11 +05:30
YuviPanda
e936add26c Add edit summaries to category edits 2013-03-31 02:59:23 +05:30
valeriej
5cbd328977 Remove reference to PostUploadActivity 2013-03-29 22:44:09 -05:00
YuviPanda
55fa11f6d0 Set title of categorization activity appropriately 2013-03-30 05:37:02 +05:30
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