statusnet-client:statusnet-client.git
7 years agoStyle for notice option buttons. May suck mightily in iOS. master
Samantha Doherty [Fri, 27 May 2011 04:33:27 +0000 (00:33 -0400)]
Style for notice option buttons. May suck mightily in iOS.

7 years agoStill trying to get the pull-to-refresh arrow right...
Samantha Doherty [Fri, 27 May 2011 03:56:55 +0000 (23:56 -0400)]
Still trying to get the pull-to-refresh arrow right...

7 years agoLots of stability / bug fixes to deal with TiMobile 1.7.0.RC1 changes to the event...
Zach Copley [Thu, 26 May 2011 09:55:58 +0000 (02:55 -0700)]
Lots of stability / bug fixes to deal with TiMobile 1.7.0.RC1 changes to the event and threading code, which broke account switching and new notice posting on Android, among other things. New Notice posting is still not working yet in 1.7.0.RC1.

7 years agoMerge branch 'master' of gitorious.org:statusnet-client/statusnet-client
Zach Copley [Thu, 26 May 2011 08:51:26 +0000 (01:51 -0700)]
Merge branch 'master' of gitorious.org:statusnet-client/statusnet-client

* 'master' of gitorious.org:statusnet-client/statusnet-client:
  fix the avatar cache isMobile() call

7 years agoSome stability fixes to make webview work better with TiMobile 1.7.0.RC1
Zach Copley [Thu, 26 May 2011 08:47:37 +0000 (01:47 -0700)]
Some stability fixes to make webview work better with TiMobile 1.7.0.RC1

7 years agoMerge branch 'master' of gitorious.org:statusnet-client/statusnet-client
Evan Prodromou [Wed, 25 May 2011 19:46:40 +0000 (15:46 -0400)]
Merge branch 'master' of gitorious.org:statusnet-client/statusnet-client

7 years agofix the avatar cache isMobile() call
Evan Prodromou [Wed, 25 May 2011 19:46:17 +0000 (15:46 -0400)]
fix the avatar cache isMobile() call

7 years agoAdd a longer http client timeout to help with low connectivity situations
Zach Copley [Wed, 25 May 2011 18:55:33 +0000 (11:55 -0700)]
Add a longer http client timeout to help with low connectivity situations

7 years agoCode and whitespace reformat
Zach Copley [Wed, 25 May 2011 02:41:48 +0000 (19:41 -0700)]
Code and whitespace reformat

7 years agoKeep refresh spinner spinning at least until we have finished the web call
Zach Copley [Wed, 25 May 2011 02:38:14 +0000 (19:38 -0700)]
Keep refresh spinner spinning at least until we have finished the web call

7 years agoKeep nav from getting out of sync when switching accounts
Zach Copley [Tue, 24 May 2011 20:23:23 +0000 (13:23 -0700)]
Keep nav from getting out of sync when switching accounts

7 years agoUse double-click to activate fold-down controls and do some fancy scrolling to make...
Zach Copley [Tue, 24 May 2011 08:37:46 +0000 (01:37 -0700)]
Use double-click to activate fold-down controls and do some fancy scrolling to make it look better. (Single click was not working well with the new faster scrolling and reactive webview.)

7 years agoTell the webview about orientation changes so it can recalibrate scrolling
Zach Copley [Tue, 24 May 2011 05:21:15 +0000 (22:21 -0700)]
Tell the webview about orientation changes so it can recalibrate scrolling

7 years agoSome code cleanup in shared code
Zach Copley [Tue, 24 May 2011 03:19:54 +0000 (20:19 -0700)]
Some code cleanup in shared code

7 years ago* Some work to make sure timelines don't get out of sync with the tabbed menubar nav
Zach Copley [Tue, 24 May 2011 03:00:05 +0000 (20:00 -0700)]
* Some work to make sure timelines don't get out of sync with the tabbed menubar nav
* Code cleanup / got rid of a bunch of warnings

7 years agoRemove mobile build crap from the repo
Zach Copley [Tue, 24 May 2011 00:12:32 +0000 (17:12 -0700)]
Remove mobile build crap from the repo

