kri
About
- Username
- kri
- Joined
- Visits
- 1,176
- Last Active
- Roles
- Moderator
Comments
- 
                Hi Jason, I see since JATOS creates unique URLs each time, so that caching is not possible. That is correct. But JATOS additionally to the file serving does some authorization. Only participants currently running a study are allowed to access the fi…
- 
                Hi Jason, you can access the jQuery that is loaded by jatos.js with jatos.jQuery. However, it might be removed at some unknown time in the future and you shouldn't rely on its existence in jatos.js for your studies, at least if they should work long…
- 
                Hi Filip, I made progress. I managed to turn two of PsychoPy's public demo experiments into JATOS studies. Here there are (if you are interested): https://drive.google.com/file/d/1QRMhBaSYmW8J7578fQ6au59AhqkeWhqS/view?usp=sharing https://drive.googl…
- 
                Hi Filip, Unfortunately I've never got an answer from Renato and then never worked on it. Although it shouldn't be too difficult. Let me give it a try with one of the many example studies Pavlovia has. I'll report back here how it went. Best, Kristi…
- 
                The admin user is generated for you automatically: https://www.jatos.org/Installation.html. Login with username 'admin' and password 'admin'.
- 
                Hi! I had some time to actually try the play.filters.csp.directives in the wild and unfortunately found that it doesn't work with JATOS. Actually play.filters.csp.directives are disabled for certain "publix" endpoints (the ones with 'publ…
- 
                Seems like you have everything covered. I have nothing to add then be careful with the IDs (but you are already). Best, Kristian
- 
                Hi Jason, Sorry for taking so long to answer. I needed some free time to understand what are trying to do. I think, I understand your setup with JATOS and one single study containing multiple experiments and the battery.js defining those experiments…
- 
                Hi Jason, I'm a little bit confused how you are doing the data transfer between the databases. Are you using some shell script with SQL commands? I can't really say what might have caused the issues with apostrophes and HTML tags without knowing mor…
- 
                Hi Jason! I want to express my deepest concern about changing JATOS database scheme. You might end up with a broken JATOS installation. That said, how do you want to access MySQL from jsPsych? It runs in the browser, isn't it? There is usually no wa…
- 
                And use '/' and not '\' in your path, e.g. 'img/foo.png'.
- 
                The upload limit on MIndprobe seems to be 500MB. And I have to correct myself: the proper way to set this in your own JATOS server would not be in the jatos.conf like I said before. In the jatos.conf one can limit only the result data size. The stu…
- 
                Hi Paz, your .jzip is over 1 GB. That is a lot! Unfortunately we cannot remove the size restrictions on Mindprobe but you can easily do it on your own JATOS installation (it's this config property). You can try to reduce your image size but there I…
- 
                We had to allow content type sniffing for some study assets to work. Can't remember exactly what it was. But some asset files just wouldn't work with 'nosniff'.
- 
                Hi! I'm not an expert in CSP directives but I think you got a better approach to allowing iframes than JATOS' documentation has so far. I found this page that explains why it is the better choice. So, yes I agree with you, it is a sane approach. An…
- 
                Hi Jason, That being said, I, of course, like the approach you strongly advise me against! ;) Your warnings are noted. It's possible, I guess. I've never done it myself. Just a sketch: You have to export/impost the rows of the tables ComponentResult…
- 
                Hi Paula! I formatted your code to make it better readable. I'd like to encourage everyone to format their code too. First, but maybe you do this already, you can access `jatos.batchSession` only after the jatos.js got initialized. So you have to us…
- 
                Hi Jason! Sorry for answering so late. I strongly advise against changing JATOS' MySQL via the command line. It's not easy to do and it's likely you break the database. But having JATOS installed on a laptop and do your field experiment this way is …
- 
                Hi! Sorry for answering so late. Unfortunately I have trouble understanding your question. Can you please describe to me 1) what your are trying to achieve, and 2) what the expected behavior should be, and 3) what you encounter instead (especially p…
- 
                You might also think about why you need more the 5 MB of data per experiment run. It is quite some data you have there and you might run into other problems while running your experiment with many participants (potentially at the same time).
- 
                Hi mcuos! I had a look at your logs. You seem to have had two issues with your study: First issue About the many errors "Study result xxx doesn't exist". Cautiously I'd like to suggest that they all seem to belong to study runs where the …
- 
                Thank you for the nice detailed post with logs and CPU/memory monitoring. It makes answering easier. Let's take this apart. First, after reading "at least I can get 25 pc's going without it crashing" and "However, when I close the PCs…
- 
                From you log I can see that you try to load the same component again although this is not allowed in your study properties: 13:24:16,094 [INFO] - publix_access - GET /publix/e04515dd-d645-4288-a766-ba0262123665/8f0ed4b4-104d-4960-babb-d35b608b1539/s…
- 
                Hi Deni! In the screenshot I can see that jatos.js cannot send the result data. It tries 5x and then gives up. That is strange since there are no other errors in the console (or are there?). I have a couple of questions: Can you please check in the …
- 
                Hi Gina, This sounds more like a jsPsych problem to me and I think it should be asked in their forum. Best, Kristian
- 
                It's always problematic security-wise to have API keys somewhere in the code on the client side because every code on the browser side can potentially be seen be the user. AFAIK the safe way to do this is to have yet another HTTP endpoint that has t…
- 
                unzip, edit the UUID, rezip, import This should work. I did it before. The .jas file is in JSON format (https://www.jatos.org/JATOS-Study-Archive-JZIP.html). The top/first UUID is the one from the study. The other UUIDs are from components or batch…
- 
                Hi Luowei! Let me answer your questions one by one: If JATOS is hosted on a DigitalOcean droplet, could participants’ IP addresses be visible to or logged by DigitalOcean as part of their infrastructure operations? Definitely. All network traffic go…
- 
                How do you do encryption?
- 
                Hi! First, I added some formatting to your post and I'd recommend to use formatting in the future to make your code more readable for everyone. Second, there is a JATOS documentation that includes a page about Nginx: https://www.jatos.org/JATOS-with…
 
				 
							