Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Plugins/Modules/Addons

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
View Poll Results: Would you like to see a mailuser interface for Roundcube & Squirrelmail?
Yes 211 98.60%
No 3 1.40%
Voters: 214. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #491  
Old 21st May 2013, 19:06
johjoh2k johjoh2k is offline
Junior Member
 
Join Date: Jul 2008
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
Default

How to tell SVN to forget previous trunk?

Thank you
Reply With Quote
Sponsored Links
  #492  
Old 21st May 2013, 21:50
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 325
Thanks: 55
Thanked 95 Times in 60 Posts
Send a message via Skype™ to Horfic
Default

what you mean with forget?
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
  #493  
Old 21st May 2013, 22:02
johjoh2k johjoh2k is offline
Junior Member
 
Join Date: Jul 2008
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Solved by myself, SVN memorize the site used for checkout.
Simply I have deleted the folder ".svn" into ../../../plugins
After that I was able to checkout with the new site
Reply With Quote
  #494  
Old 12th October 2013, 21:27
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

Horfic, is there a better place at which to post questions or issues regarding the Roundcube plug-in? The old website had a forum. Has this functionality been moved to github (if it has, I can't find it), or has it been eliminated entirely? Just let me know if there's a better venue for this.

In any case, I'm using ISPConfig 3.0.5.3, the Roundcube plug-in (latest rev., 140) with Roundcube 0.9.2. Everything seems to work fine, with one exception: when I try to change my email password, I always receive the message:

Code:
Password must include at least one upper case letter.
The passwords I'm trying definitely include at least one upper case letter. So, it seems that something changed with ISPConfig's validation mechanism, or the plugin is interpreting ISPConfig's response incorrectly.

The interesting thing is that I have two servers with ISPConfig 3.0.5.3, and the plug-in works correctly when I try to change my password on the first server (which has a considerably older version of the Roundcube plug-in). This leads me to believe that the problem is not with ISPConfig.

Can you think of any reason that newer versions of the Roundcube plug-in would exhibit this behavior? Should I try rolling-back to an old version of the plug-in?

Thanks for any help!
Reply With Quote
  #495  
Old 12th October 2013, 21:50
Horfic Horfic is offline
Senior Member
 
Join Date: Mar 2009
Location: Austria
Posts: 325
Thanks: 55
Thanked 95 Times in 60 Posts
Send a message via Skype™ to Horfic
Default

well, for issues and requests, use the issues from github.

https://github.com/w2c/ispconfig3_roundcube/issues

Well, disable it for the moment in the config file and try it again.

Will need to look into it.
__________________
web wack creations - We create your custom web application
Mailuser interface for ISPConfig 3
Reply With Quote
  #496  
Old 12th October 2013, 22:02
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

Thanks for the quick reply, Horfic. I really appreciate it.

It looks as though if I comment-out the following block within ispconfig_pass.php, the validation error disappears and I'm able to change the password:

Code:
/*
        if (!$error && $checkSymbol && !preg_match("#\W+#", $newpwd)) {
          $error = TRUE;
          $this->rcmail_inst->output->command('display_message', $this->gettext('passwordcheckupper'), 'error');
        }
*/
I'll continue to debug this to whatever extent I'm able, and let you know if I discover any clues.

Thanks again.

Last edited by cbj4074; 12th October 2013 at 22:04. Reason: Narrowed-down problem code and updated snippet accordingly.
Reply With Quote
  #497  
Old 12th October 2013, 22:11
cbj4074 cbj4074 is offline
Senior Member
 
Join Date: Nov 2010
Posts: 392
Thanks: 29
Thanked 58 Times in 50 Posts
Default

Ahhh, okay, I think I see what's going on here.

Basically, the plug-in is fine. The problem is that the error message is inaccurate. The regular expression on line 92 of the above-referenced file actually checks for a non-word character, yet a validation failure prints the same message as the previous validation block, which pertains to upper-case letters.

It almost looks as though some code was copy/pasted but the corresponding error message array key was not updated.

Specifically, the fix looks to be as simple as changing line 94 to:

Code:
$this->rcmail_inst->output->command('display_message', $this->gettext('passwordchecksymbol'), 'error');
(I just replaced the key name, "passwordcheckupper", with "passwordchecksymbol").

Seems to be fine, now!

ETA: Opened issue on GitHub: https://github.com/w2c/ispconfig3_roundcube/issues/15

Last edited by cbj4074; 12th October 2013 at 22:23.
Reply With Quote
  #498  
Old 28th November 2013, 10:01
mailinh mailinh is offline
Junior Member
 
Join Date: Nov 2013
Location: Vietnam
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Thumbs up

Quote:
Originally Posted by NeeChee View Post
I've modified step 4... Hope this will do better =)

EDIT: Made some more changes overall... If you could check if they're correct, that would be nice. And maybe you can add my translation to Dutch to the SVN...
Everything looks fine except that in the plugin array there shouldn't be a ispconfig3_forward
Reply With Quote
Reply

Bookmarks

Tags
interface, ispconfig 3, mail, roundcube, squirrelmail, webmail

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Debian Lenny: waiting for interface eth0:1 before doing NFS mounts (warning) edge Installation/Configuration 2 9th June 2009 07:55
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 21:23
How to create a dhcp server for intranet (with multi-homed alias)? zenny HOWTO-Related Questions 8 29th February 2008 15:16
No DHCP on second LAN interface DrJohn Server Operation 2 8th November 2007 02:58


All times are GMT +2. The time now is 22:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.