7 years agoFix spinner issue -- normal wait cursor shouldn't show if we're refreshing or loading...
Zach Copley [Tue, 24 May 2011 00:01:55 +0000 (17:01 -0700)]
Fix spinner issue -- normal wait cursor shouldn't show if we're refreshing or loading more

7 years agoUpdate iPhone build script to point to Titanium 1.7.0.RC1
Zach Copley [Tue, 24 May 2011 00:00:44 +0000 (17:00 -0700)]
Update iPhone build script to point to Titanium 1.7.0.RC1

7 years agoStyle update for iScroll pull divs.
Samantha Doherty [Fri, 20 May 2011 05:30:37 +0000 (01:30 -0400)]
Style update for iScroll pull divs.

7 years agoRemove old un-needed preload images in the view's HTML
Zach Copley [Fri, 20 May 2011 00:50:13 +0000 (17:50 -0700)]
Remove old un-needed preload images in the view's HTML

7 years agoSort out problems with scroll area accidentially showing arrows in the wrong places...
Zach Copley [Fri, 20 May 2011 00:39:39 +0000 (17:39 -0700)]
Sort out problems with scroll area accidentially showing arrows in the wrong places and wait cursor issues

7 years agoStyle and graphics for iScroll divs.
Samantha Doherty [Wed, 18 May 2011 20:01:13 +0000 (16:01 -0400)]
Style and graphics for iScroll divs.

7 years agoPlay an indicator sound when a timeline has finished updating (like Tweetie / Twitter)
Zach Copley [Wed, 18 May 2011 09:10:59 +0000 (02:10 -0700)]
Play an indicator sound when a timeline has finished updating (like Tweetie / Twitter)

7 years agoPull to load more!
Zach Copley [Wed, 18 May 2011 08:09:03 +0000 (01:09 -0700)]
Pull to load more!

7 years agoMore trickery to keep from accidentally seeing the refresh divs
Zach Copley [Wed, 18 May 2011 06:27:03 +0000 (23:27 -0700)]
More trickery to keep from accidentally seeing the refresh divs

7 years agoSome adjustments to the look-n-feel of the refresher
Zach Copley [Wed, 18 May 2011 05:43:47 +0000 (22:43 -0700)]
Some adjustments to the look-n-feel of the refresher

7 years agoPull to refresh works! Woot! (still needs a little ux help)
Zach Copley [Wed, 18 May 2011 02:38:17 +0000 (19:38 -0700)]
Pull to refresh works! Woot! (still needs a little ux help)

7 years ago* Remove my hacky pull-to-refresh code
Zach Copley [Tue, 17 May 2011 23:05:55 +0000 (16:05 -0700)]
* Remove my hacky pull-to-refresh code
* Speed up scrolling with iScroll4 (hardware acceleration!)

7 years agoWorking, but performance is still not good.
Zach Copley [Tue, 17 May 2011 10:05:50 +0000 (03:05 -0700)]
Working, but performance is still not good.

7 years agoPull to refresh working, but too damn slow
Zach Copley [Tue, 17 May 2011 04:23:00 +0000 (21:23 -0700)]
Pull to refresh working, but too damn slow

7 years agopull-to-refresh looks a bit better; still needs some UX help
Zach Copley [Fri, 13 May 2011 01:33:00 +0000 (18:33 -0700)]
pull-to-refresh looks a bit better; still needs some UX help

7 years agoPull to refresh - still looks ugly, but works!
Zach Copley [Fri, 13 May 2011 00:50:53 +0000 (17:50 -0700)]
Pull to refresh - still looks ugly, but works!

7 years agoImages used for submission to the various app stores and markets
Zach Copley [Tue, 26 Apr 2011 18:28:26 +0000 (11:28 -0700)]
Images used for submission to the various app stores and markets

7 years agoFix regression - trying to load desktop theming code from avatar cache code
Zach Copley [Tue, 26 Apr 2011 00:39:13 +0000 (17:39 -0700)]
Fix regression - trying to load desktop theming code from avatar cache code

7 years agoupdate version to 1.0.6 1.0.6
Zach Copley [Fri, 22 Apr 2011 23:38:58 +0000 (16:38 -0700)]
update version to 1.0.6

7 years agoFix crash when opening camera or gallery caused by new kroll bug in TiMobile 1.6.2
Zach Copley [Fri, 22 Apr 2011 22:36:33 +0000 (15:36 -0700)]
Fix crash when opening camera or gallery caused by new kroll bug in TiMobile 1.6.2

