Feature #14860

Fix CAPTCHAs on LimeSurvey

Added by sajolida 2017-10-18 09:57:35 . Updated 2018-04-17 07:31:35 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
2017-10-18
Due date:
% Done:

10%

Feature Branch:
Type of work:
Sysadmin
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

While creating the dummy survey for Icinga (Feature #14859) I realized that we’re probably missing PHP libraries if some day we want to use CAPTCHA.

I configured the dummy survey to require a CAPTCHA before opening before I wanted to prevent filling up our database with spam.

See https://survey.tails.boum.org/index.php/372383?lang=en.

I would try installing php-imagick.


Subtasks


Related issues

Blocks Tails - Feature #15392: Core work 2018Q2 → 2018Q3: User experience Resolved 2018-03-09

History

#1 Updated by sajolida 2017-10-18 10:52:40

  • Target version set to Tails_3.3
  • Deliverable for set to 299

#2 Updated by intrigeri 2017-10-18 15:06:27

  • Status changed from Confirmed to In Progress
  • Assignee changed from intrigeri to sajolida
  • % Done changed from 0 to 10

Installed the requested package and https://survey.tails.boum.org/index.php/372383?lang=en looks better but I don’t see the equation I’m supposed to solve (BTW I bet the “solving an equation” terminology would discourage a bunch of my friends who’ve been traumatized with maths at school).

I’ll let you check what’s wrong and close this ticket if it’s nothing I should fix.

#3 Updated by sajolida 2017-11-14 13:18:48

  • Target version changed from Tails_3.3 to Tails_3.5

#4 Updated by sajolida 2017-11-21 14:26:12

  • Subject changed from Install PHP library to have CAPTCHA to Fix CAPTCHAs on LimeSurvey
  • Target version deleted (Tails_3.5)
  • Parent task deleted (Feature #14540)
  • Deliverable for deleted (299)

I don’t know why the CAPTCHA is not displayed. I don’t have access to the logs so I don’t know if that creates an Apache error or something. I checked on the LimeSurvey website and couldn’t find any reference to this.

The next step would be for me to compare with my prototype installation and understand what it takes to have CAPTCHAs working there.

But for the time being I don’t really need CAPTCHAs and so I won’t fix that now as it seems more complicated than it looked at first sight (and now the dummy survey for the monitoring is returing HTTP 200 Success).

Also removing this from SponsorW.

#5 Updated by intrigeri 2017-11-21 14:57:00

> I don’t have access to the logs so I don’t know if that creates an Apache error or something.

I believe you do: https://git-tails.immerda.ch/puppet-tails/tree/files/limesurvey/sudo/limesurvey-admin

#6 Updated by sajolida 2018-04-07 11:40:12

  • blocks Feature #15392: Core work 2018Q2 → 2018Q3: User experience added

#7 Updated by sajolida 2018-04-07 11:40:17

  • Assignee changed from sajolida to intrigeri

There was nothing bad showing up in the logs but now I got a notification on the LimeSurvey interface:

Warning! The CAPTCHA settings won't have any effect because you don't have the required GD library activated in your PHP configuration.

I understand that it is about this library:

Could you install the php-gd package?

#8 Updated by intrigeri 2018-04-07 12:41:57

  • Assignee changed from intrigeri to sajolida

> Could you install the php-gd package?

Done: https://git-tails.immerda.ch/puppet-tails/commit/?id=c38d6f3ce13680d5468554f95db51537653f89e1.

#9 Updated by sajolida 2018-04-17 07:31:35

  • Status changed from In Progress to Resolved
  • Assignee deleted (sajolida)
  • Target version set to Tails_3.7

Yay! There’s an equation now on https://survey.tails.boum.org/index.php/372383?lang=en :)