Commit graph

360 commits

Author SHA1 Message Date
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
YuviPanda
f026bdd924 Relicense to Apache License
So GPLv2 isn't compatible with Apache, and hence we are horrible
grubby handed license violators.

No more!
2013-04-23 21:16:43 +05:30
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
a9b431cde0 Add XML/manifest bits for internal category content provider 2013-04-23 06:57:09 -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
Siebrand Mazeland
9288aec9d6 Localisation updates from http://translatewiki.net. 2013-04-21 12:29:15 +00:00
Siebrand Mazeland
34419ce68f Localisation updates from http://translatewiki.net. 2013-04-14 11:56:11 +00:00
YuviPanda
719612a6e0 Updated CHANGELOG, added CREDITS & bumped version number 2013-04-11 03:34:56 +05:30
YuviPanda
6a82b3e8e4 Make share target title to be app name 2013-04-11 02:40:38 +05:30
YuviPanda
11b1b272d4 Remove settings icon from menu
Looked very ugly on 2.3
2013-04-11 02:17:25 +05:30
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
1d603cd9eb Add missing preferences xml file 2013-04-09 22:56:31 +05:30
YuviPanda
b62f14c7c7 Add minimal About activity 2013-04-09 22:54:14 +05:30
Siebrand Mazeland
73226fcd95 Localisation updates from http://translatewiki.net. 2013-04-07 17:09:31 +00:00
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
Siebrand Mazeland
c429b7649d Localisation updates from http://translatewiki.net. 2013-04-07 10:36:50 +00:00
YuviPanda
92852652c5 Updated CHANGELOG and bumped version number 2013-04-03 00:46:40 +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