7 years agoCheck for empty input fields on the add acount screeen -- empty fields were causing...
Zach Copley [Fri, 22 Apr 2011 05:15:33 +0000 (22:15 -0700)]
Check for empty input fields on the add acount screeen -- empty fields were causing Android to crash

7 years agoFix crash when deleting all accounts from the account switcher
Zach Copley [Fri, 22 Apr 2011 03:29:19 +0000 (20:29 -0700)]
Fix crash when deleting all accounts from the account switcher

7 years agoFix issue with Android crashing when deleting accounts
Zach Copley [Fri, 22 Apr 2011 00:20:07 +0000 (17:20 -0700)]
Fix issue with Android crashing when deleting accounts

7 years agoUpdate iTunes artwork. Update version to 1.0.5 beta
Zach Copley [Wed, 20 Apr 2011 05:14:45 +0000 (22:14 -0700)]
Update iTunes artwork. Update version to 1.0.5 beta

7 years agoFix crash-after-post prob on iPhone beta-1.0.5
Zach Copley [Wed, 20 Apr 2011 01:11:27 +0000 (18:11 -0700)]
Fix crash-after-post prob on iPhone

7 years agoOnly pass account id through event instead of entire account object.
Zach Copley [Sun, 10 Apr 2011 07:34:32 +0000 (00:34 -0700)]
Only pass account id through event instead of entire account object.
Some of the data in the object seems to not be JSON serializable on
iPhone so the app would crash when changing accounts.

7 years agoNew Android icons and loading graphic.
Samantha Doherty [Fri, 8 Apr 2011 13:37:04 +0000 (09:37 -0400)]
New Android icons and loading graphic.

7 years agoTrial run of interim iphone icons.
Samantha Doherty [Thu, 7 Apr 2011 21:29:26 +0000 (17:29 -0400)]
Trial run of interim iphone icons.

7 years agoWorkaround for resolution handling changes in Titanium Android: fixes fuzzy tab icons... rescheck
Brion Vibber [Wed, 30 Mar 2011 23:38:22 +0000 (16:38 -0700)]
Workaround for resolution handling changes in Titanium Android: fixes fuzzy tab icons on Nexus 1 etc

Seems that ImageViews now prefer to scale to 160dpi logical res, instead of scaling to fit natural resolution. Using backgroundImage instead of image seems almost right (but possibly still slightly rescaled for some erason?) This is the same as what's already done on the new compose box.
Long-term better way is to use the anyDensity mode and multi density files, but then we have to go changing coordinates everywhere (grrrr)

http://developer.appcelerator.com/question/102931/android-density-images et al

7 years agoBig theme update for mobile clients.
Samantha Doherty [Wed, 30 Mar 2011 22:21:23 +0000 (18:21 -0400)]
Big theme update for mobile clients.

7 years agoWorkaround for another threading oddity on Android: fixes refresh after posting a...
Brion Vibber [Wed, 30 Mar 2011 20:26:47 +0000 (13:26 -0700)]
Workaround for another threading oddity on Android: fixes refresh after posting a notice.

With changes in the threading model for Titanium 1.5/1.6 on Android, some of our events aren't getting triggered consistently. (Or maybe they didn't before and we didn't notice. :)
The callback after a successful message send was triggering an async timeline refresh, but was attaching its events to the notice dialog's thread. With the thread gone after the window closes, the refresh never finished properly.
Hacked it around to call an event on the main window, which ensures it goes onto the main thread. Probably a better way to do this, but initial test with app event was still on the wrong thread.

Ran into similar issues with the account switcher; if this code model is kept, consider some tweaking of the event models to ensure things are attached to the right windows/threads.

7 years agoFix stray 'undefined' in background of top bar, visible on Android in landscape mode
Brion Vibber [Wed, 30 Mar 2011 18:57:01 +0000 (11:57 -0700)]
Fix stray 'undefined' in background of top bar, visible on Android in landscape mode

7 years agoFix title update on all groups timeline
Brion Vibber [Wed, 30 Mar 2011 18:43:30 +0000 (11:43 -0700)]
Fix title update on all groups timeline

