lichess-org / chessground

Mobile/Web chess UI for lichess.org
https://lichess.org
GNU General Public License v3.0
1.04k stars 261 forks source link

Add optional config setting to trust all input #270

Closed trufa closed 1 year ago

trufa commented 1 year ago

Add trustAllEvents optional property that when set to true will allow non trusted events.

This is useful for e2e tests and automating software.

trufa commented 1 year ago

I just realized, this adds a feature, should I bump the version to 8.4.0?

ornicar commented 1 year ago

Please add comments to config.ts and state.ts, where settings are documented. I'll bump the version.

trufa commented 1 year ago

@ornicar I apologize for the oversight! I've added the comments.

trufa commented 1 year ago

@ornicar Thanks for the quick action!