Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: v8 RecaptchaWebclientPlugin Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 4:13am | IP Logged Quote hamersky

After install and configure RecaptchaWebclientPlugin
https://afterlogic.com/docs/webmail-lite-8/configuring-webmail/displaying-captcha-on-login-screen
with instruction from
https://afterlogic.com/docs/webmail-lite-8/configuring-webmail/displaying-captcha-on-login-screen
configuration -ok
but recaptcha not show on login page and after send login form i have error You did not complete the reCAPTCHA verification properly.
Install another module without problem but recaptcha not work.
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 4:19am | IP Logged Quote Igor

That sounds like reCAPTCHA issue, rather than a problem of the module. Did you register at reCAPTCHA website, and did you supply private and public keys in the module configuration file?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 4:22am | IP Logged Quote hamersky

Of cors i have key from recaptcha (v2).
On version 7 work correct.
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 4:29am | IP Logged Quote Igor

What configuration did you have for reCAPTCHA v2, is it the "I'm not a robot" Checkbox?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 4:41am | IP Logged Quote Igor

Also, did you set LimitCount to 0 in module config?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 4:52am | IP Logged Quote hamersky

Yes v2 "I'm not a robot"checkbox.

Yes LimitCount i have 0, of cors if change to another np 3 after 3 times bad login i have captcha error.
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 5:07am | IP Logged Quote Igor

I wasn't able to reproduce it locally, no matter what I try. Developers don't have any ideas either, they'd need a way to replicate the problem. Would it be an option for you to provide the installation URL so we could take a look?

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 5:28am | IP Logged Quote hamersky

file RecaptchaWebclientPlugin.config.json

{
    "Disabled": [
        false,
        "bool"
    ],
    "PublicKey": [
        "***",
        "string"
    ],
    "PrivateKey": [
        "***",
        "string"
    ],
    "LimitCount": [
        0,
        "int"
    ]
}
ls modules/RecaptchaWebclientPlugin
-rw-r--r-- 1 *** ***   266 May 29 10:16 composer.json
-rw-r--r-- 1 *** ***   315 May 29 11:14 config.json
drwxr-xr-x 2 *** *** 4096 May 29 10:16 Enums
drwxr-xr-x 8 *** *** 4096 May 29 10:16 .git
drwxr-xr-x 2 *** *** 4096 May 29 10:16 i18n
drwxr-xr-x 3 *** *** 4096 May 29 10:16 js
-rw-r--r-- 1 *** *** 26071 May 29 10:16 LICENSE-AFTERLOGIC
-rw-r--r-- 1 *** *** 33881 May 29 10:16 LICENSE-AGPL3
-rw-r--r-- 1 *** *** 4182 May 29 10:16 Module.php
-rw-r--r-- 1 *** ***    42 May 29 10:16 README.md
drwxr-xr-x 2 *** *** 4096 May 29 10:16 styles
drwxr-xr-x 2 *** *** 4096 May 29 10:16 templates
Back to Top View hamersky's Profile Search for other posts by hamersky
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 5:30am | IP Logged Quote hamersky

file RecaptchaWebclientPlugin.config.json
in directory
data/settings/modules/
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 5:52am | IP Logged Quote Igor

Well that looks good, so without an installation URL, we can't offer much help here.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 29 May 2019 at 6:17am | IP Logged Quote hamersky

URL removed at request
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 May 2019 at 7:10am | IP Logged Quote Igor

We believe we've found the reason of this. The things is, recaptcha module is available in the Pro version by default, but it's not there in Lite, so you need to add it from the repository per instructions for adding modules.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 30 May 2019 at 1:03am | IP Logged Quote hamersky

I am add and not work.
Not show recpatcha code.
Back to Top View hamersky's Profile Search for other posts by hamersky
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 30 May 2019 at 1:04am | IP Logged Quote hamersky

Another module from https://afterlogic.com/docs/webmail-lite-8/modules-directory problem only with recaptcha
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 30 May 2019 at 1:07am | IP Logged Quote Igor

Can you confirm you have rebuilt the static files per "Adding modules" guide? Most likely, that's where the problem is. I'm referring to the commands:

Code:
php composer.phar update
npm install ./modules/CoreWebclient
gulp styles --themes Default,DeepForest,Funny
gulp js:min


--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 30 May 2019 at 2:32am | IP Logged Quote hamersky

npm install ./modules/CoreWebclient

...
npm http 304 https://registry.npmjs.org/knockout
npm ERR! Error: No compatible version found: webpack-stream@'jeroennoten/webpack-stream#patch-1'
npm ERR! Valid install targets:
npm ERR! ["2.0.0","2.1.0","2.1.1","2.2.0","2.3.0","3.0.0","3.0.1","3.1.0","3.2.0","4.0.0","4.0.1","4.0.2","4.0.3","5.0.0","5.1.0","5.1.1","5.2.0","5.2.1"]
npm ERR!     at installTargetsError (/usr/lib/node_modules/npm/lib/cache.js:719:10)
npm ERR!     at /usr/lib/node_modules/npm/lib/cache.js:638:10
npm ERR!     at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
npm ERR!     at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
npm ERR!     at Object.oncomplete (fs.js:108:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>
npm ERR! System Linux 2.***
npm ERR! command "node" "/usr/bin/npm" "install" "./modules/CoreWebclient"
npm ERR! cwd /home/***/afterlogicv8
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/***/afterlogicv8/npm-debug.log
npm ERR! not ok code 0
Back to Top View hamersky's Profile Search for other posts by hamersky
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 30 May 2019 at 3:31am | IP Logged Quote Igor

We haven't encountered that, but it looks like your version of node and npm are rather old, so getting a pull request from webpack-stream doesn't seem to be supported in that version.

Anyway, I've added the module to my local install and have uploaded the updated build. Be sure to follow the upgrading instructions. Hope it helps.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
hamersky
Newbie
Newbie
Avatar

Joined: 21 June 2013
Location: Poland
Online Status: Offline
Posts: 11
Posted: 30 May 2019 at 3:55am | IP Logged Quote hamersky

Igor thank you very much with all my heart.
Now it works ;).
Back to Top View hamersky's Profile Search for other posts by hamersky
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide