webOS Nation Forums >  Homebrew >  webOS patches > [Patch] Email: Sync all Favourite Folders
[Patch] Email: Sync all Favourite Folders

  Reply
 
LinkBack Thread Tools Display Modes
Old 02/22/2010, 02:21 PM   #41 (permalink)
Member
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
Default

Quote:
Originally Posted by izkeepsitreal View Post
Grant:

From my install I'm going to say the patch is %70 functional.

Sometimes it works and sometimes no...

From what I can tell the amount of time it takes to sync all the sub-folders is quite lengthy... almost as quick to check all individually .. (I have 7 sub-folders on Exchange and 1 POP account)

I've had instances where I click on the refresh button and it will spin for almost 2min then stop with no messages... if I try and click refresh again nothing will happen (icon will not rotate) If I close mail then re-open and try again it will work.

It's really hit/miss but more good then bad....

for future development is there a way to have the "Fav's" automatically check for new messages like the inbox??

Let me know if I can be of any other help

Bell 1.3.5.1
Can you try it with fewer folders? With lots of folders syncing I have experienced login errors due to too many connections being made to the server (although in that case it usually pops up an error).

What happens if you sync, wait for the icon to stop rotating, then minimize (don't close) and re-maximize the email app? In testing Exchange folders sometimes did not update their read count until this was done (althought I thought I fixed that bug).

If you are technical enough, you can SSH into your Pre, edit the framework.json file for the email app to increase the log level (to 99) and then look at the system logs for sync messages.

Finally, I'm sure it is technically possible to check other folders automatically like the inbox too, but I suspect it would be more difficult than this patch - beyond my skills (also beyond my desires, as I don't need this functionality myself, but that's beside the point).
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages
IMGrant is offline   Reply With Quote
Old 02/23/2010, 02:03 PM   #42 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by IMGrant View Post
Can you try it with fewer folders? With lots of folders syncing I have experienced login errors due to too many connections being made to the server (although in that case it usually pops up an error).

What happens if you sync, wait for the icon to stop rotating, then minimize (don't close) and re-maximize the email app? In testing Exchange folders sometimes did not update their read count until this was done (althought I thought I fixed that bug).

If you are technical enough, you can SSH into your Pre, edit the framework.json file for the email app to increase the log level (to 99) and then look at the system logs for sync messages.

Finally, I'm sure it is technically possible to check other folders automatically like the inbox too, but I suspect it would be more difficult than this patch - beyond my skills (also beyond my desires, as I don't need this functionality myself, but that's beside the point).
I made it so I'm only sync'ing with 4 Sub folders - so far the issue with timeout/spinning refresh seems to be gone however this morning when refreshing Exchange said there was no messages - upon going into the sub folder 3 new mail messages appear.

Sync later in the morning and new messages were shown in the sub-folders (as it should be)

Later in the day email was syncing all well (no infinite spinning wheel) I manually refreshed all folders and there were no new messages, after clicking on the sub-folder and refreshing 1 new mail message came in...

I'm technical but do not have access to Exchange logs on the server side...

Let me know how I can better help with testing this ... This patch resolves in my eyes one of the largest mistakes/overlookings by Palm.

And as for future - perhaps someone who's reading this may pick up on the conversation and assist with future development

Regards,

Mike
izkeepsitreal is offline   Reply With Quote
Old 02/23/2010, 03:16 PM   #43 (permalink)
Member
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
Default

Quote:
Originally Posted by izkeepsitreal View Post
I made it so I'm only sync'ing with 4 Sub folders - so far the issue with timeout/spinning refresh seems to be gone however this morning when refreshing Exchange said there was no messages - upon going into the sub folder 3 new mail messages appear.

Sync later in the morning and new messages were shown in the sub-folders (as it should be)

Later in the day email was syncing all well (no infinite spinning wheel) I manually refreshed all folders and there were no new messages, after clicking on the sub-folder and refreshing 1 new mail message came in...

I'm technical but do not have access to Exchange logs on the server side...
Thanks for the reply. Can you test whether the new mail number appears if you minimize (to card view) then re-maximize (to full screen) the email app? This probably requires that you know there are new emails in the folder...

Secondly, sorry, I didn't mean the Exchange logs - I meant the system log in the phone. If you SSH into the Pre, you can do 'tail -f /var/log/messages' or if you connect the USB cable I think you can use the palm-log command line app (if you have the SDK installed) to follow the logs for just the email app. In both cases you still need to get access to /usr/palm/applications/com.palm.app.email/framework.json in order to edit the loglevel (by default it is 0, set it to 99 - don't forget to set back to 0 afterwards).
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages
IMGrant is offline   Reply With Quote
Old 02/25/2010, 05:52 PM   #44 (permalink)
Member
 
Join Date: Jan 2010
Posts: 13
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I updated the patch and it doesn't seem to be working for me either. Sometimes it does seem to pull in new mail in a few folders, but the unread message count does not change (even after minimizing & going back).

I can probably figure out how to ssh into the phone, but what login credentials do I need? Is there a default root login, or do I use something else?
jnasmith is offline   Reply With Quote
Old 02/26/2010, 02:33 AM   #45 (permalink)
Member
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
Default

Username is root and there is no password. You need developer mode on and to have installed something like Dropbear or OpenSSH (e.g. from the Preware catalogue).
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages
IMGrant is offline   Reply With Quote
Old 02/26/2010, 01:02 PM   #46 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Grant :

Just a heads up that yes there's still a bit of a bug/flaw when refreshing with folders - typically its working though but occasionally it will not update ..

I haven't had the time to ssh into the phone yet, so busy with Olympics on - hoping to get to that this week mon/tue so keep you posted.

Mike
izkeepsitreal is offline   Reply With Quote
Old 02/27/2010, 08:15 AM   #47 (permalink)
Member
 
Join Date: Jul 2009
Posts: 22
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

this patch is not working for WebOS 1.4
fhelvie is offline   Reply With Quote
Old 02/27/2010, 02:31 PM   #48 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

I guess it would be best to wait for 1.4 patch before any further troubleshooting?


Mike
izkeepsitreal is offline   Reply With Quote
Old 03/04/2010, 12:52 PM   #49 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default 1.4

Grant:

Let me know if/when you plan on updating for 1.4... I'll let you know how it goes

Mike
izkeepsitreal is offline   Reply With Quote
Old 03/21/2010, 12:23 PM   #50 (permalink)
Member
 
Join Date: Aug 2009
Posts: 17
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default 1.4?

Any updates on this? I found this thread after I updated to 1.4 so I did not try to download the patch. This is not exactly what I wanted for the email client in regards to imap subfolders but it may be close enough.
mikeamoore is offline   Reply With Quote
Old 03/21/2010, 12:25 PM   #51 (permalink)
Member
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
Default

Had few messages about this patch: yes, I do plan to update it for webOS 1.4, but don't have the time right at the moment due to moving to another country to start a new job!
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages
IMGrant is offline   Reply With Quote
Thanked By: izkeepsitreal
Old 03/26/2010, 12:30 PM   #52 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default Looking

Forward to the update

With the 800mhZ patch this phone is almost what I expected it to be aside from this email issue
izkeepsitreal is offline   Reply With Quote
Old 04/14/2010, 08:24 AM   #53 (permalink)
Member
 
Join Date: Sep 2009
Location: Miami, FL
Posts: 640
Likes Received: 2
Thanks: 206
Thanked 4,294,967,295 Times in 40 Posts
Default

mr Grant...excuse me....Doctor Grant..what country did you move to? and from?
NABRIL15 is offline   Reply With Quote
Old 04/14/2010, 10:37 AM   #54 (permalink)
Member
 
xanthinealkaloid's Avatar
 
Join Date: Nov 2009
Location: Wisconsin
Posts: 942
Likes Received: 8
Thanks: 413
Thanked 1,298 Times in 369 Posts
Default

Here's an updated copy I've been using for 1.4.1 which seems to be working, but I only have POP & IMAP setup on my Pre(no EAS).

Nothing fancy here...I just updated the context headers.


Thanks, IMGrant, for creating this patch it's a really good one.

.
Attached Files
File Type: patch app-email-sync-all-favourites.patch (9.7 KB, 28 views) Email Attachment
__________________
a.k.a. Josh...

Please don't forget your thanks button. --- Appreciate my efforts? -- Donate?

Various patches I've worked on:
Faster Cards|Emoticons|Shake Reload|Default Call Log|Call Log Styling|Msg Count|New Events|DM Media Vol|Megamix+MediaVol|3G icon|Gmaps fullscreen|Msg Greeting/Sig|Send Img Msg|No Ans Tstone|Dpad on Call|Vid Delete Btns|AutoSpeaker via ProxSensor
xanthinealkaloid is offline   Reply With Quote
Thanked by fhelvie, izkeepsitreal
Old 04/16/2010, 07:46 AM   #55 (permalink)
Member
 
Join Date: Jul 2009
Posts: 22
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

it appears to work well with my 2 IMAP accounts on Sprint 1.4.1.1
does not sync my EAS account.
fhelvie is offline   Reply With Quote
Old 04/22/2010, 12:14 PM   #56 (permalink)
Member
 
Join Date: Aug 2009
Location: Vancovuer BC
Posts: 119
Likes Received: 0
Thanks: 7
Thanked 2 Times in 2 Posts
Default

I think we've got a winner here

Thanks for the updated file!!
izkeepsitreal is offline   Reply With Quote
Old 04/22/2010, 12:17 PM   #57 (permalink)
Member
 
Join Date: Sep 2009
Location: Miami, FL
Posts: 640
Likes Received: 2
Thanks: 206
Thanked 4,294,967,295 Times in 40 Posts
Default

good work xan. any progress on making it work on EAS? or too complicated?
NABRIL15 is offline   Reply With Quote
Old 05/02/2010, 12:14 PM   #58 (permalink)
Member
 
Join Date: Dec 2009
Location: Germany
Posts: 111
Likes Received: 0
Thanks: 31
Thanked 13 Times in 8 Posts
Default

Aww, should have read the thread first. I patched with a higher Fuzz factor, it worked too

Thanks for this great patch, now I love my Pre beyond anything.
damnregister is offline   Reply With Quote
Old 06/07/2010, 08:51 AM   #59 (permalink)
Member
 
Join Date: Oct 2009
Posts: 59
Likes Received: 0
Thanks: 4
Thanked 4 Times in 4 Posts
Default EAS?

Any further work on getting this to support EAS?
wamiller is offline   Reply With Quote
Old 06/07/2010, 02:32 PM   #60 (permalink)
Member
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 95
Likes Received: 0
Thanks: 10
Thanked 44 Times in 19 Posts
Default

I haven't been able to get it to work myself, I'm afraid.
__________________
My Patches: Email: Sync all Favourite Folders | Contacts: Swipe to Delete | Launcher: Reset to First/Middle Pages
IMGrant is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0