Recent Releases of psiturk

psiturk - v3.3.1

Includes a fix for pyOpenSSL

- Python
Published by deargle over 3 years ago

psiturk - v3.3.0

Added

  • Separate config settings for mturk qualifications for live and sandbox modes (#505)
  • Added configuration option for customizing autogenerated dashboard-related tablenames -- for use when a single database is shared across multiple experiments (#495)

Updated

  • Facelift for dashboard, mocking styles of (#538) -- thanks @evankirkiles!

Fixed

  • Fix backwards-compat bug for assignments-table (#528) -- Thanks @jacob-lee!

- Python
Published by deargle about 4 years ago

psiturk - Bump version

Fix for release v3.2.2 -- bump version in code

- Python
Published by deargle about 4 years ago

psiturk - Bugfix

  • Pin markupsafe to 2.0.1 (#541) -- Thanks for the report @jmuchovej

- Python
Published by deargle about 4 years ago

psiturk - v3.2.1

Security release!

Fixes a SSTI vulnerability in ad and consent pages, https://github.com/NYUCCL/psiTurk/pull/517/commits, thanks @BlaiseRitchie

(Apologies for the delay, couldn't immediately think of a way to do a security release)

- Python
Published by deargle over 4 years ago

psiturk - v3.2.0

Added

  • Add custom MTurk qualification support (#493)
  • /dashboard/campaigns and /dashboard/tasks now warn if do_scheduler is False (#502)
  • amtserviceswrapper's getlocalhitids no longer queries the Participants table for hitids. Instead, it wholly relies on the Hit table (`amthits` by default). (#498) -- Thanks @evankirkiles!

Experiments that are migrating from psiturk v2 should run the new psiturk migrate db command when migrating to this release.

Fixed

  • user_utils.PsiTurkAuthorization should not allow empty username or password! (#492)
  • aws env vars AWSACCESSKEYID and AWSSECRETACCESSKEY are now preferred over anything set in a config file somewhere (#496, #500)
  • Dashboard will refuse to start if secret_key is missing or if no valid mturk credentials (#497)
  • Scheduler is started "paused" if do_scheduler is False, so that tasks can still be created, modified, and destroyed (#502)
  • Campaigns' "update goal" functionality fixed -- the associated task is updated with the new goal (#502)
  • example template for thanks-mturksubmit was missing a call to {{ super() }}, leading to no styles being loaded by default (#503)

Changed

  • Migrate from Travis CI to Github Actions (#500)
  • API now uses a custom error handler to pass sometimes-gory exception messages back to the api user (#502)
  • Change the Participant.datastring column to be lazy-loaded, causing the datastring to not be loaded by the sqlalchemy model until explicilty requested. Leads to massive speed increases for any query involving the Participant table for cases where the datastring is large. (Thanks @evankirkiles!)(#504)

- Python
Published by deargle almost 5 years ago

psiturk - v3.1.0

[3.1.0]

Added

  • ability to launch the experiment server from a subdirectory instead of just the default directory by passing app_dir keyword argument to experiment_server.launch() (d781d4f0420004aa19462e59a653bddfcb12fa26)

Fixed

  • Flask's StreamLogger is now used by default when ON_CLOUD=1, assuming no errorlog is set in the config file.
  • fix download_datafiles scoping error (#487)

- Python
Published by deargle almost 5 years ago

psiturk - v3.0.6

Added

  • added backwards compatibility for class InvalidUsage exception in experiment_errors.py, for custom.py files generated by old version of psiturk. This was previously throwing an exception in versions 3.0.0 – 3.0.5 ### Fixed
  • fix bonus_message config.get section reference (3219016)
  • fix another reference to a config section name that doesn't exist (00798610c4da77b32d04c78824f2d49af8e3a16e), apparently the unit tests are horrible

- Python
Published by deargle about 5 years ago

psiturk - travis deploy test 3

- Python
Published by deargle about 5 years ago

psiturk - travis deploy test 2

- Python
Published by deargle about 5 years ago

psiturk - testing travis deploy fix

- Python
Published by deargle about 5 years ago

psiturk - ON_HEROKU to ON_CLOUD backwards compatibility

Fixes backwards compatibility for translating ONHEROKU=1 to ONCLOUD=1

- Python
Published by deargle about 5 years ago

psiturk - Avoid OWASP api-psiturk-org block

Last week, api-psiturk-org's dreamhost server started blocking attempts to create psiturk ad server ads, because the html in the POST triggers a threat warning. Removing all html comments from ad.html and setting the Content-Type: application/json header on the POST seems to let the ads get through. Sigh.

This release removes all comments from the ad.html created by the example code. You can remove the html comments from your own ad if you're having trouble getting it to post. HTML comments look like this: <!-- -->. You can safely delete them.

Don't forget though, the ad server is being sunset, at some point!

- Python
Published by deargle about 5 years ago

psiturk - Small bugfixes to the shell's output behavior

Fixed

  • fix shell's error during hit_create that prevented ad url from showing.
  • fix shell's messaging about invalid aws credentials

- Python
Published by deargle about 5 years ago

psiturk - fix default ad_url port, set to 443

- Python
Published by deargle about 5 years ago

psiturk - disable psiturk-heroku-config default creation of psql db

The currently-undocumented psiturk-heroku-config command no longer attaches a postgresql addon by default. I'm calling this just a bugfix because (1) the docs assume that it doesn't attach the psql database, and (2) that command isn't even documented anyway. Will version-feature-bump when this feature is better thought through.

Disabling because I think this will overall make the transition to v3 smoother.

- Python
Published by deargle about 5 years ago

psiturk - Fix shell api to use require_quals and block_quals

Minor fix to have the shell use requirequals and blockquals, and to have documentation point to the same

- Python
Published by deargle about 5 years ago

psiturk -

This is a somewhat hasty release since a recent DNS change broke the ability to obtain new psiturk-org api credentials, meaning that the only way to use psiturk now is to host your own ad server. 3.0.0 has changes that make that a lot easier than 2.x, so I'm publishing this to pip so make that transition hopefully-smoother. v2.x will continue to work, as long as use_psiturk_ad_server is set to false.

🎉 Sorry for the headaches! Yay scientific progress! We will publicize this better, soon.

- Python
Published by deargle about 5 years ago

psiturk - Patch no-aws still-can-do-non-aws-things

Patch to still be able to run non-aws commands without aws credentials

- Python
Published by deargle over 5 years ago

psiturk - patch bonus amount shell arg

- Python
Published by deargle over 5 years ago

psiturk - minor bugfix for hit_extend

- Python
Published by deargle almost 6 years ago

psiturk -

- Python
Published by deargle about 6 years ago

psiturk -

- Python
Published by deargle about 6 years ago

psiturk - Bugfix for versions still supporting python2

Backporting some bug fixes; also addressing the datastring formatting problem.

- Python
Published by deargle over 6 years ago

psiturk - python3-compatible

- Python
Published by deargle almost 7 years ago

psiturk - boto3-compatible

On June 1st, 2019, mturk is deprecating its old api, which boto used. This release switches psiturk over to use boto3, which uses the new api. A testing suite is still in progress so there perhaps may be some bumps... stay tuned.

- Python
Published by deargle almost 7 years ago

psiturk -

- Python
Published by deargle about 7 years ago

psiturk -

This minor bump adds a new column, 'mode'. This records whether the mode for a participant was debug, live, sandbox, etc. Having this handy helps filter out unwanted records during the analysis stage.

If you use psiturk 2.2.3 with a project with a db that was created with psiturk < 2.2.3, you will need to manually create the 'mode' column in your db. If you're still using sqlite and if your schema name is still participants.db and your table name is still turkdemo (those are the default), you can run this from the terminal:

sqlite3 participants.db ALTER TABLE turkdemo ADD COLUMN mode VARCHAR(128); <ctrl+d>

That same sql will work for mysql and psql, too.

- Python
Published by deargle over 8 years ago

psiturk -

  • Adds a new error handling class, InvalidUsage, which can be used for API errors if you're building an API into custom.py etc.

- Python
Published by deargle over 8 years ago

psiturk -

This tag was created to make it easy for Heroku to install a compatible version of psiturk via pip.

New Features

  • first-stage heroku integration (see #254, particularly this comment to get going).

Bug Fixes

  • fix where debug -p link didn't work if only adserver_revproxy_host was set but not adserver_revproxy_port (thanks @braingineer)

- Python
Published by deargle about 9 years ago

psiturk -

New Features!

  • allow_repeats (thanks @jhamrick and @gureckis!)
  • tell the ad server about the existence of a reverse proxy server

Bug fixes!

  • actually set us_only and approve_requirement qualifications (thanks @chepner3!)

- Python
Published by deargle about 9 years ago

psiturk -

Bug Fixes

  • Fixing a gnureadline problem for mac osx (see #173)
  • Fixing the gettrialdata and getquestiondata functions (thanks @jacoblee)

- Python
Published by deargle about 9 years ago

psiturk - 2.1.6

  • New functionality to pass just one command in to the psiturk shell on the commandline instead of having to read command(s) from a file -- see this thread for more information until it makes its way into the official docs
  • Patch update to add configuration for automatically releasing to PyPI with Travis CI.

- Python
Published by deargle over 9 years ago

psiturk - 2.1.3

This release includes a number of bug fixes and improvements.

Improvements

  • Use own ad server

This enables bypassing the psiturk ad server, instead using a self-hosted SSL-enabled server (you have to get your own cert). Also enables the use of a reverse proxy server if not using the psiturk ad server. See the docs here for more information - calculate mturk commission charged when creating hits - allow for hit durations < 1 hour - Generate a random debug string when visiting root url for experiment - Adds browserexcluderule for Safari - ctrl-c in the psiturk shell now creates a newline - use openshift db cartridge, if one is installed - evade pesky adblockers on ad.html - record mode and full useragent string

- Python
Published by gureckis over 9 years ago

psiturk - Emergency bug patch for 2.1.0

Some variable names were changed which caused a dangerous condition where psiTurk incorrectly claimed to be "sandbox" mode but was actually in "live" mode. This patch is very important to install if you installed 2.1.0.

- Python
Published by gureckis over 11 years ago

psiturk - 2.1.0

  • Updates to command line shell for more helpful error messages and “fuzzy matching" for incorrectly typed commands
  • Major refactor of server process management. Should resolve issues with server instability.
  • Better handling of “modes” (debug, sandbox, live). Now the psiturk.js is also aware of mode allowing developer more control over different types of testing
  • Updates to javascript library (psiturk.js) including ability to get and put data via syncs, better access to the psiturk object from developer tools console in javascript, etc...
  • Various bug fixes
  • Initial BETA version of free psiturk.org ssh tunneling service (allows users to run psiturk behind firewalls and on wifi connections)

- Python
Published by gureckis over 11 years ago

psiturk - 2.0.1

This is the first bug fix release for the 2.0.0 series.
1. fixes a problem with assigning bonuses using the command line (worker bonus) 2. fixes a problem with the hit expire command 3. switches dependency from readline to gnureadline which should resolve issues for some people who had troubling getting readline compiled 4. other minor documentation fixes

As always type pip install psiturk --upgrade to get the latest version or install directly from the github master branch.

- Python
Published by gureckis almost 12 years ago

psiturk - Version 2.0.0

This release represents a major update to psiTurk.

Major features includes - Dashboard replaced with Interactive command line shell for many common AMT task (e.g., posting hits, paying participants) - Integrates with https://psiturk.org a new web service for posting SSL-signed Ads and exchanging experiment code with other users - Ability to block participants using particular browsers from participating in your experiment - New psiturk.js library provides many features including automatically handling simple instruction sequences - Ability to write custom routes and add custom database tables for very powerful, flexible, and dynamic applications - Ability to create zero-config MySQL databases on Amazon's RDS cloud in addition to local SQLLite solution - Much more extensively documented (https://psiturk.org/docs) - This release includes about 500 commits beyond last major release with many changes. In many ways a complete refactor.

Get it using the Python package manager (pip) by typing pip install psiturk.

- Python
Published by gureckis almost 12 years ago

psiturk - Patches broken server launchers

Bugs fixed - Dashboard now launches the experiment server. - CLI now launches the experiment server.

Feature added - Dashboard login for remote servers

- Python
Published by jbmartin over 12 years ago