StatusNet.AllGroupsTimeline constructor wasn't setting its timeline_name property, which is needed to confirm that we're on the right timeline before updating the title on the body view.

7 years agoFriendlier failure mode for desktop's local checks if the actor URI didn't come throu...
Brion Vibber [Wed, 30 Mar 2011 18:27:59 +0000 (11:27 -0700)]
Friendlier failure mode for desktop's local checks if the actor URI didn't come through. Happened with some cases of foreign users if things weren't hooked up properly (fixed for Twitter bridge in 1.0.x now)

7 years agoWork in progress on sharing: seems to work accepting text from Mustard!
Brion Vibber [Fri, 25 Mar 2011 23:37:01 +0000 (16:37 -0700)]
Work in progress on sharing: seems to work accepting text from Mustard!

For some reason, the intent's type attribute is 'unknown' .... not sure what's the problem there.
Files still untested.

7 years agoWork in progress on accepting 'Share' intents from other apps -- can launch the send...
Brion Vibber [Fri, 25 Mar 2011 23:03:16 +0000 (16:03 -0700)]
Work in progress on accepting 'Share' intents from other apps -- can launch the send dialog!

7 years agoAdd back some of our custom Android manifest in the new style: restores small-screen...
Brion Vibber [Fri, 25 Mar 2011 21:35:53 +0000 (14:35 -0700)]
Add back some of our custom Android manifest in the new style: restores small-screen report, our explicit version numbers, and the shorter app name. Unfortunately the Android launcher and app switcher show the *main activity* name, not the application name, and I can't seem to override that. Might just need to change the main app name, if it takes, so Titanium makes the right bits.

7 years agoUpdate 'share' on Android to use native Ti Mobile 1.5+ Android integration instead...
Brion Vibber [Fri, 25 Mar 2011 19:18:22 +0000 (12:18 -0700)]
Update 'share' on Android to use native Ti Mobile 1.5+ Android integration instead of our custom module hack. This makes 'share' work for all apps instead of just email with stock Titanium, yay!

7 years agoWorkaround for ImageView directly loading HTTPS urls crashing on Android: don't try...
Brion Vibber [Fri, 25 Mar 2011 18:33:09 +0000 (11:33 -0700)]
Workaround for ImageView directly loading HTTPS urls crashing on Android: don't try to use direct URLs to load account avatars and site logos on avatar cache miss.

7 years agoFirst push of theme overhaul for desktop.
Samantha Doherty [Fri, 25 Mar 2011 17:05:46 +0000 (13:05 -0400)]
First push of theme overhaul for desktop.

7 years agoMay, or may not, have sorta vaguely resolved account setup issues. Still crashes...
Brion Vibber [Thu, 24 Mar 2011 21:36:50 +0000 (14:36 -0700)]
May, or may not, have sorta vaguely resolved account setup issues. Still crashes on first identi.ca account on 2.2 APIs emu for no apparent reason, but not on my test site

7 years agoupdate generated files for 1.6.2 sdk :P
Brion Vibber [Thu, 24 Mar 2011 20:00:35 +0000 (13:00 -0700)]
update generated files for 1.6.2 sdk :P

7 years agoFix for account switching on Android: initializing the new timeline directly from...
Brion Vibber [Thu, 24 Mar 2011 19:59:33 +0000 (12:59 -0700)]
Fix for account switching on Android: initializing the new timeline directly from the account switcher dialog caused trouble as async stuff started in that window's thread, which then dies after it's closed. Changed to using an app event so we can ensure that initAccountView runs on the main window's thread

7 years agoFix for profile links opening in the timeline webview; they'll now trigger the extern...
Brion Vibber [Thu, 24 Mar 2011 19:31:30 +0000 (12:31 -0700)]
Fix for profile links opening in the timeline webview; they'll now trigger the external or built-in browser per platform.

7 years agofix jquery filename for updated version
Brion Vibber [Thu, 24 Mar 2011 18:56:49 +0000 (11:56 -0700)]
fix jquery filename for updated version

7 years agoTrying to be even more careful about closing result sets
Zach Copley [Thu, 24 Mar 2011 06:06:09 +0000 (23:06 -0700)]
Trying to be even more careful about closing result sets

