Re: [SOGo] ANN: SOGoAccountsManager - An accounts manager that integrates well with SOGo

2012-10-23 Thread Romain LE DISEZ
Interesting suggestion. Can you point me in the right direction? An API 
documentation and a small code example would be great.

Thanks.

Le Lundi 15 Octobre 2012 19:48 CEST, Ludovic Marcotte lmarco...@inverse.ca a 
écrit:
 While it's quite small, you might want to consider switching to Python
 instead of PHP. This could give you:

   * direct access to SOGo objects using the Python bindings we ported a
 few months ago (PyObjC). Using this, you could reuse SOGo's business
 logic to:

--
Romain LE DISEZ
Support technique, Netensia
Administratif  Commercial : +33 811 555 005 (prix d'un appel local)
Support Hébergement : +33 2 97 69 05 68
Télécopie : +33 2 97 68 14 01

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] ANN: SOGoAccountsManager - An accounts manager that integrates well with SOGo

2012-10-15 Thread Romain LE DISEZ

SOGo Users,

I am pleased to announce SOGoAccountsManager, a new project that aim to 
provide a SOGo user interface to manage users accounts.


Before going to the technical informations, let's see some screenshots 
and a short screencast:

 - http://web.ledisez.net/sogo-accounts-manager/screenshot1.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot2.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot3.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot4.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot5.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot6.png

 - http://web.ledisez.net/sogo-accounts-manager/screencast1.mp4


SOGoAccountsManager is composed by two (unamed) subprojects: the backend 
and the frontend.


The backend is developed in PHP, using the Slim Framework[1]. It is 
modular so you can adapt it to your users database (LDAP, SQL, ...). It 
is a small piece of code, less than 600 lines of real code.


The frontend is developed using SproutCore[2]. So it is fully Javascript 
and only runs in the browser. Frontend and backend communicate via a 
REST interface.


SOGoAccountsManager reuses the cookie of SOGo, so there is no need to 
re-authenticate.


SOGoAccountsManager is not features complete for now. It is stable 
enought to be tested for accounts management. Domains management, Mail 
groups management, etc... are not developed for now. As soon as accounts 
management will be rock solid, it will be easy to continue the 
development. It is like an alpha 1 release.




There is no real documentation for now. Basically:

1/ Place backend/ on your SOGo server (eg: in 
/srv/www/webmail.example.com/SOGoAccountsManager/)


2/ Extract Slim Framework (tested with last stable, v2.1) and Zend 
Framework (tested with last stable, v2.0.2) in one of the PHP includes path:

 - /usr/share/php on RHEL6/CentOS6
 - [...]/backend/library/

3/ Edit [...]/backend/application/config.php

4/ Build the frontend with the SproutCore tools and upload it to your 
server (eg: /srv/www/webmail.example.com/SOGoAccountsManager/static/)


5/ Put this in your Apache config BEFORE the SOGo config:
ProxyPass /SOGo/AccountsManager !
Alias /SOGo/AccountsManager/api/ 
/srv/www/webmail.ledisez.net/SOGoAccountsManager/backend/www/index.php/
Alias /SOGo/AccountsManager 
/srv/www/webmail.ledisez.net/SOGoAccountsManager/static/sogo_accounts_manager/en/b26d3251b668789fa394b64f087d2f238e73ed65

Alias /static /srv/www/webmail.ledisez.net/SOGoAccountsManager/static



SOGoAccountsManager is an open source software released under the AGPLv3:
https://github.com/rledisez/SOGoAccountsManager

Any kinds of feedbacks/contributions will be greatly appreciated.

Best regards.

[1] http://www.slimframework.com/
[2] http://sproutcore.com/

--
Romain LE DISEZ
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGoAccountsManager - An accounts manager that integrates well with SOGo

2012-10-15 Thread Martin Rabl

Very nice!

Am 15.10.2012 11:51, schrieb Romain LE DISEZ:

SOGo Users,

I am pleased to announce SOGoAccountsManager, a new project that aim
to provide a SOGo user interface to manage users accounts.

Before going to the technical informations, let's see some screenshots
and a short screencast:
- http://web.ledisez.net/sogo-accounts-manager/screenshot1.png
- http://web.ledisez.net/sogo-accounts-manager/screenshot2.png
- http://web.ledisez.net/sogo-accounts-manager/screenshot3.png
- http://web.ledisez.net/sogo-accounts-manager/screenshot4.png
- http://web.ledisez.net/sogo-accounts-manager/screenshot5.png
- http://web.ledisez.net/sogo-accounts-manager/screenshot6.png

- http://web.ledisez.net/sogo-accounts-manager/screencast1.mp4


SOGoAccountsManager is composed by two (unamed) subprojects: the
backend and the frontend.

The backend is developed in PHP, using the Slim Framework[1]. It is
modular so you can adapt it to your users database (LDAP, SQL, ...).
It is a small piece of code, less than 600 lines of real code.

The frontend is developed using SproutCore[2]. So it is fully
Javascript and only runs in the browser. Frontend and backend
communicate via a REST interface.

SOGoAccountsManager reuses the cookie of SOGo, so there is no need to
re-authenticate.

SOGoAccountsManager is not features complete for now. It is stable
enought to be tested for accounts management. Domains management, Mail
groups management, etc... are not developed for now. As soon as
accounts management will be rock solid, it will be easy to continue
the development. It is like an alpha 1 release.



There is no real documentation for now. Basically:

