Add Google recaptcha



  • @bansalvaish thank you, I'm unable to update my instance at https://helpdesk.peopleinside.it/it/ for the error mentioned.
    I use PHP 7.4 and cannot downgrade because some software require PHP 7.4 that is not really new.

    Hope you will help me understand why your patch doesn't work on my side.
    Maybe you need to provide right step to follow or maybe the PHP error I give to you should give some indications of what is wrong.



  • @Sanjeev I tested in localhost (PHP 7.4) and works also if the captcha show a warning.
    Why I'm unable to apply the patch to my server with PHP 7.4?

    I need help.
    Upload your zip file and just put the .env file is not correct as the system doesn't work and I can imagine why: miss email config and maybe other config.

    Please help.

    Also you need think ReCaptcha should be not active as default for a new install.
    I suggest to see if you can develop enable / disable from the UI interface



  • @Sanjeev I do more test, still facing error.
    Due to some screenshot that I do not wanna share in a public community I will open a private ticket with you showing errors. Please take a look of ticket: #25126

    Waiting now your reply. Thank you!



  • @peopleinside

    We have again updated the zip now it contain password updates, recaptcha updates(due to cache problem packages not updated before properly) and all other updates till now.

    Please Setup project using this zip and check now.

    Download it from here.



  • @Sanjeev thank you. How to update? Will be enough replace the uvdesk in vendor folder?
    Oh I need also replace vendor folder. I'm doing right now.

    When you release an update like this (ZIP) you need to give the steps that describe how to update. What to replace.

    I'm now replacing also vendor folder, let's see.
    Now seems is working.
    Thanks



  • @Sanjeev I updated and graphically all works this means

    • I'm able to submit ticket by web
    • I'm able to login as customer and as operator

    but I tested ticket by email and this did not work!

    So what happen: email are flagged as read but no ticket is opened.

    By doing the cron by SSH I get:

    1. Processing uvdesk mailbox configuration.
    
    2. Opening imap stream...
    
    3. IMAP stream opened.
    
    4. Fetching Email collection since 22 March 2021.
    
    1. Processing uvdesk mailbox configuration.
    
    2. Opening imap stream...
    
    3. IMAP stream opened.
    
    4. Fetching Email collection since 22 March 2021.
    
    5. Total fetched email -> 1
    
    6. Starting to convert Emails into Tickets ->
    =============================================
    =============================================
    
    
     Converting email 1 out of 1.
    
    Mailbox refreshed successfully !!!
    
    1. Processing uvdesk mailbox configuration.
    

    Consider I tried to send email ticket from different Gmail email address to different ticket email address.
    No ticket has been created if ticket arrive by email.

    For the update process I just replaced uvdesk folder inside vendor and updated twig.yaml and uvdesk.yaml inside the config/packages

    As the update never create ticket by email I need immediately resume the previous ticket version and wait for your support.

    And the status ticket when customer are logged into the system are not translated.
    In the list of customer ticket the status say open and is not translated on my language.



  • @peopleinside
    Locate path in project:

    vendor/uvdesk/mailbox-component/blob/master/Services/MailboxService.php

    Please replace your MailboxService.php code from here as we are doing some updates and it was not included in zip.

    Will update Zip also soon for this.



  • @Sanjeev thanks I will try.
    Will be nice have a fix also for ticket status not translated and wrong time showed https://github.com/uvdesk/community-skeleton/issues/326#issuecomment-769044887

    In the new version you can add the following strings to the Italian translation file. Latest two file line:

    "Please select CAPTCHA" : Esegui la verifica CAPTCHA | Please select CAPTCHA
    "Password must contain minimum 8 character length, at least two letters (not case sensitive), one number, one special character(space is not allowed).": La password deve contenere almeno 8 caratteri di lunghezza, almeno due lettere (senza distinzione tra maiuscole e minuscole), un numero, un carattere speciale (lo spazio non è consentito).
    


  • @Sanjeev STILL NOT WORK, AGAIN I NEED RESUME THE BACKUP
    Well seems I can use the updated UVdesk but I need replace MailboxService.php with my old backup file so it works.

    If I use the MailboxService.php provided by you ticket are not created !!!

    I opened an issue as I want follow this issue https://github.com/uvdesk/mailbox-component/issues/67

    If you are unable to replicate please tell me the right process to update because just replacing the MailboxService.php the update never work. I'm now using the latest version i updated by replacing vendor/uvdesk folder completely and replaced uvdesk folder inside vendor and updated twig.yaml and uvdesk.yaml inside the config/packages



  • @peopleinside

    We have made some changes to convert mail which comes after a forwarding from another email Id into our mailbox (setup email in uvdesk).

    But again verified with the current code in MailboxService.php into project.
    and tickets are smoothly converting.

    Please remove your all tickets from your ticket list and also from the trash folder and again run refresh command.

    And make a try and let us know otherwise we will check again with more test cases.

    Check this: https://tinyurl.com/yfupl4e7



  • @Sanjeev If you did not change the file for resolve the issue that ticket are not opened I tested the file without any ticket.
    The old file I have work and the new did not work. Ticket are no more created. I send an email to my support email, cron run, email is flagged as read than ticket is not created.



  • @Sanjeev I'm trying to install from zero the version you linked here.
    I'm able to setup database and email but when I need to do clear cache I get fatal error:

    php bin/console c:c

    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 351
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 385
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 394
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 408
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 416
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 451
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 529
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 559
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 637
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 638
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 640
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 678
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 679
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 681
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 835
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 835
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 839
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 839
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 843
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 843
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 847
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /uvdesktest/vendor/uvdesk/core-framework/Utils/HTMLFilter.php on line 847
    
    In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86:
    
      The service "security.context_listener.0" has a dependency on a non-existent service "Webkul\UV
      Desk\ApiBundle\Providers\ApiCredentials".
    

    So seems I'm not able to... use from zero your install or anyway you need fix things
    Umh I get this after changing in .env file dev to prod and cleaning cache.

    I suppose you use to test with dev and not with prod.
    Your latest UVdesk are broken if is prod.

    For switch to prod can you confirm is just necessary change dev to prod and clear cache?

    I was able to test in dev (not in prod for error above) your last Mailer file and I can confirm ticket are not created.


Log in to reply