[sork] Fwd: hola, hemos desarrollado un modulo para cuotas de disco

Roger Peña Escobio roger at infomed.sld.cu
Thu Apr 24 20:16:55 PDT 2003


sorry, i thought the list will not be interested ...
any way, i prefer to write to the list (i'm a suscriber from a long time ago)

sorry for my english, it is not so good

ok, here is my scenario

we have two servers, the web server and the imap server, so we just can't make a system
call from the php, in order to get disk quota information.

the only way i can think i can do this is like passwd module work

making a connection to a poppasswd server

so i modified the poppassd server ir order to execute the quota command

i also modified the passwd module and derived from it the quotacheck module

at the end, i have what you see in the image i send you, there is a sumary where the user
can see how much disk space is hi/she using, and also there is a page when hi/she can see
more information

the module is working now, it need a lot of cleanup and also some fixes in the code, i'm
not a php programer so i don't know how to do some trivial thing.

i can send it to you or whatever want it

please, again, i apologise for my terrible english

roger
PD: i'm using <?php define('IMP_VERSION', '3.2.1') ?>
and i dont have the Quota dir, i can't play with cvs :-(, yet.



Mensaje citado por Eric Rostetter <eric.rostetter at physics.utexas.edu>:

> Quoting Roger Peña Escobio <roger at infomed.sld.cu>:
> 
> > > > anyway, we at Infomed develope a new horde module, we develope it from
> > > > passwd module so is
> > > > very, very close to you, this new module is for get disk quota
> > information,
> > >
> > > This functionality is already included in the accounts module, as well as
> > > in IMP.  Several of us want to move it out to Horde itself, so all modules
> > > could use it, but no one has yet done that.
> >
> > sorry, it looks to me that we are not talking about the same thing, are we?
> 
> Since your examples are not in English, I'm not sure.  Are you showing the
> disk space quota, or quota per e-mail folder, or what?
> 
> I think you are doing the same thing I am.  The only difference is I don't
> think I have a summary api for quotas on the summary page, though one could
> be easily added, and that seems like an amazingly good idea!
> 
> > please, lets me tell you what we did.
> > we implemented disk quota support in the mail server, we use rh-7.2 and
> > imap-UW, so we
> > have to implement disk quota in the kernel if we need to apply quotas
> 
> Mine also supports RH 6/7 and imap-uw when quotas are enabled on the web
> server host (i.e. imap and http run on the same server, or imap disks are
> nfs exported to the http server, etc).
> 
> > i could'n find what you say (quota support) in horde or in accounts module
> 
> It is there, at least in the CVS HEAD version of IMP, as
> imp/lib/Quota/command.php.  It is in accounts module also as
> accounts/lib/Drivers/localhost.php (both release and CVS HEAD).
> 
> > please, i will attach two png images so you can see what we present to the
> > user
> 
> I like the idea of putting it on the summary page.  I think accounts has
> the api for doing this, I just never thought of actually doing it before!
> 
> > thank you for you reply
> >
> > roger
> 
> Please keep discussions on the mailing list.
> 
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
> 
> Why get even? Get odd!
> -- 
> Sork mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sork-unsubscribe at lists.horde.org
> 


----------------------------------------------------------------------
Nodo central de la red Infomed                 (http://www.sld.cu)
Usuario linux: 97152                           (http://counter.li.org)
Miembro del grupo de coordinacion de LinuxCuba (http://www.linux.cu)
----------------------------------------------------------------------
 

-------------------------------------------------
Este mensaje fue enviado usando el servicio de correo en web de Infomed
http://webmail.sld.cu


More information about the sork mailing list