Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: igeoffi on June 28, 2006, 05:17:32 PM

Title: admin cp plugin idea
Post by: igeoffi on June 28, 2006, 05:17:32 PM
im thinking of coding an admin cp for roundcube but im not sure if its gonna go well

backend:
what you do is you create the user/pass in cpanel
then you go to the admin cp and you add the user, the IMAP pass, and then a login pass
in the admin cp side you will be able to get a user list and mass mail to your users

frontend:
upon the first login, the new user must change their password and create/answer a secret question
in the preferences area, there will be a new tab to change pass and your secret question

login:
forgot your pass feature with secret question/answer verification

how this will allow users to change pass:
you never change the pass you made in cpanel
you only change the login pass

so flame on :D
cuz im sure someone is gonna flame
Title: Re: admin cp plugin idea
Post by: flosoft on June 28, 2006, 05:40:45 PM
No! Why should RC manage users passwords? The passwords are managed by Plesk / cPanel.

The important thing is simplicity! The only thing what would be nice is a configurator with whom you can configure main.inc.php and db.inc.php.

As far as I know, Brett was working on it.
Title: Re: admin cp plugin idea
Post by: igeoffi on June 28, 2006, 06:18:33 PM
Quote
No! Why should RC manage users passwords? The passwords are managed by Plesk / cPanel.
i want users to be able to change passwords

Quote
The important thing is simplicity!
im using this for a public high school email system so it does need a forgot your pass
(teachers are really forgetful at times)

Quote
The only thing what would be nice is a configurator with whom you can configure main.inc.php and db.inc.php.
that would be nice
Title: Re: admin cp plugin idea
Post by: flosoft on June 28, 2006, 06:35:09 PM
Quote from: igeoffi
Quote
No! Why should RC manage users passwords? The passwords are managed by Plesk / cPanel.
i want users to be able to change passwords

Quote
The important thing is simplicity!
im using this for a public high school email system so it does need a forgot your pass
(teachers are really forgetful at times)

Quote
The only thing what would be nice is a configurator with whom you can configure main.inc.php and db.inc.php.
that would be nice

Well they are able. Via Plesk or cPanel. There is no way to change a PW via an IMAP Command. Or have you ever seen a eMail client which can do this?
Title: Re: admin cp plugin idea
Post by: Prasad1337 on June 29, 2006, 04:48:20 PM
No dude!
its truly pointless... although i would stop you..
but you see i loved roundcube so very much cuz it has that unique essense of simplicity and a crystal clear clean and appealing interface.
so trying to expand a project doesnt work by creating complications.
passwords can be managed by any website contol panel like cpanel (as flosoft mentioned) so its truly really not necessary.

Take for example, a forum script.
Now theres so much that a forum script can have.
Different scripts have different features.
Not one can have them all.
But each has something unique and thats what matters.
So many requests for forum features are turned down even if they are very good suggestions.
Then mods are made, but they dont become default features of the script.

So you see, the cleaner and simpler, the better....
Title: Re: admin cp plugin idea
Post by: flosoft on June 29, 2006, 04:51:23 PM
Quote from: Prasad007
No dude!
its truly pointless... although i would stop you..
but you see i loved roundcube so very much cuz it has that unique essense of simplicity and a crystal clear clean and appealing interface.
so trying to expand a project doesnt work by creating complications.
passwords can be managed by any website contol panel like cpanel (as flosoft mentioned) so its truly really not necessary.

Take for example, a forum script.
Now theres so much that a forum script can have.
Different scripts have different features.
Not one can have them all.
But each has something unique and thats what matters.
So many requests for forum features are turned down even if they are very good suggestions.
Then mods are made, but they dont become default features of the script.

So you see, the cleaner and simpler, the better....


Wow, exactly my point ... I'm just too lazy to write soo much :p
Title: Re: admin cp plugin idea
Post by: Prasad1337 on June 29, 2006, 04:53:21 PM
Quote from: flosoft
Quote from: Prasad007
No dude!
its truly pointless... although i would stop you..
but you see i loved roundcube so very much cuz it has that unique essense of simplicity and a crystal clear clean and appealing interface.
so trying to expand a project doesnt work by creating complications.
passwords can be managed by any website contol panel like cpanel (as flosoft mentioned) so its truly really not necessary.

Take for example, a forum script.
Now theres so much that a forum script can have.
Different scripts have different features.
Not one can have them all.
But each has something unique and thats what matters.
So many requests for forum features are turned down even if they are very good suggestions.
Then mods are made, but they dont become default features of the script.

So you see, the cleaner and simpler, the better....


Wow, exactly my point ... I'm just too lazy to write soo much :p
arent we all ;)
well, i was kinda in a typing frenzy :P i never really actually bother expressing myself to say, more than a paragraph. :)
Title: Re: admin cp plugin idea
Post by: xoqez on June 29, 2006, 09:49:02 PM
i find it very easy to configure once i got the right database username (shugs) i do not think it needs an admin panel - the thing i love about round cube it is simple and 'less is more'. it looks professional. I could have used squirrel mail, horde or neomail with cpanel but they look crap. keep RC simple - if you want a forgot your password/change password maybe try the cpanel intergration document:
http://www.hostgeekz.com/guides/cPanel/64/Install_RoundCube_on_cPanel.htm
as far as i am aware this puts round cube next to the neomail/squirrelmail/horde links.

