Commit graph

755 commits

Author SHA1 Message Date
Brion Vibber
de34019e60 Name uniqueness checking
Follows sequence 'Foo.jpeg', 'Foo 2.jpeg', 'Foo 3.jpeg' etc until one is
found that doesn't exist, then we send up the upload. This avoids most
typical conflicts scenarios.

Still can produce a conflict if you start uploads near-simultaneously,
but this is better than none.
2013-05-14 16:21:28 -07:00
Brion Vibber
4af8e15fb7 Fix regression in file extension
We were appending a file extension and then throwing it away since some refactoring. Oops!
2013-05-14 16:21:27 -07:00
Siebrand Mazeland
12c9529bb5 Localisation updates from http://translatewiki.net. 2013-05-12 18:42:54 +00:00
Brion Vibber
7e113eb16d Merge pull request #16 from brion/delete-failed
Retry and delete buttons for failed items
2013-05-10 15:46:18 -07:00
Brion Vibber
0bdef367b9 Make delete button work 2013-05-10 15:43:15 -07:00
Brion Vibber
43a6551d6e Update menu after rotation on detail view
Fixes losing the 'failed' vs 'ok' upload state in the menus on rotation
in Android 2.3.
2013-05-10 13:21:14 -07:00
Brion Vibber
cf86dc918c Click on failed item now shows detail view
Can restart from there. Abort button is not yet fully functional.
2013-05-09 17:50:20 -07:00
Brion Vibber
e171d22fea Tweak input boxes so the IME doesn't eat fullscreen in landscape
android:imeOptions="flagNoExtractUI"
Will make screencasts suck less since they get forced to landscape...
2013-05-09 16:16:52 -07:00
Brion Vibber
143fc308e9 wip 2013-05-09 16:07:37 -07:00
Brion Vibber
d7ea80437a Add menu items for 'retry' and 'abort' on detail view 2013-05-09 15:18:18 -07:00
Siebrand Mazeland
ce66748950 Localisation updates from http://translatewiki.net. 2013-05-09 13:40:58 +00:00
Brion Vibber
f141e137a3 Merge pull request #14 from brion/blank2
Show 'waiting' or 'no uploads' messages when no uploads
2013-05-06 11:56:12 -07:00
Brion Vibber
5b8990be0e Localize messages for first sync / no images 2013-05-06 11:53:31 -07:00
Brion Vibber
04a1555082 Work in progress: waiting for first sync msg 2013-04-29 14:15:11 -07:00
Brion Vibber
e5f38ab6d2 Disable fade-in effect on images in Android 2.3
This should fix the flickering problem during updates, though it
won't look quite as nice when scrolling the contribs list.
2013-04-29 08:00:27 -07:00
Siebrand Mazeland
06ba377eb0 Localisation updates from http://translatewiki.net. 2013-04-28 17:49:46 +00:00
Yuvi Panda
2b614dbc5f Merge pull request #11 from brion/beta8
Update version and CHANGELOG for 1.0beta8
2013-04-26 12:07:12 -07:00
YuviPanda
e1d76e302d Mention changed LICENSE in about page 2013-04-27 00:36:00 +05:30
YuviPanda
0e1297fe45 Fix crash when trying to edit individual file name in multiple upload
Don't try to disable menu items when they don't exist
2013-04-26 23:48:44 +05:30
Brion Vibber
49c44df88e Update version and CHANGELOG for 1.0beta8 2013-04-26 10:58:07 -07:00
YuviPanda
1be36cb16c Change Crash feedback email address to mobile-feedback-l 2013-04-26 23:22:37 +05:30
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
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