Commit graph

302 commits

Author SHA1 Message Date
YuviPanda
ce1934dade Disable menu items for share and open browser when upload incomplete
Bug: 45943
2013-04-26 18:57:49 +05:30
Brion Vibber
c37b18509d Fix flash of descriptive text before recent cats shown
Switch from hiding the "skip" text after looking up cats,
to hiding it initially and showing it after doing the local
search for recent cats.
2013-04-25 15:45:01 -07:00
Brion Vibber
e0e7f056d2 Merge pull request #9 from brion/recentcats
Store and show recently-used categories list
2013-04-25 10:28:34 -07:00
Brion Vibber
f9ca376bf3 Fix regression in first-categorization experience
The skip message now shows when there are no recently-used categories.
2013-04-25 09:07:52 -07:00
Brion Vibber
4922e615fd Compile fix for method that returns Void. :P 2013-04-25 08:57:08 -07:00
Brion Vibber
ae01386018 Remove generic update from categories provider 2013-04-25 08:57:04 -07:00
Brion Vibber
290ac00767 Fixups per Yuvi's notes 2013-04-25 08:14:13 -07:00
Brion Vibber
8b351d94a3 Hide the "skip" message if we load up some recent cats 2013-04-24 13:50:35 -07:00
Brion Vibber
6e8e804861 Use same limit for recent cats and cat search 2013-04-24 13:27:13 -07:00
Brion Vibber
84c2054fb0 Limit view of recent cats to 20 2013-04-24 08:55:24 -07:00
Brion Vibber
308b28dd23 Use query conditions for the name lookup :D 2013-04-24 08:01:17 -07:00
Brion Vibber
29ebce5ab0 Show used cats in MRU order 2013-04-24 07:57:10 -07:00
YuviPanda
f721b163d1 Prevent upload status from overlapping with the title of upload
Bug: 47458
2013-04-24 01:24:14 +05:30
Brion Vibber
d974630704 Use a single content provider client for all cat queries 2013-04-23 12:40:23 -07:00
Brion Vibber
25191a968f Categories now save :D
Still to do:
* limit number of entries
* order by last-used
* show entries on the initial screen before searching
2013-04-23 12:21:54 -07:00
Mark Holmquist
6dae336522 Make template removal work properly 2013-04-24 00:46:02 +05:30
YuviPanda
f941989c19 Revert "Make TemplateRemoveer *actually* remove templates"
This reverts commit e0c23a6038.

mark found a way that was not as agricultural
2013-04-24 00:45:23 +05:30
Brion Vibber
79f6185f8c Add DB updaters for Category table 2013-04-23 10:27:46 -07:00
Brion Vibber
8b7095042d Work in progress: hook up content provider for recent cats 2013-04-23 08:31:01 -07:00
YuviPanda
e0c23a6038 Make TemplateRemoveer *actually* remove templates
Strangely, the \}\} regex seems to match the | character. Weird,
confusing and scary. This *might* be an ICU Regex vs Java native
Regex thing, or it might be something more subtle / obvious that
I am missing.

However since we're simply doing character matches, doing a simple
equals should suffice for this.

Goddamn wikitext.

Bug: 47380
2013-04-23 20:38:36 +05:30
Brion Vibber
8d67c5c2d5 Initial stab at pulling cats from content provider
We don't put anything in the provider yet though. :)
2013-04-23 07:31:46 -07:00
Brion Vibber
d894268056 Drop Parcelable interface, not needed 2013-04-23 07:00:17 -07:00
Brion Vibber
fd1de3cdd8 Stub adapter for the recent cats view... 2013-04-22 16:51:29 -07:00
Brion Vibber
0e23531f59 Tweak column order...? 2013-04-22 16:29:28 -07:00
Brion Vibber
58e48399d5 Work in progress: Category class and content provider
for recently-used categories list
2013-04-22 16:14:28 -07:00
YuviPanda
f9961381ce Trigger Modifications Sync right after all uploads are done
Bug: 46935
2013-04-11 00:21:50 +05:30
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