Giter Site home page Giter Site logo

Comments (10)

nise avatar nise commented on August 9, 2024

time stamps are not collected

from beaqlejs.

timobaumann avatar timobaumann commented on August 9, 2024

it appears that you are reporting multiple issues in one.

from beaqlejs.

seebk avatar seebk commented on August 9, 2024

All in all the beaqle seems to be not usable for production.

All in all it seems you are not posting any meaningful and did not read the documentation. If you are interested in a solution please post a complete bug report or question with all details such that I can understand what the problem actually is. I can tell you that many people have used BeaqleJS to collect submission results on a server and it works. It might not be plug'n'play to setup, but when you carefuly follow the instructions from the README it should work.

from beaqlejs.

nise avatar nise commented on August 9, 2024

Sorry for providing multiple issues that are all related to the submission process. In the mean time I found my way with a node.js backend. See https://github.com/nise/beaqle-node

from beaqlejs.

nise avatar nise commented on August 9, 2024

See a screenshot of the missing submit button here: https://owncloud.pi6.fernuni-hagen.de/index.php/s/U2WvrVKuDFIDrBe

See line 844 in the beaqle.js:

if (this.TestConfig.SupervisorContact) {
                         $("#SubmitBox > .submitEmail").show();
                         $(".supervisorEmail").html(this.TestConfig.SupervisorContact);
                     }

The this.TestConfig is undefined since the scope refers to ajax method. If you replace the this by testHandle it will work. BTW the name of the variable is not very intuitive.

from beaqlejs.

nise avatar nise commented on August 9, 2024

Because you provide a php backend service, it should be set as default in the config. Thus, the 3rd step of the setup instruction will become obsolete.

Right now its written in the setup instructions that the path could be something like http://yourdomain.com/mysubfolder/beaqleJS_Service.php.. When using ajax that service should provided from the same origin. Otherwise some you will run into problem with Same Origin Policies.

from beaqlejs.

seebk avatar seebk commented on August 9, 2024

Because you provide a php backend service, it should be set as default in the config. Thus, the 3rd step of the setup instruction will become obsolete.

I see, yes it could be pre-configured to point to the PHP file in case you simply upload the whole BeaqleJS folder structure to your server. I always assumed that people manually create a distribution package out of the project folder before upload , so they have to adjust the paths anyway. But seems this is not the case and so it makes sense to change this.

Right now its written in the setup instructions that the path could be something like http://yourdomain.com/mysubfolder/beaqleJS_Service.php.. When using ajax that service should provided from the same origin. Otherwise some you will run into problem with Same Origin Policies.

Good point, I will add an info to the docs that one has to take care of this.

from beaqlejs.

timobaumann avatar timobaumann commented on August 9, 2024

The this.TestConfig is undefined since the scope refers to ajax method. If you replace the this by testHandle it will work. BTW the name of the variable is not very intuitive.

can you turn that into a patch or make a pull request? Thanks.

from beaqlejs.

seebk avatar seebk commented on August 9, 2024

See a screenshot of the missing submit button here: https://owncloud.pi6.fernuni-hagen.de/index.php/s/U2WvrVKuDFIDrBe

Again, I just downloaded the latest master branch, setup a docker webserver as described in the docs, configured online submission and did not experience any problems. Can you provide steps how to reproduce the problem?

from beaqlejs.

seebk avatar seebk commented on August 9, 2024

Ok, finally I got it... should be fixed in master now.

from beaqlejs.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.