List mailboxes in the block view

miglius - August 21, 2006 - 12:04
Project:Pontomail Webmail Client
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:miglius
Status:closed
Description

I'd like to see the mailboxes listed in the block list instead of the menu. This way it's possible to control the visibility of the mailboxes.

#1

miglius - August 21, 2006 - 12:13
Status:active» needs review

I have attached a code which lists mailboxes in the block view. It uses a recurrent function for that and shows:

INBOX
  Drafts
    Test

instead of

INBOX.Drafts.Test

Diff is with the Aug 11 version of the pontomail.module

AttachmentSize
pontomail.diff 3.66 KB

#2

Souvent22 - August 21, 2006 - 21:17
Status:needs review» needs work

Miglius,

Thanks. Could you do a unified diff for me instead though? cvs diff -u
and I'll patch and commit tonight with some other fixes.

#3

miglius - August 22, 2006 - 08:34

here is diff -u output.

AttachmentSize
pontomail_0.diff 4.24 KB

#4

miglius - August 22, 2006 - 16:40
Status:needs work» needs review

Ernest,

Can you patch the module with this block view code I posted in previuos post? I uploaded the code in unified diff file.

#5

miglius - August 23, 2006 - 16:05
Status:needs review» reviewed & tested by the community

here is the diff with the cvs version (cvs diff -u)

can you review the code and commit it to cvs?

thanks

AttachmentSize
pontomail_1.diff 4.34 KB

#6

Souvent22 - August 23, 2006 - 20:40

Yes, I shall def. 100% patch this tonight to CVS. Sorry, i'm a bit project happy. Attempting a database.oracle.inc right now.....not so fun. blah.

#7

sime - August 30, 2006 - 12:36

Just confirming this patch is good.

#8

Souvent22 - September 4, 2006 - 04:23
Status:reviewed & tested by the community» fixed

Patched.

#9

Anonymous - September 18, 2006 - 04:30
Status:fixed» closed

#10

miglius - October 5, 2006 - 11:48
Status:closed» active

I have reopened this ticket since after some other update to the code the number of unread messages is not showed next to the folder name.

Here is a patch that fixes that.

Also if a pontomail_sendmail module is enabled, "compose" link is printed in the block.

AttachmentSize
p_4.diff 1.51 KB

#11

Souvent22 - October 5, 2006 - 21:26

Commited. Thanks.

#12

Souvent22 - October 5, 2006 - 21:27
Status:active» closed

closing

 
 

Drupal is a registered trademark of Dries Buytaert.