LimeSurvey | The most popular FOSS online survey tool on the web | Continuous Deployment library

 by   LimeSurvey JavaScript Version: 6.1.2+230606 License: Non-SPDX

kandi X-RAY | LimeSurvey Summary

kandi X-RAY | LimeSurvey Summary

LimeSurvey is a JavaScript library typically used in Devops, Continuous Deployment, MongoDB, Bootstrap, Docker, Wordpress applications. LimeSurvey has no bugs and it has medium support. However LimeSurvey has 20 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

Limesurvey is the number one open-source survey software. Advanced features like branching and multiple question types make it a valuable partner for survey-creation.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              LimeSurvey has a medium active ecosystem.
              It has 2264 star(s) with 936 fork(s). There are 128 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              LimeSurvey has no issues reported. There are 86 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of LimeSurvey is 6.1.2+230606

            kandi-Quality Quality

              LimeSurvey has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              LimeSurvey has 20 vulnerability issues reported (3 critical, 2 high, 14 medium, 1 low).
              LimeSurvey code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              LimeSurvey has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              LimeSurvey releases are not available. You will need to build from source code and install.
              It has 1236479 lines of code, 17325 functions and 10799 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed LimeSurvey and discovered the below as its top functions. This is intended to give you an instant insight into LimeSurvey implemented functionality, and help decide if they suit your requirements.
            • Create a list of sub - questions for this question - level .
            • Get the attributes definition
            • Display results .
            • Process a token .
            • Get the list of base question types
            • Multi - factor multiplication
            • Edit survey data
            • Check integrity integrity
            • Get class and attributes
            • Key - exchange .
            Get all kandi verified functions for this library.

            LimeSurvey Key Features

            No Key Features are available at this moment for LimeSurvey.

            LimeSurvey Examples and Code Snippets

            No Code Snippets are available at this moment for LimeSurvey.

            Community Discussions

            QUESTION

            How can I copy sequences from one schema to another in Postgresql?
            Asked 2022-Mar-23 at 15:47

            The objective is to figure out how to do this after copying tables from a schema, schema 1, to a new schema, schema 2, using the following method

            ...

            ANSWER

            Answered 2022-Mar-23 at 15:47

            After looking at the stack trace, I found references to schema 1 being made. For example, C:\...\CDbCommandBuilder.php(62): CDbConnection->getLastInsertID("public.lime_user_groups_ugid_seq"), where public is schema 1. And because schema 1 didn't appear in the pg_dump, I knew it must've been an issue with the app configs. I found there were a few hidden schema 1 strings to change in the codebase with the help of https://forums.limesurvey.org/forum/installation-a-update-issues/111790-installation-on-a-different-schema. This means the method I used to migrate/copy tables and their sequences from one schema to another works.

            Update: The problem was in the app configs. Our database uses a pgpool connection with two pg servers. Connecting to the pool created the error. It went away after connected directly to the main/master pg server.

            Source https://stackoverflow.com/questions/70688369

            QUESTION

            Cannot access Bitnami Stack LimeSurvey application (hosted on AWS ec2 instance) via browser after changing IP address
            Asked 2021-Aug-10 at 14:49

            Please forgive me if this question is a bit ignorant (I am learning).

            I have a Bitnami Stack for LimeSurvey hosted on an AWS ec2 instance. Everything was working as expected until I changed the IPv4 Public IP to an Elastic IP address. I did this as a first step in getting an SSL certificate for my LimeSurvey.

            I can now no longer access the LimeSurvey via my browser (with, for example, 3.249.162.237/index.php/admin/authentication/sa/login to log in). The error I get in my browser is: Firefox can’t establish a connection to the server at <>.

            I can still log on to the Bitnami Stack for Limesurvey via SSH, after having changed the Public DNS (IPv4) to the new elastic IP address.

            I am assuming that I need to change a file on the Bitnami Stack for Limesurvey so that I can access the LimeSurvey app via a browser (and so that others can as well, in order to complete surveys). However, I cannot figure out how to do this, and cannot find documentation for this specific problem.

            Thank you in advance for your help.

            ...

            ANSWER

            Answered 2021-Aug-10 at 14:49

            I ran the sudo /opt/bitnami/bnsupport-tool command on the Bitnami AWS instance, and the bnsupport-tool indicated that the instance certificate (/opt/bitnami/apache2/conf/server.crt) and private key (/opt/bitnami/apache2/conf/server.key) did not match.

            So, I had to generate a new SSL certificate and private key for the instance following these instructions in the Bitnami documentation. This solved the problem - I was able to regain access to the LimeSurvey app via a browser (and I only needed to create a temporary self-signed SSL certificate to do this).

            I hope this helps anyone who was as lost as I was (also, general note, the Bitnami Community is probably the best place to start for these kinds of problems)!

            Source https://stackoverflow.com/questions/68650858

            QUESTION

            How do I insert text in first table row with Javascript in Limesurvey
            Asked 2021-Jun-10 at 04:20

            I am required to insert text inside the first leftmost row of a table, which comes in a Matrix question type in Limesurvey.

            This is not originally possible right from the admin panel. I have figured out to insert javascript code.

            Inspecting the table, unfortunately, that first row doesn't have neither a class nor an id to select it directly.

            This is how I have managed to get that first inside the :

            ...

            ANSWER

            Answered 2021-Jun-10 at 04:03

            I can't tell if there's an ID on your table (var t I think.) If there is, it should be straightforward. Does this work?

            Source https://stackoverflow.com/questions/67914084

            QUESTION

            LimeSurvey Remote Control API: get responses that are irrelevant marked with "N/A"
            Asked 2020-Sep-01 at 06:34

            I would like to get responses that are irrelevant (not displayed for the participant) marked as "N/A" when using Remote Control API, export_responses or export_responses_by_token methods.

            When I use that methods and export "long" answers, only multiple choice, multiple choice with comments, and yes or no question types get responses with "N/A" when the question is irrelevant. I'm wondering why this occurs. Why LS only returns "N/A" in that types of questions and not for all the other types? At least if the question types are saved as CHAR in the data base.

            When I export a VV file for the responses the questions that are irrelevant are displayed with "{question_not_shown}" in the responses cells of the csv exported, so I can't understand why normal csv export does not display "N/A" for all that are irrelevant.

            I found a plugin (Export complete answers (code and full answer) for LimeSurvey export) that do this when exporting from the LS interface, but I need to get the responses from my application, that uses Remote Control API.

            I'm using version 2.73.1 for compatibility with my application. This behaviour changed in more recent versions of LS?

            Is there a workaround in 2.73.1 version?

            ...

            ANSWER

            Answered 2020-Sep-01 at 00:57

            By the way you tell it looks like a bug: For text questions, the N/A is not shown for irrelevant.

            Would you please paste the contents of the record you are evaluating? Irrelevant questions should contain a null on their value.

            If it is indeed a bug, then I suggest to report it at https://bugs.limesurvey.org/

            Thanks!

            Source https://stackoverflow.com/questions/63675141

            QUESTION

            .htaccess and HTTP_HOST
            Asked 2020-Jul-27 at 19:07

            We have a Wordpress multisite install with sites with each having its own domain:

            fantastic-training

            fantastic-thinking

            perceptionprofiling

            In the htdocs folder we have a sub-folder with assets we are using for one of the sites and that folder is called /Aj-Isle/ the non wordpress assets should be for the https://fantastic-training.com/ site.

            However the folder is available to all 3 domains which is behaviour we don’t want. So trying to look at the file DOMAIN/Aj-Isle/south.png in all 3 domains works.

            https://fantastic-training.com/Aj-Isle/south.png

            https://fantastic-thinking.com/Aj-Isle/south.png

            https://perceptionprofiling.com/Aj-Isle/south.png

            Does anybody know how can we can use the .htaccess file in the htdocs folder to restrict it so that the Aj-Isle folder is only available when the https://fantastic-training.com/ domain is requested?

            I think it has something to do with the HTTP_HOST variable?

            Basically I know that in English the rules I want to create are these...

            If you are inbound for /Aj-Isle/ and not requesting https://fantastic-training.com/Aj-Isle/ then redirect to the root of the target domain

            If you are inbound for /limesurvey/ and not requesting https://perceceptionprofiling.com/limesurvey/ then redirect to the root of the target domain

            Our .htaccess file in htdocs currently looks like this...

            ...

            ANSWER

            Answered 2020-Jul-27 at 19:07

            You can check the host name with a RewriteCond

            Source https://stackoverflow.com/questions/63120379

            QUESTION

            Trigger redirection to another page if specific page is loaded within an iframe
            Asked 2020-Jan-31 at 15:01

            I am using Limesurvey to create a customer survey. As I want to embed the survey at my company's homepage, I am using an iframe to make that happen. This ensures that I have my official header and footer available and I don't have to rebuild that elements in Limesurvey.

            Limesurvey offers a possibility to redirect to another page after somebody has completed the survey (e.g. a thank you page). As I am embedding Limesurvey, I cannot redirect to my offical thank you site from my company's homepage as I would have double header and double footer.

            What I have thought of, is to redirect to a dummy site. From the parent site, I want to check for that event and trigger my redirection to my thank you site.

            I have no idea how to do that in Javascript. How do I define an event listener to check if a specific site has been loaded within the iframe and then fire my redirection in the parent.

            Thanks a lot!

            ...

            ANSWER

            Answered 2020-Jan-31 at 15:01

            You can inspect the URL in the IFrame using .documentWindow.location.href if it is on the same domain:

            e.g if your iframe had id 'frame'

            Source https://stackoverflow.com/questions/60006179

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            LimeSurvey before 4.0.0-RC4 allows SQL injection via the participant model.
            LimeSurvey 3.21.1 is affected by cross-site scripting (XSS) in the Add Participants Function (First and last name parameters). When the survey participant being edited, e.g. by an administrative user, the JavaScript code will be executed in the browser.
            LimeSurvey 3.21.1 is affected by cross-site scripting (XSS) in the Quota component of the Survey page. When the survey quota being viewed, e.g. by an administrative user, the JavaScript code will be executed in the browser.
            A stored cross-site scripting (XSS) vulnerability in LimeSurvey before and including 3.21.1 allows authenticated users with correct permissions to inject arbitrary web script or HTML via parameter ParticipantAttributeNamesDropdown of the Attributes on the central participant database page. When the survey attribute being edited or viewed, e.g. by an administrative user, the JavaScript code will be executed in the browser.
            A CSV injection vulnerability was found in Limesurvey before 3.17.14 that allows survey participants to inject commands via their survey responses that will be included in the export CSV file.
            Limesurvey before 3.17.14 uses an anti-CSRF cookie without the HttpOnly flag, which allows attackers to access a cookie value via a client-side script.
            CVE-2019-9960 CRITICAL
            The downloadZip function in application/controllers/admin/export.php in LimeSurvey through 3.16.1+190225 allows a relative path.
            LimeSurvey 4.3.2 allows reflected XSS because application/controllers/LSBaseController.php lacks code to validate parameters.
            LimeSurvey before 4.1.12+200324 has stored XSS in application/views/admin/surveysgroups/surveySettings.php and application/models/SurveysGroups.php (aka survey groups).
            LimeSurvey before 4.1.12+200324 contains a path traversal vulnerability in application/controllers/admin/LimeSurveyFileManager.php.
            LimeSurvey 3.17.7+190627 has XSS via Boxes in application/extensions/PanelBoxWidget/views/box.php or a label title in application/views/admin/labels/labelview_view.php.
            A cross-site scripting (XSS) vulnerability in admin/translate/translateheader_view.php in LimeSurvey 3.19.1 and earlier allows remote attackers to inject arbitrary web script or HTML via the tolang parameter, as demonstrated by the index.php/admin/translate/sa/index/surveyid/336819/lang/ PATH_INFO.
            LimeSurvey before v3.17.14 allows stored XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. The attack uses a survey group in which the title contains JavaScript that is mishandled upon group deletion.
            An XML injection vulnerability was found in Limesurvey before 3.17.14 that allows remote attackers to import specially crafted XML files and execute code or compromise data integrity.
            A path disclosure vulnerability was found in Limesurvey before 3.17.14 that allows a remote attacker to discover the path to the application in the filesystem.

            Install LimeSurvey

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/LimeSurvey/LimeSurvey.git

          • CLI

            gh repo clone LimeSurvey/LimeSurvey

          • sshUrl

            git@github.com:LimeSurvey/LimeSurvey.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link