Scala Based Chess Website Requires Help With Debugging
Budget: $30 – $250 USD
Hello! I am running a new chess club website that is Scala based https://cohenchessclub.com It was built from the open source code at https://github.com/lichess-org/lila
I am having an issue with the chat system on the site filtering out messages that contain unicode characters. I am looking for someone to identify the script/function that is causing the issue and some up with a workable solution. This is one of many improvements and bug fixes so you can be sure a successful job will result in many more in the near future.
Here is a video showing the issue that happens after a Unicode character is added as a title and I attempt to type in chat
https://drive.google.com/file/d/1mP0zPm6PmXu-LnWPbsPV2SYy4uVI6JFc/view?usp=sharing
The only thing not shown in the video is me going into the MongoDB to change my "Title" from GM which is on the Title.Scala script to ? which is not on the list.
Here is a link to Title.Scala
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/modules/user/src/main/Title.scala
The problem is likely in one of these three scripts
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/app/views/mod/publicChat.scala
https://github.com/lichess-org/lila/blob/4201491f82d010007d94ba913d392a8fe8d7f8af/modules/chat/src/main/ChatApi.scala
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/modules/chat/src/main/Chat.scala
There are multiple unicode filters here but none that are likely to be the cause of the problem.
https://github.com/lichess-org/lila/blob/c6170c8470a3610761ea06482094fbadad264b85/modules/common/src/main/String.scala
I am having an issue with the chat system on the site filtering out messages that contain unicode characters. I am looking for someone to identify the script/function that is causing the issue and some up with a workable solution. This is one of many improvements and bug fixes so you can be sure a successful job will result in many more in the near future.
Here is a video showing the issue that happens after a Unicode character is added as a title and I attempt to type in chat
https://drive.google.com/file/d/1mP0zPm6PmXu-LnWPbsPV2SYy4uVI6JFc/view?usp=sharing
The only thing not shown in the video is me going into the MongoDB to change my "Title" from GM which is on the Title.Scala script to ? which is not on the list.
Here is a link to Title.Scala
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/modules/user/src/main/Title.scala
The problem is likely in one of these three scripts
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/app/views/mod/publicChat.scala
https://github.com/lichess-org/lila/blob/4201491f82d010007d94ba913d392a8fe8d7f8af/modules/chat/src/main/ChatApi.scala
https://github.com/lichess-org/lila/blob/c48da4e2cd22837a9f6e8b7eb4a59924967aec3f/modules/chat/src/main/Chat.scala
There are multiple unicode filters here but none that are likely to be the cause of the problem.
https://github.com/lichess-org/lila/blob/c6170c8470a3610761ea06482094fbadad264b85/modules/common/src/main/String.scala
Related categories:
Scala