7 years agoTrying real hard not to leave any db cursors open
Zach Copley [Wed, 23 Mar 2011 23:18:20 +0000 (16:18 -0700)]
Trying real hard not to leave any db cursors open

7 years agoSome debugging statements
Zach Copley [Wed, 23 Mar 2011 21:39:18 +0000 (14:39 -0700)]
Some debugging statements

7 years agoFix avatar caching so it doesn't crash on mobile
Zach Copley [Wed, 23 Mar 2011 05:46:05 +0000 (22:46 -0700)]
Fix avatar caching so it doesn't crash on mobile

7 years agoa bunch of work to try to address notice avatar/account avatar caching issues. at...
Ed Finkler [Sat, 12 Mar 2011 22:16:10 +0000 (17:16 -0500)]
a bunch of work to try to address notice avatar/account avatar caching issues. at this point I think it might be worth ditching avatar caching entirely until it can be better handled, but this may help.

7 years agochange how we check for JSON type so feeds work again. derp.
Ed Finkler [Sat, 12 Mar 2011 20:13:14 +0000 (15:13 -0500)]
change how we check for JSON type so feeds work again. derp.

7 years agoset up labels correctly; turn off text selectability for labels
Ed Finkler [Sat, 12 Mar 2011 19:53:03 +0000 (14:53 -0500)]
set up labels correctly; turn off text selectability for labels

7 years agogive Settings a title, and load the keys plugin (in case)
Ed Finkler [Sat, 12 Mar 2011 19:39:39 +0000 (14:39 -0500)]
give Settings a title, and load the keys plugin (in case)

7 years agobind esc to close in dm window as well
Ed Finkler [Sat, 12 Mar 2011 19:33:16 +0000 (14:33 -0500)]
bind esc to close in dm window as well

7 years agobind keydown 'esc' to close the window
Ed Finkler [Sat, 12 Mar 2011 19:31:51 +0000 (14:31 -0500)]
bind keydown 'esc' to close the window

7 years agoload hotkeys plug in notice window; give it a title
Ed Finkler [Sat, 12 Mar 2011 19:31:37 +0000 (14:31 -0500)]
load hotkeys plug in notice window; give it a title

7 years agoload hotkeys plug
Ed Finkler [Sat, 12 Mar 2011 19:29:51 +0000 (14:29 -0500)]
load hotkeys plug

7 years agoadd jquery.hotkeys plugin to make keybinds a little easier
Ed Finkler [Sat, 12 Mar 2011 19:26:20 +0000 (14:26 -0500)]
add jquery.hotkeys plugin to make keybinds a little easier

7 years agoAdded a flag suggested by donthorp to notification intent. Not supported until 1.6.1
Ed Finkler [Thu, 10 Mar 2011 00:57:40 +0000 (19:57 -0500)]
Added a flag suggested by donthorp to notification intent. Not supported until 1.6.1

7 years agoDo not use cached avatars that are over 48 hours old
Ed Finkler [Thu, 10 Mar 2011 00:56:12 +0000 (19:56 -0500)]
Do not use cached avatars that are over 48 hours old

7 years agoNotices raised on Android, but when tapped on, they relaunch the whole app. Need...
Ed Finkler [Tue, 8 Mar 2011 20:00:04 +0000 (15:00 -0500)]
Notices raised on Android, but when tapped on, they relaunch the whole app. Need to sort out how to just bring it to front if already open.

7 years agolistener for noticeAdded was being attached AFTER the timeline was built and all...
Ed Finkler [Tue, 8 Mar 2011 19:59:36 +0000 (14:59 -0500)]
listener for noticeAdded was being attached AFTER the timeline was built and all the noticeAddeds were fired.

7 years agoto test notifications, I drop the entry_asjson at startup, so we are always getting...
Ed Finkler [Tue, 8 Mar 2011 19:58:41 +0000 (14:58 -0500)]
to test notifications, I drop the entry_asjson at startup, so we are always getting "new" messages

7 years agoa little more debugging
Ed Finkler [Tue, 8 Mar 2011 19:58:14 +0000 (14:58 -0500)]
a little more debugging

7 years agoupdated DB create sql for mobile
Ed Finkler [Fri, 4 Mar 2011 02:57:08 +0000 (21:57 -0500)]
updated DB create sql for mobile

