Commit Graph

692 Commits

Author SHA1 Message Date
Josh de Leeuw
d7f4912eea Merge pull request #3211 from jspsych/add-response-ends-trial-vs-circle
Add `response_ends_trial` for visual search circle plugin

(rebased-with-history from commit c64d3fe9b0)
2024-06-07 22:49:07 +02:00
bjoluc
9042e8553f Merge pull request #3126 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit e94e6a79f0)
2024-06-07 22:49:07 +02:00
bjoluc
084292f6cb Merge pull request #3184 from jspsych/fix-sourcemap-urls
Point to source maps via canonical unpkg URLs in CI browser builds

(rebased-with-history from commit b8a85c7202)
2024-06-07 22:49:07 +02:00
bjoluc
c31b859533 Merge pull request #3122 from jspsych/update-config-package
Update `@jspsych/config` dependencies

(rebased-with-history from commit 76fca2712f)
2024-06-07 22:49:07 +02:00
bjoluc
3a2c717746 Refactor free-sort plugin to use pointer events (#2893)
(rebased-with-history from commit 2f37c57d22)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
fa24fa8062 Merge pull request #3074 from jspsych/changeset-release/main
Version Packages

(rebased-with-history from commit 8f0075b8a1)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
ee595c3dfc Merge pull request #3073 from jspsych/config-bump-canvas
Update canvas version in config

(rebased-with-history from commit e85d0f4d26)
2024-06-07 22:49:07 +02:00
Josh de Leeuw
5837568c2b ensure that null values are allowed, even when there is a default 2024-06-03 13:51:23 -04:00
Josh de Leeuw
dc83096722 add block display to fix #3056 2024-06-03 11:48:56 -04:00
Josh de Leeuw
84dca432d2 update to canvas v2.11.2 2024-06-03 11:48:21 -04:00
Josh de Leeuw
10bdbd6a8f Merge branch 'v8' into v8-css-updates 2024-06-03 10:34:07 -04:00
github-actions[bot]
e44dca7cf3 chore(release): version packages 2024-05-20 16:45:37 +00:00
Josh de Leeuw
87d2a8e0ab
Merge pull request #3298 from thtTNT/main
Add parameter "enable_button_after" to all "-button-response" plugins
2024-05-20 12:41:50 -04:00
Haotian Tu
a4088529cf Add parameter "enable_button_after" to all "-button-response" plugins (#3289) 2024-05-20 23:07:14 +08:00
github-actions[bot]
c2dd493f6e
chore(release): version packages (#3294)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-15 11:33:43 -07:00
Becky Gilbert
7bcd4e0a25
fix incorrect path in dist gulp job (build:archive) (#3293)
* fix incorrect path in dist gulp job (build:archive)
* add changeset for config patch
2024-05-15 11:02:59 -07:00
github-actions[bot]
e201ca29af
Version Packages (#3292)
* chore(release): version packages
* edit changelogs

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2024-05-14 12:35:27 -07:00
Becky Gilbert
54e04dc93f
Survey plugin updates: fix CSS, clean up code/comments, add survey.css to dist archive (#3287)
* make applyStyles private and clean up comments
* fix box shadow in input elements
* fix dropdown element width
* remove old/unused plugin-survey.css file
* add survey.css to dist archive
* add changeset
2024-05-14 11:07:48 -07:00
Becky Gilbert
11be458d14 remove built dist and css files from plugin-survey directory 2024-04-30 16:24:49 -07:00
github-actions[bot]
02a76d1f65
Version Packages (#3283)
* chore(release): version packages

* edit changelog text: survey JSON is object, not string

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Becky Gilbert <beckyannegilbert@gmail.com>
2024-04-30 16:10:21 -07:00
Becky Gilbert
6d99a71fb1
Survey plugin rewrite (fixes #2758) (#3204) 2024-04-30 15:23:13 -07:00
Shaobin-Jiang
7845f00056
fix typo in randomInt error message 2024-03-01 14:39:28 +08:00
bjoluc
233deb6df4
Merge pull request #3201 from Shaobin-Jiang/message-progress-bar
Allow message_progress_bar to be a function
2024-02-02 23:09:39 +01:00
Shaobin-Jiang
4cb77e885d
move updateMessage into update 2024-01-16 09:11:07 +08:00
github-actions[bot]
2feb774174 chore(release): version packages 2024-01-14 18:51:19 +00:00
Josh de Leeuw
daea41bd16
Merge pull request #3213 from jspsych/add-response-ends-trial-vs-circle
Fix display clearing bug in visual search circle plugin version 1.2.0
2024-01-14 13:47:25 -05:00
Josh de Leeuw
d2d180967a fix display_clear bug 2024-01-14 13:40:42 -05:00
github-actions[bot]
e17e2fd88a chore(release): version packages 2024-01-14 18:06:19 +00:00
Josh de Leeuw
1c7d0af829 add test case for response_ends_trial 2024-01-14 12:54:35 -05:00
Josh de Leeuw
d54048b8d0 Add response_ends_trial parameter to VisualSearchCirclePlugin 2024-01-14 12:51:34 -05:00
Shaobin-Jiang
9d1d30986f
update unit test 2024-01-10 14:22:33 +08:00
Shaobin-Jiang
f0439475b4
fix updateMessage method 2024-01-10 14:22:20 +08:00
Shaobin-Jiang
4dbdbc0e68
refactor message updating
- adding a private `updateMessage` method
- using a simpler version of checking function type
2024-01-10 13:58:13 +08:00
Shaobin-Jiang
d1382968f4
allow message_progress_bar to be a function 2024-01-02 21:59:07 +08:00
Shaobin-Jiang
1c1849ca6c
rename instructions page_change_callback to on_page_change 2023-12-09 07:41:22 +08:00
Josh de Leeuw
2898da6c59
Merge pull request #3167 from jspsych/skip-data-logging
Allow skipping data logging for a trial with `record_data: false`
2023-12-08 10:37:10 -05:00
bjoluc
007d862523 Add a getResult[s]() unit test for the record_data: false parameter 2023-12-06 20:00:29 +01:00
bjoluc
ab7ad5a435 Handle undefined results 2023-12-06 19:56:24 +01:00
Shaobin-Jiang
14fd8573bd
add test case for page_change_callback 2023-11-23 22:21:08 +08:00
Shaobin-Jiang
fe15b373b6
add page_change_callback for plugin instructions 2023-11-23 22:20:44 +08:00
Josh de Leeuw
33c97c2423 return undefined in getResult when record_data is false 2023-11-10 16:45:06 -05:00
Josh de Leeuw
e3b2accd7d add test for https://github.com/jspsych/jsPsych/pull/3167#discussion_r1386741392 2023-11-10 16:44:27 -05:00
github-actions[bot]
f765795d75 chore(release): version packages 2023-11-10 21:01:41 +00:00
bjoluc
9acfa29c8d Point to source maps via canonical unpkg URLs in CI browser builds 2023-11-10 21:25:26 +01:00
bjoluc
76fca2712f
Merge pull request #3122 from jspsych/update-config-package
Update `@jspsych/config` dependencies
2023-11-10 21:15:13 +01:00
bjoluc
220f4e36b4 Update @jspsych/config dependencies 2023-11-10 19:37:25 +01:00
Josh de Leeuw
72ddfa01ad
Merge pull request #3168 from jspsych/abort-timeline-by-id
Add `abortTimelineByName()` to allow ending specific timelines
2023-11-09 12:24:29 -05:00
Josh de Leeuw
978a4c8f05 rename getTimelineByName => getActiveTimelineByName 2023-11-09 12:13:05 -05:00
bjoluc
3855b5d86d
Allow trial on_finish methods to be async (#3182) 2023-11-08 18:37:32 +01:00
Josh de Leeuw
d296962c7e mock the audioplayer module and add tests 2023-11-08 09:55:02 -05:00
Josh de Leeuw
f1587740b2 use AudioPlayer class for audio-keyboard-response 2023-11-08 09:53:54 -05:00
Josh de Leeuw
cd2a94bc77 revising audio-keyboard-response to use AudioPlayer 2023-11-02 16:12:54 -04:00
Josh de Leeuw
1229ed35f9 initial draft of AudioPlayer class 2023-11-02 16:12:37 -04:00
Josh de Leeuw
7b1ae24f4e add abortTimelineByName() 2023-10-30 13:01:55 -04:00
Josh de Leeuw
6f9d01b2ae added record_data parameter 2023-10-30 09:48:07 -04:00
Josh de Leeuw
5b8a00085d remove hardware API 2023-10-27 09:41:49 -04:00
Josh de Leeuw
c4ccc9aa49 remove exlcusions parameter from initJsPsych() 2023-10-27 09:39:01 -04:00
Josh de Leeuw
2a32590f2c remove max-width on .jspsych-content 2023-10-24 11:13:20 -04:00
Josh de Leeuw
acce785dd7 manually update snapshots 2023-10-19 09:10:56 -04:00
Josh de Leeuw
a99c7b7963 fix typo in class name 2023-10-19 09:10:35 -04:00
Josh de Leeuw
d7f3040d51 fix copy/paste error of div name 2023-10-18 15:45:06 -04:00
Josh de Leeuw
808e835306 use clearer error message when rows and columns both null 2023-10-18 15:05:15 -04:00
Josh de Leeuw
11e0103678 button_rows -> grid_rows; button_cols -> grid_columns 2023-10-18 15:02:41 -04:00
Josh de Leeuw
ed99076c3c implements modifications in all button response plugins 2023-10-18 15:00:00 -04:00
Josh de Leeuw
4998825980 change how rows and cols are calculated, change css layout, add example 2023-10-18 14:42:46 -04:00
Josh de Leeuw
dec9bef382 Add grid option, make it default 2023-10-16 11:56:46 -04:00
bjoluc
2f37c57d22
Refactor free-sort plugin to use pointer events (#2893) 2023-09-12 17:33:19 +02:00
bjoluc
5fb7c3a45d Replace ts-jest with Sucrase Jest plugin 2023-09-06 16:09:35 +02:00
bjoluc
715a9d130e Upgrade @jspsych/config dependencies 2023-09-05 22:31:04 +02:00
bjoluc
535e5d903c Fix makeNodeRollupConfig() erroneously including browser builds 2023-09-05 21:25:08 +02:00
bjoluc
3ce3bdcd28 Leave a clean DOM after each survey-text plugin test case 2023-09-05 17:39:33 +02:00
bjoluc
3d3299fd23 Simplify video-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 17:04:49 +02:00
bjoluc
8468fa9a58 Simplify image-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 15:18:28 +02:00
bjoluc
5970531585 Simplify canvas-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 11:01:37 +02:00
bjoluc
bcf2642b89 Fix simulate_visual in audio-button-response plugin 2023-09-05 11:00:15 +02:00
bjoluc
5f3b0f37f8 Fix button container id in audio-button-response plugin 2023-09-05 10:43:59 +02:00
bjoluc
75e961983d Simplify audio-button-response plugin DOM structure and make button_html a function parameter 2023-09-05 10:25:06 +02:00
bjoluc
fe9f50e615 Simplify html-button-response plugin DOM structure and make button_html a function parameter 2023-07-14 11:28:14 +02:00
bjoluc
b312c19649 Clean up after each html-slider-response plugin test case 2023-07-13 21:19:03 +02:00
bjoluc
adeccc2091 Fix cloze plugin test suite by cleaning up after each test 2023-07-13 21:07:32 +02:00
bjoluc
9cac68a140 Merge branch 'main' into core-rewrite 2023-07-13 17:38:45 +02:00
github-actions[bot]
4f1fda898e chore(release): version packages 2023-06-22 16:21:55 +00:00
Josh de Leeuw
caef8713e2 update canvas version 2023-06-22 11:46:33 -04:00
github-actions[bot]
be2f69382c chore(release): version packages 2023-05-17 20:01:29 +00:00
Josh de Leeuw
545ecbaa76 update test case 2023-05-17 15:42:39 -04:00
Josh de Leeuw
09ee347fa5 Add RT property to fullscreen data collection. Support setting this property in simulation mode. #2462 2023-05-17 14:00:04 -04:00
Josh de Leeuw
347bbb557c fix #2462 2023-05-17 13:11:49 -04:00
Josh de Leeuw
c5d3925a17 fix #2859 2023-05-17 12:11:04 -04:00
Josh de Leeuw
7dd439fdcc fix test case, need to pressKey because not simulation 2023-05-17 12:10:43 -04:00
Josh de Leeuw
e0026a3f87 add failing test for #2859 2023-05-17 11:38:05 -04:00
Josh de Leeuw
952cdf5b12 Fixed pre_target_duration parameter 2023-05-17 11:25:57 -04:00
Josh de Leeuw
1032c71eef fix #2862 2023-05-17 11:11:56 -04:00
Josh de Leeuw
5f2b049763 add failing test for #2862 2023-05-17 10:47:54 -04:00
Josh de Leeuw
b6d4b18278 add test case for #2912 2023-05-17 10:30:56 -04:00
Josh de Leeuw
a5e5a21cab fix #2911 2023-05-16 21:35:58 -04:00
Josh de Leeuw
236cac8a21 add deepMerge utility function 2023-05-16 21:35:20 -04:00
Josh de Leeuw
d0a6839ac2 add a test for #2911 2023-05-16 17:45:23 -04:00
Josh de Leeuw
464b0d2387 fix #3008 2023-05-16 12:27:14 -04:00
Josh de Leeuw
831fe2e39f merge 2023-05-16 12:24:51 -04:00
Josh de Leeuw
a72a455fb4 add test case for #3008 2023-05-16 12:22:25 -04:00
Josh de Leeuw
4bf8f6f75c update citations across all readme 2023-05-11 09:44:23 -04:00
Josh de Leeuw
3e8f66f262 ignore undefined / null values for mean() - #2905 2023-05-10 09:43:37 -04:00
ben
cc1ca257f5 fix for wrong audio mimetype preventing playback in Safari 2023-03-24 11:43:55 +01:00
dependabot[bot]
9ec358623b
Bump webpack from 5.72.1 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 01:18:09 +00:00
github-actions[bot]
9a89940c73 chore(release): version packages 2023-03-06 15:42:53 +00:00
Josh de Leeuw
1324361835 Fix defaults for COMPLEX parameter types 2023-03-06 10:09:24 -05:00
Josh de Leeuw
8759217f0e Add options (randomize_item_locations and location_first_item) to allow for fixed locations of the item array across trials. 2022-12-06 17:07:20 -05:00
bjoluc
0b55a324f2 Fix duplicate on_load invocations in simulation mode 2022-11-24 20:50:58 +01:00
bjoluc
bbdf158564 Fix a typo in a test comment 2022-11-24 17:05:48 +01:00
bjoluc
ab8dbb156d Make getNaiveTrialCount() sample-aware 2022-11-21 13:11:41 +01:00
bjoluc
931a54b57a Misc refactoring in JsPsych.ts 2022-11-21 12:33:39 +01:00
bjoluc
6d0689decb Replace @rollup/plugin-json with esbuild's json loader 2022-11-21 09:30:02 +01:00
bjoluc
1375339f63 Let TypeScript resolve JSON files in jspsych package 2022-11-21 09:25:51 +01:00
bjoluc
2af76a0218 Remove babel.cjs from @jspsych/config 2022-11-20 19:46:39 +01:00
bjoluc
48a5a315fd Replace the lodash-based parameter cache with a custom caching class 2022-11-20 19:43:55 +01:00
bjoluc
0a327b6179 Update remaining @jspsych/config dependencies 2022-11-19 11:27:02 +01:00
bjoluc
1b4f8de488 Update TypeScript to v4.9.3 2022-11-18 23:13:51 +01:00
bjoluc
2e40d013d4 Drop support for npm v7 and node up to v16 2022-11-18 23:08:46 +01:00
bjoluc
810ed7a3d1 Migrate to esbuild 2022-11-18 21:56:30 +01:00
bjoluc
76e7508024 Upgrade Jest to v29 and replace ts-jest with @sucrase/jest-plugin 2022-11-17 21:28:44 +01:00
bjoluc
bea5138b90 Fix webgazer plugin dependencies 2022-11-16 10:32:51 +01:00
bjoluc
68303a9c62 Fix type errors in webgazer plugins 2022-11-15 20:15:35 +01:00
bjoluc
91f7b681f4 Fix plugin tests 2022-11-15 19:52:59 +01:00
bjoluc
47d98470b7 Update getLatestNode() unit test using toBe() 2022-11-15 18:41:52 +01:00
bjoluc
1b7c318551 Implement a trial-level save_timeline_variables parameter 2022-11-09 17:59:04 +01:00
bjoluc
b80017351c Add changeset 2022-11-09 16:28:31 +01:00
bjoluc
b9d58a67fb Merge branch 'main' into core-rewrite 2022-11-09 15:17:53 +01:00
bjoluc
8318d380c1 Merge branch 'main' into core-rewrite 2022-11-09 15:13:58 +01:00
bjoluc
61ec10779c Run on_timeline_start and on_timeline_finish only once per timeline 2022-11-09 11:12:38 +01:00
bjoluc
f9f99b5c32 Fix skipped tests 2022-11-09 10:10:27 +01:00
bjoluc
2092d12a60 Rename jsPsych.end... functions to jsPsych.abort... and implement abortCurrentTimeline 2022-11-08 22:27:32 +01:00
bjoluc
b6e096a1cc Add missing css_classes unit test 2022-11-08 16:49:36 +01:00
bjoluc
46a3b65cb6 Make absolute import paths relative 2022-11-07 20:51:23 +01:00
bjoluc
7ab7b20f52 Implement simulation mode 2022-11-07 20:40:27 +01:00
jadeddelta
3f91e52900 simulation bugfix pt. 2 + docs 2022-10-31 21:52:38 -04:00
bjoluc
677333e6fa Add missing awaits in functions-as-parameters.test.ts 2022-10-28 20:10:38 +02:00
bjoluc
efb31c9078 Fix pluginapi.test.ts 2022-10-28 15:18:40 +02:00
bjoluc
b3eff611d2 Implement extension support by integrating ExtensionManager 2022-10-28 11:28:37 +02:00
bjoluc
6e45aff804 Implement ExtensionManager 2022-10-27 19:44:48 +02:00
bjoluc
5aa986ef0e Implement save_trial_parameters 2022-10-27 14:25:02 +02:00
bjoluc
ed860ac545 Merge TimelineNode interface into abstract TimelineNode base class 2022-10-26 20:36:57 +02:00
bjoluc
89dbfa9875 Adapt implementation to dataparameter.test.ts and fix more data test suites 2022-10-26 20:16:25 +02:00
bjoluc
b9d1eac623 Fix more data test suites 2022-10-26 17:33:12 +02:00
bjoluc
088a974deb Adapt implementation to datamodule.test.ts 2022-10-26 15:43:49 +02:00
jadeddelta
d2be99fc47 simulation bugfix 2022-10-24 23:35:09 -04:00
jadeddelta
10ca06ce14 added multiple answer checking 2022-10-20 00:11:38 -04:00
jadeddelta
16ef614018 autofocus + case sensitivity 2022-10-19 23:37:35 -04:00
bjoluc
f211f6bc53 Enhance progress bar implementation 2022-10-14 20:59:48 +02:00
bjoluc
45a218291b Extract ProgressBar class 2022-10-12 17:43:15 +02:00
github-actions[bot]
0f5181adb6 chore(release): version packages 2022-10-12 14:35:29 +00:00
Josh de Leeuw
dd8f3be5d9
Merge pull request #2754 from javidalpe/main
Fix preload plugin onerror callback
2022-10-12 10:32:25 -04:00
bjoluc
c536be1a05 Remove old timeline node implementation 2022-10-12 15:41:50 +02:00
bjoluc
06d87d0c81 Update more core test files 2022-10-12 11:01:24 +02:00
Josh de Leeuw
a3523ad2a5 fixes #2810 2022-10-11 18:07:24 -04:00
bjoluc
53f5dcac2c Remove getLastResult()
It was based on a misconception on my end
2022-10-11 22:07:51 +02:00
bjoluc
bdaff4aefc Adapt implementation to timelines.test.ts 2022-10-11 21:49:10 +02:00
bjoluc
668fd0edf5 Fix TimelineNodeDependencies integration with JsPsych class 2022-10-11 18:07:19 +02:00
bjoluc
771ee6671e Remove JsPsych dependency from timeline nodes 2022-10-11 17:07:36 +02:00
bjoluc
a45941ad95 Rename randomziation.test.ts => randomization.test.ts
On second thought, I like randomziation. It sounds much more random!
2022-10-11 15:11:17 +02:00
bjoluc
c9326e32bf Add test case for #2808 2022-10-11 14:59:35 +02:00
bjoluc
f23fb33a53 Enhance TestPlugin implementation to slim down unit tests 2022-10-11 14:24:04 +02:00
bjoluc
5f405ce2f7 Rename activeChild to currentChild 2022-10-10 21:28:48 +02:00
bjoluc
530b83e33c Replace some occurrences of toBe() with toEqual() 2022-10-10 21:25:54 +02:00
bjoluc
1220f5c593 Make getParameterValue() respect explicitly undefined object members again 2022-10-10 21:20:41 +02:00
bjoluc
d7f29da8f5 Adapt Timeline tests and implementation according to timeline-variables.test.ts 2022-10-10 20:00:24 +02:00
bjoluc
5b50a92150 Evaluate complex (array) parameter functions 2022-10-10 13:43:05 +02:00
bjoluc
035d2aa1dd Implement global event handlers 2022-10-06 21:59:20 +02:00
github-actions[bot]
5d1cb0310d chore(release): version packages 2022-10-05 17:59:11 +00:00
bjoluc
e3e9d90346 Set preferBuiltins: false for @rollup/plugin-node-resolve 2022-10-05 19:53:21 +02:00
Josh de Leeuw
52827bd552
Merge pull request #2784 from jadeddelta/cloze-checkblank
Cloze `allow_blanks` functionality
2022-10-01 14:17:21 -04:00
bjoluc
deaa602c56 Fix some old core tests and implement endExperiment() 2022-09-30 17:36:35 +02:00
jadeddelta
00c33b308a fix pretty name and comments 2022-09-27 14:39:30 -04:00
jadeddelta
2cc550152b fix package.json 2022-09-26 12:08:26 -04:00
jadeddelta
6914571438 Merge branch 'main' into docu-fix-and-update 2022-09-23 22:09:00 -04:00
jadeddelta
97e1dc72b9 grammar + shift from subject to participant 2022-09-23 22:00:39 -04:00
jadeddelta
d65d91fe81 align readme with docs 2022-09-23 15:56:12 -04:00
jade
9eb7d272a6
Merge branch 'jspsych:main' into cloze-checkblank 2022-09-23 15:53:51 -04:00
jadeddelta
68c3490f91 change from check_blanks to allow_blanks 2022-09-23 15:51:39 -04:00
jadeddelta
890c9bd563 test functions implemented 2022-09-22 13:42:08 -04:00
jadeddelta
c17572b5ff added checking for blank fields in cloze 2022-09-22 13:01:48 -04:00
bjoluc
79d2ec3bcd Fix validation of COMPLEX array parameters 2022-09-21 19:13:57 +02:00
bjoluc
a0ef528f3d Implement css_classes and display element focusing via the JsPsych class 2022-09-21 18:16:31 +02:00
github-actions[bot]
c2cc94db81 chore(release): version packages 2022-09-20 16:56:51 +00:00
jadeddelta
12956b3cc1 added readme.md for every package + changeset 2022-09-20 12:18:15 -04:00
Josh de Leeuw
71667498a3
Revert "added readme for every package and extension" 2022-09-20 09:43:49 -04:00
jadeddelta
d66c5c6e54 add readme for every package and extension 2022-09-19 18:06:43 -04:00
Javier Vidal
89e2360073 Implement arrow functions on video and audio preload 2022-08-27 20:21:01 -07:00
Javier Vidal
334e320c9a Fix preload plugin error callback variable scope 2022-08-27 19:45:13 -07:00
github-actions[bot]
e715546aa1 chore(release): version packages 2022-07-20 13:24:31 +00:00
Josh de Leeuw
bac71fcf72
Merge pull request #2649 from jspsych/video-recording
Video Recording Features
2022-07-19 19:43:43 -04:00
Becky Gilbert
b232f45026 add comments for parameters to match those in html-video-response 2022-07-18 16:33:06 -07:00
Becky Gilbert
8c457a9d5b add comments for plugin parameters 2022-07-18 16:30:29 -07:00
Josh de Leeuw
5ddd28cb83 remove .only test 2022-07-14 11:15:25 -04:00
Josh de Leeuw
ac1c2c5477 add test case for fixed-repetitions method (verify #2708) 2022-07-14 11:00:39 -04:00
Josh de Leeuw
936f589ed7 check if video buffer is already a blob when getting buffer (fixes #2704) 2022-07-13 09:28:16 -04:00
Josh de Leeuw
ccab9eab46 fix plugin name 2022-07-12 13:51:18 -04:00
Josh de Leeuw
98a4dcc27d store video data as base64 string 2022-07-12 11:21:01 -04:00
Josh de Leeuw
fd90e0e422 documentation for the initialize-camera plugin 2022-07-12 11:10:55 -04:00
Josh de Leeuw
1381f575f5 option to turn on audio for video recordings 2022-07-12 10:33:27 -04:00
Josh de Leeuw
71b3706753 user recorder's mimeType for building blob 2022-07-12 09:56:38 -04:00
Josh de Leeuw
52a921a51e use vp8 for compatibility with firefox 2022-07-12 09:32:37 -04:00
Josh de Leeuw
15ec159894 add mirror_camera option to mirror on y axis 2022-07-12 09:19:02 -04:00
Josh de Leeuw
f476856147 fix this refs 2022-07-11 22:04:55 -04:00
Josh de Leeuw
1e24627466 draft of async on_finish 2022-07-11 17:21:19 -04:00
Josh de Leeuw
47bd7ae773 add prompt parameter to mirror plugin 2022-07-11 17:05:13 -04:00
Josh de Leeuw
cc9f98d040 Merge branch 'main' into video-recording 2022-07-11 15:25:41 -04:00
Josh de Leeuw
3f53f795bd
Merge pull request #2664 from jspsych/feature-extensions-async-on-finish
Allow asynchronous `on_finish` methods in extensions
2022-07-11 15:25:14 -04:00
Josh de Leeuw
f992f78cd8 don't evaluate functions or timeline varaibles in trials parameter of preload plugin 2022-07-11 15:02:46 -04:00
Josh de Leeuw
97c51c46e1 enable test again 2022-07-01 10:41:58 -04:00
Josh de Leeuw
ce03ed99d5 skip test that throws an error 2022-07-01 10:21:28 -04:00
Josh de Leeuw
ce55e29f6f use console.warn instead of throwing error 2022-07-01 10:19:09 -04:00
Josh de Leeuw
13be1ef4ef timelineVariable() throws an error when the variable doesn't exist (fixes #2680) 2022-06-24 10:01:31 -04:00
bjoluc
57f2ae4c69 Allow asynchronous on_finish methods in extensions 2022-06-13 21:51:19 +02:00
Josh de Leeuw
61514fa781 commenting 2022-06-01 11:36:31 -04:00
Josh de Leeuw
274247d9a3 extend length of test 2022-06-01 11:36:15 -04:00
Josh de Leeuw
0dea483682 remove the testing file -- oops 2022-06-01 11:31:53 -04:00
Josh de Leeuw
9488386a48 add width and height options to give some control to file size generated by recording 2022-05-31 17:48:01 -04:00
Josh de Leeuw
d699a83f11 add width and height options for mirror plugin 2022-05-31 17:25:28 -04:00
Josh de Leeuw
cade6b7f9e add mirror-camera plugin to display live feed of camera 2022-05-31 16:21:28 -04:00
Josh de Leeuw
d36ab98f04 add getCameraStream to get the stream directly 2022-05-31 16:21:03 -04:00
Josh de Leeuw
dff17df884 add a basic working version of html-video-response plugin 2022-05-31 14:37:04 -04:00
Josh de Leeuw
29656816e8 an attempt at delaying the data writing (that doesn't work) 2022-05-29 16:04:15 -04:00
Josh de Leeuw
ce5098cd07 try using timeslice and mime type 2022-05-29 15:30:38 -04:00
Josh de Leeuw
1e2df37f8f fix this reference 2022-05-28 14:31:57 -04:00
Josh de Leeuw
7466fc6ee2 add mime type 2022-05-28 14:31:34 -04:00
Josh de Leeuw
49c1a5ea60 fix build eror 2022-05-28 13:32:24 -04:00
Josh de Leeuw
ece9fc5f44 initial attempt at record-video extension 2022-05-28 10:17:40 -04:00
Josh de Leeuw
fa80a8135d clear display after trial is complete 2022-05-27 16:35:36 -04:00
Josh de Leeuw
00c6fbf8fd revert peer dependency for now (fix this before release) 2022-05-27 16:35:20 -04:00
Josh de Leeuw
ad3dcee9ff add camera recorder to pluginAPI 2022-05-27 16:25:53 -04:00
Josh de Leeuw
e13d504353 add draft of camera plugin 2022-05-27 16:24:20 -04:00
github-actions[bot]
16fac08078 chore(release): version packages 2022-05-23 18:13:04 +00:00
bjoluc
dc00566142 Include regenerator-runtime in the jspsych Babel build 2022-05-23 19:46:07 +02:00
Josh de Leeuw
244bee28f4 extend timeout for long running test 2022-05-19 13:54:28 -04:00
Josh de Leeuw
4f49a58c09 remove console.log from test 2022-05-19 13:44:06 -04:00
github-actions[bot]
f1fa90eb2c chore(release): version packages 2022-05-19 13:10:19 +00:00
Josh de Leeuw
9d66fb24c0 add jspsych-slider class 2022-05-18 14:37:40 -04:00
bjoluc
a3f2c2c0e2 Update SurveyJS version 2022-05-17 20:58:34 +02:00
bjoluc
c534c1ef33
Merge pull request #2632 from jspsych/fix-rollup-babel-config
Fix `@rollup/plugin-babel` config in conjunction with `rollup-plugin-typescript2`
2022-05-17 18:51:36 +02:00
bjoluc
6e8af3ee7a
Merge pull request #2622 from jsato8094/plugin-survey-add-text-input-type
Added `input_type` parameter to plugin-survey
2022-05-17 14:04:59 +02:00
bjoluc
608a40d40a Minor changes to the input_type parameter 2022-05-16 22:44:58 +02:00
bjoluc
a17f423f18 Fix @rollup/plugin-babel config in conjunction with rollup-plugin-typescript2 2022-05-16 19:14:17 +02:00
bjoluc
cd09272546 Pin SurveyJS dependency versions in survey plugin 2022-05-16 17:02:23 +02:00
bjoluc
e77371e94b Update @jspsych/config dependencies 2022-05-16 17:00:03 +02:00
Vijay Marupudi
c84492c87e Use a more efficient method to access the most recent trial 2022-05-15 10:45:01 -05:00
bjoluc
e4263ae61c Explicitly list exported css files 2022-05-13 19:13:56 +02:00
jsato
50ed69c269 Exports css files of plugin-survey 2022-05-13 17:48:39 +09:00
jsato
59fd9f5035 added examples 2022-05-10 18:51:43 +09:00
jsato
777a035a07 implemented test for input_type parameter 2022-05-10 18:15:33 +09:00
jsato
28a3a3a237 added input_type parameter 2022-05-10 18:15:16 +09:00