i am not sure if you are even using cpanel - well if you are maybe try that.
Title: Re: admin cp plugin idea
Post by: oslad on June 30, 2006, 10:38:51 PM
Quote from: igeoffi
i want users to be able to change passwords

im using this for a public high school email system so it does need a forgot your pass
(teachers are really forgetful at times)

that would be nice

Yes! A pretty "Change Password" patch/module for Roundcube is available now:

(http://oslad.com/images/stories/rc.pwd.en.png)

Download and a howto: http://oslad.com/content/view/9/17/ (http://oslad.com/content/view/9/17/)

and i start a topic for this patch on roundcubeforum.net http://roundcubeforum.net/index.php?topic=42.0 (http://roundcubeforum.net/index.php?topic=42.0)
Title: Re: admin cp plugin idea
Post by: Prasad1337 on July 01, 2006, 05:30:27 AM
doesnt seems so congested :)
maintains the clean outlook :)
Title: Re: admin cp plugin idea
Post by: flosoft on July 01, 2006, 05:53:17 AM
How does it change the IMAP Password?
Title: Re: admin cp plugin idea
Post by: simoesp on July 05, 2006, 12:08:20 PM
Quote from: flosoft
How does it change the IMAP Password?

i didn't saw the plugin code but if it changes,
it has to logon to the mysql server and makes an update to the user table

to more information you could read the postfixadmin manual on high5.net
Title: Re: admin cp plugin idea
Post by: bpat1434 on July 06, 2006, 09:40:22 AM
This is just my opinion, and probably the opinion of a lot of devs:

Roundcube has a unique login system. It gets its authentication from the IMAP server, and simultaneously creates a user in the RC database for you. Now, when you change your password, you can change it in the mySQL database, but it would have no effect on the IMAP server. So changing your pass there does nothing. If you do change it (as this patch adds) then you now have to remember your RC password, and later your IMAP password for when you want to use say Thunderbird or a non-webmail client.

This patch could work and update the IMAP password, but it would take someone that knows the IMAP commands to get it going.
Title: Re: admin cp plugin idea
Post by: simoesp on July 06, 2006, 09:49:43 AM
there is a simple way to do that... when it changes the user database of the imap server you update the rcube user database :S it's
the best way i think.... :-\
Title: Re: admin cp plugin idea
Post by: bpat1434 on July 06, 2006, 10:54:27 AM
Yes, but not all servers are the same.... nor will every server have the same functions available to them ;)
Title: Re: admin cp plugin idea
Post by: igeoffi on July 06, 2006, 02:48:10 PM
Quote
Yes! A pretty "Change Password" patch/module for Roundcube is available now:
that was pretty much what i was looking for
since the other change pass patch didnt seem to work
hopefully this does
Title: Re: admin cp plugin idea
Post by: kidmock on July 06, 2006, 06:46:09 PM
Nice Patch.

I plan on trying to modify it to connect to my LDAP server much like the squirrelmail change_ldap_pass plugin.

However, I have run into a bit of a snag. I can't seem to figure out why the link off the settingstabs.html is in active.

if I type in action=passwd in the URL it works like a charm

if I change


to something like


I get the link for folders as would be expected.

Any help would be appreciated.

BTW I'm using SVN 272
Title: Re: admin cp plugin idea
Post by: darkcoder on July 09, 2006, 01:47:57 PM
Quote from: Brett
Yes, but not all servers are the same.... nor will every server have the same functions available to them ;)

That's the reason the horde team came with a flexible password module, where the webmail admin can choose between various password methods like sql, ldap, vmailmgr, vpopmail among others. I suggest follow that kind of route, since not all have a sql user database (in my case I have ;))
Title: Re: admin cp plugin idea
Post by: bpat1434 on July 11, 2006, 11:51:01 PM
kidmock:
Have you tried:
?
Title: Re: admin cp plugin idea
Post by: xoqez on July 12, 2006, 07:42:55 AM
Admin control panels if you wish to have them should be an addon. I would prefer to leave the admin to the imap server.
Title: Re: admin cp plugin idea
Post by: flosoft on July 12, 2006, 06:30:09 PM
Quote from: xoqez
Admin control panels if you wish to have them should be an addon. I would prefer to leave the admin to the imap server.

Yeah!
Title: Re: admin cp plugin idea
Post by: marin on August 15, 2006, 07:47:56 AM
Quote from: kidmock

However, I have run into a bit of a snag. I can't seem to figure out why the link off the settingstabs.html is in active.

if I type in action=passwd in the URL it works like a charm

if I change


to something like


I get the link for folders as would be expected.

Any help would be appreciated.

BTW I'm using SVN 272

Hi there, just installed the roundcube webmail and applied the change password patch manually. Same here with the inactive tab, the solution is pretty simple:

in the file app.js find

Code: [Select]
  case 'settings':and make the line below it look like this:

Code: [Select]
   this.enable_command('preferences', 'identities', 'save', 'folders', 'passwd', true);
I believe it's pretty clear what it does.


I vote 2 hands for user management in admin section, it's not a big deal to be done and should be done.
As I'm from Bulgaria some things that are not the way they should be popped out and if I can deal with them and decide to stay with roundcube (I just love the way it looks its so professional etc) I will need such thing, if there's nothing already made I could make it, eventually.