7 years agowhat the hell is this?
Ed Finkler [Fri, 4 Mar 2011 02:56:39 +0000 (21:56 -0500)]
what the hell is this?

7 years agorenamed primary message store DB to entry_asjson, in order to get around migration...
Ed Finkler [Fri, 4 Mar 2011 02:24:07 +0000 (21:24 -0500)]
renamed primary message store DB to entry_asjson, in order to get around migration issues

7 years agoMerge branch 'refs/heads/desktop-view-bleeding'
Ed Finkler [Thu, 3 Mar 2011 18:42:03 +0000 (13:42 -0500)]
Merge branch 'refs/heads/desktop-view-bleeding'

Conflicts:
StatusNet Desktop/Resources/index.js
StatusNet Desktop/Resources/model/statusnet_timeline.js

7 years agoImplement checks to make sure we don't overwrite the wrong view when data is returned...
Ed Finkler [Thu, 3 Mar 2011 18:33:14 +0000 (13:33 -0500)]
Implement checks to make sure we don't overwrite the wrong view when data is returned from timeline

7 years agofix caching bug caused by typo model-performance
Ed Finkler [Wed, 2 Mar 2011 01:41:45 +0000 (20:41 -0500)]
fix caching bug caused by typo

7 years agosome delinting and docs cleanup
Ed Finkler [Fri, 25 Feb 2011 14:44:10 +0000 (09:44 -0500)]
some delinting and docs cleanup

7 years agoGot caching working; more cleanup of asjson refactor
Ed Finkler [Fri, 25 Feb 2011 14:43:36 +0000 (09:43 -0500)]
Got caching working; more cleanup of asjson refactor

7 years agoswitch this back to atom so search works again for now
Ed Finkler [Fri, 25 Feb 2011 14:43:04 +0000 (09:43 -0500)]
switch this back to atom so search works again for now

7 years agochange time.report so it shows average time/call
Ed Finkler [Fri, 25 Feb 2011 14:42:49 +0000 (09:42 -0500)]
change time.report so it shows average time/call

7 years agodelinting
Ed Finkler [Fri, 25 Feb 2011 14:42:17 +0000 (09:42 -0500)]
delinting

7 years agodrop existing tables in desktop so that we get the correct schema for everyone coming...
Ed Finkler [Fri, 25 Feb 2011 14:42:01 +0000 (09:42 -0500)]
drop existing tables in desktop so that we get the correct schema for everyone coming from old setups. Should look at migration tho.

7 years agofix up notice parsing; adapt parseSubject to asjson; disable getGroup for now.
Ed Finkler [Thu, 24 Feb 2011 14:47:38 +0000 (09:47 -0500)]
fix up notice parsing; adapt parseSubject to asjson; disable getGroup for now.

7 years agodisable encache/decache for now; convert most timelines to .as
Ed Finkler [Thu, 24 Feb 2011 14:46:54 +0000 (09:46 -0500)]
disable encache/decache for now; convert most timelines to .as

7 years agopoint search at .as, even though it's still atom atm
Ed Finkler [Thu, 24 Feb 2011 14:46:09 +0000 (09:46 -0500)]
point search at .as, even though it's still atom atm

7 years agoadapt user timeline to asjson
Ed Finkler [Thu, 24 Feb 2011 14:45:57 +0000 (09:45 -0500)]
adapt user timeline to asjson

7 years agoonly do bg atom parsing if we're on mobile AND the format is not asjson
Ed Finkler [Tue, 22 Feb 2011 05:48:27 +0000 (00:48 -0500)]
only do bg atom parsing if we're on mobile AND the format is not asjson

7 years agoload the asjson parser in mobile
Ed Finkler [Tue, 22 Feb 2011 05:48:02 +0000 (00:48 -0500)]
load the asjson parser in mobile

7 years agodon't bother serializing XML into the notice.
Ed Finkler [Tue, 22 Feb 2011 05:13:04 +0000 (00:13 -0500)]
don't bother serializing XML into the notice.

7 years agoonly require contextLink, because I can't see how inReplyToLink is ever set by .as...
Ed Finkler [Tue, 22 Feb 2011 05:12:44 +0000 (00:12 -0500)]
only require contextLink, because I can't see how inReplyToLink is ever set by .as data