1/ Place backend/ on your SOGo server (eg: in
/srv/www/webmail.example.com/SOGoAccountsManager/)

2/ Extract Slim Framework (tested with last stable, v2.1) and Zend
Framework (tested with last stable, v2.0.2) in one of the PHP includes
path:
- /usr/share/php on RHEL6/CentOS6
- [...]/backend/library/

3/ Edit [...]/backend/application/config.php

4/ Build the frontend with the SproutCore tools and upload it to your
server (eg: /srv/www/webmail.example.com/SOGoAccountsManager/static/)

5/ Put this in your Apache config BEFORE the SOGo config:
ProxyPass /SOGo/AccountsManager !
Alias /SOGo/AccountsManager/api/
/srv/www/webmail.ledisez.net/SOGoAccountsManager/backend/www/index.php/
Alias /SOGo/AccountsManager
/srv/www/webmail.ledisez.net/SOGoAccountsManager/static/sogo_accounts_manager/en/b26d3251b668789fa394b64f087d2f238e73ed65

Alias /static /srv/www/webmail.ledisez.net/SOGoAccountsManager/static



SOGoAccountsManager is an open source software released under the AGPLv3:
https://github.com/rledisez/SOGoAccountsManager

Any kinds of feedbacks/contributions will be greatly appreciated.

Best regards.

[1] http://www.slimframework.com/
[2] http://sproutcore.com/




--
Greetings,

   Martin Rabl
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGoAccountsManager - An accounts manager that integrates well with SOGo

2012-10-15 Thread Relu Parfene

On 15.10.2012 12:51, Romain LE DISEZ wrote:

SOGo Users,

I am pleased to announce SOGoAccountsManager, a new project that aim 
to provide a SOGo user interface to manage users accounts.


Before going to the technical informations, let's see some screenshots 
and a short screencast:

 - http://web.ledisez.net/sogo-accounts-manager/screenshot1.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot2.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot3.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot4.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot5.png
 - http://web.ledisez.net/sogo-accounts-manager/screenshot6.png

 - http://web.ledisez.net/sogo-accounts-manager/screencast1.mp4


SOGoAccountsManager is composed by two (unamed) subprojects: the 
backend and the frontend.


The backend is developed in PHP, using the Slim Framework[1]. It is 
modular so you can adapt it to your users database (LDAP, SQL, ...). 
It is a small piece of code, less than 600 lines of real code.


The frontend is developed using SproutCore[2]. So it is fully 
Javascript and only runs in the browser. Frontend and backend 
communicate via a REST interface.


SOGoAccountsManager reuses the cookie of SOGo, so there is no need to 
re-authenticate.


SOGoAccountsManager is not features complete for now. It is stable 
enought to be tested for accounts management. Domains management, Mail 
groups management, etc... are not developed for now. As soon as 
accounts management will be rock solid, it will be easy to continue 
the development. It is like an alpha 1 release.




There is no real documentation for now. Basically:

1/ Place backend/ on your SOGo server (eg: in 
/srv/www/webmail.example.com/SOGoAccountsManager/)


2/ Extract Slim Framework (tested with last stable, v2.1) and Zend 
Framework (tested with last stable, v2.0.2) in one of the PHP includes 
path:

 - /usr/share/php on RHEL6/CentOS6
 - [...]/backend/library/

3/ Edit [...]/backend/application/config.php

4/ Build the frontend with the SproutCore tools and upload it to your 
server (eg: /srv/www/webmail.example.com/SOGoAccountsManager/static/)


5/ Put this in your Apache config BEFORE the SOGo config:
ProxyPass /SOGo/AccountsManager !
Alias /SOGo/AccountsManager/api/ 
/srv/www/webmail.ledisez.net/SOGoAccountsManager/backend/www/index.php/
Alias /SOGo/AccountsManager 
/srv/www/webmail.ledisez.net/SOGoAccountsManager/static/sogo_accounts_manager/en/b26d3251b668789fa394b64f087d2f238e73ed65

Alias /static /srv/www/webmail.ledisez.net/SOGoAccountsManager/static



SOGoAccountsManager is an open source software released under the AGPLv3:
https://github.com/rledisez/SOGoAccountsManager

Any kinds of feedbacks/contributions will be greatly appreciated.

Best regards.

[1] http://www.slimframework.com/
[2] http://sproutcore.com/



That's very good news. Thank you very much. I will test it soon.

--
Relu
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] ANN: SOGoAccountsManager - An accounts manager that integrates well with SOGo

2012-10-15 Thread Ludovic Marcotte

On 15/10/12 05:51, Romain LE DISEZ wrote:
The backend is developed in PHP, using the Slim Framework[1]. It is 
modular so you can adapt it to your users database (LDAP, SQL, ...). 
It is a small piece of code, less than 600 lines of real code. 
While it's quite small, you might want to consider switching to Python 
instead of PHP. This could give you:


 * direct access to SOGo objects using the Python bindings we ported a
   few months ago (PyObjC). Using this, you could reuse SOGo's business
   logic to:
 o get/set ACLs, user preferences, etc.
 o get/set IMAP quotas, Sieve scripts, etc.
 o backup/restore calendars/address books
 o cleanup calendars, address books, etc.
 o and much more...
 * the ability to wrap everything as a bundle in SOGo, so it could
   really be integrated within the SOGo application (as a separate
   module, like Calendar or the Mail module)

Thanks!

--
Ludovic Marcotte
+1.514.755.3630  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists